/* ==========================================================================
   GameForGames.com - Modern Fantasy Hockey & Sports Platform CSS
   Theme: High-Tech Cyber Ice & High-Contrast Modern Dark Fantasy Sports
   ========================================================================== */

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

:root {
  --bg-dark: #050a14;
  --bg-card: rgba(12, 22, 42, 0.88);
  --bg-card-hover: rgba(18, 34, 64, 0.95);
  --bg-glass: rgba(8, 16, 32, 0.92);
  --bg-surface: #0a1529;
  --bg-input: #060d1b;
  
  --primary-cyan: #00f2fe;
  --primary-blue: #3a8bfd;
  --accent-gold: #ffc107;
  --accent-neon-green: #00e676;
  --accent-red: #ff2a5f;

  /* High Contrast Typography Colors */
  --text-main: #ffffff;
  --text-muted: #cbd5e1; /* High contrast silver-gray */
  --text-dim: #94a3b8;
  
  --border-ice: rgba(0, 242, 254, 0.35);
  --border-ice-bright: rgba(0, 242, 254, 0.8);
  --border-dark: rgba(255, 255, 255, 0.15);

  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.3);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.6);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

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

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

/* Accessibility Focus Rings & Skip Link */
:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  background: var(--primary-cyan);
  color: #030814;
  font-weight: 800;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, #0d1e3d 0%, var(--bg-dark) 75%);
  overflow-x: hidden;
}

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

a:hover {
  color: #66f6ff;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

ul {
  list-style: none;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography & Contrast Enhancement */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

p {
  color: var(--text-muted);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary-cyan) 65%, var(--primary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 242, 254, 0.4));
}

.text-gold {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

/* Inline SVG Icon Wrapper */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* Header & Navigation Component */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-ice);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.8));
}

.brand-logo span.dot {
  color: var(--primary-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: #e2e8f0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
  background: rgba(0, 242, 254, 0.12);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--primary-cyan);
  box-shadow: 0 0 10px var(--primary-cyan);
  border-radius: 2px;
}

/* Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
  color: #030814;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.6);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 1080px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-ice);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 12px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 16px;
  }
}

  /* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */

/* Medium Devices & Tablets (max-width: 991px) */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content div[style*="flex"] {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-card-preview {
    max-width: 420px;
    margin: 0 auto;
  }
  .rink-layout {
    grid-template-columns: 1fr;
  }
  .section-padding {
    padding: 50px 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile Devices & Small Screens (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-section {
    padding: 40px 0 30px;
  }
  h1 {
    font-size: clamp(1.9rem, 7vw, 3rem);
  }
  h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-stats {
    gap: 16px;
    padding: 16px;
    flex-wrap: wrap;
  }
  .stat-item h3 {
    font-size: 1.4rem;
  }
  .stat-item p {
    font-size: 0.78rem;
  }

  /* Ice Rink Squad Builder Mobile Scaling */
  .rink-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .rink-stats-bar {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .rink-stat-box {
    width: 100%;
    justify-content: space-between;
  }
  .ice-rink-pitch {
    min-height: 480px;
    padding: 20px 12px;
  }
  .position-slot {
    width: 62px;
    height: 62px;
  }
  .slot-circle {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  .slot-label {
    font-size: 0.68rem;
    padding: 2px 6px;
  }
  .slot-player-info .player-name {
    font-size: 0.72rem;
  }

  /* Grids and Cards Mobile */
  .sports-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Trophy & Story Callout Boxes */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  div[style*="padding: 48px"] {
    padding: 24px 18px !important;
  }

  /* Table Horizontal Scrolling wrapper */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Modal Picker Mobile Overlay */
  .modal-content {
    width: 95%;
    padding: 20px 16px;
    max-height: 85vh;
  }
  .player-picker-item {
    padding: 10px 12px;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .header-inner {
    height: 62px;
  }
  .brand-logo {
    font-size: 0.98rem;
  }
  .brand-logo svg {
    width: 24px;
    height: 24px;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.72rem;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
    width: 100%;
    justify-content: center;
  }
  .hero-content div[style*="flex"] {
    flex-direction: column;
    width: 100%;
  }
  .ice-rink-pitch {
    min-height: 440px;
    padding: 16px 8px;
  }
  .position-slot {
    width: 54px;
    height: 54px;
  }
  .slot-circle {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .cookie-banner {
    left: 10px;
    right: 10px;
    width: auto;
    padding: 14px;
  }
}

@media (max-width: 576px) {
  .header-inner {
    height: 66px;
    gap: 8px;
  }
  .brand-logo {
    font-size: 1.05rem;
    gap: 6px;
  }
  .brand-logo svg {
    width: 26px;
    height: 26px;
  }
  .header-actions {
    gap: 6px;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  .mobile-toggle {
    font-size: 1.6rem;
    padding: 2px;
  }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
  color: #020712;
}

.btn-secondary {
  background: rgba(0, 242, 254, 0.12);
  color: #ffffff;
  border: 1px solid var(--border-ice-bright);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.25);
  border-color: var(--primary-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* Badges System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.badge-live {
  background: rgba(255, 42, 95, 0.2);
  color: #ff527b;
  border: 1px solid rgba(255, 42, 95, 0.5);
}

.badge-live::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: pulse 1.5s infinite;
}

.badge-popular {
  background: rgba(255, 193, 7, 0.2);
  color: #ffd54f;
  border: 1px solid rgba(255, 193, 7, 0.5);
}

.badge-cyan {
  background: rgba(0, 242, 254, 0.18);
  color: var(--primary-cyan);
  border: 1px solid var(--border-ice);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
}

/* Hero Section for Main & All Inner Pages */
.hero-section {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
  background: var(--bg-dark);
}

/* Dark Overlay Gradient for Hero Section on All Pages */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 7, 15, 0.96) 0%, rgba(5, 11, 22, 0.88) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1, .hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 18px 0;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.98);
}

.hero-subtitle, .hero-section p {
  font-size: 1.18rem;
  color: #f8fafc; /* Crisp pure light text */
  margin-bottom: 32px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
}

.stat-item h3 {
  font-size: 2.3rem;
  color: var(--primary-cyan);
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-ice);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stats {
    justify-content: center;
  }
}

/* Feature Cards Grid (8 Sports Cards) */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 12px;
}

.section-header p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-top: 10px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.sports-card {
  background: var(--bg-card);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sports-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-ice-bright);
  box-shadow: var(--shadow-glow);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--primary-cyan);
}

.card-title {
  font-size: 1.38rem;
  margin-bottom: 10px;
  color: #fff;
}

.card-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-meta span strong {
  color: #ffffff;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  text-align: center;
  transition: all var(--transition-fast);
}

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

.step-number {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.step-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ==========================================================================
   Interactive Ice Hockey Rink Team Squad Builder Component
   ========================================================================== */
.rink-builder-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.rink-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dark);
}

.rink-stat-box {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rink-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Ice Rink Pitch Graphic Layout */
.ice-rink-pitch {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 540px;
  margin: 0 auto;
  background: radial-gradient(ellipse at center, #0f2b4c 0%, #08172d 100%);
  border: 4px solid #ffffff;
  border-radius: 60px;
  box-shadow: inset 0 0 40px rgba(0, 242, 254, 0.25), var(--shadow-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* Ice Rink Markings */
.ice-rink-pitch::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: #ff2a5f; /* Red Center Line */
  box-shadow: 0 0 8px #ff2a5f;
  transform: translateY(-50%);
  pointer-events: none;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  border: 3px solid #3a8bfd;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.center-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #ff2a5f;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.blue-line-top {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  height: 3px;
  background: #3a8bfd;
  pointer-events: none;
}

.blue-line-bottom {
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  height: 3px;
  background: #3a8bfd;
  pointer-events: none;
}

/* Goalie Crease */
.goalie-crease {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 100px;
  height: 50px;
  background: rgba(0, 242, 254, 0.25);
  border: 2px solid #3a8bfd;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Squad Rink Position Nodes */
.rink-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 5;
  position: relative;
}

.rink-slot {
  width: 135px;
  background: rgba(8, 18, 36, 0.85);
  border: 2px dashed var(--primary-cyan);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.rink-slot:hover {
  border-style: solid;
  border-color: #ffffff;
  transform: scale(1.06);
  box-shadow: var(--shadow-glow);
  background: rgba(0, 242, 254, 0.2);
}

.rink-slot.filled {
  border-style: solid;
  border-color: var(--primary-cyan);
  background: rgba(12, 30, 60, 0.95);
}

.rink-pos-tag {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rink-player-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  margin: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rink-player-stats {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 700;
}

@media (max-width: 768px) {
  .ice-rink-pitch {
    height: 640px;
    padding: 12px;
  }
  .rink-slot {
    width: 105px;
    padding: 6px;
  }
  .rink-player-name {
    font-size: 0.78rem;
  }
}

/* Player Selection Modal Drawer */
.player-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 16, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.player-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.player-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.player-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.player-option-item:hover {
  border-color: var(--primary-cyan);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

/* FAQ Accordion Styling */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-ice);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
}

.faq-icon-svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-svg {
  transform: rotate(180deg);
  fill: var(--accent-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  color: #cbd5e1;
  font-size: 0.98rem;
  padding: 0 26px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 26px 22px;
}

/* Contact Page Layout & Map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

#map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-ice);
  margin-top: 20px;
  z-index: 1;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Documents Layout */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 40px 0 80px;
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.legal-content h2 {
  font-size: 1.6rem;
  color: var(--primary-cyan);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-dark);
}

.legal-content h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 24px 0 12px;
}

.legal-content p, .legal-content ul {
  margin-bottom: 18px;
}

.legal-box {
  background: rgba(0, 242, 254, 0.08);
  border-left: 4px solid var(--primary-cyan);
  padding: 22px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  color: #ffffff;
}

/* Footer Component */
.site-footer {
  background: #030712;
  border-top: 1px solid var(--border-dark);
  padding: 70px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 16px 0 20px;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
}

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

.footer-legal-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent Bar */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-ice);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  z-index: 1000;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(150%);
  transition: transform var(--transition-normal);
}

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

.cookie-banner p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
