/* ===== 1win landing — base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #090F1F;
  --card: #141B2F;
  --card-2: #1B2440;
  --green: #2AB463;
  --green-hover: #35cc73;
  --blue: #4690E0;
  --blue-dark: #003266;
  --gold: #FFC838;
  --text: #FFFFFF;
  --muted: #9AA6C3;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, Roboto, Tahoma, Arial, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

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

/* ===== Header ===== */
#site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px;
}
#site-header .home-link img { width: 120px; display: block; }

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(42,180,99,.35); }
.btn-green:hover { background: var(--green-hover); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(70,144,224,.35); }
.btn-gold { background: linear-gradient(135deg, #FFC838, #FF9F2E); color: #1b1400; box-shadow: 0 6px 18px rgba(255,200,56,.35); }

/* ===== FIFA promo block ===== */
#fifa-season {
  max-width: 1180px;
  margin: 8px auto 28px;
  padding: 0 16px;
}
.fifa-card {
  background: radial-gradient(120% 140% at 85% 0%, #123A26 0%, #0C1B33 45%, #0A1226 100%);
  border: 1px solid rgba(42,180,99,.35);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.fifa-card::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-head { padding: 30px 30px 6px; position: relative; }
.fifa-tag {
  display: inline-block;
  background: rgba(42,180,99,.16);
  border: 1px solid rgba(42,180,99,.5);
  color: #6FE3A1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.fifa-head h2 {
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
}
.fifa-head h2 span { color: var(--gold); }
.fifa-sub { color: var(--muted); margin-top: 10px; max-width: 720px; font-size: 16px; }

.fifa-video-wrap { padding: 22px 30px 8px; position: relative; }
.fifa-video-wrap video {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
  background: #000;
}

.fifa-body { padding: 20px 30px 30px; position: relative; }

.fifa-prizes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.prize-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.prize-card .place { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.prize-card .amount { font-size: clamp(20px, 3vw, 30px); font-weight: 800; color: var(--gold); margin-top: 4px; }
.prize-card.first { border-color: rgba(255,200,56,.55); background: rgba(255,200,56,.07); }

.fifa-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.fact-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
}
.fact-card .ico { font-size: 22px; line-height: 1; }
.fact-card b { color: var(--gold); }

.fifa-banner-link { display: block; margin: 6px 0 18px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); transition: transform .15s ease; }
.fifa-banner-link:hover { transform: translateY(-2px); }
.fifa-banner-link img { display: block; width: 100%; }

.fifa-odds { margin: 22px 0 6px; }
.fifa-odds h3 { font-size: 20px; margin-bottom: 12px; }
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.screens-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: #fff;
}

.fifa-matches { margin: 22px 0 10px; }
.fifa-matches h3 { font-size: 20px; margin-bottom: 12px; }
.match-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.match-row .date {
  background: rgba(70,144,224,.18);
  border: 1px solid rgba(70,144,224,.5);
  color: #8FC1F5;
  font-size: 13px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
  white-space: nowrap;
}
.match-row .teams { font-weight: 800; font-size: 17px; }
.match-row .time { color: var(--muted); font-size: 14px; margin-left: auto; white-space: nowrap; }

.fifa-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ===== Blue promo banner ===== */
.blue-banner {
  background: linear-gradient(120deg, #003266, #0A4E8F);
  max-width: 1180px;
  margin: 0 auto 26px;
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.blue-banner .banner-title { font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; }
.blue-banner .promocode { color: #CFE4FB; font-size: 15px; }
.blue-banner .promocode b { color: var(--gold); }
.blue-banner .btn { margin-left: auto; }

/* ===== Games ===== */
.games-grid {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.game-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.game-card:hover { transform: translateY(-3px); border-color: rgba(42,180,99,.5); }
.game-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.game-card .game-info { padding: 14px; text-align: center; }
.game-card .game-info span { display: block; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.game-card .game-info a {
  display: block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  border-radius: 9px;
  transition: background .15s ease;
}
.game-card .game-info a:hover { background: var(--green-hover); }

/* ===== Article ===== */
.wrapper-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 20px;
}
.wrapper-post h1 { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.2; margin: 10px 0 18px; }
.wrapper-post h2 { font-size: clamp(20px, 2.8vw, 27px); margin: 34px 0 14px; }
.wrapper-post h3 { font-size: 19px; margin: 24px 0 10px; }
.wrapper-post p { margin: 0 0 14px; color: #DCE3F2; font-size: 16px; }
.wrapper-post p strong { color: #fff; }
.wrapper-post figure { margin: 20px auto; text-align: center; }
.wrapper-post figure img { border-radius: 12px; }
.wrapper-post ul { margin: 0 0 14px 22px; color: #DCE3F2; }
.wrapper-post li { margin-bottom: 6px; }

/* ===== Bonuses ===== */
#bonuses .bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 8px;
}
.bonus-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.bonus-card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
}
.bonus-card .bonus-value {
  font-size: 28px; font-weight: 800; color: var(--gold); margin-bottom: 6px;
}
.bonus-card .bonus-name { font-weight: 700; font-size: 17px; margin-bottom: 8px; }
.bonus-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ===== Crypto table ===== */
.crypto-table-wrap { overflow-x: auto; margin: 18px 0; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
table.crypto-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 15px; }
.crypto-table th, .crypto-table td { padding: 12px 16px; text-align: left; }
.crypto-table th {
  background: var(--card-2);
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.crypto-table tr:not(:last-child) td { border-bottom: 1px solid rgba(255,255,255,.06); }
.crypto-table td.coin { font-weight: 700; }
.crypto-table td.min { color: #8FE3B4; font-variant-numeric: tabular-nums; }
.crypto-table .ticker { color: var(--muted); font-weight: 400; font-size: 13px; }

/* ===== FAQ ===== */
.faq { max-width: 900px; margin: 10px auto 40px; padding: 0 16px; }
.faq h2 { font-size: clamp(20px, 2.8vw, 27px); margin-bottom: 16px; }
.faq__block {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq__block input { display: none; }
.faq__question {
  display: block;
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  font-size: 15.5px;
}
.faq__question::after {
  content: "+";
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 22px; font-weight: 400;
  transition: transform .2s ease;
}
.faq__block input:checked ~ .faq__question::after { transform: translateY(-50%) rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq__block input:checked ~ .faq__answer { max-height: 300px; }
.faq__answer p { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }

/* ===== Footer ===== */
#site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 30px 16px 40px;
  margin-top: 20px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-left img { width: 96px; }
.footer-buttons { display: flex; gap: 10px; }
.footer-right { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.age-badge {
  border: 2px solid #CCC;
  color: #CCC;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.footer-support { color: var(--muted); font-size: 14px; }
.footer-support a { color: #8FC1F5; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(9,15,31,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 10px 14px;
  gap: 10px;
  z-index: 60;
}
.sticky-cta .btn { flex: 1; padding: 13px 10px; font-size: 15px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .fifa-facts { grid-template-columns: 1fr; }
  #bonuses .bonus-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #site-header .home-link img { width: 92px; }
  .header-buttons .btn { padding: 10px 16px; font-size: 13.5px; }
  .fifa-head, .fifa-body { padding-left: 18px; padding-right: 18px; }
  .fifa-video-wrap { padding: 16px 18px 4px; }
  .fifa-prizes { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .match-row .time { margin-left: 0; width: 100%; }
  .blue-banner { flex-direction: column; align-items: flex-start; }
  .blue-banner .btn { margin-left: 0; width: 100%; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 440px) {
  .games-grid { grid-template-columns: 1fr; }
  .game-card img { height: 190px; }
}
