@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --bg: #0d0d0d;
  --bg-light: #141414;
  --bg-card: #1a1706;
  --fg: #f5f0dc;
  --fg-muted: #a89c72;
  --gold: #d4a017;
  --gold-light: #f5c518;
  --gold-dark: #8b6500;
  --gold-glow: rgba(212, 160, 23, .28);
  --border: #2a2410;
  --radius: 12px;
  --max-w: 860px;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  font-size: 16px
}

a {
  color: var(--gold-light);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius)
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 20px
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0;
  padding: 0
}

.logo span {
  color: var(--fg)
}

.logo img {
  max-height: 52px;
  width: auto;
  display: block;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 0 8px var(--gold-glow))
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center
}

.nav-links a {
  color: var(--fg-muted);
  font-weight: 600;
  font-size: .9rem;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--gold-light);
  text-decoration: none
}

.header-btns {
  display: flex;
  gap: 10px
}

.btn-outline {
  padding: 8px 18px;
  border: 2px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s
}

.btn-outline:hover {
  background: var(--gold);
  color: #0d0d0d;
  text-decoration: none
}

.btn-primary {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50px;
  color: #0d0d0d;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 0 16px var(--gold-glow)
}

.btn-primary:hover {
  transform: scale(1.05);
  text-decoration: none;
  box-shadow: 0 0 28px var(--gold-glow)
}

/* CTA */
.cta-block {
  text-align: center;
  margin: 36px 0
}

.cta-big {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50px;
  color: #0d0d0d;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 0 32px var(--gold-glow);
  transition: transform .2s, box-shadow .2s;
  letter-spacing: .3px
}

.cta-big:hover {
  transform: scale(1.06);
  text-decoration: none;
  box-shadow: 0 0 48px rgba(212, 160, 23, .5)
}

/* HERO */
.freshness-signal {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(212, 160, 23, .12);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px
}

.hero {
  text-align: center;
  padding: 60px 20px 40px;
  background: linear-gradient(180deg, #0d0d0d 0%, #141008 50%, rgba(212, 160, 23, .05) 100%)
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--fg) 0%, var(--gold-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
  -webkit-text-fill-color: var(--gold-light)
}

.hero p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--fg-muted);
  font-size: 1.05rem
}

/* SECTIONS */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px
}

.section {
  margin-bottom: 48px
}

.section h2 {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 12px;
  font-weight: 700
}

.section h3 {
  font-size: 1.25rem;
  margin: 20px 0 8px;
  font-weight: 600;
  color: var(--gold)
}

.section p,
.section li {
  color: var(--fg-muted);
  margin-bottom: 10px
}

.section ul,
.section ol {
  padding-left: 24px;
  margin-bottom: 16px
}

.section ul li {
  list-style: disc
}

.section ol li {
  list-style: decimal
}

/* IMAGE PLACEHOLDERS */
.img-placeholder {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  color: var(--fg-muted);
  font-size: .85rem;
  text-align: center;
  padding: 0
}

.img-placeholder img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: inherit
}

.img-placeholder-sm {
  aspect-ratio: 4/3;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto
}

/* GAME CARDS */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all .25s
}

.game-card:hover {
  border-color: rgba(212, 160, 23, .5);
  box-shadow: 0 0 24px var(--gold-glow);
  transform: translateY(-4px)
}

.game-card .emoji {
  font-size: 2.5rem;
  margin-bottom: 12px
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--fg)
}

.game-card p {
  font-size: .88rem;
  color: var(--fg-muted)
}

/* INTERNAL LINK BOX */
.link-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0
}

.link-box h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--fg);
  font-weight: 600
}

.link-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.link-box li a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(212, 160, 23, .08);
  border: 1px solid rgba(212, 160, 23, .25);
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
  color: var(--gold-light)
}

.link-box li a:hover {
  background: var(--gold);
  color: #0d0d0d;
  text-decoration: none
}

/* INFO BOX */
.info-box {
  background: rgba(212, 160, 23, .06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0
}

.info-box p {
  margin: 0;
  color: var(--fg-muted);
  font-size: .95rem
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fg);
  list-style: none
}

.faq summary::before {
  content: '▸ ';
  color: var(--gold-light)
}

.faq details[open] summary::before {
  content: '▾ ';
  color: var(--gold-light)
}

.faq details p {
  margin-top: 8px;
  color: var(--fg-muted)
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  background: #080700;
  padding: 48px 20px;
  margin-top: 60px
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 32px
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-links a {
  font-size: .9rem;
  color: var(--fg-muted);
  transition: color .2s
}

.footer-links a:hover {
  color: var(--gold-light);
  text-decoration: none
}

.disclaimer {
  font-size: .75rem;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  line-height: 1.6
}

.disclaimer strong {
  color: var(--fg)
}

/* BANNER CAROUSEL */
.banner-carousel {
  position: relative;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border)
}

.banner-carousel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0
}

/* Floating Telegram */
@keyframes telegram-pop {

  0%,
  100% {
    transform: scale(1)
  }

  10% {
    transform: scale(1.14)
  }

  20% {
    transform: scale(1)
  }

  28% {
    transform: scale(1.1)
  }

  36% {
    transform: scale(1)
  }
}

.telegram-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 200;
  display: block;
  line-height: 0;
  transition: transform .2s;
}

.telegram-float:hover {
  transform: scale(1.06);
  text-decoration: none;
}

.telegram-float:hover img {
  animation-play-state: paused
}

.telegram-float img {
  display: block;
  width: 56px;
  height: auto;
  max-width: none;
  border-radius: 0;
  animation: telegram-pop 2.8s ease-in-out infinite;
  transform-origin: center bottom;
}

@media(prefers-reduced-motion:reduce) {
  .telegram-float img {
    animation: none
  }
}

/* Google Translate overlay */
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
#goog-gt-tt {
  display: none !important
}

body {
  top: 0 !important
}

.lang-widget {
  position: fixed;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* RESPONSIVE */
@media(max-width:768px) {
  .nav-links {
    display: none
  }
}

@media(max-width:600px) {
  .hero h1 {
    font-size: 1.7rem
  }

  .game-grid {
    grid-template-columns: 1fr
  }

  .cta-big {
    padding: 14px 28px;
    font-size: 1rem
  }

  .link-box ul {
    flex-direction: column
  }
}