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

:root {
  --brand-primary: #e63946;
  --brand-secondary: #1d3557;
  --brand-accent: #f4a261;
  --brand-light: #f1faee;
  --brand-dark: #0d1b2a;
  --brand-gold: #ffd700;
  --text-main: #1a1a2e;
  --text-muted: #555f6e;
  --text-light: #ffffff;
  --bg-page: #f8f9fa;
  --bg-card: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
  --max-w: 1200px;
  --font-main: 'Segoe UI', 'Arial', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-page);
  min-height: 100vh;
}

a { color: var(--brand-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-secondary); text-decoration: underline; }

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

h1, h2, h3, h4 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-secondary);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.25rem, 3vw, 2rem); margin: 2.5rem 0 1rem; color: var(--brand-secondary); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.4rem); margin: 1.5rem 0 0.75rem; color: var(--brand-primary); }

p { margin-bottom: 1.1rem; }
ul, ol { margin: 0 0 1.2rem 1.5rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--brand-secondary); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--brand-secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 8px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--brand-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(230,57,70,0.5);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo-text span { color: var(--brand-accent); }

/* NAV */
.main-nav { display: flex; align-items: center; }

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--brand-primary);
  color: #fff;
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

/* ========== BONUS BANNER ========== */
.bonus-banner {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #b5152a 50%, var(--brand-secondary) 100%);
  padding: 28px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.bonus-banner-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.bonus-badge {
  display: inline-block;
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.bonus-banner h2,
.bonus-banner .banner-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: #fff;
  margin: 0 0 8px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.bonus-banner p,
.banner-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin: 0 0 18px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-dark);
}

.btn-primary:hover { background: #ffc800; color: var(--brand-dark); }

.btn-secondary {
  background: var(--brand-primary);
  color: #fff;
}

.btn-secondary:hover { background: #c0121f; color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ========== MAIN CONTENT ========== */
.main-content { padding: 40px 0 60px; }

.content-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.article-body { max-width: 860px; margin: 0 auto; width: 100%; }

/* ========== RATING BLOCK ========== */
.rating-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rating-score {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand-primary);
  line-height: 1;
  flex-shrink: 0;
}

.rating-stars { color: var(--brand-gold); font-size: 1.4rem; letter-spacing: 2px; }
.rating-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ========== INFO TABLE / TABLE ========== */
.table-scroll { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }

table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 0.95rem;
}

thead th {
  background: var(--brand-secondary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #f1f5fb; }
tbody tr:hover { background: #e8f0fe; transition: background 0.15s; }

/* ========== CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 32px 0;
}

@media (min-width: 600px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  border-top: 4px solid var(--brand-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.card h3 { margin-top: 0; margin-bottom: 8px; font-size: 1.1rem; }

/* ========== FAQ ACCORDION (CSS-only) ========== */
.faq-section { margin: 40px 0; }

.faq-list { list-style: none; padding: 0; margin: 0; }

.faq-item { margin-bottom: 10px; }

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid #dde3ee;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-secondary);
  transition: background var(--transition), border-color var(--transition);
  user-select: none;
}

.faq-question:hover { background: #eef2fb; border-color: var(--brand-primary); }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition);
}

.faq-item input:checked ~ .faq-question { background: #eef2fb; border-color: var(--brand-primary); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-item input:checked ~ .faq-question::after { content: '−'; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid #dde3ee;
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 600px;
  padding: 16px 20px;
}

.faq-answer p { margin-bottom: 0.5rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ========== PROS CONS ========== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 28px 0;
}

@media (min-width: 600px) {
  .pros-cons { grid-template-columns: 1fr 1fr; }
}

.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.pros { border-top: 4px solid #2ecc71; }
.cons { border-top: 4px solid var(--brand-primary); }

.pros h3 { color: #1a7a4a; font-size: 1.1rem; margin-bottom: 12px; margin-top: 0; }
.cons h3 { color: var(--brand-primary); font-size: 1.1rem; margin-bottom: 12px; margin-top: 0; }

.pros ul, .cons ul { margin-left: 0; list-style: none; }
.pros ul li::before { content: '✓ '; color: #2ecc71; font-weight: 700; }
.cons ul li::before { content: '✗ '; color: var(--brand-primary); font-weight: 700; }

/* ========== CHECKLIST ========== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.97rem;
  margin-bottom: 0;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
  content: '✔';
  color: #2ecc71;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent), transparent);
  border: none;
  margin: 40px 0;
  border-radius: 2px;
}

/* ========== HIGHLIGHT BOX ========== */
.highlight-box {
  background: linear-gradient(135deg, #fff7e6, #fff);
  border-left: 5px solid var(--brand-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 1.02rem;
}

.highlight-box.info { background: linear-gradient(135deg, #e8f0fe, #fff); border-left-color: var(--brand-secondary); }
.highlight-box.danger { background: linear-gradient(135deg, #fdeaea, #fff); border-left-color: var(--brand-primary); }

/* ========== STEPS ========== */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin: 0 0 1.5rem;
}

.steps-list li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
}

.steps-list li:last-child { border-bottom: none; }

.steps-list li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ========== BANNER SECOND ========== */
.bonus-banner-2 {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, #2a4a7f 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}

.bonus-banner-2::after {
  content: '🎰';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 4rem;
  opacity: 0.12;
  pointer-events: none;
}

.bonus-banner-2 h2, .bonus-banner-2 .banner-title {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.bonus-banner-2 p { color: rgba(255,255,255,0.85); margin: 0 0 20px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .logo-text { color: #fff; }
.footer-about { font-size: 0.9rem; margin-top: 12px; line-height: 1.7; }

.footer-nav h4, .footer-info h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.footer-nav ul, .footer-info ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li, .footer-info li { margin-bottom: 8px; }

.footer-nav a, .footer-info a {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover, .footer-info a:hover { color: var(--brand-accent); text-decoration: none; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  font-weight: 800;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}

/* ========== RESPONSIVE NAV ========== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--brand-secondary);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .main-nav.open {
    max-height: 400px;
    padding: 12px 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 2px;
    padding: 4px 12px 12px;
  }

  .nav-list a { padding: 11px 16px; font-size: 1rem; border-radius: 8px; }
}

.site-header { position: relative; }

@media (min-width: 901px) {
  .main-nav { position: static; max-height: none; overflow: visible; }
}

/* ========== MISC ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag {
  display: inline-block;
  background: #e8f0fe;
  color: var(--brand-secondary);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.93rem;
  margin: 20px 0;
}

.page-hero {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, #162d4a 100%);
  padding: 48px 16px 40px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  max-width: 660px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .main-content { padding: 56px 0 80px; }
}