/* ============ 1win apk — landing styles ============ */
:root {
  --bg: #090F1F;
  --bg-card: #141B2F;
  --bg-card-2: #1E263E;
  --green: #2AB463;
  --green-dark: #1F9752;
  --blue: #4690E0;
  --gold: #F5C518;
  --text: #FFFFFF;
  --text-muted: #9AA4BF;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { opacity: .9; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
#site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
#site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
.home-link img { width: 130px; height: auto; }

.header-buttons { display: flex; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  color: #fff !important; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 1; }
.btn-green { background: var(--green); box-shadow: 0 4px 14px rgba(42,180,99,.35); }
.btn-green:hover { background: var(--green-dark); }
.btn-dark { background: var(--bg-card-2); border: 1px solid #2A3350; }
.btn-gold { background: linear-gradient(135deg,#F5C518,#E8940A); color:#1a1400 !important; box-shadow: 0 4px 14px rgba(245,197,24,.3); }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }

/* ---------- FIFA World Cup block ---------- */
#fifa-season {
  margin: 10px 0 26px;
  border-radius: var(--radius);
  background: radial-gradient(120% 160% at 10% 0%, #10305c 0%, #0b1a38 45%, #090F1F 100%);
  border: 1px solid #1e3a66;
  overflow: hidden;
  position: relative;
}
#fifa-season::before {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='24' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='2'/%3E%3C/svg%3E");
  pointer-events: none;
}
.fifa-inner { position: relative; padding: 28px 28px 24px; }
.fifa-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,.12); color: var(--gold);
  border: 1px solid rgba(245,197,24,.4);
  padding: 5px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; letter-spacing: .4px;
  text-transform: uppercase;
}
#fifa-season h2 {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2; margin: 14px 0 10px;
}
#fifa-season h2 .accent { color: var(--gold); }
.fifa-lead { color: var(--text-muted); max-width: 720px; margin-bottom: 18px; }

.fifa-prizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.prize-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 16px 18px;
}
.prize-card .prize-amount { font-size: 24px; font-weight: 800; color: var(--gold); }
.prize-card .prize-label { color: var(--text-muted); font-size: 14px; margin-top: 2px; }

.fifa-schedule { margin: 20px 0 6px; }
.fifa-schedule h3 { font-size: 18px; margin-bottom: 12px; }
.match-list { display: grid; gap: 10px; }
.match-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 12px 16px;
}
.match-date {
  background: var(--bg-card-2); border-radius: 6px;
  padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--gold);
  white-space: nowrap;
}
.match-time { font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.match-teams { font-weight: 800; font-size: 17px; }
.match-row .btn { margin-left: auto; height: 36px; padding: 0 16px; font-size: 14px; }

/* video */
.fifa-video { margin-top: 20px; }
.fifa-video video {
  width: 100%; max-height: 480px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: #000;
  display: block;
}
.fifa-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Promo banner ---------- */
#promo-banner {
  background: linear-gradient(120deg, #003266 0%, #054a8f 100%);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border: 1px solid #0d5aa8;
}
#promo-banner .promo-text { font-size: 17px; font-weight: 700; }
#promo-banner .promocode-line { display: block; font-size: 14px; font-weight: 400; color: #BBD4F0; margin-top: 4px; }
#promo-banner .promocode-line b { color: var(--gold); font-size: 15px; letter-spacing: .5px; }

/* ---------- Games ---------- */
#top-games {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #202A45;
  transition: transform .2s ease, border-color .2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--green); }
.game-card img { width: 100%; height: 150px; object-fit: cover; }
.game-card .game-info { padding: 12px 14px 16px; text-align: center; }
.game-card .game-title { display: block; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.game-card .btn { width: 100%; height: 38px; font-size: 14px; }

/* ---------- Article ---------- */
#main-article {
  background: transparent;
  padding-bottom: 20px;
}
#main-article h1 {
  font-size: clamp(24px, 4vw, 34px);
  margin: 6px 0 20px;
  line-height: 1.25;
}
#main-article h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin: 34px 0 14px;
}
#main-article h3 { font-size: 19px; margin: 24px 0 10px; }
#main-article p { margin: 12px 0; color: #D4DAEA; }
#main-article ol, #main-article ul { margin: 12px 0 12px 22px; color: #D4DAEA; }
#main-article li { margin: 8px 0; }

.info-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 10px; overflow: hidden;
  margin: 16px 0;
  font-size: 15px;
}
.info-table td, .info-table th {
  padding: 12px 16px;
  border-bottom: 1px solid #202A45;
  text-align: left;
}
.info-table tr:last-child td { border-bottom: none; }
.info-table th { background: var(--bg-card-2); font-weight: 700; }
.info-table td:first-child { color: var(--text-muted); }

blockquote {
  background: var(--bg-card);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 18px 0;
}
blockquote p { margin: 0 !important; }

.article-img { margin: 18px auto; border-radius: 10px; overflow: hidden; max-width: 480px; }
.article-img img { margin: 0 auto; }
.article-img figcaption { text-align: center; font-size: 13px; color: var(--text-muted); padding: 8px 0 0; }

/* ---------- Promo banners / images ---------- */
.banner-link {
  display: block;
  margin: 18px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #202A45;
  transition: transform .2s ease, border-color .2s ease;
}
.banner-link:hover { transform: translateY(-3px); border-color: var(--green); opacity: 1; }
.banner-link img { width: 100%; display: block; }

.promo-images {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin: 18px 0;
  align-items: stretch;
}
.promo-images .banner-link { margin: 0; }
.promo-images .banner-link img { height: 100%; object-fit: cover; }

#fifa-season .banner-link { margin-top: 20px; }

/* ---------- Bonuses ---------- */
#bonuses .bonus-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid #202A45;
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: border-color .2s ease;
}
.bonus-card:hover { border-color: var(--green); }
.bonus-card .bonus-icon { font-size: 26px; margin-bottom: 8px; }
.bonus-card .bonus-value { font-size: 22px; font-weight: 800; color: var(--green); }
.bonus-card.crypto .bonus-value { color: var(--gold); }
.bonus-card h3 { margin: 4px 0 8px !important; font-size: 17px !important; }
.bonus-card p { margin: 0 !important; font-size: 14px; color: var(--text-muted) !important; }

/* ---------- Crypto table ---------- */
.crypto-table td:first-child { color: var(--text); font-weight: 600; }
.crypto-table .ticker { color: var(--text-muted); font-weight: 400; font-size: 13px; }

/* ---------- FAQ ---------- */
#faq-section { margin-top: 30px; }
.faq__block {
  background: var(--bg-card);
  border: 1px solid #202A45;
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.fag-checkbox { display: none; }
.faq__question {
  display: block;
  padding: 16px 46px 16px 18px;
  font-weight: 700; cursor: pointer;
  position: relative;
  user-select: none;
}
.faq__question::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--green);
  transition: transform .2s ease;
}
.fag-checkbox:checked + .faq__question::after { content: "–"; }
.faq__answer { display: none; padding: 0 18px 16px; color: #D4DAEA; }
.fag-checkbox:checked ~ .faq__answer { display: block; }

/* ---------- Footer ---------- */
#site-footer {
  margin-top: 40px;
  background: var(--bg-card);
  border-top: 1px solid #202A45;
  padding: 30px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-col { max-width: 480px; }
.footer-col p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.footer-buttons { display: flex; gap: 10px; margin-top: 8px; }
.footer-logo img { width: 110px; }
.footer-18plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid #666; color: #999; font-weight: 800; font-size: 14px;
  margin-bottom: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  #top-games { grid-template-columns: repeat(2, 1fr); }
  .fifa-prizes { grid-template-columns: 1fr; }
  #bonuses .bonus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .promo-images { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #top-games { grid-template-columns: 1fr; }
  .header-buttons .btn { padding: 0 14px; font-size: 14px; }
  .home-link img { width: 100px; }
  .fifa-inner { padding: 20px 16px; }
  .match-row .btn { margin-left: 0; width: 100%; }
  #promo-banner { flex-direction: column; align-items: flex-start; }
}
