/*
Theme Name: AviatorHub
Theme URI: https://aviatorhub.co
Author: AviatorHub
Author URI: https://aviatorhub.co
Description: Cockpit-dark casino theme with neon blue radar grid. Built for crash game & gambling platforms. Features animated multiplier display, provably-fair sections, game grid, and full contact/about pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aviatorhub
Tags: dark, gaming, casino, custom-menu, featured-images, full-width-template, footer-widgets, custom-logo
*/

/* ════════════════════════════════════════════
   DESIGN SYSTEM — AviatorHub WordPress Theme
   Theme: Cockpit-dark. Neon blue radar grid.
   Fonts: Bebas Neue (display) + Outfit (body)
         + JetBrains Mono (data/numbers)
   ════════════════════════════════════════════ */

:root {
  --bg:      #050810;
  --bg2:     #090d1a;
  --bg3:     #0d1224;
  --bg4:     #111830;
  --surface: #161e38;
  --border:  rgba(100,140,255,.1);
  --border2: rgba(100,140,255,.22);
  --border3: rgba(100,140,255,.4);
  --accent:  #3d8eff;
  --accent2: #00d4ff;
  --gold:    #ffb300;
  --gold2:   #ff8c00;
  --red:     #ff3d5a;
  --green:   #00e676;
  --text:    #e8eeff;
  --text2:   #7b90cc;
  --text3:   #3d4f7a;
  --font-d:  'Bebas Neue', sans-serif;
  --font-b:  'Outfit', sans-serif;
  --font-m:  'JetBrains Mono', monospace;
  --r:       12px;
  --r2:      8px;
  --r3:      6px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font-b); cursor: pointer; }
input, select, textarea { font-family: var(--font-b); }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 4px; }

/* ── RADAR GRID BACKGROUND ── */
.radar-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(61,142,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,142,255,.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── LAYOUT ── */
.site-wrapper { position: relative; z-index: 1; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ── UTILITY ── */
.sep { height: 1px; background: linear-gradient(90deg,transparent,var(--border2),transparent); margin: 48px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-family: var(--font-d); font-size: 32px; letter-spacing: .03em; display: flex; align-items: center; gap: 12px; }
.see-all { font-size: 13px; color: var(--text3); display: flex; align-items: center; gap: 4px; cursor: pointer; transition: color .2s; }
.see-all:hover { color: var(--accent2); }

/* ════════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════════ */
.site-header {
  background: rgba(5,8,16,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 66px;
}
.header-inner { display: flex; align-items: center; height: 66px; gap: 0; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: 11px; margin-right: 40px; cursor: pointer; flex-shrink: 0; text-decoration: none; }
.logo-plane { font-size: 26px; transform: rotate(-30deg); display: inline-block; animation: logoBob 3s ease-in-out infinite; }
@keyframes logoBob {
  0%,100% { transform: rotate(-30deg) translateY(0); }
  50%      { transform: rotate(-30deg) translateY(-3px); }
}
.logo-text { font-family: var(--font-d); font-size: 26px; letter-spacing: .06em; line-height: 1; color: var(--text); }
.logo-text em { color: var(--accent2); font-style: normal; }
.logo-dot { display: inline-block; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; margin-left: 3px; vertical-align: middle; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.primary-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul li a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--r3);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  transition: all .2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
  color: var(--accent2);
  background: rgba(0,212,255,.08);
  border-color: rgba(0,212,255,.2);
}

/* Header right */
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.hdr-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-family: var(--font-m);
  color: var(--green);
  background: rgba(0,230,118,.08);
  border: 1px solid rgba(0,230,118,.2);
  border-radius: 20px; padding: 5px 12px;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.4s ease-in-out infinite; display: inline-block; }
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.5; transform:scale(1.5); }
}

/* Buttons */
.btn { padding: 9px 22px; border-radius: var(--r3); font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; }
.btn-outline { background: transparent; border: 1px solid var(--border2); color: var(--text2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-cta { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #030610; font-weight: 700; }
.btn-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: var(--r3);
  color: var(--text2);
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* ════════════════════════════════════════════
   HERO — FRONT PAGE
   ════════════════════════════════════════════ */
.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle,rgba(61,142,255,.12) 0,transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.home-hero::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle,rgba(0,212,255,.07) 0,transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
}
.hero-layout { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent2); border: 1px solid rgba(0,212,255,.25); border-radius: 20px;
  padding: 5px 14px; margin-bottom: 22px; background: rgba(0,212,255,.06);
}

.hero-h1 { font-family: var(--font-d); font-size: 78px; line-height: .95; letter-spacing: .02em; margin-bottom: 18px; color: var(--text); }
.hero-h1 .line2 { display: block; background: linear-gradient(90deg,var(--accent),var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-h1 .line3 { display: block; color: var(--gold); font-size: 56px; }
.hero-desc { font-size: 16px; color: var(--text2); line-height: 1.7; max-width: 500px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-hero { padding: 14px 32px; font-size: 15px; border-radius: var(--r2); font-weight: 700; border: none; transition: all .22s; }
.btn-hero-primary { background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #030610; letter-spacing: .01em; }
.btn-hero-primary:hover { filter: brightness(1.12); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(61,142,255,.35); }
.btn-hero-sec { background: transparent; border: 1px solid var(--border2); color: var(--text2); }
.btn-hero-sec:hover { border-color: var(--accent2); color: var(--accent2); }

/* Multiplier strip */
.mult-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.mult-pill { font-family: var(--font-m); font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1px solid; animation: pillPop .3s ease; }
@keyframes pillPop { from { transform:scale(.8); opacity:0; } to { transform:scale(1); opacity:1; } }
.mp-green { background: rgba(0,230,118,.1); border-color: rgba(0,230,118,.3); color: var(--green); }
.mp-red   { background: rgba(255,61,90,.1);  border-color: rgba(255,61,90,.3);  color: var(--red); }
.mp-gold  { background: rgba(255,179,0,.1);  border-color: rgba(255,179,0,.3);  color: var(--gold); }

/* ── COCKPIT CARD ── */
.cockpit { background: var(--bg3); border: 1px solid var(--border2); border-radius: 20px; overflow: hidden; position: relative; }
.cockpit-screen { height: 280px; position: relative; overflow: hidden; background: linear-gradient(160deg,#050d20 0%,#081428 60%,#050d20 100%); }
.cockpit-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(61,142,255,.08) 1px,transparent 1px), linear-gradient(90deg,rgba(61,142,255,.08) 1px,transparent 1px);
  background-size: 30px 30px;
}
.curve-svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.plane-wrapper { position: absolute; bottom: 60%; left: 72%; transition: all .5s ease; }
.plane-emoji { font-size: 36px; transform: rotate(-35deg); filter: drop-shadow(0 0 12px rgba(0,212,255,.7)); }
.mult-display { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; }
.mult-num { font-family: var(--font-d); font-size: 72px; letter-spacing: .04em; background: linear-gradient(135deg,#fff,var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: multCount 4s ease-in-out infinite alternate; }
@keyframes multCount { 0% { font-size:72px; } 100% { font-size:84px; } }
.mult-x { font-family: var(--font-m); font-size: 14px; color: var(--text2); letter-spacing: .1em; }

/* Bet panel */
.bet-panel { padding: 18px; }
.bet-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 10px; }
.input-wrap { position: relative; }
.bet-inp { width: 100%; background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r3); padding: 11px 48px 11px 14px; font-size: 15px; font-family: var(--font-m); font-weight: 600; color: var(--text); outline: none; transition: border .2s; }
.bet-inp:focus { border-color: var(--accent); }
.inp-cur { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--text3); font-family: var(--font-m); font-weight: 600; }
.auto-cash { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--text2); }
.toggle { width: 36px; height: 20px; background: var(--surface); border-radius: 10px; border: 1px solid var(--border2); cursor: pointer; position: relative; transition: background .2s; display: inline-block; }
.toggle.on { background: var(--green); }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #fff; border-radius: 50%; transition: left .2s; }
.toggle.on::after { left: 18px; }
.cashout-val { font-family: var(--font-m); font-weight: 600; color: var(--gold); }
.btn-fly { width: 100%; padding: 13px; background: linear-gradient(135deg,var(--red),#ff6040); color: #fff; font-family: var(--font-d); font-size: 22px; letter-spacing: .06em; border: none; border-radius: var(--r2); cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-fly:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255,61,90,.35); }
.btn-fly.cashing { background: linear-gradient(135deg,var(--green),#00b050); color: #030610; }

/* Bets mini */
.bets-mini { border-top: 1px solid var(--border); padding: 14px 18px 0; }
.bm-head { display: flex; justify-content: space-between; font-size: 11px; font-family: var(--font-m); color: var(--text3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; padding: 0 4px; }
.bm-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 5px 4px; border-radius: 4px; transition: background .2s; }
.bm-row:hover { background: rgba(255,255,255,.03); }
.bm-user { color: var(--text2); }
.bm-bet { font-family: var(--font-m); color: var(--text); }
.bm-mult { font-family: var(--font-m); font-weight: 600; }
.win { color: var(--green); } .lose { color: var(--red); } .fly { color: var(--accent2); }

/* ── STATS BAR ── */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 40px 0; }
.stat-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; position: relative; overflow: hidden; }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--accent),var(--accent2)); }
.sc-label { font-size: 11.5px; color: var(--text3); letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-m); margin-bottom: 8px; }
.sc-val { font-family: var(--font-d); font-size: 32px; letter-spacing: .03em; color: var(--text); line-height: 1; }
.sc-sub { font-size: 12px; color: var(--text2); margin-top: 5px; }
.sc-accent { color: var(--accent2); } .sc-gold { color: var(--gold); } .sc-green { color: var(--green); } .sc-red { color: var(--red); }

/* ── HOW IT WORKS ── */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 32px 0; }
.how-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 24px; position: relative; transition: all .25s; }
.how-card:hover { border-color: var(--border3); transform: translateY(-4px); }
.how-num { font-family: var(--font-d); font-size: 64px; color: var(--border2); line-height: 1; position: absolute; top: 16px; right: 20px; }
.how-icon { font-size: 32px; margin-bottom: 14px; display: block; }
.how-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.how-desc { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── WINS TABLE ── */
.wins-table { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.wt-head { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1.2fr; padding: 12px 20px; background: var(--bg4); font-size: 11px; font-family: var(--font-m); color: var(--text3); letter-spacing: .07em; text-transform: uppercase; }
.wt-row { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr 1.2fr; padding: 13px 20px; border-top: 1px solid var(--border); transition: background .2s; align-items: center; }
.wt-row:hover { background: rgba(255,255,255,.02); }
.wt-user { display: flex; align-items: center; gap: 9px; }
.wt-ava { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.wt-name { font-size: 13px; font-weight: 500; }
.wt-game { font-size: 13px; color: var(--text2); }
.wt-bet { font-family: var(--font-m); font-size: 13px; }
.wt-mx  { font-family: var(--font-m); font-size: 13px; color: var(--accent2); font-weight: 600; }
.wt-win { font-family: var(--font-m); font-size: 13px; font-weight: 700; color: var(--green); }

/* ════════════════════════════════════════════
   GAMES PAGE
   ════════════════════════════════════════════ */
.games-hero { padding: 120px 0 48px; text-align: center; position: relative; }
.games-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 0%,rgba(0,212,255,.1),transparent 70%); pointer-events: none; }
.page-title { font-family: var(--font-d); font-size: 64px; letter-spacing: .04em; margin-bottom: 10px; }
.page-sub { font-size: 16px; color: var(--text2); max-width: 500px; margin: 0 auto 32px; }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filt { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid var(--border); color: var(--text2); cursor: pointer; transition: all .2s; background: var(--bg3); }
.filt:hover { border-color: var(--border2); color: var(--text); }
.filt.on { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.3); color: var(--accent2); }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.game-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; cursor: pointer; transition: all .25s; position: relative; }
.game-card:hover { transform: translateY(-5px); border-color: var(--border3); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.gc-thumb { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.gc-thumb::after { content: '▶  PLAY DEMO'; position: absolute; inset: 0; background: rgba(5,8,22,.85); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 20px; letter-spacing: .12em; color: var(--accent2); opacity: 0; transition: opacity .2s; }
.game-card:hover .gc-thumb::after { opacity: 1; }
.gc-emoji { font-size: 68px; filter: drop-shadow(0 0 24px rgba(0,212,255,.5)); }
.gc-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: .06em; text-transform: uppercase; z-index: 2; }
.badge-feat { background: linear-gradient(90deg,var(--accent),var(--accent2)); color: #030610; }
.badge-new  { background: var(--green); color: #030610; }
.badge-hot  { background: var(--red);   color: #fff; }
.badge-live { background: rgba(0,212,255,.2); color: var(--accent2); border: 1px solid rgba(0,212,255,.3); }
.gc-body { padding: 16px 18px; }
.gc-title   { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.gc-tagline { font-size: 13px; color: var(--text2); margin-bottom: 14px; }
.gc-meta    { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.gc-pill    { background: var(--bg4); border: 1px solid var(--border); border-radius: 10px; font-size: 11px; padding: 3px 9px; color: var(--text2); font-family: var(--font-m); }
.gc-rtp     { font-family: var(--font-m); font-size: 12px; font-weight: 600; color: var(--gold); }
.gc-stats   { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; border-top: 1px solid var(--border); padding-top: 12px; }
.gc-stat    { text-align: center; }
.gc-sv { font-family: var(--font-m); font-size: 13px; font-weight: 700; color: var(--text); }
.gc-sl { font-size: 10px; color: var(--text3); margin-top: 1px; }
.btn-play { display: block; width: 100%; margin-top: 14px; padding: 10px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #030610; font-family: var(--font-d); font-size: 17px; letter-spacing: .06em; border: none; border-radius: var(--r3); cursor: pointer; transition: all .2s; text-align: center; }
.btn-play:hover { filter: brightness(1.1); transform: translateY(-1px); }
.game-card.feat-big { grid-column: 1/-1; }
.feat-big .gc-thumb { height: 260px; }
.feat-big .gc-emoji { font-size: 100px; }
.feat-big .gc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 24px; }

/* ════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════ */
.about-hero { padding: 120px 0 60px; position: relative; overflow: hidden; }
.about-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 80% 50%,rgba(61,142,255,.1),transparent 70%); pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 70px; }
.about-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-m); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent2); border: 1px solid rgba(0,212,255,.2); border-radius: 20px; padding: 5px 14px; margin-bottom: 20px; background: rgba(0,212,255,.06); }
.about-title { font-family: var(--font-d); font-size: 52px; letter-spacing: .02em; line-height: 1.05; margin-bottom: 18px; }
.about-title span { color: var(--accent2); }
.about-body { font-size: 15px; color: var(--text2); line-height: 1.75; margin-bottom: 16px; }
.about-visual { background: var(--bg3); border: 1px solid var(--border2); border-radius: 20px; padding: 32px; position: relative; overflow: hidden; }
.about-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%,rgba(61,142,255,.08),transparent 70%); }
.av-plane { font-size: 80px; text-align: center; filter: drop-shadow(0 0 32px rgba(0,212,255,.5)); display: block; animation: soar 4s ease-in-out infinite; }
@keyframes soar { 0%,100% { transform:translateY(0) rotate(-20deg); } 50% { transform:translateY(-16px) rotate(-25deg); } }
.av-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 20px; }
.av-s { background: var(--bg4); border: 1px solid var(--border); border-radius: var(--r2); padding: 14px; text-align: center; }
.av-sv { font-family: var(--font-d); font-size: 28px; color: var(--accent2); }
.av-sl { font-size: 12px; color: var(--text3); margin-top: 2px; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 40px 0 60px; }
.val-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 24px 20px; transition: all .25s; text-align: center; }
.val-card:hover { border-color: var(--border3); transform: translateY(-4px); }
.val-icon  { font-size: 36px; margin-bottom: 14px; display: block; }
.val-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.val-desc  { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* Timeline */
.timeline { position: relative; padding: 0 0 40px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--border2); transform: translateX(-50%); }
.tl-item { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; margin-bottom: 32px; align-items: center; }
.tl-left  { text-align: right; padding-right: 28px; }
.tl-right { padding-left: 28px; }
.tl-center { display: flex; justify-content: center; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 14px var(--accent); flex-shrink: 0; }
.tl-year  { font-family: var(--font-d); font-size: 22px; color: var(--accent2); }
.tl-event { font-size: 14px; color: var(--text2); line-height: 1.55; margin-top: 3px; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 40px 0 60px; }
.team-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 24px; text-align: center; transition: all .25s; }
.team-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.team-ava  { width: 64px; height: 64px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; overflow: hidden; }
.team-ava img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.team-role { font-size: 12.5px; color: var(--accent2); font-family: var(--font-m); margin-bottom: 6px; }
.team-bio  { font-size: 12px; color: var(--text3); line-height: 1.5; }
.cert-strip { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 28px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); margin: 0 0 60px; }
.cert-badge { display: flex; align-items: center; gap: 6px; background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r3); padding: 8px 14px; font-size: 12.5px; color: var(--text2); }
.cert-badge span { font-size: 16px; }

/* ════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════ */
.contact-hero { padding: 120px 0 52px; text-align: center; position: relative; }
.contact-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 0%,rgba(255,179,0,.07),transparent 70%); pointer-events: none; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.ch-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 22px; display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all .22s; text-decoration: none; color: inherit; }
.ch-card:hover { border-color: var(--border3); transform: translateX(4px); }
.ch-card.highlight { border-color: rgba(0,212,255,.3); background: rgba(0,212,255,.05); }
.ch-icon { width: 44px; height: 44px; border-radius: var(--r2); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.ch-ic1 { background: rgba(0,212,255,.12); } .ch-ic2 { background: rgba(255,179,0,.12); } .ch-ic3 { background: rgba(61,142,255,.12); } .ch-ic4 { background: rgba(0,230,118,.12); }
.ch-name   { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.ch-detail { font-size: 13px; color: var(--text2); }
.ch-arrow  { margin-left: auto; font-size: 18px; color: var(--text3); }
.ch-rec { font-size: 10px; font-weight: 700; background: rgba(0,212,255,.15); color: var(--accent2); border: 1px solid rgba(0,212,255,.25); border-radius: 10px; padding: 1px 7px; letter-spacing: .05em; margin-left: 6px; }

/* Contact form */
.contact-form { background: var(--bg3); border: 1px solid var(--border2); border-radius: var(--r); padding: 28px; }
.form-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.form-sub   { font-size: 13.5px; color: var(--text2); margin-bottom: 24px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { margin-bottom: 12px; }
.form-label { font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 5px; display: block; letter-spacing: .03em; }
.form-input { width: 100%; background: var(--bg4); border: 1px solid var(--border2); border-radius: var(--r3); padding: 11px 14px; font-size: 14px; color: var(--text); outline: none; transition: border .2s; }
.form-input:focus { border-color: var(--accent2); background: rgba(0,212,255,.04); }
.form-input::placeholder { color: var(--text3); }
select.form-input option { background: var(--bg3); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.form-check { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; font-size: 13px; color: var(--text2); }
.form-check input { margin-top: 3px; accent-color: var(--accent2); flex-shrink: 0; }
.btn-submit { width: 100%; padding: 13px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #030610; font-family: var(--font-d); font-size: 20px; letter-spacing: .07em; border: none; border-radius: var(--r2); cursor: pointer; transition: all .22s; }
.btn-submit:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,212,255,.3); }

/* Offices */
.offices-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 0 0 52px; }
.office-card  { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.office-flag  { font-size: 28px; margin-bottom: 10px; }
.office-city  { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.office-addr  { font-size: 13px; color: var(--text2); line-height: 1.55; margin-bottom: 10px; }
.office-email { font-size: 13px; color: var(--accent2); font-family: var(--font-m); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 52px; }
.faq-item { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q    { padding: 16px 20px; font-size: 14.5px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: color .2s; }
.faq-q:hover { color: var(--accent2); }
.faq-q .arrow { font-size: 14px; color: var(--text3); transition: transform .25s; }
.faq-item.open .faq-q .arrow { transform: rotate(90deg); }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text2); line-height: 1.65; border-top: 1px solid var(--border); }
.faq-item.open .faq-a { display: block; }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); margin-top: 64px; position: relative; z-index: 1; }
.footer-main { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding: 48px 0 32px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-desc   { font-size: 13.5px; color: var(--text3); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.soc { width: 36px; height: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r3); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: all .2s; }
.soc:hover { border-color: var(--accent); background: rgba(61,142,255,.1); }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.fl-title { font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--text); letter-spacing: .02em; }
.fl-link  { display: block; font-size: 13px; color: var(--text3); margin-bottom: 9px; cursor: pointer; transition: color .2s; text-decoration: none; }
.fl-link:hover { color: var(--accent2); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.fb-legal { font-size: 12px; color: var(--text3); }
.fb-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fb-badge  { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 4px 10px; font-size: 11px; color: var(--text3); }
.age-badge { width: 30px; height: 30px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0; }

/* ── Widget areas ── */
.sidebar { padding-top: 110px; }
.widget { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; margin-bottom: 16px; }
.widget-title { font-family: var(--font-d); font-size: 20px; letter-spacing: .03em; margin-bottom: 14px; color: var(--accent2); }

/* ── Single post / page ── */
.entry-content-wrap { padding: 120px 0 60px; }
.entry-header { margin-bottom: 32px; }
.entry-title  { font-family: var(--font-d); font-size: 52px; letter-spacing: .02em; line-height: 1.05; margin-bottom: 12px; }
.entry-meta   { font-size: 13px; color: var(--text3); font-family: var(--font-m); }
.entry-content { color: var(--text2); line-height: 1.8; font-size: 15px; }
.entry-content h2,h3,h4 { font-family: var(--font-d); color: var(--text); margin: 28px 0 12px; }
.entry-content h2 { font-size: 36px; } .entry-content h3 { font-size: 28px; }
.entry-content p  { margin-bottom: 16px; }
.entry-content a  { color: var(--accent2); }
.entry-content a:hover { text-decoration: underline; }
.entry-content ul,ol { padding-left: 24px; margin-bottom: 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding: 12px 20px; margin: 20px 0; background: var(--bg3); border-radius: 0 var(--r3) var(--r3) 0; font-style: italic; color: var(--text); }
.entry-content pre  { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r3); padding: 16px; overflow-x: auto; font-family: var(--font-m); font-size: 13px; margin-bottom: 16px; }
.entry-content code { font-family: var(--font-m); background: var(--bg3); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--accent2); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 32px 0; }
.page-numbers { padding: 8px 14px; border-radius: var(--r3); background: var(--bg3); border: 1px solid var(--border); color: var(--text2); font-size: 14px; transition: all .2s; }
.page-numbers.current, .page-numbers:hover { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.3); color: var(--accent2); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media(max-width:1024px){
  .hero-layout      { grid-template-columns: 1fr; }
  .cockpit          { max-width: 500px; margin: 0 auto; }
  .stats-bar        { grid-template-columns: repeat(2,1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: repeat(2,1fr); }
  .values-grid      { grid-template-columns: repeat(2,1fr); }
  .contact-layout   { grid-template-columns: 1fr; }
  .footer-main      { grid-template-columns: 1fr; }
  .footer-links     { grid-template-columns: repeat(2,1fr); }
  .games-grid       { grid-template-columns: repeat(2,1fr); }
  .feat-big .gc-body{ grid-template-columns: 1fr; }
}
@media(max-width:768px){
  .menu-toggle { display: block; }
  .primary-nav { display: none; }
  .primary-nav.open { display: block; position: fixed; top: 66px; left: 0; right: 0; background: rgba(5,8,16,.97); border-bottom: 1px solid var(--border); padding: 16px; }
  .primary-nav.open ul { flex-direction: column; }
}
@media(max-width:640px){
  .hero-h1         { font-size: 52px; }
  .page-title      { font-size: 44px; }
  .games-grid      { grid-template-columns: 1fr; }
  .how-grid        { grid-template-columns: 1fr; }
  .offices-grid    { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .stats-bar       { grid-template-columns: 1fr 1fr; }
  .team-grid       { grid-template-columns: 1fr 1fr; }
  .timeline::before{ left: 7px; }
  .tl-item         { grid-template-columns: 7px 1fr; gap: 0; }
  .tl-left         { display: none; }
  .header-right .btn-outline { display: none; }
}
