/* 918kissofficial-style template — responsive, Bootstrap-like utility classes
   Adapted structure inspired by twcbetnet.org (single-column hero, promo strip,
   card grid, sticky CTA). No external framework loaded — self-contained. */

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

:root {
  --brand: #0a0e1a;
  --brand-2: #131a2e;
  --accent: #ffb800;
  --accent-2: #ff6a00;
  --text: #e8ecf4;
  --muted: #9aa6c2;
  --card: #1a2236;
  --card-2: #232c44;
  --line: #2a3550;
  --ok: #28d17c;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.45);
  --container: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--brand);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.2rem; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.col-12 { flex: 0 0 100%; }
.col-6 { flex: 0 0 calc(50% - 10px); }
.col-4 { flex: 0 0 calc(33.333% - 14px); }
.col-3 { flex: 0 0 calc(25% - 15px); }
.col-lg-6 { flex: 0 0 calc(50% - 10px); }
.col-lg-4 { flex: 0 0 calc(33.333% - 14px); }
.col-lg-3 { flex: 0 0 calc(25% - 15px); }
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 16px; } .mt-4 { margin-top: 24px; } .mt-5 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 16px; } .mb-4 { margin-bottom: 24px; } .mb-5 { margin-bottom: 32px; }
.g-4 { gap: 24px; }

/* ===== NAV ===== */
.topbar { background: var(--brand-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; }
.nav-links a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { background: var(--card-2); color: var(--accent); }
.nav-actions { display: flex; gap: 8px; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; transition: all .15s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0e00; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: #1a0e00; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.lang-switch { color: var(--muted); font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0e1a 0%, #131a2e 60%, #1a2236 100%);
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,184,0,.08) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(255,106,0,.06) 0, transparent 40%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,184,0,.1); border: 1px solid rgba(255,184,0,.3);
  color: var(--accent); padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; line-height: 1.15; margin-bottom: 18px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--accent); }
.hero-stat-label { font-size: 13px; color: var(--muted); }
.hero-img-wrap { position: relative; }
.hero-img-wrap img { border-radius: 18px; box-shadow: var(--shadow); }
.hero-float {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow); font-size: 13px;
}
.hero-float-1 { top: 20px; left: -20px; }
.hero-float-2 { bottom: 30px; right: -10px; }
.hero-float strong { color: var(--accent); }

/* ===== PROMO STRIP ===== */
.promo-strip { background: var(--brand-2); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promo-strip-inner { display: flex; gap: 30px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.promo-strip-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.promo-strip-item .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--card); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; }

/* ===== SECTION ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--brand-2); }
.section-label { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.3px; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 680px; margin: 0 auto 36px; }

/* ===== CARDS ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0e00; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* Game card with image */
.game-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s; }
.game-card:hover { transform: translateY(-4px); }
.game-card-img { aspect-ratio: 4/3; background: var(--card-2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; position: relative; overflow: hidden; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; }
.game-card-body { padding: 16px; }
.game-card-body h3 { font-size: 16px; margin-bottom: 4px; }
.game-card-body p { font-size: 13px; color: var(--muted); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step-num { position: absolute; top: -14px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0e00; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 18px; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ===== CTA BLOCK ===== */
.cta-block { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 20px; padding: 50px 40px; text-align: center; color: #1a0e00; }
.cta-block h2 { font-size: 30px; margin-bottom: 12px; color: #1a0e00; }
.cta-block p { color: rgba(26,14,0,.8); margin-bottom: 24px; }
.cta-block .btn { background: var(--brand); color: var(--accent); }
.cta-block .btn:hover { background: var(--brand-2); color: #fff; }

/* ===== FOOTER ===== */
.footer { background: var(--brand-2); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; color: var(--text); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--muted); font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer p { color: var(--muted); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
.footer-license { display: flex; gap: 16px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.footer-license span { background: var(--card); padding: 6px 12px; border-radius: 8px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); }

/* ===== STICKY CTA ===== */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: rgba(10,14,26,.95); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 12px 0; display: none; }
.sticky-cta-inner { display: flex; gap: 10px; justify-content: center; align-items: center; }
.sticky-cta .btn { padding: 12px 22px; }
@media (max-width: 768px) { .sticky-cta { display: block; } }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
th { background: var(--card-2); color: var(--accent); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
tr:last-child td { border-bottom: none; }

/* ===== FAQ ===== */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
.faq-q::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 300; transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s; padding: 0 22px; color: var(--muted); font-size: 14px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 22px 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--brand-2); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-toggle { display: block; }
  .nav-actions { display: none; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; }
  .hero-float { display: none; }
  .col-6, .col-4, .col-3, .col-lg-6, .col-lg-4, .col-lg-3 { flex: 0 0 100%; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .promo-strip-inner { gap: 16px; justify-content: center; }
  .cta-block { padding: 36px 22px; }
  .cta-block h2 { font-size: 24px; }
}
