:root{
  --fg:#e8e8ea;
  --muted:#b7bcd0;
  --card:#141827;
  --accent1:#3ac7ff;
  --accent2:#9a7cff;
  
  /* Adaptive Typography */
  --font-size-base: 16px;
  --font-size-h1: 2.2rem;
  --font-size-h3: 1.4rem;
  
  /* Adaptive Spacing */
  --spacing-grid-gap: 18px;
  --spacing-card-padding: 16px;
  --spacing-section: 2rem;
  
  /* Adaptive Grid */
  --grid-min-width: 260px;
  --grid-max-cols: 3;
}
*{box-sizing:border-box}
html{
  min-height:100%;
  background:#0a0a0a;
}
body{margin:0;min-height:100vh;background:#0a0a0a;color:var(--fg);font:var(--font-size-base)/1.5 system-ui,Segoe UI,Roboto;position:relative;z-index:1;transition:font-size 0.3s ease}
.header{display:grid;place-items:center;gap:.25rem;padding:var(--spacing-section) 1rem;position:relative;}

/* Authentication section */
.auth-section {
  position: absolute;
  top: 20px;
  left: 20px;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0b0b12;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 
    0 4px 15px rgba(58,199,255,0.3), 
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.login-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 6px 20px rgba(58,199,255,0.5), 
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 0 25px rgba(58,199,255,0.3);
}

/* NASA Radio Control Button */
.radio-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff4757, #ff6b6b);
  color: #0b0b12;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 
    0 4px 15px rgba(255,71,87,0.3), 
    inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-left: 10px;
}

.radio-control-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 6px 20px rgba(255,71,87,0.5), 
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 0 25px rgba(255,71,87,0.3);
}

.radio-control-btn.active {
  background: linear-gradient(135deg, #32cd32, #00ff7f);
  box-shadow: 
    0 4px 15px rgba(50,205,50,0.3), 
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.radio-control-btn.active:hover {
  box-shadow: 
    0 6px 20px rgba(50,205,50,0.5), 
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 0 25px rgba(50,205,50,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .auth-section {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 1rem;
  }
  
  .header {
    text-align: center;
  }
}
.logo{width:180px;height:auto;max-height:90px;object-fit:contain;filter:drop-shadow(0 0 25px rgba(255,120,60,.4))}
h1{margin:.25rem 0 0;font-size:var(--font-size-h1);transition:font-size 0.3s ease}
.tag{margin:0;font-size:1.1rem;font-weight:600;text-transform:uppercase;letter-spacing:2px;background:linear-gradient(135deg,var(--accent1),var(--accent2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;position:relative;animation:glow 3s ease-in-out infinite alternate}
@keyframes glow{0%{filter:drop-shadow(0 0 5px rgba(58,199,255,.4))}100%{filter:drop-shadow(0 0 15px rgba(154,124,255,.6))}}
.grid{max-width:1100px;margin:0 auto;padding:2rem 1rem;display:grid;gap:var(--spacing-grid-gap);grid-template-columns:repeat(auto-fit,minmax(var(--grid-min-width),1fr));transition:gap 0.3s ease;position:relative;background:radial-gradient(ellipse at center,rgba(58,199,255,0.05) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.8) 100%);border-radius:30px;border:3px solid rgba(58,199,255,0.2);box-shadow:inset 0 0 50px rgba(58,199,255,0.1),0 0 100px rgba(0,0,0,0.5);backdrop-filter:blur(5px)}
.card{background:linear-gradient(145deg,rgba(20,24,39,0.95),rgba(26,31,53,0.9),rgba(15,20,40,0.95));border:3px solid rgba(58,199,255,0.4);border-radius:25px;padding:calc(var(--spacing-card-padding) + 8px);box-shadow:0 20px 60px rgba(0,0,0,0.8),0 0 40px rgba(58,199,255,0.2),inset 0 2px 0 rgba(255,255,255,0.15),inset 0 -2px 0 rgba(58,199,255,0.1);transition:all 0.4s cubic-bezier(0.4,0,0.2,1);position:relative;backdrop-filter:blur(15px);overflow:visible;transform-style:preserve-3d}
.card:hover{transform:translateY(-8px) scale(1.02) rotateX(2deg);border-color:#3ac7ff;box-shadow:0 25px 60px rgba(0,0,0,0.8),0 0 60px rgba(58,199,255,0.4),inset 0 3px 0 rgba(255,255,255,0.25),inset 0 -3px 0 rgba(58,199,255,0.15);backdrop-filter:blur(18px)}
.media{height:160px;border-radius:12px;background:radial-gradient(ellipse at center,#0a0f20,#050810,#020408);border:2px solid rgba(58,199,255,0.6);overflow:hidden;margin-bottom:.8rem;display:grid;place-items:center;color:#667;position:relative;box-shadow:inset 0 0 30px rgba(0,0,0,0.9),inset 0 2px 0 rgba(58,199,255,0.2),inset 0 -2px 0 rgba(58,199,255,0.1),0 0 25px rgba(58,199,255,0.2);backdrop-filter:blur(2px)}

/* Cockpit instrument panel styling */
.card::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: 
    linear-gradient(135deg, rgba(58,199,255,0.05) 0%, transparent 50%, rgba(58,199,255,0.02) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(58,199,255,0.02) 1px,
      rgba(58,199,255,0.02) 2px,
      transparent 2px,
      transparent 12px
    );
  border: 1px solid rgba(58,199,255,0.15);
  border-radius: 18px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

/* Cockpit instrument corner indicators */
.card::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  background: 
    linear-gradient(90deg, rgba(58,199,255,0.6) 0%, transparent 15%) 0 0/20px 2px,
    linear-gradient(90deg, transparent 85%, rgba(58,199,255,0.6) 100%) 100% 0/20px 2px,
    linear-gradient(90deg, rgba(58,199,255,0.6) 0%, transparent 15%) 0 100%/20px 2px,
    linear-gradient(90deg, transparent 85%, rgba(58,199,255,0.6) 100%) 100% 100%/20px 2px,
    linear-gradient(0deg, rgba(58,199,255,0.6) 0%, transparent 15%) 0 0/2px 20px,
    linear-gradient(0deg, transparent 85%, rgba(58,199,255,0.6) 100%) 0 100%/2px 20px,
    linear-gradient(0deg, rgba(58,199,255,0.6) 0%, transparent 15%) 100% 0/2px 20px,
    linear-gradient(0deg, transparent 85%, rgba(58,199,255,0.6) 100%) 100% 100%/2px 20px;
  background-repeat: no-repeat;
  border-radius: 21px;
  opacity: 0.4;
  animation: hud-pulse 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 2;
}

@keyframes hud-pulse {
  0% { 
    opacity: 0.3;
    filter: brightness(0.8);
  }
  100% { 
    opacity: 0.6;
    filter: brightness(1.2);
  }
}

.card > * {
  position: relative;
  z-index: 3;
}

/* Cockpit monitor screen with scanlines */
.media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(58,199,255,0.03) 1px,
      transparent 2px,
      transparent 4px
    ),
    radial-gradient(circle at 30% 40%, rgba(58,199,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 40%);
  border-radius: 12px;
  opacity: 0.8;
  animation: screen-flicker 6s ease-in-out infinite;
  pointer-events: none;
}

/* Screen border glow effect */
.media::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, 
    rgba(58,199,255,0.4),
    transparent 20%,
    transparent 80%,
    rgba(58,199,255,0.4));
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.card:hover .media::after {
  opacity: 1;
  animation: border-scan 2s linear infinite;
}

@keyframes starfield-twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 0.9; }
}

@keyframes screen-flicker {
  0%, 98% { 
    opacity: 0.8;
    filter: brightness(1);
  }
  99% { 
    opacity: 0.6;
    filter: brightness(0.8);
  }
  100% { 
    opacity: 0.8;
    filter: brightness(1);
  }
}

@keyframes border-scan {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

/* Cockpit HUD scanner lines */
.grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(58,199,255,0.03) 3px,
    rgba(58,199,255,0.03) 4px
  );
  pointer-events: none;
  border-radius: 30px;
  z-index: 1;
}

/* Cockpit corner brackets */
.grid::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: 
    linear-gradient(90deg, rgba(58,199,255,0.8) 0%, transparent 20%) 0 0/30px 3px,
    linear-gradient(90deg, rgba(58,199,255,0.8) 0%, transparent 20%) 0 100%/30px 3px,
    linear-gradient(90deg, transparent 80%, rgba(58,199,255,0.8) 100%) 100% 0/30px 3px,
    linear-gradient(90deg, transparent 80%, rgba(58,199,255,0.8) 100%) 100% 100%/30px 3px,
    linear-gradient(0deg, rgba(58,199,255,0.8) 0%, transparent 20%) 0 0/3px 30px,
    linear-gradient(0deg, rgba(58,199,255,0.8) 0%, transparent 20%) 100% 0/3px 30px,
    linear-gradient(0deg, transparent 80%, rgba(58,199,255,0.8) 100%) 0 100%/3px 30px,
    linear-gradient(0deg, transparent 80%, rgba(58,199,255,0.8) 100%) 100% 100%/3px 30px;
  background-repeat: no-repeat;
  pointer-events: none;
  border-radius: 35px;
  z-index: 2;
}

/* Cockpit console screen effects on hover */
.card:hover::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, 
    rgba(58,199,255,0.3), 
    rgba(154,124,255,0.2), 
    rgba(58,199,255,0.3));
  border-radius: 28px;
  z-index: -1;
  filter: blur(12px);
  animation: console-scan 2s ease-in-out infinite alternate;
}

@keyframes nebula-pulse {
  0% { opacity: 0.3; transform: scale(0.98); }
  100% { opacity: 0.6; transform: scale(1.02); }
}

@keyframes console-scan {
  0% { 
    opacity: 0.4; 
    transform: scale(0.99);
    filter: blur(12px) hue-rotate(0deg);
  }
  100% { 
    opacity: 0.7; 
    transform: scale(1.01);
    filter: blur(8px) hue-rotate(15deg);
  }
}

/* Enhanced button with cosmic energy */
.cta:hover {
  box-shadow: 
    0 6px 20px rgba(58,199,255,0.5), 
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 0 30px rgba(58,199,255,0.3);
  transform: translateY(-2px);
}
.soon{background:linear-gradient(145deg, #2a1810, #1a1210, #0f0808);border-color:#ff8a3d;box-shadow:0 15px 40px rgba(0,0,0,.5), 0 0 25px rgba(255,138,61,0.2)}
.cta{display:inline-block;margin-top:.5rem;padding:.6rem 1rem;border-radius:.8rem;background:linear-gradient(135deg,var(--accent1),var(--accent2));color:#0b0b12;font-weight:800;text-decoration:none;border:2px solid rgba(255,255,255,0.2);cursor:pointer;position:relative;overflow:visible;transition:all 0.3s ease;box-shadow:0 4px 15px rgba(58,199,255,0.3), inset 0 1px 0 rgba(255,255,255,0.3)}
.cta[disabled]{opacity:.6;cursor:not-allowed}

/* Rocket ship extending from PLAY NOW buttons */
.cta:not([disabled])::before {
  content: '🚀';
  position: absolute;
  top: 100%;
  left: 50%;
  font-size: 0px;
  width: 0;
  height: 0;
  transform: translateX(-50%) translateY(-2px) rotate(180deg);
  transition: all 0.4s ease;
  z-index: 15;
  opacity: 0;
}

.cta:not([disabled]):hover::before {
  font-size: 24px;
  width: 30px;
  height: 30px;
  transform: translateX(-50%) translateY(10px) rotate(180deg);
  opacity: 1;
  animation: rocket-hover 0.8s ease-in-out infinite alternate;
}

/* Rocket flame trail */
.cta:not([disabled])::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(ellipse at top center, 
    #ffffff 0%,
    #00e1ff 25%,
    #ff4500 50%,
    #ffa500 75%,
    rgba(255, 165, 0, 0) 100%);
  border-radius: 0 0 15px 15px;
  transform: translateX(-50%) translateY(30px);
  transition: all 0.4s ease;
  filter: blur(1px);
  box-shadow: 
    0 5px 15px rgba(255, 69, 0, 0.6),
    0 10px 25px rgba(255, 165, 0, 0.4);
  z-index: 14;
  opacity: 0;
}

.cta:not([disabled]):hover::after {
  width: 20px;
  height: 40px;
  opacity: 1;
  transform: translateX(-50%) translateY(35px);
  animation: rocket-flame 0.15s ease-in-out infinite alternate;
}

@keyframes rocket-hover {
  0% { 
    transform: translateX(-50%) translateY(10px) rotate(180deg) scale(1);
  }
  100% { 
    transform: translateX(-50%) translateY(8px) rotate(180deg) scale(1.1);
  }
}

@keyframes rocket-flame {
  0% { 
    transform: translateX(-50%) translateY(35px) scaleY(1) scaleX(1);
    filter: blur(1px) brightness(1.2);
  }
  100% { 
    transform: translateX(-50%) translateY(33px) scaleY(1.2) scaleX(1.1);
    filter: blur(1.5px) brightness(1.5);
  }
}
.langs{max-width:900px;margin:1rem auto;padding:0 1rem}
.langs h4{margin:.25rem 0 1rem;text-align:center;font-size:1.5rem;font-weight:600;background:linear-gradient(135deg,var(--accent1),var(--accent2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-transform:uppercase;letter-spacing:1px}
.tech-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:0.75rem;margin-bottom:1rem}
.tech-item{display:flex;flex-direction:column;align-items:center;gap:.25rem;padding:.75rem .5rem;background:linear-gradient(135deg, var(--card), #1a1f35);position:relative;border-radius:0;transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);min-width:80px;max-width:90px;clip-path:polygon(50% 0%, 0% 75%, 25% 100%, 75% 100%, 100% 75%);border:2px solid #3ac7ff40;box-shadow:0 0 20px rgba(58,199,255,0.1);backdrop-filter:blur(5px);overflow:visible}
.tech-item:hover{transform:translateY(-4px) scale(1.05);box-shadow:0 0 30px rgba(58,199,255,0.3), 0 10px 20px rgba(0,0,0,0.4);border-color:#3ac7ff}

/* Spaceship thruster flames shooting DOWN from tech items */
.tech-item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 20px;
  height: 0;
  background: radial-gradient(ellipse at top center, 
    #ffffff 0%,
    #00e1ff 25%,
    #ff4500 50%,
    #ffa500 75%,
    rgba(255, 165, 0, 0) 100%);
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
  transition: height 0.3s ease;
  filter: blur(0.5px);
  box-shadow: 
    0 3px 10px rgba(255, 69, 0, 0.5),
    0 6px 15px rgba(255, 165, 0, 0.3);
  z-index: 12;
}

.tech-item:hover::before {
  height: 25px;
  animation: small-flame 0.18s ease-in-out infinite alternate;
}

.tech-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 12px;
  height: 0;
  background: linear-gradient(to bottom, 
    #ffffff 0%,
    #00e1ff 40%,
    #ff4500 80%,
    rgba(255, 69, 0, 0) 100%);
  border-radius: 0 0 6px 6px;
  transform: translateX(-50%);
  transition: height 0.3s ease;
  z-index: 13;
}

.tech-item:hover::after {
  height: 18px;
  animation: small-inner-flame 0.15s ease-in-out infinite alternate;
}

@keyframes small-flame {
  0% { 
    transform: translateX(-50%) scaleY(1) scaleX(1);
    filter: blur(0.5px) brightness(1.1);
  }
  100% { 
    transform: translateX(-50%) scaleY(1.08) scaleX(1.04);
    filter: blur(1px) brightness(1.3);
  }
}

@keyframes small-inner-flame {
  0% { 
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
  }
  100% { 
    transform: translateX(-50%) scaleY(1.12) scaleX(0.96);
    opacity: 0.9;
  }
}
.tech-icon{width:32px;height:32px;object-fit:contain;filter:drop-shadow(0 0 8px rgba(58,199,255,0.4));transition:filter 0.3s ease}
.tech-item span{font-size:.75rem;color:var(--muted);text-align:center;line-height:1.2;text-shadow:0 0 10px rgba(58,199,255,0.3);font-weight:600}
.footer{display:flex;justify-content:center;gap:2rem;padding:2rem 1rem 3rem;flex-wrap:wrap}

.footer-section {
  text-align: center;
}

.footer-section-title {
  color: var(--accent1);
  font-size: 1rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.footer-section-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn{border:1px solid #232a44;padding:.6rem 1rem;border-radius:.8rem;color:var(--fg);text-decoration:none}
.btn-social{display:flex;align-items:center;gap:.5rem;border:1px solid #232a44;padding:.6rem 1rem;border-radius:.8rem;color:var(--fg);text-decoration:none;transition:transform .18s,border-color .18s}
.btn-social:hover{transform:translateY(-2px);border-color:#3ac7ff55}
.social-icon{width:20px;height:20px;object-fit:contain}

/* Back Button Styles */
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: #333;
  color: #9ee6ff;
  border: 2px solid #9ee6ff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  font-family: monospace;
  transition: all 0.3s ease;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.back-btn:hover {
  background: #9ee6ff;
  color: #333;
  box-shadow: 0 0 15px #9ee6ff;
  transform: translateY(-1px);
}

/* Micro-Interactions CSS */

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Fade In Up Animation */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal Animation */
.reveal-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Button Interactions */
.cta, .btn-social, .back-btn, .tech-item {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.cta:active, .btn-social:active, .back-btn:active {
  transform: scale(0.95);
}

/* Card Enhanced Interactions */
.card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(58, 199, 255, 0.1);
}

/* Tech Item Enhancements */
.tech-item {
  transform-origin: center bottom;
  will-change: transform;
}

.tech-item:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Logo Hover Effect */
.logo {
  transition: all 0.3s ease;
  transform-origin: center;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 30px rgba(255,120,60,.6));
}

/* Smooth Focus States */
*:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(58, 199, 255, 0.3);
  transition: box-shadow 0.2s ease;
}

/* Loading Spinner for Dynamic Content */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent1);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Smooth Transitions for Dynamic Content */
.smooth-appear {
  animation: smoothAppear 0.4s ease-out;
}

@keyframes smoothAppear {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Enhanced Hover States */
.btn-social:hover, .cta:hover {
  transform: translateY(-2px) scale(1.02);
}

.tech-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Spotify Widget Styles */
.spotify-widget {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.spotify-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 185, 84, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.spotify-toggle:hover {
  background: rgba(29, 185, 84, 1);
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(29, 185, 84, 0.4);
}

.spotify-toggle svg {
  width: 18px;
  height: 18px;
}

.spotify-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.spotify-player {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 300px;
  backdrop-filter: blur(15px);
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.spotify-widget.visible.minimized .spotify-player {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
  pointer-events: none;
}

.spotify-widget.visible.expanded .spotify-player {
  opacity: 1;
  transform: translateY(50px) scale(1);
  pointer-events: auto;
}

.spotify-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spotify-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.spotify-minimize {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.spotify-minimize:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.spotify-content {
  padding: 8px;
}

.spotify-content iframe {
  border-radius: 8px;
  background: #121212;
}

/* Widget States */
.spotify-widget:not(.visible) .spotify-toggle {
  opacity: 0.7;
}

.spotify-widget.visible.minimized .spotify-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: #1DB954;
}

.spotify-widget.visible.expanded .spotify-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .spotify-widget {
    top: 15px;
    right: 15px;
  }
  
  .spotify-player {
    width: 280px;
  }
  
  .spotify-toggle {
    padding: 6px 10px;
  }
  
  .spotify-label {
    display: none;
  }
}

@media (max-width: 480px) {
  .spotify-player {
    width: calc(100vw - 30px);
    right: 0;
  }
  
  .spotify-widget.expanded .spotify-player {
    transform: translateY(45px) scale(1);
  }
}

/* Authentication Modal Styles */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.visible {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
  border: 1px solid rgba(58, 199, 255, 0.3);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  0% {
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.auth-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg);
}

.auth-header h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  color: var(--fg);
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1rem;
}

.auth-benefits {
  margin: 24px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: var(--fg);
  font-size: 0.9rem;
}

.benefit-icon {
  font-size: 1.2rem;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin: 24px 0 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
  flex: 1;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.auth-tab.active {
  background: var(--accent1);
  color: white;
}

.auth-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}

.auth-form {
  margin: 20px 0;
}

.form-group {
  margin: 16px 0;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--fg);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent1);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(58, 199, 255, 0.2);
}

.form-group input::placeholder {
  color: var(--muted);
}

.auth-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(58, 199, 255, 0.3);
}

.auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.guest-continue {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.guest-continue:hover {
  border-color: var(--accent1);
  color: var(--accent1);
}

.auth-error {
  background: rgba(255, 82, 82, 0.1);
  border: 1px solid rgba(255, 82, 82, 0.3);
  color: #ff5252;
  padding: 12px;
  border-radius: 6px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

/* Warp Transition Effects */
.warp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.warp-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.warp-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.warp-text {
  position: relative;
  z-index: 10001;
  color: var(--accent1);
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
  animation: warpTextPulse 1.5s infinite alternate;
  text-shadow: 0 0 20px var(--accent1);
}

@keyframes warpTextPulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* User Info in Header */
.user-info {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-text {
  color: var(--fg);
  font-size: 0.9rem;
}

.logout-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  border-color: #ff5252;
  color: #ff5252;
}

/* Success Notification */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10001;
  transform: translateX(400px);
  transition: transform 0.3s ease;
}

.success-notification.visible {
  transform: translateX(0);
}

/* Leaderboard Styles */
.leaderboard {
  background: rgba(20, 24, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  max-height: 400px;
  overflow-y: auto;
}

.leaderboard h3 {
  margin: 0 0 16px;
  color: var(--fg);
  font-size: 1.2rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.leaderboard-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.leaderboard-entry:hover {
  background: rgba(58, 199, 255, 0.1);
  transform: translateX(4px);
}

.leaderboard-rank {
  font-weight: bold;
  color: var(--accent1);
  min-width: 30px;
}

.leaderboard-name {
  flex: 1;
  color: var(--fg);
  margin: 0 12px;
}

.leaderboard-score {
  font-weight: 600;
  color: var(--accent2);
}

.leaderboard-entry.first {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 193, 7, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.leaderboard-entry.second {
  background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), rgba(169, 169, 169, 0.1));
  border: 1px solid rgba(192, 192, 192, 0.3);
}

.leaderboard-entry.third {
  background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), rgba(184, 115, 51, 0.1));
  border: 1px solid rgba(205, 127, 50, 0.3);
}

/* Random Alien Visitor Styles */
.random-alien {
  position: fixed;
  width: 80px;
  height: 100px;
  z-index: 50;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(46, 213, 115, 0.3));
}

.random-alien.alien-visible {
  opacity: 1;
}

.alien-body {
  position: relative;
  width: 100%;
  height: 100%;
}

.alien-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 40px;
  background: linear-gradient(145deg, #2ed573, #20bf6b);
  border-radius: 50% 50% 45% 45%;
  border: 2px solid #26de81;
}

.alien-eye {
  position: absolute;
  width: 8px;
  height: 12px;
  background: linear-gradient(145deg, #000, #333);
  border-radius: 50%;
  top: 12px;
  animation: alienBlink 4s infinite;
}

.alien-eye-left {
  left: 12px;
}

.alien-eye-right {
  right: 12px;
}

.alien-antenna {
  position: absolute;
  width: 2px;
  height: 15px;
  background: #20bf6b;
  top: -12px;
  border-radius: 1px;
  animation: antennaWiggle 2s infinite ease-in-out;
}

.alien-antenna-left {
  left: 15px;
  transform: rotate(-15deg);
}

.alien-antenna-right {
  right: 15px;
  transform: rotate(15deg);
}

.antenna-tip {
  position: absolute;
  top: -4px;
  left: -2px;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #ff9ff3, #f368e0);
  border-radius: 50%;
  animation: antennaTipGlow 1.5s infinite alternate;
}

.alien-torso {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 30px;
  background: linear-gradient(145deg, #2ed573, #20bf6b);
  border-radius: 15px;
  border: 2px solid #26de81;
}

.alien-arm {
  position: absolute;
  width: 4px;
  height: 25px;
  background: #20bf6b;
  border-radius: 2px;
  top: 40px;
  animation: alienWave 3s infinite ease-in-out;
}

.alien-arm-left {
  left: 15px;
  transform: rotate(-20deg);
  animation-delay: 0s;
}

.alien-arm-right {
  right: 15px;
  transform: rotate(20deg);
  animation-delay: 1.5s;
}

.alien-leg {
  position: absolute;
  width: 4px;
  height: 20px;
  background: #20bf6b;
  border-radius: 2px;
  bottom: 0;
  animation: alienWalk 1s infinite alternate;
}

.alien-leg-left {
  left: 20px;
  animation-delay: 0s;
}

.alien-leg-right {
  right: 20px;
  animation-delay: 0.5s;
}

.alien-shadow {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(3px);
}

@keyframes alienBlink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

@keyframes antennaWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes antennaTipGlow {
  0% { 
    box-shadow: 0 0 5px #ff9ff3, 0 0 10px #f368e0;
    transform: scale(1);
  }
  100% { 
    box-shadow: 0 0 10px #ff9ff3, 0 0 20px #f368e0;
    transform: scale(1.2);
  }
}

@keyframes alienWave {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-30deg); }
}

@keyframes alienWalk {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-3px); }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .ripple, .fade-in-up, .smooth-appear, .bounce, .pulse, .modalSlideIn {
    animation: none !important;
  }
  
  .card, .tech-item, .logo, .tech-icon, .cta, .btn-social, .back-btn {
    transition: none !important;
    transform: none !important;
  }
  
  .card:hover, .tech-item:hover, .btn-social:hover, .cta:hover {
    transform: none !important;
  }
  
  .spotify-toggle, .spotify-player, .auth-modal-content, .success-notification {
    transition: none !important;
    transform: none !important;
  }
  
  .random-alien, .alien-eye, .alien-antenna, .antenna-tip, .alien-arm, .alien-leg {
    animation: none !important;
    transition: opacity 0.5s ease !important;
  }
}

/* Enhanced Responsive Design */

/* Mobile First - Base styles above already mobile-optimized */

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
  :root {
    --font-size-base: 14px;
    --font-size-h1: 1.6rem;
    --font-size-h3: 1.1rem;
    --spacing-grid-gap: 12px;
    --spacing-card-padding: 12px;
    --spacing-section: 1rem;
    --grid-min-width: 280px;
  }
  
  .header {
    padding: 1rem 0.5rem;
  }
  
  .logo {
    width: 140px;
    max-height: 70px;
  }
  
  .tag {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .grid {
    padding: 0.5rem;
    grid-template-columns: 1fr;
  }
  
  .card h3 {
    font-size: var(--font-size-h3);
  }
  
  .tech-grid {
    gap: 0.5rem;
  }
  
  .tech-item {
    min-width: 70px;
    max-width: 75px;
    padding: 0.4rem;
  }
  
  .tech-icon {
    width: 36px;
    height: 36px;
  }
}

/* Mobile Landscape / Small Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --font-size-base: 15px;
    --font-size-h1: 1.8rem;
    --font-size-h3: 1.2rem;
    --spacing-grid-gap: 14px;
    --spacing-card-padding: 14px;
    --spacing-section: 1.5rem;
    --grid-min-width: 240px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    max-width: 700px;
  }
  
  .tech-grid {
    gap: 0.6rem;
  }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --font-size-base: 16px;
    --font-size-h1: 2rem;
    --font-size-h3: 1.3rem;
    --spacing-grid-gap: 16px;
    --spacing-card-padding: 15px;
    --spacing-section: 1.75rem;
    --grid-min-width: 250px;
  }
  
  .grid {
    max-width: 900px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  :root {
    --font-size-base: 16px;
    --font-size-h1: 2.2rem;
    --font-size-h3: 1.4rem;
    --spacing-grid-gap: 18px;
    --spacing-card-padding: 16px;
    --spacing-section: 2rem;
    --grid-min-width: 260px;
  }
}

/* Large Desktop / Ultrawide (1441px+) */
@media (min-width: 1441px) {
  :root {
    --font-size-base: 18px;
    --font-size-h1: 2.5rem;
    --font-size-h3: 1.6rem;
    --spacing-grid-gap: 24px;
    --spacing-card-padding: 20px;
    --spacing-section: 3rem;
    --grid-min-width: 300px;
  }
  
  .grid {
    max-width: 1400px;
  }
  
  .header {
    padding: 3rem 1rem;
  }
  
  .logo {
    width: 220px;
    max-height: 110px;
  }
  
  .tag {
    font-size: 1.3rem;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo,
  .tech-icon,
  .social-icon {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .glow {
    animation: none !important;
  }
}

/* Dark Mode Support (for systems that prefer dark) */
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f0f0f2;
    --muted: #c7ccd0;
    --card: #181a27;
  }
}

/* Touch Device Optimizations */
.touch-device .card,
.touch-device .tech-item,
.touch-device .btn-social {
  min-height: 44px;
}

.touch-device .cta,
.touch-device .btn-social {
  padding: 0.75rem 1.25rem;
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
  }
  
  .btn-small,
  .footer,
  #footer-placeholder {
    display: none !important;
  }
}

/* Nova Arena: Chrono Shards specific styles */
/* Tap Discs Card Animation */
.tapdisc-preview {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  overflow: hidden;
}

.disc-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.falling-disc {
  position: absolute;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #7affbd, #5ae8a3);
  border-radius: 50%;
  box-shadow: 0 0 15px #7affbd;
  animation: fall 3s linear infinite;
}

.falling-disc:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.falling-disc:nth-child(2) {
  left: 50%;
  animation-delay: 1s;
}

.falling-disc:nth-child(3) {
  left: 80%;
  animation-delay: 2s;
}

@keyframes fall {
  0% {
    top: -30px;
    opacity: 0;
    transform: scale(0.8);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    top: calc(100% + 30px);
    opacity: 0;
    transform: scale(0.8);
  }
}

.card:hover .falling-disc {
  animation-play-state: paused;
}

.nova-arena {
  position: relative;
  overflow: hidden;
}

.nova-arena-media {
  position: relative;
  background: linear-gradient(135deg, #1a0033, #330066, #660099);
  border: 2px solid #ff00ff;
  animation: chronoGlow 3s ease-in-out infinite alternate;
}

@keyframes chronoGlow {
  0% { 
    border-color: #ff00ff; 
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  }
  100% { 
    border-color: #00ffff; 
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  }
}

.in-development-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  border: 2px solid #7affbd;
  animation: devPulse 2s ease-in-out infinite;
}

@keyframes devPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    border-color: #7affbd;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.05);
    border-color: #00ffff;
  }
}

.dev-status {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 14px;
  font-weight: bold;
  color: #7affbd;
  text-shadow: 0 0 10px rgba(122, 255, 189, 0.8);
  letter-spacing: 2px;
}

.arena-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.chrono-shard {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border-radius: 50%;
  animation: chronoFloat 4s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.chrono-shard:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.chrono-shard:nth-child(2) {
  top: 60%;
  right: 20%;
  animation-delay: 1.3s;
}

.chrono-shard:nth-child(3) {
  bottom: 25%;
  left: 50%;
  animation-delay: 2.6s;
}

@keyframes chronoFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
    opacity: 1;
  }
}

.nova-arena .game-info {
  margin: 10px 0;
  font-size: 0.9rem;
}

.nova-arena .genre,
.nova-arena .style-desc {
  margin: 5px 0;
  color: #9cffcc;
}

.nova-arena .concept-preview {
  margin: 15px 0;
  padding: 12px;
  background: rgba(122, 255, 189, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(122, 255, 189, 0.2);
}

.nova-arena .concept-preview h4 {
  color: #7affbd;
  margin: 8px 0 6px 0;
  font-size: 0.95rem;
  text-shadow: 0 0 8px rgba(122, 255, 189, 0.4);
}

.nova-arena .concept-preview p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 6px 0;
}

.nova-arena .concept-preview ul {
  margin: 8px 0;
  padding-left: 16px;
}

.nova-arena .concept-preview li {
  font-size: 0.82rem;
  line-height: 1.3;
  margin: 4px 0;
  color: #b8ffdb;
}

.nova-arena .concept-preview em {
  color: #ff69b4;
  font-style: italic;
}

.nova-cta {
  background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
  animation: ctaShimmer 2s ease-in-out infinite alternate;
}

@keyframes ctaShimmer {
  0% { 
    background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
  }
  100% { 
    background: linear-gradient(135deg, #00ffff, #ff00ff) !important;
  }
}

/* Hover effect for Nova Arena card */
.nova-arena:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(255, 0, 255, 0.4);
}

.nova-arena:hover .chrono-shard {
  animation-duration: 2s;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
}

.nova-arena:hover .in-development-overlay {
  animation-duration: 1s;
}

/* Game Features for Snake Card */
.game-features {
  margin: 15px 0;
  padding: 12px;
  background: rgba(122, 255, 189, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(122, 255, 189, 0.1);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #9cffcc;
}

.feature-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(122, 255, 189, 0.6));
}

.feature-text {
  font-weight: 500;
}

.quick-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(122, 255, 189, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #7affbd;
  text-shadow: 0 0 8px rgba(122, 255, 189, 0.8);
}

.stat-label {
  font-size: 0.7rem;
  color: #9cffcc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Combat Info for Space Shooter Card */
.combat-info {
  margin: 15px 0;
  padding: 12px;
  background: rgba(255, 105, 180, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 105, 180, 0.1);
}

.weapon-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.weapon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #ffb3da;
}

.weapon-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(255, 105, 180, 0.6));
}

.weapon-name {
  font-weight: 500;
  color: #ff69b4;
}

.mission-status {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 105, 180, 0.2);
}

.status-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}

.status-label {
  color: #ffb3da;
  font-weight: bold;
  white-space: nowrap;
}

.threat-meter {
  flex: 1;
  height: 8px;
  background: rgba(255, 0, 0, 0.2);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.threat-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, #ff6b6b, #ff0000);
  border-radius: 4px;
  animation: threatPulse 2s ease-in-out infinite alternate;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

@keyframes threatPulse {
  0% { 
    width: 80%;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  }
  100% { 
    width: 90%;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.9);
  }
}

.threat-level {
  color: #ff4757;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 71, 87, 0.8);
  letter-spacing: 1px;
}

/* Responsive adjustments for new content */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .quick-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .weapon-types {
    gap: 4px;
  }
  
  .status-bar {
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }
}
