@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Press+Start+2P&family=Quicksand:wght@400;500;600;700&display=swap');

/* ===================================================
   Google Fonts — Reference
   
   FONTS USED:
   • Inter (body text) — clean, highly readable sans-serif
   • Press Start 2P (headings/labels/buttons) — retro pixel font
   • Quicksand (supporting/accent text) — soft, rounded, cute sans-serif
   
   To change fonts later, swap the font names in the @import URL
   and update the font-family declarations below.
   =================================================== */

/* ===================================================
   Retro Neon Theme Variables
   These are available for use across the site.
   Current styles still use the original palette below;
   these will be applied in later tasks.
   =================================================== */
:root {
  /* Retro Neon Palette */
  --neon-pink:        #ff2d95;
  --neon-blue:        #83e6ff;
  --neon-green:       #39ff14;
  --neon-purple:      #6b1b99;
  --neon-yellow:      #fff01f;
  --neon-orange:      #ff6e27;
  --neon-red:         #ff3131;

  /* Backgrounds */
  --retro-bg-dark:    #0d0221;
  --retro-bg-mid:     #1a0533;
  --retro-bg-card:    #1e0a3c;

  /* Text */
  --retro-text:       #eaf6ff;
  --retro-text-muted: #a78bfa;

  /* Glows */
  --glow-pink:   0 0 8px #ff2d95, 0 0 20px rgba(255, 45, 149, 0.4);
  --glow-blue:   0 0 8px #00e5ff, 0 0 20px rgba(0, 229, 255, 0.4);
  --glow-green:  0 0 8px #39ff14, 0 0 20px rgba(57, 255, 20, 0.4);
  --glow-purple: 0 0 8px #b026ff, 0 0 20px rgba(176, 38, 255, 0.4);

  /* Retro Fonts (reference tokens) */
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-pixel:   "Press Start 2P", monospace;
  --font-accent:  "Quicksand", "Inter", sans-serif;
}

/* ===================================================
   Creator Site — Retro Neon Arcade Theme
   =================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Main palette — retro neon on dark */
  --bg-main:       var(--retro-bg-dark);   /* Deep dark purple-black */
  --bg-dots:       rgba(176, 38, 255, 0.12); /* Faint purple grid lines */
  --soft-pink:     var(--neon-pink);        /* Neon pink for borders & accents */
  --bright-pink:   var(--neon-pink);        /* Neon pink — titles & highlights */
  --pastel-lavender: rgba(176, 38, 255, 0.2); /* Kept for coming-soon cards */
  --cream:         var(--retro-bg-card);    /* Dark card fill */
  --white:         var(--retro-bg-card);    /* Card surfaces — dark */

  /* Blacks & darks — repurposed for dark theme */
  --black:         var(--retro-text);       /* Light text where "black" was used */
  --charcoal:      var(--retro-text);       /* Light text */

  /* Text — light and readable on dark backgrounds */
  --text:          var(--retro-text);       /* Off-white body text */
  --text-muted:    var(--retro-text-muted); /* Soft lavender secondary text */

  /* Derived */
  --card-bg:       var(--retro-bg-card);    /* Dark card background */
  --card-border:   rgba(255, 45, 149, 0.4); /* Neon pink border, slightly transparent */
  --pink-glow:     rgba(255, 45, 149, 0.15);
  --lavender-glow: rgba(176, 38, 255, 0.15);

  /* Shadows — neon glows on dark */
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: var(--glow-pink);

  /* Radii */
  --radius:      16px;
  --radius-lg:   24px;
  --radius-full: 9999px;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  /* Body font: Inter — clean, highly readable sans-serif */
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Dark retro background with subtle pixel grid + soft neon glow */
  background-color: var(--retro-bg-dark);
  background-image:
    /* Soft centered neon glow — subtle, not distracting */
    radial-gradient(ellipse at 50% 20%, rgba(176, 38, 255, 0.08) 0%, transparent 60%),
    /* Faint pixel grid lines */
    linear-gradient(to right, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 1.5rem 0.75rem 1rem;
}

/* ---------- Profile Section ---------- */
.profile {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 1rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  border: 3px solid var(--neon-pink);
  box-shadow:
    0 0 10px rgba(255, 45, 149, 0.5),
    0 0 25px rgba(255, 45, 149, 0.25),
    0 0 50px rgba(255, 45, 149, 0.1);
  object-fit: cover;
  margin-bottom: 1.25rem;
  background-color: var(--retro-bg-card);
  animation: avatar-pulse 3s ease-in-out infinite alternate;
}

@keyframes avatar-pulse {
  0% {
    box-shadow:
      0 0 10px rgba(255, 45, 149, 0.5),
      0 0 25px rgba(255, 45, 149, 0.25),
      0 0 50px rgba(255, 45, 149, 0.1);
  }
  100% {
    box-shadow:
      0 0 12px rgba(0, 229, 255, 0.5),
      0 0 30px rgba(0, 229, 255, 0.25),
      0 0 55px rgba(0, 229, 255, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .avatar {
    animation: none;
  }
}

.display-name {
  /* Heading font: Press Start 2P — retro pixel */
  font-family: var(--font-pixel);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neon-pink);
  margin-bottom: 0.5rem;
  text-shadow:
    0 0 6px rgba(255, 45, 149, 0.7),
    0 0 20px rgba(255, 45, 149, 0.4),
    0 0 40px rgba(255, 45, 149, 0.2);
  letter-spacing: 0.05em;
}

.bio {
  /* Accent font: Quicksand — soft, rounded, cute supporting text */
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  color: #fff6a8;
  margin-bottom: 0.5rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  letter-spacing: 0.03em;
  text-shadow:
    0 0 6px rgba(255, 216, 77, 0.65),
    0 0 14px rgba(255, 216, 77, 0.3);
}

.cta {
  font-size: 0.9rem;
  color: var(--neon-blue);
  font-style: italic;
  opacity: 0.85;
  text-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
}

/* ---------- Section Titles ---------- */
.section-title {
  /* Heading font: Press Start 2P for retro section labels */
  font-family: var(--font-pixel);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-blue);
  text-shadow:
    0 0 4px rgba(0, 229, 255, 0.6),
    0 0 12px rgba(0, 229, 255, 0.3),
    0 0 24px rgba(0, 229, 255, 0.15);
  margin-bottom: 0.75rem;
  text-align: center;
  animation: title-glow 2.5s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% {
    text-shadow:
      0 0 4px rgba(0, 229, 255, 0.6),
      0 0 12px rgba(0, 229, 255, 0.3),
      0 0 24px rgba(0, 229, 255, 0.15);
    opacity: 1;
  }
  100% {
    text-shadow:
      0 0 6px rgba(255, 45, 149, 0.6),
      0 0 16px rgba(255, 45, 149, 0.3),
      0 0 30px rgba(255, 45, 149, 0.15);
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title {
    animation: none;
  }
}

.link-section {
  margin-bottom: 1.75rem;
}

/* ---------- Link Stack ---------- */
.link-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Link Card (base) ---------- */
.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 56px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--retro-text);
  font-weight: 500;
  cursor: pointer;
  min-width: 44px;
  background: var(--retro-bg-card);
  border: 1.5px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.2s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--neon-red);
  box-shadow:
    0 0 8px rgba(255, 49, 49, 0.4),
    0 0 20px rgba(255, 49, 49, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5);
  background: rgba(255, 49, 49, 0.05);
  outline: none;
}

.link-icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* ---------- Social Icon Images ---------- */
.link-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.link-label {
  /* Heading font: Press Start 2P for card labels */
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--neon-blue);
  text-shadow: 0 0 4px rgba(0, 229, 255, 0.4);
}

.link-card:hover .link-label,
.link-card:focus-visible .link-label {
  color: var(--neon-red);
  text-shadow: 0 0 6px rgba(255, 49, 49, 0.55);
}

.link-sub {
  /* Accent font: Quicksand — polished promo/subtext with red neon glow */
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff4d4d;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 5px rgba(255, 49, 49, 0.6),
    0 0 12px rgba(255, 49, 49, 0.25);
}

/* ---------- Social Card ---------- */
.social-card {
  background: var(--retro-bg-card);
  border: 1.5px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.social-card:hover,
.social-card:focus-visible {
  background: rgba(0, 229, 255, 0.04);
  box-shadow:
    0 0 8px rgba(0, 229, 255, 0.35),
    0 0 20px rgba(0, 229, 255, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.5);
  border-color: var(--neon-blue);
}

.social-card:hover .link-label,
.social-card:focus-visible .link-label {
  color: var(--neon-blue);
  text-shadow: 0 0 6px rgba(0, 229, 255, 0.5);
}

/* ---------- Social Coming Soon Card ---------- */
.social-coming-soon {
  background: rgba(176, 38, 255, 0.06);
  border: 1.5px dashed rgba(176, 38, 255, 0.3);
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.social-coming-soon .link-label {
  color: var(--retro-text-muted);
  text-shadow: none;
}

.social-coming-soon .link-sub {
  color: rgba(167, 139, 250, 0.7);
  font-style: italic;
  text-shadow: none;
}

.social-coming-soon .link-icon {
  opacity: 0.7;
}

/* ---------- Sponsor Card ---------- */
.sponsor-card {
  background: var(--retro-bg-card);
  border: 1.5px solid rgba(176, 38, 255, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 1rem 1rem 0.85rem;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  box-shadow:
    0 0 8px rgba(176, 38, 255, 0.4),
    0 0 20px rgba(176, 38, 255, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5);
  border-color: var(--neon-purple);
  background: rgba(176, 38, 255, 0.05);
}

.sponsor-card:hover .link-label,
.sponsor-card:focus-visible .link-label {
  color: var(--neon-purple);
  text-shadow: 0 0 6px rgba(176, 38, 255, 0.5);
}

/* ---------- Sponsor Video Icon ---------- */
.sponsor-video-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(176, 38, 255, 0.4);
  box-shadow: 0 0 8px rgba(176, 38, 255, 0.2);
  display: block;
  margin: 0 auto 0.5rem;
  background-color: var(--retro-bg-dark);
  flex-shrink: 0;
  overflow: hidden;
  -webkit-clip-path: circle(50%);
  clip-path: circle(50%);
}

/* Fallback emoji shown when browser doesn't support video */
.sponsor-video-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  font-size: 1.75rem;
}

.sponsor-card:hover .sponsor-video-icon,
.sponsor-card:focus-visible .sponsor-video-icon {
  box-shadow: 0 0 12px rgba(176, 38, 255, 0.4);
  border-color: var(--neon-purple);
}

/* ---------- Support Card ---------- */
.support-card {
  background: var(--retro-bg-card);
  color: var(--retro-text);
  border: 2px solid var(--neon-green);
  box-shadow:
    0 0 6px rgba(57, 255, 20, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.support-card .link-label {
  color: var(--neon-green);
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
}

.support-card .link-icon {
  filter: none;
}

.support-card:hover,
.support-card:focus-visible {
  background: rgba(57, 255, 20, 0.05);
  box-shadow:
    0 0 10px rgba(57, 255, 20, 0.4),
    0 0 25px rgba(57, 255, 20, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5);
  border-color: var(--neon-green);
  outline: none;
}

.support-card:hover .link-label,
.support-card:focus-visible .link-label {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

/* ---------- Game Card (legacy placeholder — kept for reference) ---------- */
/* The game-card class was replaced by the .game-container styles below */

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  font-size: 0.8rem;
  color: var(--retro-text-muted);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Fake visitor counter badge */
.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--retro-bg-card);
  border: 1.5px solid rgba(57, 255, 20, 0.35);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 0 6px rgba(57, 255, 20, 0.15);
}

.footer__badge-label {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  color: var(--retro-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__badge-count {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--neon-green);
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.5);
  letter-spacing: 0.08em;
}

/* Credit line */
.footer__credit {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--neon-pink);
  text-shadow: 0 0 4px rgba(255, 45, 149, 0.3);
  letter-spacing: 0.05em;
}

/* Retro resolution line */
.footer__retro-line {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  color: var(--retro-text-muted);
  opacity: 0.7;
  letter-spacing: 0.08em;
}

/* Thanks message */
.footer__thanks {
  font-size: 0.85rem;
  color: var(--retro-text);
  opacity: 0.8;
}

/* ===================================================
   Responsive — Tablet (768px+)
   =================================================== */
@media (min-width: 768px) {
  body {
    background-size: 100% 100%, 28px 28px, 28px 28px;
  }

  .container {
    padding: 2.5rem 1.25rem 1rem;
  }

  .avatar {
    width: 140px;
    height: 140px;
  }

  .display-name {
    font-size: 1.25rem;
  }

  .bio {
    font-size: 1.1rem;
    max-width: 400px;
  }

  .link-card {
    padding: 1rem 1.25rem;
  }
}

/* ===================================================
   Responsive — Desktop (1024px+)
   =================================================== */
@media (min-width: 1024px) {
  body {
    background-size: 100% 100%, 32px 32px, 32px 32px;
  }

  .container {
    max-width: 520px;
    padding: 3.5rem 1.5rem 1rem;
  }

  .avatar {
    width: 150px;
    height: 150px;
  }

  .display-name {
    font-size: 1.4rem;
  }
}

/* ===================================================
   JS-Enhanced Animations (progressive enhancement)
   Site works fully without JS — these are cosmetic only
   =================================================== */
.link-card.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.link-card.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Game container fade-in (full opacity) */
.game-container.fade-in.visible {
  opacity: 1;
}


/* ===================================================
   Daily Word Game Styles — Arcade Theme
   =================================================== */

/* ---------- Game Container ---------- */
.game-container {
  background: var(--retro-bg-dark);
  border: 1.5px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

/* ---------- Game Title & Instructions ---------- */
.game-title {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-yellow);
  margin-bottom: 0.5rem;
  text-shadow:
    0 0 4px rgba(255, 240, 31, 0.6),
    0 0 12px rgba(255, 240, 31, 0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.game-instructions {
  font-size: 0.85rem;
  color: var(--retro-text-muted);
  margin-bottom: 1.25rem;
}

/* ---------- Word Display ---------- */
.word-display {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  min-height: 48px;
}

.letter-box {
  width: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-pixel);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--retro-text);
  border-bottom: 3px solid rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.05);
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
  transition: border-color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.letter-box.revealed {
  border-color: var(--neon-green);
  color: var(--neon-green);
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
  transform: scale(1.08);
}

/* ---------- Game Info ---------- */
.game-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.75rem;
  background: rgba(176, 38, 255, 0.08);
  border: 1px solid rgba(176, 38, 255, 0.25);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

.game-info-label {
  font-family: var(--font-pixel);
  font-size: 0.4rem;
  font-weight: 600;
  color: var(--retro-text-muted);
  margin-right: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wrong-letters-list {
  color: var(--neon-pink);
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 4px rgba(255, 45, 149, 0.4);
}

.attempts-count {
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-yellow);
  text-shadow: 0 0 4px rgba(255, 240, 31, 0.4);
}

/* ---------- Alphabet Board ---------- */
.alphabet-board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.letter-btn {
  width: 100%;
  aspect-ratio: 1;
  max-width: 44px;
  margin: 0 auto;
  border: 1.5px solid rgba(0, 229, 255, 0.3);
  border-radius: 6px;
  background: var(--retro-bg-mid);
  color: var(--retro-text);
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.letter-btn:hover:not(:disabled) {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--neon-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 6px rgba(0, 229, 255, 0.3);
}

.letter-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

/* Correct guess button */
.letter-btn.guessed-correct {
  background: rgba(57, 255, 20, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
  cursor: default;
  opacity: 0.9;
}

/* Wrong guess button */
.letter-btn.guessed-wrong {
  background: rgba(255, 45, 149, 0.08);
  border-color: rgba(255, 45, 149, 0.4);
  color: var(--neon-pink);
  text-shadow: 0 0 3px rgba(255, 45, 149, 0.3);
  cursor: default;
  opacity: 0.55;
}

/* Disabled state (game over) */
.letter-btn:disabled {
  cursor: default;
  opacity: 0.4;
}

/* ---------- Game Feedback ---------- */
.game-feedback {
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease;
}

.game-feedback.feedback-success {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.game-feedback.feedback-error {
  background: rgba(255, 45, 149, 0.08);
  color: var(--neon-pink);
  text-shadow: 0 0 4px rgba(255, 45, 149, 0.3);
  border: 1px solid rgba(255, 45, 149, 0.3);
}

.game-feedback.feedback-info {
  background: rgba(176, 38, 255, 0.08);
  color: var(--neon-purple);
  text-shadow: 0 0 4px rgba(176, 38, 255, 0.3);
  border: 1px solid rgba(176, 38, 255, 0.25);
}

.game-feedback.feedback-complete {
  background: rgba(255, 240, 31, 0.08);
  color: var(--neon-yellow);
  text-shadow: 0 0 4px rgba(255, 240, 31, 0.4);
  border: 1px solid rgba(255, 240, 31, 0.25);
  font-style: italic;
}

/* ===================================================
   Daily Word Game — Responsive
   =================================================== */
@media (max-width: 480px) {
  .game-container {
    padding: 1rem 0.75rem;
  }

  .game-title {
    font-size: 0.6rem;
  }

  .letter-box {
    width: 32px;
    height: 40px;
    font-size: 0.75rem;
  }

  .game-info-label {
    font-size: 0.35rem;
  }
}

@media (min-width: 768px) {
  .game-container {
    padding: 1.75rem 1.5rem;
  }

  .game-title {
    font-size: 0.85rem;
  }

  .letter-box {
    width: 40px;
    height: 48px;
    font-size: 0.95rem;
  }

  .alphabet-board {
    grid-template-columns: repeat(9, 1fr);
    gap: 0.5rem;
  }

  .letter-btn {
    font-size: 0.6rem;
    max-width: 48px;
  }

  .game-feedback {
    font-size: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .game-container {
    padding: 2rem 1.75rem;
  }

  .alphabet-board {
    grid-template-columns: repeat(9, 1fr);
    gap: 0.55rem;
  }

  .letter-btn {
    max-width: 50px;
  }
}

/* ===================================================
   Retro Marquee Banner
   =================================================== */

/* Container — full-width, no horizontal overflow */
.marquee {
  width: 100%;
  overflow: hidden;
  background: var(--retro-bg-mid);
  border-top: 2px solid var(--neon-pink);
  border-bottom: 2px solid var(--neon-pink);
  box-shadow:
    inset 0 0 12px rgba(255, 45, 149, 0.15),
    0 0 8px rgba(255, 45, 149, 0.2);
  padding: 0.6rem 0;
  position: relative;
  z-index: 10;
}

/* Track — holds two copies side-by-side for seamless loop */
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 18s linear infinite;
}

/* Each content span */
.marquee__content {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding: 0 0.5rem;
  text-shadow:
    0 0 4px rgba(0, 229, 255, 0.6),
    0 0 12px rgba(0, 229, 255, 0.3);
}

/* Keyframes — translate the track left by exactly one copy's width */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  /* Show static text centered instead */
  .marquee__content:last-child {
    display: none;
  }

  .marquee__track {
    justify-content: center;
    width: 100%;
  }

  .marquee__content {
    white-space: normal;
    text-align: center;
  }
}

/* Mobile — slightly smaller text, faster scroll for shorter screens */
@media (max-width: 480px) {
  .marquee__content {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .marquee__track {
    animation-duration: 14s;
  }
}

/* ===================================================
   Retro Window Containers
   =================================================== */

.retro-window {
  background: var(--retro-bg-card);
  border: 1.5px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 6px rgba(0, 229, 255, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Title bar — mimics a retro OS window chrome */
.retro-window__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--retro-bg-mid);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

/* Decorative traffic-light dots */
.retro-window__dots {
  display: flex;
  gap: 5px;
}

.retro-window__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.retro-window__dot--pink {
  background: var(--neon-red);
  box-shadow: 0 0 4px rgba(255, 0, 0, 0.5);
}

.retro-window__dot--blue {
  background: var(--neon-yellow);
  box-shadow: 0 0 4px rgba(255, 232, 29, 0.5);
}

.retro-window__dot--green {
  background: var(--neon-green);
  box-shadow: 0 0 4px rgba(57, 255, 20, 0.5);
}

/* Window title label */
.retro-window__title {
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--retro-text-muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

/* Window body — content area */
.retro-window__body {
  padding: 1rem 0.85rem 1.25rem;
}

/* Override link-section margin when it's a retro-window */
.link-section.retro-window {
  margin-bottom: 1.75rem;
  padding: 0;
}

/* ===================================================
   Retro Window — Responsive
   =================================================== */
@media (min-width: 768px) {
  .retro-window__bar {
    padding: 0.6rem 1rem;
  }

  .retro-window__body {
    padding: 1.25rem 1.1rem 1.5rem;
  }

  .retro-window__dot {
    width: 11px;
    height: 11px;
  }

  .retro-window__title {
    font-size: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .retro-window__body {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}
