/* ═══════════════════════════════════════════════
   GrowSport — Main Stylesheet
   GrowwSport.com · London, GB
═══════════════════════════════════════════════ */

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

:root {
  --bg:        #080b0f;
  --bg2:       #0d1218;
  --bg3:       #111820;
  --green:     #3d7a32;
  --green-l:   #4e9a42;
  --gold:      #c9a84c;
  --gold-l:    #e0c068;
  --text:      #e8ecf0;
  --muted:     #7a8899;
  --border:    rgba(78,154,66,.18);
  --card-bg:   #0e151c;
  --radius:    12px;
  --trans:     .35s cubic-bezier(.4,0,.2,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;   /* block horizontal scroll at root level */
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  max-width: 100%;
}

/* ═══════════ ACCESSIBILITY ═══════════ */

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--green);
  color: #fff;
  padding: .6rem 1.2rem;
  font-size: .9rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* Focus visible outlines */
:focus-visible {
  outline: 2px solid var(--green-l);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════ SCROLLBAR ═══════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ═══════════ HEADER ═══════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  width: 100%;                    /* explicit width — prevents fixed overflow */
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,11,15,.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans), box-shadow var(--trans);
  box-sizing: border-box;
}
header.scrolled {
  background: rgba(8,11,15,.97);
  box-shadow: 0 4px 32px rgba(0,0,0,.6);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-l));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute; inset: 0;
  background: url("favicon.svg") center/60% no-repeat;
}
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: .04em;
}
.logo-text span { color: var(--gold); }

nav { display: flex; align-items: center; gap: 2rem; }
nav a {
  color: var(--muted); text-decoration: none;
  font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  text-transform: uppercase;
  position: relative; padding-bottom: 2px;
  transition: color var(--trans);
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--trans);
}
nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

/* ── BURGER ── */
.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.burger span {
  display: block; width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(8,11,15,.98);
  backdrop-filter: blur(20px);
  padding: 2rem 5%;
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column; gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text); text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.mobile-nav a:hover { color: var(--gold); }

/* ═══════════ HERO ═══════════ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,11,15,.55) 0%, rgba(8,11,15,.78) 60%, rgba(8,11,15,.96) 100%),
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(61,122,50,.18) 0%, transparent 70%),
    url('images/hero.webp') center/cover no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(78,154,66,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(78,154,66,.04) 40px);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(61,122,50,.02) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  animation: scanlines 8s linear infinite;
  opacity: .4;
}
@keyframes scanlines { 0%{background-position:0 0} 100%{background-position:0 400px} }

.hero-inner {
  position: relative; z-index: 2;
  padding: 120px 5% 80px;
  max-width: 1300px; margin: 0 auto; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(61,122,50,.2);
  border: 1px solid rgba(78,154,66,.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: 1.5rem;
  animation: fadeUp .7s ease both;
}
.hero-tag::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green-l);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-l);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp .8s .1s ease both;
}
.hero-title .accent { color: var(--gold); }
.hero-title .green  { color: var(--green-l); }

.hero-sub {
  max-width: 560px;
  font-size: 1.1rem; color: var(--muted);
  margin-bottom: 2.5rem;
  animation: fadeUp .8s .2s ease both;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  animation: fadeUp .8s .3s ease both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--green), var(--green-l));
  color: #fff; text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 24px rgba(61,122,50,.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(61,122,50,.55);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent;
  border: 1.5px solid rgba(201,168,76,.5);
  color: var(--gold); text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--trans);
}
.btn-outline:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 4rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .8s .4s ease both;
}
.stat-item { text-align: left; }
.stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
}
.stat-lbl { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════ SECTIONS ═══════════ */
section { padding: 100px 5%; }
.section-inner { max-width: 1300px; margin: 0 auto; }

.section-label {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: .6rem;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: 1.2rem;
}
.section-title .gold { color: var(--gold); }
.title-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-l.visible { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal-r.visible { opacity: 1; transform: translateX(0); }

/* ═══════════ GAMES SHOWCASE ═══════════ */
#games { background: var(--bg); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  cursor: default;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px var(--green);
  border-color: var(--green);
}
.game-card:hover .game-overlay { opacity: 1; }
.game-card:hover .card-cta { transform: translateY(0); opacity: 1; }

.game-thumb {
  width: 100%; height: 200px;
  position: relative; overflow: hidden;
}
.game-thumb-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  transition: transform .5s ease;
}
.game-card:hover .game-thumb-inner { transform: scale(1.05); }

.wot  .game-thumb-inner { background: linear-gradient(135deg,#1a2810,#2d4a1e,#1a3010); }
.wows .game-thumb-inner { background: linear-gradient(135deg,#0d1e2e,#1a3d5c,#0d2238); }
.enl  .game-thumb-inner { background: linear-gradient(135deg,#1e1810,#3d2e1a,#221a0d); }
.wt   .game-thumb-inner { background: linear-gradient(135deg,#101a12,#1e3820,#121e14); }
.cro  .game-thumb-inner { background: linear-gradient(135deg,#1a1010,#3d1a1a,#220d0d); }

.game-thumb-inner svg { position: relative; z-index: 1; }

.game-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}
.game-card:hover .game-img { transform: scale(1.06); }

.game-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(78,154,66,.4);
  border-radius: 50px;
  font-size: .7rem; font-weight: 700;
  color: var(--green-l); letter-spacing: .08em;
  text-transform: uppercase;
}
.game-badge.free { color: var(--gold); border-color: rgba(201,168,76,.4); }

.game-body { padding: 1.5rem; }
.game-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: .4rem;
}
.game-genre {
  font-size: .75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .8rem;
}
.stars {
  display: flex; align-items: center; gap: 4px;
  margin-bottom: .8rem;
}
.stars .star   { color: var(--gold); font-size: .9rem; }
.stars .rating { font-size: .82rem; color: var(--muted); margin-left: 4px; }

.game-desc {
  font-size: .88rem; color: rgba(232,236,240,.65);
  line-height: 1.65; margin-bottom: 1.2rem;
}
.game-tags {
  display: flex; flex-wrap: wrap; gap: .4rem;
  margin-bottom: 1.2rem;
}
.tag {
  padding: 3px 10px;
  background: rgba(61,122,50,.12);
  border: 1px solid rgba(78,154,66,.2);
  border-radius: 50px;
  font-size: .72rem; color: var(--green-l); font-weight: 500;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%; justify-content: center;
  padding: 11px;
  background: linear-gradient(135deg, var(--green), var(--green-l));
  color: #fff; text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 8px;
  transform: translateY(4px); opacity: .85;
  transition: all var(--trans);
}
.card-cta:hover {
  background: linear-gradient(135deg, var(--green-l), #5dac50);
  box-shadow: 0 4px 20px rgba(61,122,50,.4);
}
.game-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(61,122,50,.05) 0%, rgba(0,0,0,.2) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--trans);
}

/* ═══════════ ABOUT ═══════════ */
#about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about-text p {
  color: rgba(232,236,240,.75);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }

.about-badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.5rem;
}
.badge {
  padding: 6px 14px;
  background: rgba(61,122,50,.15);
  border: 1px solid rgba(78,154,66,.3);
  border-radius: 50px;
  font-size: .78rem; font-weight: 600;
  color: var(--green-l); letter-spacing: .06em;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.about-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: .6rem; color: var(--gold);
}
.about-card p {
  font-size: .92rem; color: var(--muted);
  line-height: 1.7;
}
.about-features {
  display: flex; flex-direction: column; gap: 1rem;
  margin-top: 1.5rem;
}
.feature-row {
  display: flex; align-items: flex-start; gap: 12px;
}
.feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(61,122,50,.2);
  border: 1px solid rgba(78,154,66,.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.feature-info h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text); margin-bottom: 2px;
}
.feature-info p { font-size: .82rem; color: var(--muted); }

/* ═══════════ CONTACT ═══════════ */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--gold); margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 1.2rem;
}
.detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(61,122,50,.15);
  border: 1px solid rgba(78,154,66,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.detail-label {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted);
  margin-bottom: 2px;
}
.detail-val {
  font-size: .95rem; color: var(--text);
  font-weight: 500;
}
.detail-val a { color: var(--text); text-decoration: none; }
.detail-val a:hover { color: var(--gold); }

.map-wrap {
  margin-top: 1.5rem;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  height: 200px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ── Contact Form ── */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: .5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(61,122,50,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group .field-error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,.18) !important;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-l));
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; border-radius: 8px;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans);
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(61,122,50,.4);
}

/* ═══════════ FOOTER ═══════════ */
footer {
  background: #050709;
  border-top: 1px solid var(--border);
  padding: 3rem 5%;
}
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 1.5rem;
}
.footer-brand .logo-text { font-size: 1.2rem; }
.footer-brand p { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-links a {
  color: var(--muted); text-decoration: none;
  font-size: .82rem;
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  width: 100%; text-align: center;
  font-size: .78rem; color: rgba(122,136,153,.5);
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* ═══════════ COOKIE BANNER ═══════════ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 2000;
  background: rgba(13,18,24,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1.2rem 5%;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .5s ease;
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p {
  font-size: .85rem; color: var(--muted);
  flex: 1; min-width: 200px;
}
.cookie-bar a { color: var(--gold); text-decoration: none; }
.cookie-bar a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: .75rem; flex-wrap: wrap; }
.cookie-accept {
  padding: 8px 22px;
  background: var(--green);
  color: #fff; border: none;
  border-radius: 6px; cursor: pointer;
  font-weight: 600; font-size: .85rem;
  transition: background var(--trans);
}
.cookie-accept:hover { background: var(--green-l); }
.cookie-close {
  padding: 8px 22px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted); border-radius: 6px;
  cursor: pointer; font-size: .85rem;
  transition: color var(--trans);
}
.cookie-close:hover { color: var(--text); }

/* ═══════════ SUCCESS MODAL ═══════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  z-index: 3000; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg3);
  border: 1px solid var(--green);
  border-radius: 16px;
  padding: 2.5rem; text-align: center;
  max-width: 440px; width: 90%;
  animation: fadeUp .4s ease;
}
.modal-box .modal-icon { font-size: 3rem; margin-bottom: 1rem; }
.modal-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  margin-bottom: .5rem;
}
.modal-box p { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.modal-close {
  padding: 10px 28px;
  background: var(--green);
  color: #fff; border: none; border-radius: 8px;
  cursor: pointer; font-weight: 700; font-size: .95rem;
  transition: background var(--trans);
}
.modal-close:hover { background: var(--green-l); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 991px) {
  nav { display: none; }
  .burger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-title { font-size: 1.8rem; }
  .section-label { font-size: .68rem; }
}

@media (max-width: 768px) {
  /* ── Hero ── */
  .hero-sub   { display: none; }
  .hero-stats { display: none; }
  #hero       { min-height: 28vh; }
  .hero-inner { padding: 82px 5% 24px; }
  .hero-title {
    font-size: clamp(1.7rem, 6.5vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  /* Buttons — одна строка, компактные */
  .hero-cta {
    flex-wrap: nowrap;
    gap: .6rem;
  }
  .btn-primary, .btn-outline {
    padding: 10px 18px;
    font-size: .82rem;
    letter-spacing: .05em;
    white-space: nowrap;
  }

  /* ── Sections ── */
  section { padding: 55px 5%; }
  .games-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }

  /* ── Cards ── */
  .game-thumb { height: 170px; }
  .game-title { font-size: 1.2rem; }
  .game-desc  { font-size: .84rem; }
  .game-genre { font-size: .7rem; }

  /* ── About ── */
  .about-text p    { font-size: .92rem; }
  .badge           { font-size: .72rem; padding: 4px 10px; }
  .about-card h3   { font-size: 1.15rem; }
  .feature-info h4 { font-size: .92rem; }
  .feature-info p  { font-size: .78rem; }

  /* ── Contact ── */
  .detail-val { font-size: .88rem; }
  .form-group input,
  .form-group textarea { font-size: .88rem; padding: 10px 13px; }
  .form-group label { font-size: .72rem; }
  .form-submit  { font-size: .9rem; padding: 12px; }

  /* ── Footer ── */
  .footer-brand .logo-text { font-size: 1.1rem; }
  .footer-brand p { font-size: .74rem; }
  .footer-links a { font-size: .76rem; }
  .footer-copy    { font-size: .7rem; }
}

@media (max-width: 480px) {
  header { padding: 0 4%; height: 60px; width: 100%; }
  .mobile-nav { padding: 1.5rem 4%; }
  .logo-text { font-size: 1.2rem; }
  section { padding: 46px 4%; }

  #hero       { min-height: 26vh; }
  .hero-inner { padding: 68px 4% 20px; }
  .hero-title { font-size: clamp(1.4rem, 7.5vw, 1.9rem); margin-bottom: .8rem; }
  .hero-tag   { font-size: .64rem; padding: 4px 10px; margin-bottom: 1rem; }
  .hero-cta   { gap: .5rem; }
  .btn-primary, .btn-outline {
    padding: 9px 14px;
    font-size: .76rem;
    letter-spacing: .04em;
  }

  .section-title { font-size: 1.4rem; }
  .title-line    { margin-bottom: 1.2rem; }

  .game-thumb { height: 150px; }
  .game-body  { padding: 1rem; }
  .game-title { font-size: 1.1rem; }
  .stars .star   { font-size: .8rem; }
  .stars .rating { font-size: .76rem; }
  .tag    { font-size: .65rem; padding: 2px 7px; }
  .card-cta { font-size: .84rem; padding: 9px; }

  .contact-form { padding: 1.2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: .65rem; }
}

@media (max-width: 380px) {
  #hero       { min-height: 24vh; }
  .hero-inner { padding: 66px 4% 18px; }
  .hero-title { font-size: clamp(1.25rem, 8vw, 1.6rem); }
  .btn-primary, .btn-outline { padding: 8px 12px; font-size: .72rem; }
  .hero-cta { gap: .4rem; }

  .games-grid { gap: 1rem; }
  .section-title { font-size: 1.25rem; }
  .game-thumb { height: 138px; }
  .game-body  { padding: .9rem; }
}

@media (max-width: 300px) {
  #hero       { min-height: 22vh; }
  .hero-inner { padding: 64px 4% 16px; }
  .hero-title { font-size: 1.15rem; }
  /* Кнопки не переносить, но уменьшить */
  .btn-primary, .btn-outline {
    padding: 7px 10px;
    font-size: .68rem;
    letter-spacing: .02em;
  }
  .section-title { font-size: 1.1rem; }
  .game-thumb { height: 118px; }
}
