/* ============================================================
   Wolf Game: Wild Animal Wars — Leader of the Pack
   Night wilderness + moonlight + ember theme, mobile-first
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-soft: #0c1119;
  --bg-card: #0f1620;
  --bg-elevated: #121a26;
  --bg-hover: #182238;
  --moon: #cfe0ff;
  --frost: #7fb0f2;
  --fire: #ff7a3c;
  --ember: #ffb56b;
  --text: #f2f5f9;
  --text-secondary: #aab6c6;
  --text-muted: #6a7b88;
  --border: rgba(207,224,255,0.10);
  --border-strong: rgba(207,224,255,0.20);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-md: 0 6px 20px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; }
html, body { overflow-x: hidden; }
img, svg { display: inline-block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fire); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fire); color: #1a1006; padding: 8px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,11,18,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-paw { color: var(--fire); flex-shrink: 0; }
.brand-text { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.nav-toggle-bar { display: block; width: 18px; height: 2px; background: var(--text); margin-inline: auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 13px; font-weight: 600; color: var(--text); transition: border-color .15s, background .15s; }
.lang-btn:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.lang-btn-caret { transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-btn-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; max-height: 65vh; overflow-y: auto; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px; z-index: 100; }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; color: var(--text-secondary); transition: background .12s; min-height: 40px; }
.lang-menu li:hover { background: var(--bg-hover); color: var(--text); }
.lang-menu li[aria-selected="true"] { background: rgba(255,122,60,0.10); color: var(--fire); font-weight: 600; }
.lang-menu li[aria-selected="true"]::after { content: ""; margin-inline-start: auto; width: 9px; height: 5px; border-left: 2px solid var(--fire); border-bottom: 2px solid var(--fire); transform: rotate(-45deg) translateY(-1px); }
.lang-flag { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 800; letter-spacing: 0.06em; color: #000; flex-shrink: 0; }

.mobile-nav { display: none; position: fixed; top: 64px; inset-inline: 0; bottom: 0; background: rgba(7,11,18,0.97); z-index: 99; padding: 24px 20px 40px; overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-list li a { display: block; padding: 14px 8px; font-size: 17px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav-list li a:last-child { border-bottom: none; }
.mobile-nav-list .btn { margin-top: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: var(--radius-md); font-size: 15px; font-weight: 700; transition: transform .15s, background .15s, box-shadow .15s; border: 1px solid transparent; }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn-cta { background: linear-gradient(135deg, #ff7a3c, #ff5c1a); color: #1a0f06; box-shadow: 0 0 28px rgba(255,122,60,0.35), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 0 38px rgba(255,122,60,0.5), inset 0 1px 0 rgba(255,255,255,0.25); }

.hero { position: relative; padding: 76px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -25% -20%; background: radial-gradient(55% 55% at 50% 20%, rgba(127,176,242,0.10), transparent 70%), radial-gradient(45% 45% at 80% 60%, rgba(255,122,60,0.08), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(7,11,18,0.6), transparent); pointer-events: none; }
.hero .container { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: var(--radius-full); background: rgba(127,176,242,0.08); border: 1px solid rgba(127,176,242,0.25); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--frost); margin-bottom: 22px; }
.hero-badge-moon { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #cfe0ff); box-shadow: 0 0 12px rgba(207,224,255,0.5); }
.hero-title { font-family: var(--font-display); font-size: clamp(40px, 10vw, 78px); font-weight: 900; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 18px; }
.hero-title-1 { display: block; font-size: 0.5em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--frost); margin-bottom: 8px; }
.hero-title-2 { display: block; }
.text-fire { color: var(--fire); }
.hero-desc { font-size: 17px; color: var(--text-secondary); max-width: 640px; margin: 0 auto 28px; line-height: 1.6; }
.hero-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 13px; color: var(--text-muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--ember); }

.chain-stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.chain-stat { padding: 24px 16px; text-align: center; }
.chain-stat:nth-child(odd) { border-inline-end: 1px solid var(--border); }
.chain-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--fire); letter-spacing: -0.02em; }
.stat-label { display: block; font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.section { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(24px, 5.5vw, 38px); font-weight: 800; line-height: 1.15; margin: 0 0 12px; letter-spacing: 0.01em; }
.section-desc { font-size: 16px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

.split-layout { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.split-copy { min-width: 0; }
.split-copy .section-eyebrow { margin-bottom: 14px; }
.split-copy .section-title { margin-bottom: 14px; }
.split-copy .section-desc { margin-bottom: 24px; }
.split-visual { display: flex; justify-content: center; min-width: 0; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-secondary); font-size: 15px; }
.check-ico { flex-shrink: 0; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,122,60,0.16); color: var(--fire); margin-top: 1px; }

.wolf-card { width: 100%; max-width: 380px; background: linear-gradient(160deg, rgba(127,176,242,0.06), var(--bg-card) 50%), var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.wolf-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wolf-paw { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(255,122,60,0.14); color: var(--fire); }
.wolf-card-head span:last-child { font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--moon); }
.wolf-card-quote { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.wolf-card-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); }
.wolf-card-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wolf-card-val { font-size: 14px; font-weight: 600; color: var(--ember); }

.section-wolves { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.wolf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.wolf-tile { padding: 22px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); text-align: center; transition: transform .2s, border-color .2s; }
.wolf-tile:hover { transform: translateY(-2px); border-color: rgba(127,176,242,0.4); }
.wolf-tile-ico { width: 56px; height: 56px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.wolf-tile-ico.ice { background: rgba(127,176,242,0.14); color: #9cc3ff; }
.wolf-tile-ico.frost { background: rgba(207,224,255,0.12); color: #cfe0ff; }
.wolf-tile-ico.arctic { background: rgba(127,225,255,0.12); color: #7fe1ff; }
.wolf-tile-ico.night { background: rgba(160,120,255,0.14); color: #a078ff; }
.wolf-tile h3 { font-family: var(--font-display); font-size: 15px; font-weight: 800; margin: 0 0 6px; }
.wolf-tile p { color: var(--text-muted); font-size: 12px; margin: 0; line-height: 1.45; }

.section-alliance { position: relative; }
.section-alliance::before { content: ""; position: absolute; inset: -20% -20%; background: radial-gradient(50% 60% at 80% 30%, rgba(255,122,60,0.07), transparent 70%); pointer-events: none; }
.alliance-block { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.alliance-title { font-family: var(--font-display); font-size: clamp(26px, 6vw, 40px); font-weight: 800; letter-spacing: 0.01em; margin: 0 0 14px; line-height: 1.1; }
.alliance-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 26px; }
.alliance-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; font-size: 14px; font-weight: 600; }
.alliance-point { display: inline-flex; align-items: center; gap: 8px; }
.alliance-point svg { color: var(--fire); }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card { padding: 26px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-2px); border-color: rgba(255,122,60,0.4); }
.feature-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); background: rgba(255,122,60,0.12); color: var(--fire); margin-bottom: 16px; }
.feature-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.feature-card p { color: var(--text-secondary); font-size: 14px; margin: 0; line-height: 1.55; }

.final-cta { padding: 72px 0 90px; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: -30% -20%; background: radial-gradient(50% 60% at 50% 60%, rgba(255,122,60,0.14), transparent 70%); pointer-events: none; }
.final-cta .container { position: relative; }
.final-cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.final-cta-title { font-family: var(--font-display); font-size: clamp(28px, 6.5vw, 46px); font-weight: 900; line-height: 1.12; letter-spacing: 0.01em; margin: 0 0 16px; }
.final-cta-title span { display: block; }
.final-cta-desc { font-size: 16px; color: var(--text-secondary); margin: 0 0 30px; }

.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand .brand-text { font-size: 18px; }
.footer-tagline { color: var(--text-secondary); font-size: 14px; margin: 0; max-width: 300px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-col-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin: 0 0 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color .15s; }
.footer-col a:hover { color: var(--ember); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-disclaimer { font-size: 11px; color: var(--text-muted); line-height: 1.6; margin: 0 0 12px; }
.footer-copyright { font-size: 12px; color: var(--text-muted); margin: 0; }

.sticky-cta { position: fixed; bottom: 0; inset-inline: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(7,11,18,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); z-index: 90; }
.sticky-cta.hidden { display: none; }

@media (min-width: 480px) { .stats-grid { grid-template-columns: repeat(4,1fr); } .chain-stat:nth-child(odd){border-inline-end:1px solid var(--border);} .chain-stat:nth-child(-n+2){border-bottom:none;} }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2,1fr); } .wolf-grid { grid-template-columns: repeat(4,1fr); } .footer-grid { grid-template-columns: 1.2fr 2fr; } .footer-links { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .split-layout { grid-template-columns: 1fr 1fr; gap: 64px; } .alliance-points { gap: 14px 36px; } .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

[dir="rtl"] .hero-cta-row, [dir="rtl"] .hero-meta { direction: ltr; }

/* --- Image-integrated additions --- */
.brand-logo { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--border); }
.hero-glow { position: absolute; inset: -20% -10%; background: radial-gradient(50% 50% at 50% 20%, rgba(127,176,242,0.10), transparent 70%), radial-gradient(45% 45% at 80% 60%, rgba(255,122,60,0.08), transparent 70%); pointer-events: none; }
.wolf-card { overflow: hidden; }
.wolf-card-media { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-card); }
.wolf-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.wolf-card:hover .wolf-card-media img { transform: scale(1.05); }
.wolf-card-body { padding: 16px 20px 20px; }
.wolf-card-head { margin-bottom: 8px; }
.wolf-card-label { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--moon); }

.section-screens { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.shots-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; }
.shots-gallery img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); display: block; object-fit: cover; aspect-ratio: 16/9; box-shadow: var(--shadow-md); }

.final-cta-logo { width: 96px; height: 96px; border-radius: 22px; object-fit: cover; margin: 0 auto 20px; display: block; box-shadow: 0 0 0 2px var(--border), 0 0 40px rgba(255,122,60,0.25); }

@media (min-width: 640px) {
  .shots-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
