

:root {
  --bg-light: #f3f7fa;
  --bg-card: #ffffff;
  --bg-nav: #ffffff;
  --bg-input: #ffffff;
  --primary: #0077b6; 
  --primary-hover: #0096c7;
  --primary-glow: rgba(0, 119, 182, 0.1);
  --secondary: #00b4d8; 
  --secondary-hover: #90e0ef;
  --secondary-glow: rgba(0, 180, 216, 0.1);
  --accent: #d97706; 
  --accent-glow: rgba(217, 119, 6, 0.15);
  --text-dark: #0f172a;
  --text-gray: #475569;
  --text-muted: #94a3b8;
  --border-color: rgba(0, 119, 182, 0.1);
  --border-active: rgba(0, 180, 216, 0.4);
  --font-main: 'Outfit', sans-serif;
  --font-title: 'Montserrat', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --max-width: 1400px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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


.floating-balls-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

@media (max-width: 768px) {
  .floating-balls-container {
    display: none;
  }
}

.floating-ball {
  position: absolute;
  width: 40px;
  height: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(0,180,216,0.15)" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><path d="M12 2v20M2 12h20M12 12l7-7M12 12l-7 7"/></svg>');
  background-size: contain;
  opacity: 0.6;
  animation: float-around 20s infinite linear;
}

.fb-1 { top: 15%; left: 5%; animation-duration: 18s; }
.fb-2 { top: 45%; right: 4%; animation-duration: 25s; transform: scale(1.3); }
.fb-3 { bottom: 15%; left: 15%; animation-duration: 22s; transform: scale(0.8); }
.fb-4 { bottom: 35%; left: 80%; animation-duration: 24s; }
.fb-5 { top: 8%; right: 20%; animation-duration: 16s; transform: scale(1.1); }

@keyframes float-around {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

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

ul {
  list-style: none;
}

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

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

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

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, 0.15);
  border-radius: 10px;
}

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

.container {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.text-gradient-primary {
  color: var(--text-dark);
}

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

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.section-header {
  margin-bottom: 50px;
}

.section-header--center {
  text-align: center;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 700px;
  font-weight: 400;
  margin-bottom: 30px;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  gap: 8px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 119, 182, 0.25);
  border: 1px solid rgba(0, 180, 216, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 77, 128, 0.03);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: rgba(0, 119, 182, 0.02);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 119, 182, 0.08);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
  border-radius: 20px;
}


.header_cmp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg-nav);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header_cmp.scrolled {
  padding: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 119, 182, 0.05);
}

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

.logo {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  flex-shrink: 0;
}

.logo span {
  color: var(--primary);
  font-weight: 800;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 119, 182, 0.15));
}


.desktop-nav {
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1200px) {
  .desktop-nav {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
}

.desktop-nav-link {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-gray);
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.desktop-nav-link:hover, .desktop-nav-link.active {
  color: var(--primary);
  background-color: rgba(0, 119, 182, 0.05);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.btn-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 2001;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 77, 128, 0.04);
}

@media (min-width: 1200px) {
  .btn-menu-toggle {
    display: none;
  }
}

.btn-menu-toggle:hover {
  border-color: var(--primary);
  background: rgba(0, 119, 182, 0.02);
}

.burger-line {
  display: block;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.burger-line-1 { width: 18px; }
.burger-line-2 { width: 14px; }

.btn-menu-toggle:hover .burger-line-2 { width: 18px; }

.btn-menu-toggle.open .burger-line-1 {
  transform: translateY(3px) rotate(45deg);
  background-color: var(--primary);
}

.btn-menu-toggle.open .burger-line-2 {
  transform: translateY(-3px) rotate(-45deg);
  background-color: var(--primary);
}


.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 24px 40px 24px;
  transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
  box-shadow: 15px 0 40px rgba(0, 77, 128, 0.06);
  overflow-y: auto;
}

.nav-menu.active {
  left: 0;
}

.nav-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-list-wrapper::before {
  content: 'EISLEGENDEN FANTASY LIGA';
  display: block;
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  padding-left: 8px;
}

.nav-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-menu.active .nav-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.05s; }
.nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.1s; }
.nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.15s; }
.nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.2s; }
.nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.25s; }
.nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.3s; }
.nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.35s; }
.nav-menu.active .nav-item:nth-child(8) { transition-delay: 0.4s; }
.nav-menu.active .nav-item:nth-child(9) { transition-delay: 0.45s; }
.nav-menu.active .nav-item:nth-child(10) { transition-delay: 0.5s; }
.nav-menu.active .nav-item:nth-child(11) { transition-delay: 0.55s; }

.nav-link {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(0, 119, 182, 0.05);
  padding-left: 18px;
}

.nav-menu-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-menu-legal {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.nav-menu-legal a:hover {
  color: var(--primary);
}


.hero {
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.1fr; 
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.04);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-title);
  font-size: 2.3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  color: var(--text-gray);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-image-container {
  position: relative;
  width: 100%;
}

@media (max-width: 991px) {
  .hero-image-container {
    order: -1; 
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 77, 128, 0.08);
  background: #ffffff;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.02);
}



.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid--featured {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 77, 128, 0.04);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 12px 35px rgba(0, 119, 182, 0.08);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0, 119, 182, 0.1));
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-link:hover {
  color: var(--secondary);
}


.motion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .motion-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scroll-zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.06);
}

.scroll-zoom-img {
  width: 100%;
  height: auto;
  transition: transform 0.1s ease-out;
}

.telemetry-hud-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  font-family: monospace;
}

.hud-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.08);
}

.hud-top-left { align-self: flex-start; }
.hud-bottom-right { align-self: flex-end; }


.stadium-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 77, 128, 0.04);
}

@media (min-width: 768px) {
  .stadium-card {
    grid-template-columns: 1fr 1.1fr;
  }
}

.stadium-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stadium-title {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.stadium-desc {
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.7;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


.chalkboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .chalkboard-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.pitch-container, .squad-pitch-card {
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 15px 35px rgba(0, 77, 128, 0.05);
  position: relative;
}

.hockey-rink, .builder-pitch {
  position: relative;
  width: 100%;
  aspect-ratio: 0.7; 
  background-color: #f3f9fc;
  /* Realistic hockey ice scrapes and glossy finish */
  background-image: 
    repeating-linear-gradient(45deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.25) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-35deg, rgba(255,255,255,0.18) 0px, rgba(255,255,255,0.18) 1px, transparent 1px, transparent 20px),
    radial-gradient(circle at 50% 50%, #fafefe 0%, #e5f3f7 60%, #cbe3ee 100%);
  border: 6px solid #ffffff;
  border-radius: 40px;
  box-shadow: 
    inset 0 0 0 3px rgba(225, 29, 72, 0.85), /* Red bottom boards kickstrip */
    inset 0 0 18px rgba(0, 119, 182, 0.15),
    0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* Light gleam sweep overlay across the rink */
.hockey-rink::before, .builder-pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 60%, rgba(0, 119, 182, 0.03) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Ice-depth styling: rink markings look like they are under the ice */
.rink-line, 
.rink-goal-line-top, 
.rink-goal-line-bottom,
.rink-crease-top,
.rink-crease-bottom,
.rink-blue-line-top,
.rink-blue-line-bottom,
.rink-center-red,
.rink-center-circle,
.rink-center-spot,
.faceoff-circle,
.faceoff-spot {
  opacity: 0.6;
  filter: blur(0.4px);
  pointer-events: none;
}

.rink-goal-line-top {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ef4444;
}

.rink-goal-line-bottom {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ef4444;
}

.rink-crease-top {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 60px;
  height: 30px;
  border: 2px solid #ef4444;
  border-top: none;
  background: rgba(239, 68, 68, 0.1);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  transform: translateX(-50%);
}

.rink-crease-bottom {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 60px;
  height: 30px;
  border: 2px solid #ef4444;
  border-bottom: none;
  background: rgba(239, 68, 68, 0.1);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  transform: translateX(-50%);
}

.rink-blue-line-top {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #2563eb;
}

.rink-blue-line-bottom {
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #2563eb;
}

.rink-center-red {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #ef4444;
  transform: translateY(-50%);
}

.rink-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.rink-center-spot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.faceoff-circle {
  width: 60px;
  height: 60px;
  border: 1.5px solid #ef4444;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.faceoff-spot {
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.fo-top-left-c { top: 20%; left: 20%; }
.fo-top-left-s { top: 20%; left: 20%; }
.fo-top-right-c { top: 20%; left: 80%; }
.fo-top-right-s { top: 20%; left: 80%; }
.fo-bottom-left-c { top: 80%; left: 20%; }
.fo-bottom-left-s { top: 80%; left: 20%; }
.fo-bottom-right-c { top: 80%; left: 80%; }
.fo-bottom-right-s { top: 80%; left: 80%; }

/* Player Nodes: Glowing 3D Hockey Pucks */
.player-node {
  position: absolute;
  left: var(--pos-x);
  top: var(--pos-y);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  z-index: 5;
  background: linear-gradient(135deg, var(--primary) 0%, #005f9e 100%);
  box-shadow: 
    0 6px 12px rgba(0, 119, 182, 0.25),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.player-node::after {
  content: attr(data-name);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-node:hover {
  transform: translate(-50%, -50%) scale(1.15) translateY(-2px);
  box-shadow: 
    0 12px 20px rgba(0, 119, 182, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
  z-index: 10;
}

.player-node:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.player-node.gk {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 
    0 6px 12px rgba(217, 119, 6, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.player-node.gk:hover {
  box-shadow: 
    0 12px 20px rgba(217, 119, 6, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.player-node.def {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 
    0 6px 12px rgba(239, 68, 68, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.player-node.def:hover {
  box-shadow: 
    0 12px 20px rgba(239, 68, 68, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.player-node.mid, .player-node.fwd {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 
    0 6px 12px rgba(6, 182, 212, 0.3),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}
.player-node.mid:hover, .player-node.fwd:hover {
  box-shadow: 
    0 12px 20px rgba(6, 182, 212, 0.45),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}


.tactical-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
}

.controls-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.controls-desc {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.formation-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.formation-btn {
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.formation-btn:hover {
  background-color: rgba(0, 119, 182, 0.02);
  border-color: var(--primary);
}

.formation-btn.active {
  border-color: var(--primary);
  background-color: rgba(0, 119, 182, 0.04);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.05);
}

.formation-btn strong {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text-dark);
}

.formation-btn span {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 3px;
}

.formation-analysis {
  background-color: rgba(0, 119, 182, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.analysis-subtitle {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.formation-analysis p {
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.analysis-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-top: 6px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 4px;
}

.stat-label {
  color: var(--text-gray);
}

.stat-val {
  font-weight: 700;
}


.poll-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .poll-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.poll-option-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
  transition: var(--transition);
}

.poll-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.06);
}

.poll-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.poll-badge-icon {
  font-size: 1.8rem;
}

.poll-option-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
}

.poll-option-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.poll-vote-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-result-bar-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poll-result-track {
  flex-grow: 1;
  height: 10px;
  background-color: rgba(0, 119, 182, 0.08);
  border-radius: 5px;
  overflow: hidden;
}

.poll-result-bar {
  height: 100%;
  background-color: var(--primary);
  border-radius: 5px;
  transition: width 1s ease-in-out;
}

.poll-percentage {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  width: 40px;
  text-align: right;
}


.builder-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .builder-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.squad-pitch-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.04);
}

.builder-pitch {
  aspect-ratio: 0.7;
}

.squad-slot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  border: 2px dashed rgba(0, 119, 182, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 77, 128, 0.02);
  z-index: 10;
}

.squad-slot:hover {
  background: #ffffff;
  border-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.12) translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 119, 182, 0.18);
}

.squad-slot.selected {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.2), 0 8px 16px rgba(0, 119, 182, 0.18);
  transform: translate(-50%, -50%) scale(1.08);
}

.squad-slot.filled {
  border-style: solid;
  border-color: white;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.squad-slot.filled.gk {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 
    0 6px 12px rgba(217, 119, 6, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.squad-slot.filled.def {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 
    0 6px 12px rgba(239, 68, 68, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.squad-slot.filled.mid, .squad-slot.filled.fwd {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 
    0 6px 12px rgba(6, 182, 212, 0.28),
    inset 0 -3px 0 rgba(0, 0, 0, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.slot-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.85rem;
}

.slot-role {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: -1px;
}

.player-name-tag {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-dark);
  color: white;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}


.selector-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
  max-height: 400px;
  overflow-y: auto;
}

.player-select-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  transition: var(--transition);
  cursor: pointer;
  background: white;
}

.player-select-card:hover {
  border-color: var(--primary);
  background-color: rgba(0, 119, 182, 0.02);
}

.player-select-card.selected {
  border-color: var(--primary);
  background-color: rgba(0, 119, 182, 0.05);
}


.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
  transition: var(--transition);
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.08);
}

.player-img-container {
  position: relative;
  aspect-ratio: 1;
  background-color: #eef4f8;
}

.player-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-rating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
  border: 2px solid white;
}

.player-details {
  padding: 20px;
}

.player-meta {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.player-name {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 4px 0 15px 0;
  color: var(--text-dark);
}

.player-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-bar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
}

.stat-bar-bg {
  width: 100%;
  height: 6px;
  background-color: rgba(0, 119, 182, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background-color: var(--primary);
  border-radius: 3px;
}


.leaderboard-filters {
  display: inline-flex;
  background: white;
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 77, 128, 0.03);
}

.filter-btn {
  border-radius: 20px;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
}


.simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.04);
}

.sim-teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 768px) {
  .sim-teams-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  color: var(--text-dark);
  font-family: var(--font-main);
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.08);
}

.sim-scoreboard {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 119, 182, 0.02);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin: 30px 0;
}

.sim-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 35%;
}

.sim-team-logo {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.sim-team-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-dark);
}

.sim-score {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 2px 4px rgba(0, 119, 182, 0.15);
}

.sim-progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(0, 119, 182, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
}

.sim-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 1s linear;
}

.sim-commentary-box {
  background-color: #0f172a; 
  border-radius: 8px;
  padding: 20px;
  height: 250px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
  color: #e2e8f0;
}

.commentary-event {
  display: flex;
  gap: 12px;
  line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.commentary-event.goal {
  color: #38bdf8; 
  font-weight: bold;
}

.commentary-event.card-yellow {
  color: #facc15;
}

.commentary-event.card-red {
  color: #f87171;
}

.commentary-time {
  color: #38bdf8;
  font-weight: bold;
  width: 32px;
  flex-shrink: 0;
}

.commentary-text {
  flex-grow: 1;
}


.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 119, 182, 0.08);
}

.pricing-card.featured {
  border-color: var(--primary);
  background-color: rgba(0, 119, 182, 0.01);
  box-shadow: 0 10px 35px rgba(0, 119, 182, 0.06);
}

.pricing-ribbon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--primary);
}

.price-amount span {
  font-size: 0.9rem;
  color: var(--text-gray);
  font-weight: 400;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.price-feature-item {
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-feature-item::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}


.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 77, 128, 0.02);
  transition: var(--transition);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: rgba(0, 119, 182, 0.01);
}

.faq-content p {
  padding: 0 24px 20px 24px;
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.6;
}

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

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

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: var(--transition);
}

.modal-content {
  background: white;
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 77, 128, 0.15);
}

.modal-logo {
  font-size: 3rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 119, 182, 0.1));
}

.modal-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.modal-text {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}


.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.08);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: bold;
}


.footer_cmp {
  background-color: #0b0f19;
  color: #a0aec0;
  border-top: 1px solid #1a202c;
  padding: 80px 0 40px 0;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer-brand h2 span {
  color: var(--primary);
}

.footer-brand-text {
  font-size: 0.85rem;
  color: #a0aec0;
  line-height: 1.7;
}

.footer-contact-info {
  font-size: 0.85rem;
  color: #718096;
  border-left: 2px solid var(--primary);
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-info span {
  font-weight: bold;
  color: #ffffff;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.footer-link {
  font-size: 0.85rem;
  color: #a0aec0;
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.footer-newsletter-form .form-input {
  background: #1a202c !important;
  border: 1px solid #2d3748 !important;
  color: #ffffff !important;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.footer-newsletter-form .form-input::placeholder {
  color: #4a5568;
}

.footer-newsletter-form .btn {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid #1a202c;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 0.75rem;
  color: #718096;
  line-height: 1.6;
}

.footer-copy {
  font-weight: 600;
  color: #e2e8f0;
}

.footer-legal-summary {
  color: #718096;
}

.swiss-warning {
  background-color: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 20px;
  border-radius: 12px;
  color: #f87171;
}

.swiss-warning strong {
  color: #ffffff;
  display: block;
  margin-bottom: 5px;
}


.custom-alert {
  box-shadow: 0 8px 30px rgba(0, 119, 182, 0.15) !important;
  border-left: 4px solid var(--primary) !important;
}


.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.auth-form-wrapper {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 77, 128, 0.04);
  max-width: 450px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.checkbox-group input {
  margin-top: 3px;
}


.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 77, 128, 0.03);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 119, 182, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.author-info h2, .author-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Player Card styles in the horizontal carousel */
.players-track::-webkit-scrollbar {
  display: none; /* Hide scrollbars for chrome/safari */
}
.player-card-slide {
  flex: 0 0 250px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  scroll-snap-align: start;
  transition: all 0.3s ease;
  position: relative;
}

.player-card-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.12);
  border-color: var(--primary);
}

.player-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #f1f5f9;
}

.player-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-card-slide__rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: white;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-title);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.player-card-slide__name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-dark);
}

.player-card-slide__meta {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin: 0;
  font-weight: 600;
}

.player-card-slide__note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.player-card-slide__btn {
  width: 100%;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-title);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  background: white;
  color: var(--text-dark);
}

.player-card-slide__btn:hover {
  background: #f8fafc;
}

.player-card-slide__btn.drafted {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.player-card-slide__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f1f5f9;
  color: var(--text-muted);
  border-color: var(--border-color);
}

.player-card-slide__btn:disabled:hover {
  background: #f1f5f9;
}

/* Skater Dots for Interactive Simulation rink */
.sim-dot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  border: 2px solid white;
  box-shadow: 
    0 4px 10px rgba(0,0,0,0.15),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.52s cubic-bezier(0.22, 0.7, 0.28, 1);
  will-change: transform;
}

.sim-dot--you {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
}

.sim-dot--ai {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Matchup Team Lists */
.drafted-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drafted-list-item:hover {
  border-color: rgba(0, 119, 182, 0.3);
}

.drafted-list-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drafted-list-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.drafted-list-details {
  display: flex;
  flex-direction: column;
}

.drafted-list-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.drafted-list-meta {
  font-size: 0.7rem;
  color: var(--text-gray);
}

.drafted-list-rating {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Responsive Matchup Rosters Grid */
.matchup-rosters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .matchup-rosters-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
