/* ==========================================================================
   Duck Dash Jump - Design System, Fullscreen Responsive Layout & Web App Shell
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #04090d;
  --bg-gradient: linear-gradient(135deg, #04090d 0%, #0f2027 40%, #1e3c72 100%);
  --surface-bg: #ffffff;
  --glass-bg: rgba(15, 23, 42, 0.94);
  --glass-border: rgba(255, 255, 255, 0.12);
  
  --primary: #00d2ff;
  --primary-dark: #0083b0;
  --accent-gold: #ffb703;
  --accent-orange: #fb8500;
  --accent-green: #38ef7d;
  --accent-pink: #ff007f;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-footer: #94a3b8;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-dark);
  overflow-x: hidden;
}

/* ==========================================================================
   1. True Edge-to-Edge Fullscreen Game Stage
   ========================================================================== */
.fullscreen-game-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #04090d;
  overflow: hidden;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

/* Top Floating Glassmorphism HUD Bar */
.fullscreen-hud-bar {
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.32rem 0.8rem;
  background: linear-gradient(180deg, rgba(4, 9, 13, 0.96) 0%, rgba(4, 9, 13, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.hud-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: wrap;
}

.hud-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.1rem 0;
}

.hud-bottom-row::-webkit-scrollbar {
  display: none;
}

/* Brand Logo */
.brand-logo-small {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-title-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title-small {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
}

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

.powered-by-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: #00d2ff;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}

.powered-by-tag strong {
  color: var(--accent-gold);
  font-weight: 900;
}

/* Sponsor Badge (Left of Scores) */
.hud-sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.hud-sponsor-badge:hover, .hud-sponsor-badge:active {
  transform: translateY(-1px) scale(1.02);
  border-color: #ffd700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(30, 41, 59, 0.95) 100%);
}

.hud-sponsor-badge .sponsor-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hud-sponsor-badge .sponsor-brand {
  font-size: 0.8rem;
  font-weight: 900;
  color: #ffffff;
}

.hud-sponsor-badge .sponsor-domain {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Score Badges */
.hud-scores-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hud-score-badge {
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  border: 1px solid var(--glass-border);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  white-space: nowrap;
}

.hud-score-badge strong {
  color: var(--primary);
}

.hud-score-badge.gold strong {
  color: var(--accent-gold);
}

.hud-score-badge.shield-badge {
  background: rgba(56, 239, 125, 0.2);
  border-color: var(--accent-green);
  color: #38ef7d;
}

/* Sponsor Slot / Ad Spot Badge (Right of Scores) */
.hud-ad-slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16) 0%, rgba(168, 85, 247, 0.22) 50%, rgba(15, 23, 42, 0.92) 100%);
  border: 1px solid rgba(244, 114, 182, 0.5);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
  color: #ffffff;
}

.hud-ad-slot-badge:hover, .hud-ad-slot-badge:active {
  transform: translateY(-1px) scale(1.03);
  border-color: #f472b6;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.6);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.32) 0%, rgba(168, 85, 247, 0.32) 50%, rgba(30, 41, 59, 0.95) 100%);
}

.hud-ad-slot-badge .instagram-icon {
  color: #f472b6;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.hud-ad-slot-badge:hover .instagram-icon {
  transform: rotate(8deg) scale(1.15);
  color: #ffffff;
}

.hud-ad-slot-badge .ad-slot-tag {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.hud-ad-slot-badge .ad-slot-cta {
  font-size: 0.78rem;
  font-weight: 900;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* HUD Button Group */
.hud-buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn-hud-icon {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-hud-icon:hover, .btn-hud-icon:active {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
  border-color: var(--primary);
}

.btn-hud {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.btn-hud:hover, .btn-hud:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6);
}

.btn-install-app {
  background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%) !important;
  color: #042f2e !important;
  font-weight: 800 !important;
  border-color: rgba(56, 239, 125, 0.4) !important;
  box-shadow: 0 0 12px rgba(56, 239, 125, 0.4);
  animation: pulse-install 2.5s infinite ease-in-out;
}

@keyframes pulse-install {
  0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(56, 239, 125, 0.3); }
  50% { transform: scale(1.04); box-shadow: 0 0 20px rgba(56, 239, 125, 0.6); }
}

/* Mode Select Bar */
.mode-select-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.92);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--glass-border);
  white-space: nowrap;
}

.mode-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mode-btn:hover {
  color: #ffffff;
}

.mode-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

/* Edge-to-Edge Responsive Canvas Wrapper */
.fullscreen-canvas-wrapper {
  position: relative;
  flex: 1 1 0%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  background: #04090d;
}

#duckGameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
  cursor: pointer;
  background: #04090d;
}

/* Bottom Action & Skins Floating Glass HUD Bar */
.fullscreen-controls-bar {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.35rem 1.1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  max-width: 96vw;
  pointer-events: auto;
}

.fullscreen-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
}

.btn-primary-action, .btn-secondary-action {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 0.5rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary-action {
  background: linear-gradient(135deg, #00d2ff 0%, #0083b0 100%);
  color: #ffffff;
}

.btn-primary-action:hover, .btn-primary-action:active {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.6);
}

.btn-secondary-action {
  background: linear-gradient(135deg, #fb8500 0%, #e65100 100%);
  color: #ffffff;
}

.btn-secondary-action:hover, .btn-secondary-action:active {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(251, 133, 0, 0.6);
}

.fullscreen-skin-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.skin-strip-label {
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
}

duck-skin.skin-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

duck-skin.skin-pill:hover {
  background: rgba(0, 210, 255, 0.3);
  border-color: var(--primary);
}

duck-skin.skin-pill.selected {
  background: var(--accent-gold);
  color: #0f172a;
  border-color: #ffffff;
  font-weight: 800;
}

/* Pause Game Overlay */
.game-pause-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 9, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
}

.pause-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--glass-border);
  padding: 1.8rem 2.2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-width: 90%;
  width: 360px;
}

.pause-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pause-card h2 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.pause-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pause-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

kbd {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-family: monospace;
  font-size: 0.8rem;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 4px;
}

/* ==========================================================================
   2. Robust Web App Overlay Modals
   ========================================================================== */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(4, 9, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.modal-card {
  background: #0f172a;
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  color: #f8fafc;
  max-width: 440px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  cursor: pointer;
  pointer-events: auto;
  line-height: 1;
  padding: 0.2rem;
  transition: color var(--transition-fast);
}

.btn-close-modal:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1.4rem;
  max-height: 70vh;
  overflow-y: auto;
}

/* Settings Items & Switch */
.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-info strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.setting-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.form-select-sm {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
}

.btn-danger-sm {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.btn-danger-sm:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.stat-box {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-title {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mode-records-list {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.record-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.record-row:last-child {
  border-bottom: none;
}

.record-row strong {
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}

/* iOS Guide List */
.ios-instructions {
  line-height: 1.6;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.ios-instructions ol {
  margin-top: 0.75rem;
  margin-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* App Toast */
.app-toast {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 11000;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Safe Area Insets for notched phones */
@supports (padding-top: env(safe-area-inset-top)) {
  .fullscreen-hud-bar {
    padding-top: max(0.4rem, env(safe-area-inset-top));
    padding-left: max(0.85rem, env(safe-area-inset-left));
    padding-right: max(0.85rem, env(safe-area-inset-right));
  }
  .fullscreen-controls-bar {
    padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   3. Secondary Home & Guide Viewport
   ========================================================================== */
.home-info-wrapper {
  background: var(--bg-gradient);
  min-height: 100vh;
}

header.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 4px 10px rgba(0, 210, 255, 0.4));
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.08) rotate(-5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

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

nav.main-nav ul {
  display: flex;
  list-style: none !important;
  gap: 0.75rem;
  align-items: center;
}

nav.main-nav a, nav.main-nav button {
  color: #cbd5e1;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  background: transparent;
  border: none;
  cursor: pointer;
}

nav.main-nav a:hover, nav.main-nav button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

nav.main-nav a.active {
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.12);
}

.nav-btn-game {
  background: linear-gradient(135deg, #00d2ff 0%, #0083b0 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

.nav-btn-game:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.6);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Main Content & Articles */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.hero-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15) 0%, rgba(4, 9, 13, 0) 70%);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-banner h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.hero-banner p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 2.5rem;
  color: #334155;
}

.content-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

.content-section p {
  line-height: 1.7;
  font-size: 1.02rem;
  margin-bottom: 1.2rem;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.info-card p {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f8fafc;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-toggle-icon {
  font-size: 0.8rem;
  color: var(--primary-dark);
  transition: transform var(--transition-fast);
}

/* 4-Column Ultra-Premium Footer */
.site-footer {
  background: #020508;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem 1.5rem 1.5rem;
  color: var(--text-footer);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  margin: 1rem 0;
  line-height: 1.6;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--text-footer);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  gap: 1rem;
}

.btn-back-to-top {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-cookie.accept {
  background: var(--accent-green);
  color: #064e3b;
}

.btn-cookie.decline {
  background: #e2e8f0;
  color: #475569;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   4. Universal Responsive Breakpoints (Mobile, Tablet, Laptop, Desktop)
   ========================================================================== */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block !important;
  }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #091319;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: none;
  }

  nav.main-nav.open {
    display: block;
  }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav.main-nav a {
    width: 100%;
    display: block;
  }
}

@media (max-width: 600px) {
  .fullscreen-hud-bar {
    padding: 0.35rem 0.5rem;
    gap: 0.25rem;
  }

  .brand-title-small {
    font-size: 0.95rem;
  }

  .powered-by-tag {
    font-size: 0.5rem;
  }

  .hud-score-badge {
    padding: 0.2rem 0.45rem;
    font-size: 0.72rem;
  }

  .hud-sponsor-badge {
    padding: 0.15rem 0.45rem;
    gap: 0.25rem;
  }

  .hud-sponsor-badge .sponsor-label {
    font-size: 0.55rem;
  }

  .hud-sponsor-badge .sponsor-brand {
    font-size: 0.72rem;
  }

  .hud-sponsor-badge .sponsor-domain {
    font-size: 0.65rem;
  }

  .hud-ad-slot-badge {
    padding: 0.15rem 0.45rem;
    gap: 0.25rem;
  }

  .hud-ad-slot-badge .ad-slot-tag {
    font-size: 0.52rem;
  }

  .hud-ad-slot-badge .ad-slot-cta {
    font-size: 0.68rem;
  }

  .btn-hud-text {
    display: none;
  }

  .btn-hud {
    padding: 0.35rem 0.55rem;
  }

  .btn-hud-icon {
    width: 32px;
    height: 32px;
  }

  .btn-primary-action, .btn-secondary-action {
    font-size: 0.88rem;
    padding: 0.45rem 1.2rem;
  }

  duck-skin.skin-pill {
    font-size: 0.72rem;
    padding: 0.2rem 0.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
