:root {
  --bg: #ffffff;
  --bg-header-start: #611051;
  --bg-header-end: #e52817;
  --bg-footer: #ffffff;
  --bg-card: #ffffff;
  --bg-surf: #f8f9fa;
  --bg-surf2: #edf2f7;
  --accent: #ff0000;
  --accent2: #ff5722;
  --accent-gold: #ffcc00;
  --success: #10b981;
  --text: #2d3748;
  --text-light: #ffffff;
  --text2: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(90deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  color: var(--text-light);
  box-shadow: var(--shadow);
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 28px; align-items: center; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 0.85; text-decoration: none; }

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--text-light) !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.45);
  text-decoration: none;
}

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  position: relative;
}
.burger-btn span::before,
.burger-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text-light);
}
.burger-btn span::before { top: -7px; }
.burger-btn span::after { top: 7px; }

.mobile-menu {
  display: none;
  background: linear-gradient(90deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-menu li:last-child { border-bottom: 0; }
.mobile-menu a {
  color: var(--text-light);
  display: block;
  padding: 12px 0;
  font-weight: 500;
  font-size: 16px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #611051 0%, #e52817 100%);
  color: var(--text-light);
  padding: 56px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text-light);
  font-weight: 800;
}
.hero p { font-size: 17px; margin: 0 0 24px; color: rgba(255,255,255,0.92); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .play-btn { padding: 14px 32px; font-size: 16px; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  color: var(--text-light) !important;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 15px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); text-decoration: none; }

.hero-img img {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  width: 100%;
}

/* ===== SECTIONS / CONTENT ===== */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-surf); }

h1, h2, h3 { color: var(--text); line-height: 1.25; }
h1 { font-size: 34px; margin: 0 0 18px; }
h2 { font-size: 28px; margin: 40px 0 16px; font-weight: 700; }
h3 { font-size: 22px; margin: 28px 0 12px; font-weight: 700; }

.content p, .content li { color: var(--text2); font-size: 16px; }
.content p { margin: 0 0 16px; }

.content ul, .content ol { padding-left: 22px; margin: 0 0 22px; }
.content li { margin-bottom: 8px; }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 22px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card h3 { margin-top: 0; font-size: 19px; color: var(--text); }
.card p { color: var(--text2); font-size: 15px; margin: 0; }
.card .accent-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}

/* ===== TABLES ===== */
.table-wrapper { width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 10px; }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  background: var(--bg-card);
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
th {
  background: var(--bg-surf);
  font-weight: 700;
  color: var(--text);
}
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--bg-surf2); }

/* ===== CTA STRIP ===== */
.cta-strip {
  background: linear-gradient(90deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  color: var(--text-light);
  padding: 40px 0;
  text-align: center;
  margin: 40px 0 0;
}
.cta-strip h2 { color: var(--text-light); margin: 0 0 12px; }
.cta-strip p { color: rgba(255,255,255,0.9); margin: 0 0 22px; font-size: 17px; }

/* ===== FAQ ===== */
.faq { margin: 30px 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { background: var(--bg-surf); }
.faq-item .faq-body { padding: 4px 20px 18px; color: var(--text2); }
.faq-item .faq-body p { margin: 0 0 8px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 40px;
  color: var(--text2);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.footer-nav a { color: var(--text2); font-size: 15px; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.footer-legal p { margin: 0 0 8px; }

/* ===== IMAGE BLOCKS ===== */
.img-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 32px 0;
}
.img-block.reverse { grid-template-columns: 1fr 1fr; }
.img-block.reverse .img-block-text { order: 2; }
.img-block img { border-radius: 12px; box-shadow: var(--shadow); }

.page-hero {
  background: linear-gradient(135deg, #611051 0%, #e52817 100%);
  color: var(--text-light);
  padding: 44px 0;
}
.page-hero h1 { color: var(--text-light); margin: 0 0 12px; font-size: 34px; }
.page-hero p { color: rgba(255,255,255,0.9); margin: 0; font-size: 17px; max-width: 780px; }

/* ===== HIGHLIGHT BOX ===== */
.highlight {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 20px 0;
}
.highlight strong { color: var(--text); }

/* ===== 404 ===== */
.err-page {
  padding: 80px 20px;
  text-align: center;
}
.err-page .err-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin: 0;
}
.err-page h1 { font-size: 32px; margin: 12px 0; }
.err-page p { max-width: 520px; margin: 0 auto 24px; color: var(--text2); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .img-block { grid-template-columns: 1fr; }
  .img-block.reverse .img-block-text { order: 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .burger-btn { display: inline-flex; }
  .header-inner { padding: 10px 16px; gap: 10px; }
  .play-btn { padding: 9px 18px; font-size: 14px; }
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .section { padding: 36px 0; }
  .container { padding: 0 16px; }
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .page-hero { padding: 32px 0; }
  .page-hero h1 { font-size: 26px; }
  h1 { font-size: 24px; }
  h2 { font-size: 22px; margin: 30px 0 12px; }
  h3 { font-size: 18px; }
  .err-page .err-code { font-size: 88px; }
  .err-page h1 { font-size: 24px; }
  .cta-strip h2 { font-size: 22px; }
}
