/* ICGBet Online — black & gold design system */
:root {
  --bg: #0d0b09;
  --bg-elev: #14100d;
  --card: #1a1512;
  --card-hover: #211a15;
  --border: #2e2620;
  --border-gold: #4a3a22;
  --gold: #d4af5f;
  --gold-bright: #e8c87e;
  --gold-deep: #a17a2b;
  --text: #f2ede4;
  --text-muted: #a89e8f;
  --green: #25d366;
  --green-deep: #128c4a;
  --tg-blue: #2aabee;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px;
  --space-5: 48px; --space-6: 64px; --space-7: 96px;
  --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.marquee-track), *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--space-3); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 11, 9, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: var(--space-2);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; border-radius: 9px; }
.brand-name {
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 19px;
  letter-spacing: 3px; color: var(--text); white-space: nowrap;
}
.brand-name .gold { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: var(--space-1); }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 15px;
  border-radius: 8px; transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--gold-bright); background: rgba(212, 175, 95, .08); }
.main-nav a.active { color: var(--gold); }
.main-nav a.nav-cta {
  background: var(--green); color: #06230f; font-weight: 600; margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: #3ddf78; color: #06230f; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--space-7) + 8px) var(--space-3) var(--space-7);
  background:
    linear-gradient(180deg, rgba(13, 11, 9, .82) 0%, rgba(13, 11, 9, .62) 45%, var(--bg) 100%),
    url('/assets/hero_gatsby.webp') center 32% / cover no-repeat,
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 22% 24%, rgba(232, 200, 126, .07), transparent 30%),
    radial-gradient(circle at 78% 20%, rgba(232, 200, 126, .06), transparent 28%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 200px 50px rgba(0, 0, 0, .75);
}
.hero > .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero h1 {
  margin-top: var(--space-3);
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: clamp(38px, 6.5vw, 68px); line-height: 1.15; letter-spacing: 2px;
  background: linear-gradient(180deg, #fdf6e3 20%, var(--gold-bright) 65%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(212, 175, 95, .18);
}
.hero .sub {
  margin-top: var(--space-3); font-size: clamp(17px, 2.4vw, 22px);
  color: var(--text-muted); font-weight: 500;
}
.hero .sub strong { color: var(--text); font-weight: 600; }
.game-hero { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.game-hero h1 { font-size: clamp(30px, 5vw, 48px); }
.cta-row {
  margin-top: var(--space-5);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp {
  background: linear-gradient(180deg, #2ee06f, var(--green) 60%, #1cae53);
  color: #06230f; box-shadow: 0 8px 28px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover { box-shadow: 0 12px 34px rgba(37, 211, 102, .4); }
.btn-telegram {
  background: transparent; color: var(--gold-bright);
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 0 24px rgba(212, 175, 95, .06);
}
.btn-telegram:hover {
  background: rgba(212, 175, 95, .1); border-color: var(--gold);
  box-shadow: inset 0 0 24px rgba(212, 175, 95, .1), 0 8px 24px rgba(0, 0, 0, .4);
}

/* ---------- sections ---------- */
.section { padding: var(--space-7) 0; }
.section.tint { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: var(--space-5); }
.section-head h2 {
  font-family: 'Cinzel', serif; font-weight: 600; letter-spacing: 2px;
  font-size: clamp(26px, 4vw, 36px); color: var(--text);
}
.section-head h2 .gold { color: var(--gold); }
.section-head p { margin-top: 10px; color: var(--text-muted); max-width: 560px; margin-left: auto; margin-right: auto; }
.gold-rule {
  width: 72px; height: 2px; margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* game grid */
.game-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.game-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.game-card:hover {
  transform: translateY(-4px); border-color: var(--border-gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 175, 95, .12);
}
.game-card .thumb {
  aspect-ratio: 16 / 9; overflow: hidden; background: #12100c;
  display: flex; align-items: center; justify-content: center;
}
.game-card a.thumb { text-decoration: none; color: inherit; cursor: pointer; }
.game-card.mono a.thumb { color: var(--gold); }
.game-card a.thumb:focus-visible { outline-offset: -3px; }
.game-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.game-card .thumb img.contain { object-fit: contain; padding: 14px; }
.game-card:hover .thumb img { transform: scale(1.04); }
.game-card-body {
  display: flex; flex: 1; flex-direction: column;
  padding: 16px 18px 18px; border-top: 1px solid var(--border);
}
.game-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.game-card .name { font-weight: 600; font-size: 15px; color: var(--text); letter-spacing: .4px; }
.game-card .tag { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.game-copy { margin-top: 8px; color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }
.platform-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.platform-list span {
  display: inline-flex; align-items: center; min-height: 27px; padding: 3px 9px;
  border: 1px solid var(--border-gold); border-radius: 999px;
  background: rgba(212, 175, 95, .06); color: var(--gold-bright);
  font-size: 11px; font-weight: 600; letter-spacing: .45px;
}
.game-actions { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; }
.game-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: 8px 12px; border-radius: 9px;
  text-align: center; text-decoration: none; font-size: 13px; font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.game-action:hover { transform: translateY(-1px); }
.game-action.primary {
  color: #21170a; background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 7px 20px rgba(212, 175, 95, .16);
}
.game-action.primary::after { content: "\2197"; margin-left: 7px; font-size: 14px; }
.game-action.primary.internal::after { content: "\2192"; }
.game-action.primary:hover { box-shadow: 0 9px 24px rgba(212, 175, 95, .25); }
.game-action.support {
  color: var(--text); border: 1px solid var(--border); background: rgba(255, 255, 255, .025);
}
.game-action.support:hover { border-color: var(--gold-deep); background: rgba(212, 175, 95, .07); }
.game-action.whatsapp {
  color: #06230f; background: linear-gradient(180deg, #2ee06f, var(--green) 60%, #1cae53);
  box-shadow: 0 7px 20px rgba(37, 211, 102, .16);
}
.game-action.whatsapp:hover { box-shadow: 0 9px 24px rgba(37, 211, 102, .25); }
.game-card.mono .thumb {
  font-family: 'Cinzel', serif; font-size: 42px; font-weight: 700; color: var(--gold);
  letter-spacing: 4px; text-shadow: 0 0 40px rgba(212, 175, 95, .35);
}
.download-note {
  max-width: 760px; margin: var(--space-4) auto 0; text-align: center;
  color: var(--text-muted); font-size: 13.5px;
}

/* game marquee (home) */
.game-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
.marquee-track .game-tile { margin-right: var(--space-2); }
.game-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.game-tile {
  display: flex; flex-direction: column; text-decoration: none;
  flex: none; width: 230px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.game-tile:hover {
  transform: translateY(-3px); border-color: var(--border-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 175, 95, .12);
}
.tile-img {
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #12100c;
  display: flex; align-items: center; justify-content: center;
}
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tile-img img.contain { object-fit: contain; padding: 10px; }
.game-tile:hover .tile-img img { transform: scale(1.05); }
.tile-name {
  font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 2px; font-size: 13.5px;
  color: var(--text-muted); text-align: center; padding: 11px 6px 13px;
  border-top: 1px solid var(--border);
  transition: color .2s ease;
}
.game-tile:hover .tile-name { color: var(--gold-bright); }
@media (max-width: 600px) { .game-tile { width: 180px; } }

/* feature cards */
.feature-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-4); text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.feature .icon {
  width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212, 175, 95, .1); border: 1px solid var(--border-gold);
}
.feature .icon svg { width: 26px; height: 26px; stroke: var(--gold-bright); }
.feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: .3px; }
.feature p { font-size: 14.5px; color: var(--text-muted); }

/* tool cards (VPN section) */
.tool-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin: 0 auto; }
.tool-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-3);
}
.tool-card img.appicon { width: 64px; height: 64px; border-radius: 14px; flex: none; }
.tool-card h3 { font-size: 16px; font-weight: 600; }
.tool-card p { font-size: 13.5px; color: var(--text-muted); margin: 4px 0 10px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store-badges img { height: 40px; width: auto; }

/* contact cards */
.contact-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.contact-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--space-4); text-align: center;
  transition: border-color .25s ease, transform .25s ease;
}
.contact-card:hover { border-color: var(--border-gold); transform: translateY(-3px); }
.contact-card .label {
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.contact-card .value { font-size: 19px; font-weight: 600; margin-bottom: 18px; letter-spacing: .5px; }
.contact-card .btn { min-height: 46px; padding: 0 22px; font-size: 14.5px; width: 100%; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #0a0806; padding: var(--space-6) 0 var(--space-4); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: flex-start; }
.footer-brand .brand-name { font-size: 17px; }
.footer-brand p { margin-top: 10px; color: var(--text-muted); font-size: 14px; max-width: 320px; }
.footer-col h4 { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: inline-flex; min-height: 34px; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-col ul { list-style: none; }
.footer-bottom {
  margin-top: var(--space-5); padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  color: var(--text-muted); font-size: 13px;
}
.footer-responsible { display: inline-flex; align-items: center; gap: 10px; }
.badge-18 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--text-muted); font-weight: 700; font-size: 12px;
  color: var(--text-muted); flex: none;
}

/* floating whatsapp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(180deg, #2ee06f, var(--green) 60%, #1cae53);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@media (max-width: 720px) {
  .main-nav a:not(.nav-cta) { padding: 0 10px; font-size: 14px; }
  .brand-name { font-size: 15px; letter-spacing: 2px; }
  .hero { padding-top: var(--space-6); padding-bottom: var(--space-6); }
  .section { padding: var(--space-6) 0; }
  .cta-row .btn { width: 100%; }
}
@media (max-width: 620px) {
  .main-nav a.nav-cta { display: none; }
  .site-header .container { padding: 0 14px; }
  .main-nav { gap: 0; }
}
@media (max-width: 360px) {
  .game-grid { grid-template-columns: 1fr; }
}
