/* ===========================
   MIDAS GAMING — MAIN STYLES
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Russo+One&family=Tektur:wght@400;500;600;700;800;900&display=swap&subset=cyrillic');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --white: #ffffff;
  --gray: #888888;
  --gray-light: #cccccc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===========================
   MARQUEE TICKER
   =========================== */

.marquee-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  height: 56px;
  display: flex;
  align-items: center;
  transition: transform 0.4s ease;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  gap: 0;
}

.marquee-item {
  font-family: 'Tektur', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 0 32px;
  transition: opacity 0.2s ease;
}

.marquee-item:hover {
  opacity: 0.6;
}

.marquee-dot {
  font-size: 6px;
  color: var(--white);
  opacity: 0.4;
}

.marquee-bar.hidden {
  transform: translateY(-100%);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   NAVIGATION
   =========================== */

nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: transparent;
  transition: background 0.4s ease, top 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 60px;
}

.nav-logo {
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 48px;
  list-style: none;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-social a {
  color: var(--gray);
  text-decoration: none;
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-social a:hover {
  color: var(--gold);
}

/* ===========================
   HERO
   =========================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 140px; /* space for marquee + navbar */
  box-sizing: border-box;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.3) 50%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 120px;
}

.hero-tagline {
  font-family: 'Tektur', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-top: 8px;
}

.hero-title-block {
  text-transform: uppercase;
}

.hero-line {
  font-family: 'Russo One', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-line-large {
  font-size: clamp(44px, 5.5vw, 76px);
}

.hero-line-medium {
  font-size: clamp(32px, 4vw, 52px);
}

.hero-line-small {
  font-size: clamp(26px, 3.2vw, 44px);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
  max-width: 520px;
  margin-top: 28px;
  letter-spacing: 0.02em;
}

.hero-gold {
  color: var(--gold);
}

.hero-gray {
  color: var(--gray-light);
}

.hero-scroll {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 2;
  text-align: right;
}

.hero-scroll-text {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 16px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.hero-scroll-text:hover {
  color: var(--gold-light);
}

.hero-scroll-label {
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.hero-scroll-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gray);
}

/* ===========================
   MANIFESTO
   =========================== */

.manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.manifesto-content {
  max-width: 900px;
  text-align: center;
}

.manifesto-title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 40px;
}

.manifesto-title em {
  font-style: normal;
  color: var(--gold);
}

.manifesto-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--gray);
  max-width: 650px;
  margin: 0 auto;
}

/* ===========================
   HERO SUBTITLE
   =========================== */

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--gray-light);
  line-height: 1.6;
  margin-top: 28px;
  max-width: 520px;
}

/* ===========================
   ABOUT (WME STYLE)
   =========================== */

.about-wme {
  position: relative;
  padding: 140px 60px 100px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.about-wme-label {
  font-family: 'Tektur', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 12px;
}

.about-wme-content {
  max-width: 700px;
}

.about-wme-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 40px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Tektur', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 4px;
  transition: gap 0.3s ease, border-color 0.3s ease;
}

.about-link:hover {
  gap: 16px;
  border-color: var(--gold);
}

.about-link-right {
  position: absolute;
  right: 60px;
  bottom: 0;
}

/* ===========================
   BIG STATEMENT (WME STYLE)
   =========================== */

/* About + Statement combined section */
.about-statement-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 60px 80px;
}

.about-compact {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}

.about-compact-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: 24px;
}

.big-statement {
  padding: 0;
}

.big-statement-text {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* ===========================
   STATS
   =========================== */

.stats-section {
  padding: 0 60px 120px;
}

.about-stats {
  display: flex;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: 'Tektur', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ===========================
   PLAYERS GRID
   =========================== */

.players {
  padding: 120px 60px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 64px;
}

.section-title {
  font-family: 'Tektur', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gray);
}

.section-count {
  font-family: 'Tektur', sans-serif;
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.1em;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 32px;
}

.player-card {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* WME staggered — каждый ряд со сдвигом */
.player-card:nth-child(1) { margin-top: 0; }
.player-card:nth-child(2) { margin-top: 60px; }
.player-card:nth-child(3) { margin-top: 120px; }

.player-card:nth-child(4) { margin-top: -60px; }
.player-card:nth-child(5) { margin-top: 0; }
.player-card:nth-child(6) { margin-top: 60px; }

.player-card:nth-child(7) { margin-top: -60px; }
.player-card:nth-child(8) { margin-top: 0; }
.player-card:nth-child(9) { margin-top: 60px; }

.player-card-label {
  font-family: 'Tektur', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-left: 8px;
  transition: color 0.3s ease;
}

.player-card:hover .player-card-label {
  color: var(--gold);
}

.player-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

/* Все фото вертикальные */

.player-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(30%);
}

.player-card:hover .player-card-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.player-card-nick {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: 'Tektur', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.player-card:hover .player-card-nick {
  opacity: 1;
  transform: translateY(0);
}

.player-card-flag {
  font-size: 16px;
  margin-left: 6px;
}

.player-card-flag {
  font-size: 16px;
}

.player-card-role {
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===========================
   PATRONAGE
   =========================== */

.patronage {
  padding: 120px 60px;
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.patronage-header {
  max-width: 600px;
  margin-bottom: 80px;
}

.patronage-header .section-title {
  margin-bottom: 24px;
}

.patronage-header h2 {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
}

.patronage-header h2 em {
  font-style: normal;
  color: var(--gold);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 60px;
}

.perk-item {
  background: var(--black-2);
  padding: 40px 32px;
  transition: background 0.3s ease;
}

.perk-item:hover {
  background: var(--black-3);
}

.perk-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}

.perk-title {
  font-family: 'Tektur', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.perk-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.patronage-cta {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  padding: 18px 56px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Russo One', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

/* ===========================
   FOOTER
   =========================== */

footer {
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Russo One', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-center {
  display: flex;
  gap: 32px;
}

.footer-center a {
  color: var(--gray);
  text-decoration: none;
  font-family: 'Tektur', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-center a:hover {
  color: var(--gold);
}

.footer-right {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  .players-grid .player-card:nth-child(n) {
    margin-top: 0;
  }

  .players-grid .player-card:nth-child(2) { margin-top: 40px; }
  .players-grid .player-card:nth-child(3) { margin-top: 80px; }
  .players-grid .player-card:nth-child(5) { margin-top: 0; }
  .players-grid .player-card:nth-child(6) { margin-top: 40px; }

  .perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 20px 24px;
  }

  nav.scrolled {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding: 0 24px 60px;
  }

  .hero-scroll {
    right: 24px;
  }

  .manifesto {
    min-height: auto;
    padding: 80px 24px;
  }

  .about-wme {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    gap: 24px;
  }

  .big-statement {
    padding: 40px 24px 60px;
  }

  .stats-section {
    padding: 0 24px 60px;
  }

  .players {
    padding: 80px 24px;
  }

  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .players-grid .player-card:nth-child(n) {
    margin-top: 0;
  }

  .players-grid .player-card:nth-child(2n) {
    margin-top: 40px;
  }

  .patronage {
    padding: 80px 24px;
  }

  .perks-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
    text-align: center;
  }
}
