﻿@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300;400;500;700&family=Bebas+Neue&display=swap');
@import url('../styles.css');

:root {
  --kader-ink: #e7f3ee;
  --kader-deep: #0a0f0f;
  --kader-slate: #111a18;
  --kader-glow: rgba(72, 199, 137, 0.35);
  --kader-line: rgba(255, 255, 255, 0.08);
}

body.kader-page {
  background:
    radial-gradient(1200px 620px at 12% -8%, rgba(72, 199, 137, 0.55), transparent 62%),
    radial-gradient(950px 560px at 88% 4%, rgba(30, 163, 100, 0.35), transparent 64%),
    radial-gradient(700px 420px at 50% 110%, rgba(255, 255, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #050807 0%, #0b1613 48%, #050807 100%);
  color: var(--kader-ink);
  position: relative;
  min-height: 100%;
}

body.kader-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(800px 420px at 18% -10%, rgba(255, 255, 255, 0.08), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 90px),
    repeating-linear-gradient(-35deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 120px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.site-header[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

.kader-main {
  position: relative;
  z-index: 1;
  font-family: "Alegreya Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

.kader-hero {
  width: var(--container);
  margin: clamp(18px, 5vw, 42px) auto 0;
  padding: clamp(22px, 5vw, 46px);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(30, 163, 100, 0.18), rgba(255, 255, 255, 0.04) 55%),
    linear-gradient(180deg, rgba(15, 20, 19, 0.92), rgba(12, 16, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.kader-hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(72, 199, 137, 0.55), transparent 70%);
  opacity: 0.55;
  filter: blur(10px);
}

.kader-hero__shine {
  position: absolute;
  right: -40px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0.5;
  filter: blur(8px);
}

.kader-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  animation: hero-in 0.7s ease both;
}

.kader-eyebrow {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.kader-title {
  margin: 0;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: clamp(40px, 7vw, 78px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kader-subtitle {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(231, 243, 238, 0.82);
}

.kader-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kader-stat {
  min-width: 160px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(8, 10, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 4px;
}

.kader-stat span {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--svs-green-200);
}

.kader-stat small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.kader-grid {
  margin-top: clamp(18px, 5vw, 40px);
}

.kader-table {
  width: var(--container);
  margin: 0 auto clamp(48px, 10vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(12px, 2.5vw, 22px);
}

.player-card {
  position: relative;
  border-radius: 18px;
  padding: 14px 14px 18px;
  background: linear-gradient(180deg, rgba(10, 13, 12, 0.92), rgba(12, 18, 17, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 12px;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  isolation: isolate;
  animation: card-in 0.6s ease both;
  animation-delay: var(--delay, 0ms);
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(72, 199, 137, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
  z-index: 0;
}

.player-card:hover,
.player-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(72, 199, 137, 0.55);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(72, 199, 137, 0.12);
}

.player-card:hover::before,
.player-card:focus-visible::before {
  opacity: 1;
}

.player-photo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(36, 52, 46, 0.85), rgba(12, 18, 16, 0.95));
  aspect-ratio: 3 / 4;
}

.player-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 85%);
  opacity: 0.9;
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.player-card:hover .player-photo img,
.player-card:focus-visible .player-photo img {
  transform: scale(1.05);
}

.player-number {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 8, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--svs-green-200);
  z-index: 2;
}

.player-info {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  text-align: center;
}

.player-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f4f9f7;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .kader-hero {
    border-radius: 22px;
  }
  .kader-stat {
    min-width: 140px;
  }
}

@media (max-width: 640px) {
  .kader-hero {
    padding: 20px;
  }
  .kader-stats {
    gap: 10px;
  }
  .kader-stat {
    flex: 1 1 140px;
  }
  .player-card {
    padding: 12px 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kader-hero__inner,
  .player-card,
  .player-photo img {
    animation: none !important;
    transition: none !important;
  }
}


