/* =============================================================================
   BuzzDropping Web Portal & Game Styling
   Studio: Miravill Games
   Font: Outfit (300, 400, 500, 600, 700, 800, 900)
   Color Palette: Deep Navy (#0f0f1a), Surface (#141424), Gold (#ffcc00), Neon Blue (#00d2ff)
   ============================================================================= */

:root {
  --bg-dark: #0f0f1a;
  --bg-card: #141424;
  --bg-card-hover: #1b1b30;
  --bg-card-elevated: #1e1e36;
  --border-subtle: #22223a;
  --border-active: #323254;
  --border-gold: rgba(255, 204, 0, 0.4);
  
  --color-gold: #ffcc00;
  --color-gold-hover: #ffd633;
  --color-blue: #00d2ff;
  --color-green: #00e676;
  --color-orange: #ff9100;
  --color-red: #ff4a4a;
  --color-purple: #b388ff;
  
  --text-white: #ffffff;
  --text-light: #eeeeee;
  --text-muted: #88889a;
  --text-dark: #55556a;
  
  --font-game: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-game);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Force-hide horizontal scrollbars */
::-webkit-scrollbar:horizontal {
  display: none !important;
  height: 0 !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

canvas {
  cursor: default;
  outline: none;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #66e0ff;
}

/* =============================================================================
   1. Web Portal Header
   ============================================================================= */
#web-portal-header {
  width: 100%;
  height: 56px;
  background: rgba(14, 14, 22, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  position: relative; /* Normal block flow above game container — never overlaps or clips game */
  z-index: 50;
  padding: 0 20px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.header-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  object-fit: cover;
}

.header-brand-title {
  font-size: 15pt;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1;
}

.header-brand-title .gold-accent {
  color: var(--color-gold);
}

.header-brand-tag {
  font-size: 7.5pt;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
  border-radius: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-notice-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 8.5pt;
  color: var(--text-muted);
  max-width: 580px;
}

.notice-pill-badge {
  font-weight: 700;
  color: var(--color-blue);
  white-space: nowrap;
}

.notice-pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-link {
  font-size: 9.5pt;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.header-link:hover {
  color: var(--text-white);
}

.header-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 9pt;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
}

/* =============================================================================
   2. Game Viewport Container
   ============================================================================= */
#game-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  min-height: 520px;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden !important;
  box-sizing: border-box;
}

:fullscreen #web-portal-header,
:-webkit-full-screen #web-portal-header {
  display: none !important;
}

:fullscreen #game-container,
:-webkit-full-screen #game-container {
  height: 100vh !important;
  height: 100dvh !important;
}

#embed-html {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  overflow: hidden !important;
}

/* Force GWT VerticalPanel wrapper table and its cell to respect container bounds */
#embed-html table,
#embed-html .gwt-VerticalPanel {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-collapse: collapse !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
}

#embed-html td {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  vertical-align: middle !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force the canvas to strictly fit inside the container height, preventing top clipping */
#embed-html canvas {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

/* =============================================================================
   3. Loading Screen Overlay
   ============================================================================= */
#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 20px 10px;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-card {
  box-sizing: border-box;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 16px;
  padding: 30px;
  width: calc(100% - 40px);
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  animation: cardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
  z-index: 2;
  margin: auto;
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border-subtle);
}

.logo-text {
  font-family: var(--font-game);
  font-weight: 800;
  font-size: 26pt;
  letter-spacing: 0.12em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.word-gold {
  color: var(--color-gold);
}

.word-white {
  color: var(--text-white);
  font-weight: 300;
  letter-spacing: 0.26em;
  font-size: 16pt;
  margin-top: 4px;
}

.loader-wrapper {
  width: 100%;
  position: relative;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background-color: var(--color-gold);
  border-radius: 3px;
  transition: width 0.15s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.loading-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-game);
  font-size: 10.5pt;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: -10px;
}

.loading-status {
  color: var(--text-muted);
}

#progress-text {
  color: var(--color-gold);
  font-weight: 700;
}

.developer-credit {
  color: #44445a;
  font-size: 8.5pt;
  font-family: var(--font-game);
  letter-spacing: 0.05em;
  margin-top: 5px;
  text-align: center;
  width: 100%;
  font-weight: 500;
}

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

@keyframes ambientFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-30px) rotate(20deg);
  }
}

/* =============================================================================
   4. Floating Store Badges (Desktop Overlay)
   ============================================================================= */
.web-store-badges-container {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: auto;
  animation: fadeInUp 0.5s ease-out both;
}

.web-store-title {
  color: var(--text-muted);
  font-size: 8.5pt;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 16px;
  color: var(--text-white);
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
  min-width: 150px;
  text-align: left;
  cursor: pointer;
}

.store-btn:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.store-btn.google-btn:hover {
  border-color: var(--color-blue);
}

.store-btn.disabled,
.store-btn.disabled:hover {
  background-color: #0c0c16;
  border-color: #171725;
  color: #66667a;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
  opacity: 0.5;
}

.store-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: var(--text-white);
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-subtitle {
  font-size: 6.5pt;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.store-title {
  font-size: 10.5pt;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-white);
}

/* =============================================================================
   5. Scroll Cue Section
   ============================================================================= */
#below-fold-content {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #121220 100%);
  border-top: 1px solid var(--border-subtle);
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.scroll-cue-container {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(20, 20, 36, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 9.5pt;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.scroll-cue-container:hover {
  background: var(--bg-card);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(2px);
}

.scroll-cue-arrow {
  color: var(--color-gold);
  font-size: 11pt;
  animation: bounceDown 1.8s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* =============================================================================
   6. ASO & Showcase Landing Section (Below the fold)
   ============================================================================= */
.aso-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* --- Hero Section --- */
.aso-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.aso-tag {
  display: inline-block;
  font-size: 8.5pt;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 20px;
}

.aso-title {
  font-size: clamp(26pt, 5vw, 38pt);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin: 0;
}

.aso-subtitle {
  font-size: clamp(11pt, 2vw, 13pt);
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
}

.hl-gold {
  color: var(--color-gold);
  font-weight: 600;
}

.hl-blue {
  color: var(--color-blue);
  font-weight: 600;
}

.hl-green {
  color: var(--color-green);
  font-weight: 600;
}

.hl-orange {
  color: var(--color-orange);
  font-weight: 600;
}

.hl-red {
  color: var(--color-red);
  font-weight: 600;
}

/* --- Section Headers --- */
.aso-section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto 40px;
}

.aso-section-title {
  font-size: clamp(20pt, 3.5vw, 28pt);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin: 0;
}

.aso-section-intro {
  font-size: 11pt;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Gameplay Mechanics Showcase Cards --- */
.modes-showcase-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.mode-showcase-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mode-showcase-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.mode-card-preview {
  position: relative;
  background: #11111e;
  border-right: 1.5px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  overflow: hidden;
}

.mode-visual-box {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.mode-visual-icon {
  font-size: 48pt;
  line-height: 1;
}

.mode-status-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 7.5pt;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tag-gold {
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
}

.tag-blue {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: var(--color-blue);
}

.tag-green {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: var(--color-green);
}

.tag-purple {
  background: rgba(179, 136, 255, 0.15);
  border: 1px solid rgba(179, 136, 255, 0.4);
  color: var(--color-purple);
}

.mode-card-content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mode-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-badge {
  font-size: 8pt;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.mode-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.mode-title {
  font-size: 19pt;
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
  letter-spacing: -0.01em;
}

.mode-subtitle {
  font-size: 10.5pt;
  color: var(--text-muted);
  font-weight: 500;
}

.mode-desc {
  font-size: 10.5pt;
  line-height: 1.65;
  color: #c0c0d0;
  margin: 0;
}

.mode-specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mode-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 8.5pt;
  font-weight: 600;
  color: var(--text-light);
}

.spec-icon {
  font-size: 10pt;
}

.mode-callout-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.mode-callout {
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-callout-title {
  font-size: 9pt;
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-callout p {
  font-size: 9pt;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* --- Key Features Grid --- */
.aso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.aso-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.aso-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.aso-card-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18pt;
}

.icon-gold {
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--color-gold);
}

.icon-blue {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--color-blue);
}

.icon-green {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: var(--color-green);
}

.icon-purple {
  background: rgba(179, 136, 255, 0.12);
  border: 1px solid rgba(179, 136, 255, 0.35);
  color: var(--color-purple);
}

.aso-card h3 {
  font-size: 13pt;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.aso-card p {
  font-size: 9.5pt;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* --- How to Play Section --- */
.how-to-play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all 0.25s ease;
}

.step-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.step-number {
  font-size: 32pt;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 204, 0, 0.25);
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-size: 14pt;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.step-card p {
  font-size: 10pt;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* --- FAQ Section --- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-active);
}

.faq-question {
  font-size: 12pt;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-q-badge {
  font-size: 9pt;
  font-weight: 800;
  color: var(--color-gold);
  background: rgba(255, 204, 0, 0.12);
  border-radius: 6px;
  padding: 2px 7px;
}

.faq-answer {
  font-size: 10pt;
  line-height: 1.65;
  color: #b0b0c2;
  margin: 0;
  padding-left: 28px;
  text-align: left;
}

/* --- Mobile CTA Banner --- */
.mobile-cta-section {
  background: linear-gradient(135deg, #18182c 0%, #121220 100%);
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-cta-title {
  font-size: clamp(20pt, 3vw, 26pt);
  font-weight: 800;
  color: var(--text-white);
  margin: 0;
}

.mobile-cta-subtitle {
  font-size: 11pt;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================================
   7. Web Portal Footer
   ============================================================================= */
#web-portal-footer,
.web-portal-footer {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  background: #0b0b14;
  padding: 44px 32px;
  box-sizing: border-box;
  color: var(--text-muted);
  font-family: var(--font-game);
}

.footer-container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-col {
  flex: 1;
}

/* Left Column */
.footer-col-left {
  text-align: left;
}

.footer-col-left h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 1.5px;
  margin: 0 0 14px 0;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li a,
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links li a:hover,
.footer-link:hover {
  color: var(--color-gold);
}

/* Center Column */
.footer-col-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.buzz-brand-logo,
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.buzz-brand-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  vertical-align: middle;
}

.buzz-brand-text,
.footer-brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-white);
}

.footer-legal-row {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-legal-row a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-row a:hover {
  color: var(--color-gold);
}

.footer-dot {
  margin: 0 6px;
  color: var(--text-dark);
}

.footer-copyright-text,
.footer-copyright {
  font-size: 12px;
  color: #686872;
  margin: 0;
}

.footer-physics-subtext {
  font-size: 11px;
  color: var(--text-dark);
  margin-top: 4px;
}

.footer-version-tag {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #6d7285;
}

/* Right Column: Store Badges */
.footer-col-right {
  display: flex;
  justify-content: flex-end;
}

.store-badge-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.store-badge-link {
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 0;
}

.store-badge-link:hover {
  transform: translateY(-2px);
}

.store-badge-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.store-badge-status-note {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8c92a4;
}

.store-badge-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.8);
}

/* =============================================================================
   8. Responsive Media Queries
   ============================================================================= */
@media (max-width: 1024px) {
  .mode-showcase-card {
    grid-template-columns: 280px 1fr;
  }
  .aso-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .footer-col-left,
  .footer-col-right {
    text-align: center;
    justify-content: center;
  }
  .footer-links {
    align-items: center;
  }
  .store-badge-container {
    align-items: center;
  }
}

@media (max-width: 768px) {
  #web-portal-header {
    height: 52px;
    padding: 0 14px;
  }
  .header-notice-pill {
    display: none;
  }
  .mode-showcase-card {
    grid-template-columns: 1fr;
  }
  .mode-card-preview {
    border-right: none;
    border-bottom: 1.5px solid var(--border-subtle);
    padding: 24px;
  }
  .mode-callout-boxes {
    grid-template-columns: 1fr;
  }
  .how-to-play-grid {
    grid-template-columns: 1fr;
  }
  .aso-grid {
    grid-template-columns: 1fr;
  }
  .mobile-cta-section {
    padding: 36px 20px;
  }
  .web-store-badges-container {
    bottom: 16px;
    left: 16px;
  }
}

@media (max-width: 480px) {
  .header-brand-title {
    font-size: 12pt;
  }
  .header-cta-btn span {
    display: none;
  }
  .header-cta-btn {
    padding: 6px 10px;
  }
  .loading-card {
    padding: 20px 16px;
    gap: 16px;
    max-width: 320px;
  }
  .store-badges-row {
    flex-direction: column;
    width: 100%;
  }
  .store-btn {
    width: 100%;
  }
}

/* =============================================================================
   9. Support Modal
   ============================================================================= */
.support-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.support-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.support-modal-card {
  position: relative;
  background: #141721;
  border: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px;
  box-sizing: border-box;
  color: var(--text-primary);
  animation: modalFadeIn 0.2s ease-out;
  z-index: 2;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.support-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.support-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.support-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.support-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(255, 215, 0, 0.25);
  margin-bottom: 12px;
}

.support-modal-title {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.support-modal-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.support-email-box {
  background: #0d0f16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.support-email-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.support-email-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.support-email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  padding: 9px 12px;
  font-family: inherit;
  outline: none;
  user-select: all;
  -webkit-user-select: all;
}

.support-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-gold);
  color: #0b0d14;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 40px;
}

.support-copy-btn:hover {
  background: #ffea70;
  transform: translateY(-1px);
}

.support-copy-feedback {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-green);
  text-align: center;
}

.support-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.support-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
  min-height: 44px;
  box-sizing: border-box;
}

.support-btn-primary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.support-btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.support-btn-secondary {
  background: transparent;
  border: 1px dashed rgba(255, 215, 0, 0.35);
  color: var(--color-gold);
}

.support-btn-secondary:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.support-modal-tip {
  font-size: 11px;
  color: #757a8a;
  text-align: center;
  line-height: 1.4;
}

