
:root {
  --bg: #05080f;
  --text: #eaeaea;
  --muted: #9aa0a6;
  --accent: #1e90ff;
  --accent-hover: #1873cc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: var(--leading);
  font-size: var(--fs-base);
}

/* Navbar - Cyberpunk Style */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, 
    rgba(5, 8, 15, 0.85) 0%, 
    rgba(5, 8, 15, 0.65) 100%);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  padding: 14px 28px;
  transition: all 0.4s cubic-bezier(0.22, 0.8, 0.2, 1);
  transform: translateY(0);
  will-change: transform;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
  animation: navbar-enter 0.8s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}

@keyframes navbar-enter {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 20px rgba(255, 20, 147, 0.1);
  background: linear-gradient(180deg, 
    rgba(5, 8, 15, 0.9) 0%, 
    rgba(5, 8, 15, 0.7) 100%);
}

.navbar.navbar-hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hero);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.logo:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.logo-text {
  display: none;
}

.site-logo {
  height: 42px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.2));
  transition: filter 0.3s ease;
}

.logo:hover .site-logo {
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 28px;
}

/* Mobile nav toggle - Cyberpunk */
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(0, 212, 255, 0.3);
  cursor: pointer;
  padding: 8px;
  align-items: center;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.05);
}

.hamburger {
  display: inline-block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #ff1493);
  position: relative;
  transition: transform 0.25s ease;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #ff1493);
  transition: transform 0.25s ease, top 0.25s ease, bottom 0.25s ease, opacity 0.2s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* open state styles applied on .nav-links.open and .nav-toggle.open */
.nav-toggle.open .hamburger { transform: rotate(45deg); }
.nav-toggle.open .hamburger::before { transform: rotate(90deg); top: 0; }
.nav-toggle.open .hamburger::after { opacity: 0; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #ff1493);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.58);
}

.hero-content {
  position: relative;
  z-index: 50;
  text-align: center;
  animation: fade-in 1s ease-out forwards;
  width: 100%;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: var(--fs-h1);
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  opacity: 1;
  animation: fade-in 1s ease-out forwards;
  transition: text-shadow 0.3s ease;
  cursor: pointer;
}

.hero-title:hover {
  text-shadow: 
    0 0 2px #003060,
    0 0 4px #003060,
    0 0 6px #002050,
    0 0 8px #002050,
    0 0 10px #003060,
    -1px -1px 3px #001030,
    1px 1px 3px #003060,
    -1px 1px 3px #002050,
    1px -1px 3px #001030;
}

.hero-subtitle {
  font-family: var(--font-dune);
  font-size: var(--fs-medium);
  font-weight: 600; /* strong, cinematic */
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 24px;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.22, 0.8, 0.2, 1) 0.18s forwards;
}



.hero-date {
  font-family: var(--font-accent);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.22, 0.8, 0.2, 1) 0.36s forwards;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-date.typewriter {
  opacity: 1;
  animation: none;
  display: inline-block;
}

.typewriter-coming {
  display: inline-block;
  margin-right: 20px;
}

.typewriter-soon {
  display: inline-block;
}

.hero-date.typewriter .char {
  opacity: 0;
  display: inline-block;
  animation: typewriter-char 0.18s ease-out forwards;
}


@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes typewriter-char {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll-based animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Logo scaling on scroll */
.logo-scale {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-scale.scrolled {
  transform: scale(0.85);
  filter: brightness(0.9);
}

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.36s cubic-bezier(0.22, 0.8, 0.2, 1), visibility 0.36s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.popup.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.popup-inner {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px;
  border-radius: 12px;
  max-width: 420px;
  text-align: center;
  transform: scale(0.97);
  transition: transform 0.36s cubic-bezier(0.22, 0.8, 0.2, 1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.popup.show .popup-inner {
  transform: scale(1);
}

.popup-inner h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.popup-inner p {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.7;
}

.popup-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

/* Glass Card - Cyberpunk Style */
.glass-card {
  animation:
    br-slide-up 1.4s cubic-bezier(0.22, 0.8, 0.2, 1) 0.5s forwards,
    float-card 8s ease-in-out infinite;
}

@keyframes float-card {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.glass-card {
  background: linear-gradient(
    180deg,
    rgba(255, 105, 180, 0.08),   /* pink */
    rgba(88, 24, 124, 0.65),     /* purple */
    rgba(10, 10, 18, 0.85)       /* deep blue-black */
  );
  backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(170, 90, 255, 0.25);
  border-radius: 6px;
  padding: 36px 40px;
  max-width: 420px;
  margin: 80px auto 0;

  opacity: 0;
  animation: br-slide-up 1.4s cubic-bezier(0.22, 0.8, 0.2, 1) 0.5s forwards;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.65),
    inset 0 0 60px rgba(140, 80, 255, 0.12);

  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Atmospheric light leak */
.glass-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 120, 220, 0.18),   /* pink-purple glow */
    transparent 60%
  );
  opacity: 0.6;
  pointer-events: none;
}

/* Film grain */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}

/* Title */
.glass-card h2 {
  font-size: 20px;
  margin-bottom: 14px;
  color: #f1f1f1;
  letter-spacing: 1px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Body text */
.glass-card p {
  color: rgba(220, 220, 220, 0.75);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* Actions */
.glass-actions {
  display: flex;
  gap: 14px;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

/* Animation */
@keyframes br-slide-up {
  from {
    opacity: 0;
    transform: translateY(72px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Glowing primary CTA — pink → purple → blue */
.btn-primary {
  position: relative;
  background: linear-gradient(
    135deg,
    #ff5fd2,
    #7f5cff,
    #4aa3ff
  );
  color: #0b0b0b;
  border-radius: 4px;
  box-shadow:
    0 0 14px rgba(180, 120, 255, 0.45),
    0 0 36px rgba(90, 160, 255, 0.35);
  overflow: hidden;
  animation: button-glow 3.5s ease-in-out infinite;
}

/* Soft breathing glow */
@keyframes button-glow {
  0% {
    box-shadow:
      0 0 12px rgba(180, 120, 255, 0.35),
      0 0 26px rgba(90, 160, 255, 0.25);
  }
  50% {
    box-shadow:
      0 0 22px rgba(220, 140, 255, 0.6),
      0 0 48px rgba(100, 180, 255, 0.45);
  }
  100% {
    box-shadow:
      0 0 12px rgba(180, 120, 255, 0.35),
      0 0 26px rgba(90, 160, 255, 0.25);
  }
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  opacity: 0;
}

.btn-primary:hover::after {
  animation: btn-sweep 0.9s ease forwards;
}

@keyframes btn-sweep {
  from {
    left: -60%;
    opacity: 0;
  }
  to {
    left: 120%;
    opacity: 1;
  }
}

/* Secondary – subtle, atmospheric */
.btn-secondary {
  background: transparent;
  color: rgba(220, 220, 220, 0.75);
  border: 1px solid rgba(150, 120, 255, 0.35);
}

.btn-secondary:hover {
  color: #fff;
  border-color: rgba(180, 140, 255, 0.6);
}


/* Responsive - Mobile Optimized */
@media (max-width: 768px) {
  .nav-links {
    gap: 12px;
    font-size: 12px;
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    background: linear-gradient(135deg, 
      rgba(5, 8, 15, 0.98) 0%, 
      rgba(10, 14, 31, 0.95) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.22, 0.8, 0.2, 1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a { 
    font-size: 16px; 
    padding: 12px 8px;
    display: block;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    border-left-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
    padding-left: 16px;
  }

  .navbar-inner {
    flex-direction: row;
    gap: 14px;
    justify-content: space-between;
  }

  .hero-title {
    font-size: 40px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .popup-inner {
    margin: 20px;
    padding: 28px;
  }
}

/* Footer */
.footer {
  background: rgba(5, 8, 15, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 28px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 36px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-section p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-hover);
}

@media (max-width: 599px) {
  .footer {
    padding: 32px 16px;
    margin-top: 40px;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-section h3 {
    font-size: 12px;
  }

  .footer-section p {
    font-size: 12px;
  }
}
