/* ============================================================
   QQALL.RU — cards.css v3
   Montserrat через Google Fonts (не зависит от локальных файлов)
   Крупный текст карточек, двухколоночный hero
   ============================================================ */

/* ── ШРИФТ — принудительно через Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Cinzel:wght@700;900&display=swap');

/* Переопределяем основной шрифт сайта — перебивает @font-face из main.css */
html, body, * {
  font-family: 'Montserrat', sans-serif !important;
}
/* Cinzel только для заголовков D4 и Dota */
.gc-title-cinzel {
  font-family: 'Cinzel', serif !important;
}

/* ── НАВИГАЦИЯ ── */
.site-nav { padding: 0 28px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.nav-logo img {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.nav-logo-text { font-size: 17px; font-weight: 900; color: #fff; letter-spacing: .2px; }
.nav-logo-text span { color: #ff6a00; }

.nav-links a { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.nav-links a img { flex-shrink: 0; border-radius: 3px; }
.nav-cta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.nav-cta i { font-size: 15px; }

/* ── HERO — двухколоночный ── */
.hero-main {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: stretch;
}
.hero-main canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 48px 64px;
}

/* Левая колонка — весь текст */
.hero-left { display: flex; flex-direction: column; justify-content: center; }

.hero-title {
  font-size: 56px; font-weight: 900;
  line-height: 1.02; color: #fff;
  letter-spacing: -2px; margin-bottom: 8px;
}
.hero-title-grad {
  font-size: 56px; font-weight: 900;
  line-height: 1.02; letter-spacing: -2px; margin-bottom: 24px;
  background: linear-gradient(90deg, #ff6a00, #c84bff, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 16px; color: rgba(226,232,240,0.52);
  line-height: 1.75; max-width: 480px; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 28px;
}
.hero-stat { flex: 1; }
.hero-stat + .hero-stat {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-num { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-label {
  font-size: 11px; color: rgba(226,232,240,0.32);
  margin-top: 5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}

/* Правая колонка — три карточки-превью кланов */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.hero-clan-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.hero-clan-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateX(4px);
}
.hero-clan-card-d4:hover   { border-color: rgba(200,40,40,0.35); }
.hero-clan-card-dota:hover { border-color: rgba(200,40,40,0.3); }
.hero-clan-card-dw:hover   { border-color: rgba(180,60,255,0.3); }

.hero-clan-icon {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-clan-icon img { width: 100%; height: 100%; object-fit: contain; }
.hero-clan-icon-d4   { background: rgba(160,0,0,0.25); }
.hero-clan-icon-dota { background: rgba(160,0,0,0.2); }
.hero-clan-icon-dw   { background: rgba(120,0,200,0.2); }

.hero-clan-info { flex: 1; }
.hero-clan-name { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.hero-clan-meta { font-size: 12px; color: rgba(226,232,240,0.38); font-weight: 500; }

.hero-clan-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px; flex-shrink: 0;
}
.hero-clan-badge-d4   { background: rgba(200,40,40,0.15); color: #ff9090; border: 1px solid rgba(200,40,40,0.25); }
.hero-clan-badge-dota { background: rgba(200,40,40,0.12); color: #ffaaaa; border: 1px solid rgba(200,40,40,0.2); }
.hero-clan-badge-dw   { background: rgba(180,60,255,0.12); color: #d4a8ff; border: 1px solid rgba(180,60,255,0.2); }

/* ── СЕКЦИЯ КЛАНОВ ── */
.section-clans { padding: 48px 32px; }
.section-head-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-label {
  font-size: 11px; font-weight: 700;
  color: rgba(226,232,240,0.28); letter-spacing: 1.5px; text-transform: uppercase;
}

/* ── КАРТОЧКИ ── */
.game-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.game-card {
  position: relative; border-radius: 16px; overflow: hidden;
  height: 280px; cursor: pointer; text-decoration: none; display: block;
  transition: transform .3s cubic-bezier(.34,1.4,.64,1), box-shadow .3s;
}
.game-card-d4   { background: #060101; border: 1px solid rgba(180,20,20,0.25); }
.game-card-dota { background: #080404; border: 1px solid rgba(200,40,40,0.22); }
.game-card-dw   { background: #050108; border: 1px solid rgba(200,50,220,0.2); }

.game-card-d4:hover   { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(200,0,0,0.4),   0 0 0 1px rgba(255,50,20,0.3); }
.game-card-dota:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(200,30,30,0.35), 0 0 0 1px rgba(220,50,50,0.3); }
.game-card-dw:hover   { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(180,0,255,0.3),  0 0 0 1px rgba(220,60,255,0.25); }

.gc-bg { position: absolute; inset: 0; z-index: 1; }
.game-card-d4 .gc-bg {
  background:
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(180,0,0,0.8)    0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%,   rgba(220,40,10,0.35) 0%, transparent 50%);
}
.game-card-dota .gc-bg {
  background:
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(160,0,0,0.75)   0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%,   rgba(210,30,30,0.35) 0%, transparent 50%);
}
.game-card-dw .gc-bg {
  background:
    radial-gradient(ellipse 100% 80% at 50% 120%, rgba(100,0,220,0.65) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%,   rgba(220,0,180,0.25) 0%, transparent 50%);
}

/* Верхняя линия */
.gc-topline { position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 10; }
.game-card-d4 .gc-topline {
  background: linear-gradient(90deg, transparent, #ff2200 30%, #ff6600 50%, #ff2200 70%, transparent);
  box-shadow: 0 0 14px rgba(255,60,0,0.9);
  animation: gc-d4line 2.5s ease-in-out infinite;
}
@keyframes gc-d4line { 0%,100%{opacity:.7} 50%{opacity:1} }
.game-card-dota .gc-topline {
  background: linear-gradient(90deg, transparent, #cc2020 25%, #ff4040 50%, #cc2020 75%, transparent);
  box-shadow: 0 0 12px rgba(220,30,30,0.85);
}
.game-card-dw .gc-topline {
  background: linear-gradient(90deg, transparent, #e020cc 20%, #00ccff 50%, #e020cc 80%, transparent);
  box-shadow: 0 0 16px rgba(220,0,255,0.9);
  animation: gc-dwneon 3s linear infinite;
}
@keyframes gc-dwneon { 0%{filter:hue-rotate(0deg)} 100%{filter:hue-rotate(360deg)} }

/* Логотип игры */
.gc-game-logo {
  position: absolute; right: 0; top: 0; bottom: 48px; left: 35%;
  z-index: 3; display: flex; align-items: center; justify-content: flex-end;
  padding-right: 16px; pointer-events: none;
}
.gc-game-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  opacity: .18; mix-blend-mode: screen; filter: brightness(1.3);
  transition: opacity .3s, transform .3s;
}
.game-card:hover .gc-game-logo img { opacity: .32; transform: scale(1.05); }

/* Контент карточки — КРУПНЕЕ */
.gc-content {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 8;
  padding: 24px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.97) 0%, rgba(0,0,0,0.72) 55%, transparent 100%);
}
.gc-eyebrow {
  font-size: 10px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
  display: flex; align-items: center; gap: 7px;
}
.gc-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; animation: gc-blink 2s infinite; }
@keyframes gc-blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.game-card-d4   .gc-eyebrow     { color: rgba(255,110,70,0.9); }
.game-card-d4   .gc-eyebrow-dot { background: #ff4422; box-shadow: 0 0 5px #ff4422; }
.game-card-dota .gc-eyebrow     { color: rgba(255,90,90,0.9); }
.game-card-dota .gc-eyebrow-dot { background: #dd2222; box-shadow: 0 0 5px rgba(220,30,30,0.8); }
.game-card-dw   .gc-eyebrow     { color: rgba(220,120,255,0.95); }
.game-card-dw   .gc-eyebrow-dot { background: #cc44ff; box-shadow: 0 0 7px rgba(200,0,255,0.9); }

/* Заголовок карточки — был 19-21px, стал 24px */
.gc-title {
  font-size: 24px !important;
  font-weight: 900; color: #fff;
  letter-spacing: -.3px; margin-bottom: 7px; line-height: 1.1;
}
.game-card-d4   .gc-title,
.game-card-dota .gc-title { font-family: 'Cinzel', serif !important; font-size: 22px !important; letter-spacing: .5px; }

/* Мета-текст — был 10px, стал 13px */
.gc-meta { font-size: 13px !important; font-weight: 600; letter-spacing: .2px; color: rgba(255,255,255,0.4); }

/* ── FOOTER ── */
.footer-links a { display: flex; align-items: center; gap: 6px; }
.footer-links a i { font-size: 14px; }

/* ── DISCORD CTA ── */
.discord-cta { margin: 0 32px 48px; }
.discord-cta-eyebrow {
  font-size: 10px; font-weight: 700; color: #7289da;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 10px;
}
.discord-cta-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.discord-cta-sub { font-size: 14px; color: rgba(226,232,240,0.45); line-height: 1.65; max-width: 380px; }

/* ── АДАПТИВ ── */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 32px 48px; }
  .hero-right { display: none; }
  .hero-title, .hero-title-grad { font-size: 44px; }
}
@media (max-width: 900px) { .game-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .hero-title, .hero-title-grad { font-size: 34px; }
  .hero-inner { padding: 44px 16px 36px; }
  .section-clans { padding: 32px 16px; }
  .discord-cta { margin: 0 16px 32px; }
  .game-cards { grid-template-columns: 1fr; }
  .game-card  { height: 200px; }
  .gc-title   { font-size: 20px !important; }
  .gc-meta    { font-size: 12px !important; }
  .site-nav   { padding: 0 16px; }
  .nav-links  { display: none; }
}
/* Добавить в конец cards.css */

/* ── HERO STAT CARDS (правая колонка главной) ── */
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s, border-color .2s;
}
.hero-stat-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}
.hero-stat-card--discord {
  border-color: rgba(88,101,242,0.2);
  background: rgba(88,101,242,0.06);
}
.hero-stat-card--discord:hover {
  background: rgba(88,101,242,0.1);
  border-color: rgba(88,101,242,0.3);
}
.hero-stat-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: rgba(226,232,240,0.5);
}
.hero-stat-card--discord .hero-stat-card-icon {
  background: rgba(88,101,242,0.15);
  color: #7289da;
}
.hero-stat-card-body { flex: 1; }
.hero-stat-card-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-card-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(226,232,240,0.72);
  margin-bottom: 3px;
}
.hero-stat-card-sub {
  font-size: 12px;
  color: rgba(226,232,240,0.4);
  font-weight: 500;
}
