/* ============================================================
   STAY AHEAD — MINIMAL LAUNCH PAGE
   Dark background with Red/Blue theme
   ============================================================ */

/* ===================== CSS VARIABLES ===================== */
:root {
  --color-bg: #0a0e14;
  --color-blue: #0099ff;
  --color-blue-glow: rgba(0, 153, 255, 0.5);
  --color-red: #ff1744;
  --color-white: #ffffff;
  --color-text: #e0e0e0;
  
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Orbitron', sans-serif;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1.5rem 1rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 12, 0.82);
  z-index: -1;
}

.hero__content {
  max-width: 760px;
  z-index: 1;
  transform: translateY(-3.2rem);
}

.logo {
  margin-bottom: 0.45rem;
}

.logo img {
  width: 580px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 15px rgba(0, 153, 255, 0.3));
}

.title {
  display: none;
}

.tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.7vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-white);
  margin-bottom: 0.85rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

/* ===================== BUTTONS ===================== */
.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn__image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
}

.btn--google-play {
  background: rgba(52, 168, 83, 0.08);
  color: var(--color-white);
  border: none;
  box-shadow:
    0 0 18px rgba(52, 168, 83, 0.16),
    0 0 36px rgba(52, 168, 83, 0.08);
  padding: 1rem 1.35rem;
  min-width: 340px;
  animation: googleBtnPulse 2.8s ease-in-out infinite;
}

.btn--google-play:hover {
  background: rgba(52, 168, 83, 0.12);
  box-shadow:
    0 0 24px rgba(52, 168, 83, 0.22),
    0 0 48px rgba(52, 168, 83, 0.12);
  transform: translateY(-3px);
}

@keyframes googleBtnPulse {
  0%, 100% {
    box-shadow:
      0 0 16px rgba(52, 168, 83, 0.14),
      0 0 34px rgba(52, 168, 83, 0.07);
  }
  50% {
    box-shadow:
      0 0 22px rgba(52, 168, 83, 0.2),
      0 0 44px rgba(52, 168, 83, 0.1);
  }
}

.btn--play-demo {
  background: var(--color-blue);
  color: var(--color-bg);
  min-width: 250px;
  box-shadow: 
    0 0 20px var(--color-blue-glow),
    0 0 40px rgba(0, 153, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  animation: btnPulse 2.5s ease-in-out infinite;
}

.btn--play-demo:hover {
  box-shadow: 
    0 0 32px var(--color-blue-glow),
    0 0 68px rgba(0, 153, 255, 0.26),
    inset 0 0 15px rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  animation: none;
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-bg);
  box-shadow: 
    0 0 20px var(--color-blue-glow),
    0 0 40px rgba(0, 153, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  animation: btnPulse 2.5s ease-in-out infinite;
}

.btn--primary:hover {
  box-shadow: 
    0 0 40px var(--color-blue-glow),
    0 0 80px rgba(0, 153, 255, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  animation: none;
}

.btn--secondary {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.2);
}

.btn--secondary:hover {
  background: rgba(0, 153, 255, 0.1);
  box-shadow: 
    0 0 30px rgba(0, 153, 255, 0.4),
    0 0 60px rgba(0, 153, 255, 0.2);
  transform: translateY(-3px);
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 
      0 0 20px var(--color-blue-glow),
      0 0 40px rgba(0, 153, 255, 0.15),
      inset 0 0 10px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 0 40px var(--color-blue-glow),
      0 0 80px rgba(0, 153, 255, 0.25),
      inset 0 0 15px rgba(255, 255, 255, 0.15);
  }
}

.btn-divider {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  opacity: 0.6;
}

/* ===================== GAME SECTION ===================== */
.game-section {
  position: relative;
  padding: 1.25rem 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(2, 4, 7, 0.96) 0%, rgba(0, 0, 0, 1) 100%);
  background-image: url('assets/images/feature-graphic.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  z-index: 1;
}

.game-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: -1;
}

.game-container {
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 1.15rem;
  background: #000000;
  overflow: hidden;
  box-shadow: 
    0 -8px 22px rgba(0, 153, 255, 0.16),
    0 14px 34px rgba(255, 23, 68, 0.12),
    0 14px 38px rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(40, 46, 60, 0.95);
  position: relative;
  z-index: 1;
}

.game-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 153, 255, 0.82) 0%, rgba(0, 153, 255, 0.1) 34%, rgba(255, 23, 68, 0.1) 66%, rgba(255, 23, 68, 0.8) 100%);
  opacity: 0.28;
  z-index: -1;
  animation: frameGlow 5s ease-in-out infinite;
  filter: blur(8px);
}

@keyframes frameGlow {
  0%, 100% {
    opacity: 0.24;
  }
  50% {
    opacity: 0.38;
  }
}

#gameIframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000000;
}

.game-copy {
  max-width: 1000px;
  margin: 0 auto 1.1rem;
  text-align: center;
  color: var(--color-white);
}

.game-copy__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(224, 224, 224, 0.8);
  margin-bottom: 0.35rem;
}

.game-copy__arrow {
  font-size: 1.2rem;
  color: var(--color-blue);
  margin-bottom: 0.35rem;
  text-shadow: 0 0 12px rgba(0, 153, 255, 0.35);
}

.game-copy__text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text);
  max-width: 720px;
  margin: 0 auto;
}

.game-copy__frame {
  margin: 0.9rem auto 0;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  color: rgba(224, 224, 224, 0.9);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  white-space: pre;
  overflow-x: auto;
}

.game-note {
  max-width: 920px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-white);
}

.game-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: fit-content;
  margin: 1.25rem auto 0;
  padding: 0.9rem 1.2rem 1rem;
  border-radius: 0.75rem;
  background: rgba(0, 180, 255, 0.035);
  box-shadow:
    0 0 11px rgba(0, 180, 255, 0.09),
    0 10px 22px rgba(255, 23, 68, 0.08);
  animation: gameCtaPulse 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.game-cta:hover {
  transform: scale(1.03);
  background: rgba(0, 180, 255, 0.055);
  box-shadow:
    0 0 16px rgba(0, 180, 255, 0.14),
    0 12px 24px rgba(255, 23, 68, 0.1);
}

.game-cta:hover .game-cta__qr {
  filter: brightness(1.08);
}

.game-cta:hover .game-cta__image {
  filter: brightness(1.02);
}

.game-cta__label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-white);
}

.game-cta__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  width: 100%;
}

.game-cta__image {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}

.game-cta__qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.game-cta__qr {
  width: 96px;
  height: 96px;
  display: block;
  border-radius: 0.45rem;
  box-shadow: 0 0 12px rgba(0, 180, 255, 0.08);
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.game-cta__qr-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(224, 224, 224, 0.82);
  text-align: center;
  line-height: 1.25;
  max-width: 92px;
}

@keyframes gameCtaPulse {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(0, 180, 255, 0.08),
      0 10px 20px rgba(255, 23, 68, 0.06);
  }
  50% {
    box-shadow:
      0 0 14px rgba(0, 180, 255, 0.11),
      0 12px 22px rgba(255, 23, 68, 0.08);
  }
}

/* ===================== FOOTER ===================== */
.footer {
  position: relative;
  padding: 2rem 1.5rem 3rem;
  background: linear-gradient(180deg, rgba(2, 4, 7, 0.95) 0%, rgba(0, 0, 0, 1) 100%);
  background-image: url('assets/images/feature-graphic.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  border-top: 1px solid rgba(0, 153, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: -1;
}

.footer__studio {
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.footer__logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 23, 68, 0.3));
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.footer__credit {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.footer__links a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  transition: all 0.3s ease;
  position: relative;
}

.footer__link--discord {
  color: var(--color-blue);
}

.footer__link--discord::after {
  background: var(--color-blue);
}

.footer__link--youtube {
  color: var(--color-red);
}

.footer__link--youtube::after {
  background: var(--color-red);
}

.footer__link--youtube:hover {
  text-shadow: 0 0 10px rgba(255, 23, 68, 0.35);
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.footer__links a:hover {
  text-shadow: 0 0 10px var(--color-blue-glow);
}

.footer__links a:hover::after {
  transform: scaleX(1);
}

.footer__dot {
  color: rgba(224, 224, 224, 0.55);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.footer__download {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34a853;
  position: relative;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer__download:hover {
  text-shadow: 0 0 10px rgba(52, 168, 83, 0.35);
}


.footer__copyright {
  font-size: 0.875rem;
  color: rgba(224, 224, 224, 0.5);
  margin-top: 1rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .logo img {
    width: 460px;
  }

  .title {
    margin-bottom: 1rem;
  }

  .tagline {
    margin-bottom: 0.75rem;
  }

  .description {
    margin-bottom: 1rem;
    font-size: 1.02rem;
  }

  .buttons {
    gap: 0.6rem;
  }

  .btn {
    padding: 0.95rem 1.6rem;
    font-size: 0.94rem;
  }

  .btn--google-play,
  .btn--play-demo {
    min-width: 0;
    width: 100%;
    max-width: 420px;
  }

  .game-section {
    padding: 1rem 1rem 2.25rem;
  }

  .game-container {
    border-radius: 1rem;
  }

  .game-copy__text {
    font-size: 0.95rem;
  }

  .game-note {
    font-size: 0.9rem;
  }

  .game-copy__frame {
    font-size: 0.72rem;
    padding: 0.75rem 0.8rem;
    max-width: 100%;
  }

  .game-cta {
    margin-top: 1rem;
    padding: 0.8rem 1rem 0.9rem;
  }

  .game-cta__row {
    gap: 1rem;
  }

  .game-cta__image {
    max-width: 320px;
  }

  .game-cta__qr {
    width: 90px;
    height: 90px;
  }

  .game-cta__qr-label {
    font-size: 0.7rem;
  }

  .footer {
    padding: 2rem 1.5rem 2.5rem;
    gap: 1.1rem;
  }

  .footer__logo {
    width: 120px;
  }

  .footer__links {
    gap: 0.5rem;
  }

  .footer__credit,
  .footer__links a,
  .footer__dot,
  .footer__download {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1rem 1rem 1.25rem;
    min-height: 70vh;
  }

  .logo img {
    width: 340px;
  }

  .title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .tagline {
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
  }

  .description {
    margin-bottom: 0.9rem;
    font-size: 0.96rem;
  }

  .buttons {
    gap: 0.55rem;
  }

  .btn {
    padding: 0.84rem 1rem;
    font-size: 0.9rem;
    width: 100%;
  }

  .btn--google-play,
  .btn--play-demo {
    max-width: 100%;
  }

  .btn-divider {
    font-size: 0.75rem;
  }

  .footer__logo {
    width: 100px;
  }

  .game-copy__eyebrow {
    font-size: 0.82rem;
  }

  .game-copy__arrow {
    font-size: 1rem;
  }

  .game-copy__text,
  .game-note {
    font-size: 0.9rem;
  }

  .game-copy__frame {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .game-cta__row {
    flex-direction: column;
    gap: 1rem;
  }

  .game-cta__label {
    font-size: 0.82rem;
  }

  .game-cta__image {
    max-width: 300px;
  }

  .game-cta__qr {
    width: 84px;
    height: 84px;
  }

  .game-cta__qr-label {
    font-size: 0.68rem;
  }
}
