/* ==========================================================================
   GAMEWAYPOINTS.COM - DESIGN SYSTEM & STYLESHEET
   Niche: Fantasy Football Analytics & Tactical Drafts
   Style: Dark Gaming Theme, Neon Accents, Mobile-First Glassmorphism
   ========================================================================== */

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

:root {
  --bg-dark: #070a11;
  --bg-darker: #030509;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-card-solid: #0f172a;
  
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.35);

  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.35);

  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.3);

  --danger: #ef4444;
  --success: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(16, 185, 129, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px var(--primary-glow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

*:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-primary { color: var(--primary); }
.text-cyan { color: var(--cyan); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #030712;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--primary-glow);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 10, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-logo img {
  width: 38px;
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(7, 10, 17, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.4rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 12rem 0 8rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.45) 0%, rgba(7, 10, 17, 0.85) 75%, #070a11 100%), url('../images/hero_bg.webp') center/cover no-repeat;
}

.hero-draft {
  position: relative;
  padding: 12rem 0 8rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.45) 0%, rgba(7, 10, 17, 0.85) 75%, #070a11 100%), url('../images/draft_hero_bg.webp') center/cover no-repeat;
}

.hero-bg {
  display: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  align-self: center;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  max-width: 720px;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-light);
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.15);
}

.hero-card-preview img {
  width: 100%;
  display: block;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-light);
}

/* Interactive Squad Draft Simulator */
.draft-container {
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.draft-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.select-custom {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
  font-weight: 600;
}

.select-custom:focus {
  border-color: var(--primary);
}

.draft-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
}

.pitch-wrapper {
  position: relative;
  background: url('../images/pitch_bg.webp') center/cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}

.pitch-lineup {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.pitch-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.player-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.player-slot:hover {
  transform: scale(1.08);
}

.player-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-light);
  box-shadow: 0 0 15px var(--primary-glow);
}

.player-name {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(7, 10, 17, 0.9);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--text-main);
  white-space: nowrap;
}

.player-cost {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
}

.draft-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-box-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.stat-box h5 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.stat-box .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
}

.roster-list {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.roster-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.roster-item .pos {
  font-weight: 700;
  color: var(--cyan);
  width: 35px;
}

/* Leaderboards Section */
.leaderboard-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #030712;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.leaderboard-table th, .leaderboard-table td {
  padding: 1.1rem 1.5rem;
}

.leaderboard-table th {
  background: rgba(30, 41, 59, 0.7);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.leaderboard-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color var(--transition-fast);
}

.leaderboard-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.5);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
}

.rank-1 { background: var(--gold); color: #000; box-shadow: 0 0 10px var(--gold-glow); }
.rank-2 { background: #94a3b8; color: #000; }
.rank-3 { background: #b45309; color: #fff; }
.rank-other { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }

.team-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
}

.team-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* Forms & Validation */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.form-control.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.invalid-feedback {
  font-size: 0.8rem;
  color: var(--danger);
  display: none;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

#contact-map {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  z-index: 1;
}

/* Legal Content Container */
.legal-content {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary-light);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-top: 1rem;
}

.legal-content p, .legal-content ul {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.legal-profile-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-profile-box strong {
  color: var(--text-main);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.show {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: fadeInRight 0.3s ease forwards;
}

@keyframes fadeInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   MOBILE FIRST & RESPONSIVE BREAKPOINT SYSTEM
   ========================================================================== */

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Tablet & Mid-Size Screens (< 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .draft-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .trophy-banner-card {
    padding: 2.5rem 1.8rem;
  }
}

/* Tablet & Mobile Breakpoint (< 768px) */
@media (max-width: 768px) {
  .nav-menu, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero, .hero-draft {
    padding: 9.5rem 0 5.5rem 0;
  }

  .hero-content {
    gap: 1.25rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 1.8rem;
    margin-top: 1.8rem;
  }

  .stat-item h4 {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .leaderboard-table {
    min-width: 600px;
  }
}

/* Medium Mobile Devices (< 640px) */
@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .draft-container {
    padding: 1.25rem 0.85rem;
  }

  .draft-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .draft-controls {
    width: 100%;
  }

  .select-custom {
    width: 100%;
  }

  .pitch-wrapper {
    padding: 1.5rem 0.5rem;
    min-height: 420px;
  }

  .pitch-lineup {
    gap: 1.2rem;
  }

  .player-badge {
    width: 44px;
    height: 44px;
    font-size: 0.75rem;
  }

  .player-name {
    font-size: 0.68rem;
    max-width: 78px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cookie-banner {
    bottom: 0.85rem;
    right: 0.85rem;
    left: 0.85rem;
    max-width: none;
    padding: 1.25rem;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
  }

  .legal-content {
    padding: 1.8rem 1.25rem;
  }
}

/* Extra Small Mobile Devices (< 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .brand-logo img {
    width: 32px;
    height: 32px;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }

  .section {
    padding: 3.5rem 0;
  }

  .section-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

/* SVG Icon Utility */
.icon {
  display: inline-block;
  vertical-align: text-bottom;
  flex-shrink: 0;
}

.feature-icon .icon, .contact-info-icon .icon {
  vertical-align: middle;
}

