/* ============================================================
   Elite LM Management — Master Stylesheet
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0f;
  color: #e8e8ec;
  overflow-x: hidden;
  line-height: 1.6;
  animation: page-enter 0.5s ease-out;
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
}
::selection {
  background: #d4a847;
  color: #0a0a0f;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d4a847;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1rem;
  color: rgba(232, 232, 236, 0.5);
  max-width: 540px;
  line-height: 1.8;
}
.section-header {
  margin-bottom: 60px;
}
.section-header.centered {
  text-align: center;
}
.section-header.centered .section-desc {
  margin: 0 auto;
}
.accent-line {
  width: 60px;
  height: 3px;
  background: #d4a847;
  margin-bottom: 24px;
}

/* ===== KEYFRAMES ===== */
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== STAGGERED REVEAL DELAYS ===== */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ===== LOADING OVERLAY ===== */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#canvas-container {
  position: relative;
  width: 500px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vw;
}
#canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#loading-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #d4af37;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite ease-in-out;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.5s ease, backdrop-filter 0.5s ease,
              -webkit-backdrop-filter 0.5s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(212, 168, 71, 0.08);
  padding: 10px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}
.homepage .logo img {
  height: 70px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(232, 232, 236, 0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #d4a847;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a:hover::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: #d4a847;
}
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-cta {
  background: #d4a847;
  color: #0a0a0f !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.3s ease, transform 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #e0b85c !important;
  transform: translateY(-1px);
  color: #0a0a0f !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: #e8e8ec;
  border-radius: 2px;
  transition: 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== PAGE HEADER (players, directors) ===== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(212, 168, 71, 0.06) 0%, transparent 70%),
    linear-gradient(180deg, #0a0a0f 0%, rgba(10, 10, 15, 0.8) 100%);
  z-index: 0;
}
.page-header .container { position: relative; z-index: 1; }
.page-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #d4a847;
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1rem;
  color: rgba(232, 232, 236, 0.5);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== HERO (homepage) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(212, 168, 71, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 168, 71, 0.04) 0%, transparent 60%),
    linear-gradient(180deg, #0a0a0f 0%, rgba(10, 10, 15, 0.6) 50%, #0a0a0f 100%);
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-bg-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background:
    linear-gradient(90deg, #0a0a0f 0%, rgba(10, 10, 15, 0.7) 25%, transparent 55%),
    url('serve.php?file=fav-bg.png') no-repeat right center / cover;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(212, 168, 71, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4a847;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero-badge i {
  font-size: 0.6rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  max-width: 820px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s forwards;
  opacity: 0;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #d4a847 0%, #f0d080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(232, 232, 236, 0.6);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeUp 0.8s ease 0.3s forwards;
  opacity: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s forwards;
  opacity: 0;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(232, 232, 236, 0.06);
  animation: fadeUp 0.8s ease 0.6s forwards;
  opacity: 0;
}
.hero-stat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #d4a847;
  line-height: 1.2;
}
.hero-stat p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 232, 236, 0.4);
  margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d4a847, #e0b85c, #d4a847);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-position 0.5s ease, transform 0.3s ease, background 0.3s ease;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #e8e8ec;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid rgba(232, 232, 236, 0.2);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.btn-outline:hover {
  border-color: #d4a847;
  transform: translateY(-2px);
  background: rgba(212, 168, 71, 0.04);
}

/* ===== ABOUT (homepage) ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image .img-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.06) 0%, rgba(212, 168, 71, 0.02) 100%);
  border: 1px solid rgba(212, 168, 71, 0.1);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.about-image .img-frame:hover {
  border-color: rgba(212, 168, 71, 0.25);
  transform: scale(1.01);
}
.about-image .img-frame::before {
  content: '';
  display: block;
  padding-bottom: 75%;
}
.about-image .img-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(212, 168, 71, 0.15);
}
.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.about-text p {
  color: rgba(232, 232, 236, 0.55);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.about-signature .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a847, #b8922e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a0a0f;
}
.about-signature .name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}
.about-signature .title {
  font-size: 0.8rem;
  color: rgba(232, 232, 236, 0.45);
}

/* ===== SERVICES (homepage) ===== */
#services {
  background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 40px 32px;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
  border-color: rgba(212, 168, 71, 0.2);
  background: rgba(212, 168, 71, 0.03);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(212, 168, 71, 0.06);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(212, 168, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #d4a847;
  margin-bottom: 24px;
  transition: transform 0.4s ease, background 0.4s ease;
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  background: rgba(212, 168, 71, 0.14);
}
.service-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(232, 232, 236, 0.5);
  line-height: 1.7;
}

/* ===== STATS BANNER ===== */
.stats-banner {
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.06) 0%, rgba(212, 168, 71, 0.02) 100%);
  border: 1px solid rgba(212, 168, 71, 0.08);
  border-radius: 12px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stats-banner .stat-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4a847;
  margin-bottom: 4px;
}
.stats-banner .stat-item p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 232, 236, 0.4);
}

/* ===== PLAYERS GRID (shared) ===== */
.players-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.player-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}
.player-card:hover {
  border-color: rgba(212, 168, 71, 0.25);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(212, 168, 71, 0.08);
}
.player-card-image {
  height: 210px;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.04) 0%, rgba(212, 168, 71, 0.01) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: filter 0.4s ease;
}
.player-card:hover .player-card-image {
  filter: brightness(1.12) contrast(1.04);
}
.homepage .player-card-image {
  height: 200px;
}
.player-card-image .shirt-icon {
  font-size: 4.5rem;
  color: rgba(212, 168, 71, 0.1);
}
.player-card-image .player-number {
  position: absolute;
  bottom: -8px;
  right: -8px;
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  font-weight: 700;
  color: rgba(212, 168, 71, 0.04);
  line-height: 1;
}
.player-card-image .flag-emoji {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.player-card-body {
  padding: 24px;
}
.player-card-body .position {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4a847;
  margin-bottom: 6px;
}
.player-card-body h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.player-card-body .nationality {
  font-size: 0.82rem;
  color: rgba(232, 232, 236, 0.4);
  margin-bottom: 12px;
}
.player-card-body .player-stats {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(232, 232, 236, 0.5);
}
.player-card-body .player-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.player-card-body .player-stats i {
  color: #d4a847;
  font-size: 0.7rem;
}
.player-card-body .view-profile {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #d4a847;
  transition: gap 0.3s ease;
}
.player-card:hover .view-profile {
  gap: 10px;
}

/* ===== FILTER BAR (players page) ===== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  background: transparent;
  color: rgba(232, 232, 236, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.3s ease, transform 0.2s ease;
}
.filter-btn:hover {
  border-color: rgba(212, 168, 71, 0.3);
  color: #e8e8ec;
  transform: translateY(-1px);
}
.filter-btn.active {
  background: #d4a847;
  color: #0a0a0f;
  border-color: #d4a847;
}
.players-section {
  padding: 0 0 100px;
}
.no-results {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  color: rgba(232, 232, 236, 0.3);
  font-size: 1.1rem;
}

/* ===== PLAYER PROFILE (player.html) ===== */
.back-bar {
  padding: 100px 0 0;
}
.back-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(232, 232, 236, 0.5);
  transition: color 0.3s ease, gap 0.3s ease;
}
.back-bar a:hover {
  color: #d4a847;
  gap: 12px;
}
.profile-header {
  padding: 40px 0 60px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.06) 0%, rgba(212, 168, 71, 0.02) 100%);
  border: 1px solid rgba(212, 168, 71, 0.1);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.profile-image:hover {
  border-color: rgba(212, 168, 71, 0.25);
  transform: scale(1.01);
}
.profile-image .img-placeholder {
  text-align: center;
}
.profile-image .img-placeholder .big-icon {
  font-size: 5rem;
  color: rgba(212, 168, 71, 0.15);
}
.profile-image .img-placeholder .big-number {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 700;
  color: rgba(212, 168, 71, 0.06);
  line-height: 1;
  margin-top: -20px;
}
.profile-image .img-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.profile-info .position-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4a847;
  background: rgba(212, 168, 71, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.profile-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.profile-info .nationality-line {
  font-size: 0.95rem;
  color: rgba(232, 232, 236, 0.45);
  margin-bottom: 24px;
}
.profile-info .nationality-line span {
  color: #d4a847;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.info-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.info-item:hover {
  border-color: rgba(212, 168, 71, 0.15);
  background: rgba(212, 168, 71, 0.03);
}
.info-item .label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(232, 232, 236, 0.3);
  margin-bottom: 6px;
}
.info-item .value {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4a847;
}
.bio-text {
  color: rgba(232, 232, 236, 0.55);
  font-size: 0.92rem;
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 32px;
}
.stats-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.stat-pill {
  background: rgba(212, 168, 71, 0.06);
  border: 1px solid rgba(212, 168, 71, 0.1);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.8rem;
  color: rgba(232, 232, 236, 0.6);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.stat-pill:hover {
  border-color: rgba(212, 168, 71, 0.25);
  background: rgba(212, 168, 71, 0.1);
  transform: translateY(-1px);
}
.stat-pill strong {
  color: #d4a847;
  font-weight: 600;
}
.contact-scout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #d4a847, #e0b85c, #d4a847);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #0a0a0f;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background-position 0.5s ease, transform 0.3s ease;
}
.contact-scout:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
}

/* ===== VIDEOS SECTION (player.html) ===== */
.videos-section {
  padding: 0 0 100px;
}
.videos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.videos-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}
.video-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 4px;
}
.video-tab {
  padding: 8px 18px;
  border: none;
  background: transparent;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(232, 232, 236, 0.4);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease, transform 0.2s ease;
}
.video-tab:hover {
  color: #e8e8ec;
}
.video-tab.active {
  background: #d4a847;
  color: #0a0a0f;
}
.video-player {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.04) 0%, rgba(10, 10, 15, 0.9) 100%);
  border: 1px solid rgba(212, 168, 71, 0.08);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.video-player:hover {
  border-color: rgba(212, 168, 71, 0.2);
}
.video-player .play-overlay {
  text-align: center;
}
.video-player .play-overlay .play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(212, 168, 71, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: #0a0a0f;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease, box-shadow 0.4s ease;
}
.video-player:hover .play-overlay .play-icon {
  transform: scale(1.12);
  background: #d4a847;
  box-shadow: 0 0 0 8px rgba(212, 168, 71, 0.15);
}
.video-player .play-overlay .video-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.video-player .play-overlay .video-desc {
  font-size: 0.82rem;
  color: rgba(232, 232, 236, 0.4);
  margin-top: 4px;
}
.video-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.video-info .video-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}
.video-info .video-duration {
  font-size: 0.78rem;
  color: rgba(232, 232, 236, 0.3);
}

/* ===== PLAYER NAV (prev/next) ===== */
.player-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.player-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(232, 232, 236, 0.4);
  transition: color 0.3s ease, gap 0.3s ease;
}
.player-nav a:hover {
  color: #d4a847;
  gap: 12px;
}

/* ===== CONTACT (homepage) ===== */
#contact {
  background: linear-gradient(180deg, #0d0d14 0%, #0a0a0f 100%);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}
.contact-info > p {
  color: rgba(232, 232, 236, 0.5);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}
.contact-detail:hover {
  transform: translateX(4px);
}
.contact-detail .cd-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 168, 71, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a847;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.contact-detail:hover .cd-icon {
  background: rgba(212, 168, 71, 0.15);
  transform: scale(1.05);
}
.contact-detail .cd-text {
  font-size: 0.88rem;
  color: rgba(232, 232, 236, 0.6);
}
.contact-detail .cd-text strong {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #e8e8ec;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #d4a847;
  background: rgba(212, 168, 71, 0.03);
  box-shadow: 0 0 0 3px rgba(212, 168, 71, 0.06);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  color: rgba(232, 232, 236, 0.3);
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .btn-primary {
  align-self: flex-end;
}
.contact-form select {
  appearance: none;
  cursor: pointer;
}
.contact-form select option {
  background: #0a0a0f;
  color: #e8e8ec;
}

/* ===== DIRECTORS PAGE ===== */
.director-section {
  padding: 70px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.director-section:last-of-type { border-bottom: none; }
.director-section.alt {
  background: linear-gradient(90deg, rgba(212, 168, 71, 0.02) 0%, transparent 100%);
}
.director-section.cto {
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.03) 0%, rgba(10, 10, 15, 1) 100%);
}
.director-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.dir-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.director-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.06) 0%, rgba(212, 168, 71, 0.02) 100%);
  border: 1px solid rgba(212, 168, 71, 0.1);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.director-image:hover {
  border-color: rgba(212, 168, 71, 0.25);
  transform: scale(1.01);
}
.director-image .img-placeholder { text-align: center; }
.director-image .img-placeholder .big-icon {
  font-size: 5rem;
  color: rgba(212, 168, 71, 0.15);
}
.director-image .img-placeholder .role-badge {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 168, 71, 0.3);
  margin-top: 8px;
}
.qualifications {
  margin-top: 16px;
}
.qualifications h4 {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4a847;
  margin-bottom: 10px;
}
.qualifications ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qualifications ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(232, 232, 236, 0.55);
  line-height: 1.4;
}
.qualifications ul li i {
  color: #d4a847;
  font-size: 0.55rem;
  flex-shrink: 0;
}
.director-info .dir-title {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4a847;
  background: rgba(212, 168, 71, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.director-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 4px;
}
.director-info .dir-role {
  font-size: 0.9rem;
  color: rgba(232, 232, 236, 0.4);
  margin-bottom: 20px;
}
.director-info .dir-role span { color: #d4a847; }
.director-info p {
  color: rgba(232, 232, 236, 0.55);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 14px;
}
.dir-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.dir-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 16px 22px;
  min-width: 100px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.dir-stat:hover {
  border-color: rgba(212, 168, 71, 0.2);
  background: rgba(212, 168, 71, 0.03);
  transform: translateY(-2px);
}
.dir-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #d4a847;
  line-height: 1.2;
}
.dir-stat .lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(232, 232, 236, 0.3);
  margin-top: 4px;
}
.video-gallery {
  margin-top: 32px;
}
.video-gallery h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}
.video-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.video-thumb {
  border-radius: 6px;
  overflow: hidden;
  background: #0a0a0f;
  border: 1px solid rgba(212, 168, 71, 0.08);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}
.video-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.video-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease;
}
.video-thumb:hover .thumb-overlay {
  background: rgba(0, 0, 0, 0.1);
}
.video-thumb .play-small {
  position: relative;
  z-index: 2;
}
.video-thumb .vt-label {
  position: absolute;
  z-index: 2;
}
.video-thumb:hover {
  border-color: rgba(212, 168, 71, 0.25);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(212, 168, 71, 0.08);
}
.video-thumb .play-small {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 168, 71, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #0a0a0f;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}
.video-thumb:hover .play-small {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(212, 168, 71, 0.15);
}
.video-thumb .vt-label {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(232, 232, 236, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.philosophy-box {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.04) 0%, rgba(212, 168, 71, 0.01) 100%);
  border: 1px solid rgba(212, 168, 71, 0.1);
  border-left: 3px solid #d4a847;
  border-radius: 6px;
  padding: 24px 28px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.philosophy-box:hover {
  border-color: rgba(212, 168, 71, 0.2);
  background: linear-gradient(135deg, rgba(212, 168, 71, 0.06) 0%, rgba(212, 168, 71, 0.02) 100%);
}
.philosophy-box .quote-icon {
  color: #d4a847;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.philosophy-box blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(232, 232, 236, 0.75);
  line-height: 1.7;
}
.philosophy-box .attribution {
  font-size: 0.8rem;
  color: #d4a847;
  margin-top: 10px;
  font-style: normal;
}
.tech-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.tech-stat {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.tech-stat:hover {
  border-color: rgba(212, 168, 71, 0.2);
  background: rgba(212, 168, 71, 0.03);
  transform: translateY(-2px);
}
.tech-stat i {
  font-size: 1.2rem;
  color: #d4a847;
}
.tech-stat .ts-text {
  font-size: 0.82rem;
  color: rgba(232, 232, 236, 0.5);
}
.tech-stat .ts-text strong {
  display: block;
  color: #fff;
  font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .copyright {
  font-size: 0.82rem;
  color: rgba(232, 232, 236, 0.3);
}
footer .copyright-muted {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(232, 232, 236, 0.2);
}
footer .socials {
  display: flex;
  gap: 16px;
}
footer .socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 232, 236, 0.4);
  font-size: 0.85rem;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease,
              transform 0.3s ease;
}
footer .socials a:hover {
  border-color: #d4a847;
  color: #d4a847;
  background: rgba(212, 168, 71, 0.06);
  transform: translateY(-2px);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d4a847;
  color: #0a0a0f;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease,
              background 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #e0b85c;
  box-shadow: 0 0 20px rgba(212, 168, 71, 0.25);
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.video-modal.open {
  display: flex;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  max-height: 85vh;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(212, 168, 71, 0.15);
}
.video-modal-content video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  background: #000;
}
.video-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.video-modal-close:hover {
  background: rgba(212, 168, 71, 0.8);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .players-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .profile-image { max-width: 280px; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .director-grid { grid-template-columns: 1fr; gap: 32px; }
  .dir-col { max-width: 280px; }
  .director-image { max-width: 100%; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 24px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(212, 168, 71, 0.06);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .homepage .logo img { height: 48px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat h3 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: 1fr 1fr; padding: 40px 24px; gap: 24px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 100px 0 60px; }
  .page-header { padding: 120px 0 40px; }
  .videos-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .video-tabs { flex-wrap: wrap; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-image { max-width: 100%; }
  .video-thumbs { grid-template-columns: 1fr; }
  .dir-stats { gap: 12px; }
  .dir-stat { min-width: 80px; padding: 12px 16px; }
}
/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
  position: relative;
  width: 400px;
  max-width: 90vw;
  background: #0a0a0f;
  border: 1px solid rgba(212, 168, 71, 0.25);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  padding: 48px 32px 40px;
}
.modal-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #0a0a0f 30%, rgba(10, 10, 15, 0.6) 100%),
    url('serve.php?file=fav-bg.png') no-repeat center center / cover;
  opacity: 0.25;
  z-index: 0;
}
.modal-content {
  position: relative;
  z-index: 1;
}
.modal-icon {
  font-size: 3rem;
  color: #1a8a3f;
  margin-bottom: 16px;
}
.modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}
.modal p {
  font-size: 0.95rem;
  color: rgba(232, 232, 236, 0.6);
  margin-bottom: 28px;
  line-height: 1.7;
}
.modal .btn-primary { margin: 0 auto; }

@media (max-width: 480px) {
  .stats-banner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
}
