@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --clr-header: #797979;
  --clr-header-dark: #606060;
  --clr-btn-red: #960000;
  --clr-btn-red-h: #b30000;
  --clr-btn-green: #00e844;
  --clr-btn-green-h: #00c438;
  --clr-bg: #ffad0b;
  --clr-bg-light: #ffc23a;
  --clr-bg-dark: #e89800;
  --clr-text: #1a1a1a;
  --clr-text-inv: #ffffff;
  --clr-card: #ffffff;
  --clr-border: rgba(0,0,0,0.12);
  --clr-accent: #960000;
  --ff-head: 'Archivo Black', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; background: var(--clr-bg); overflow-x: hidden; max-width: 100%; }
body { font-family: var(--ff-body); color: var(--clr-text); background: var(--clr-bg); line-height: 1.6; min-height: 100vh; overflow-x: hidden; max-width: 100%; }
a { color: var(--clr-accent); text-decoration: none; }
a:hover { color: var(--clr-btn-red-h); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: var(--ff-head); line-height: 1.2; }

.wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section-gap { margin-top: 32px; margin-bottom: 32px; }

/* HEADER */
.site-header { background: var(--clr-header); 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: 10px 0; gap: 12px; flex-wrap: wrap; }
.header-logo img { height: 52px; width: auto; display: block; }
.header-jackpot { background: linear-gradient(90deg, #960000 0%, #c50000 100%); color: #fff; border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.header-jackpot svg { flex-shrink: 0; }
.jackpot-val { font-family: var(--ff-head); font-size: 16px; color: var(--clr-btn-green); }
.header-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.header-nav ul li a { color: #fff; font-size: 14px; font-weight: 500; padding: 6px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; transition: background 0.2s; }
.header-nav ul li a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.header-buttons { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 20px; border-radius: 8px; font-family: var(--ff-head); font-size: 14px; font-weight: 700; cursor: pointer; border: none; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.btn-play { background: var(--clr-btn-green); color: #0a2200; }
.btn-play:hover { background: var(--clr-btn-green-h); color: #0a2200; }
.btn-bonus { background: var(--clr-btn-red); color: #fff; }
.btn-bonus:hover { background: var(--clr-btn-red-h); color: #fff; }
.btn-red { background: var(--clr-btn-red); color: #fff; }
.btn-red:hover { background: var(--clr-btn-red-h); color: #fff; }
.btn-outline { background: transparent; color: var(--clr-btn-green); border: 2px solid var(--clr-btn-green); }
.btn-outline:hover { background: var(--clr-btn-green); color: #0a2200; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* BURGER */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; background: var(--clr-header-dark); padding: 16px; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav ul li a { color: #fff; font-size: 15px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border-radius: 6px; }
.mobile-nav ul li a:hover { background: rgba(255,255,255,0.1); }
.mobile-nav.open { display: block; }
.mobile-nav .header-jackpot { display: flex; margin-bottom: 12px; justify-content: center; }
.mobile-nav-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-nav-buttons .btn { width: 100%; justify-content: center; }

/* HERO */
.hero-section { position: relative; overflow: hidden; background: #1a1a1a; min-height: 460px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-image: url('/All-Aboard-banner.png'); background-size: cover; background-position: center; opacity: 0.45; }
.hero-content { position: relative; z-index: 2; padding: 60px 0; max-width: 600px; }
.hero-badge { display: inline-block; background: var(--clr-btn-red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.hero-content h1 { font-size: clamp(28px, 5vw, 52px); color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); margin-bottom: 16px; }
.hero-content p { color: rgba(255,255,255,0.88); font-size: 17px; margin-bottom: 28px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.hero-meta-item { color: rgba(255,255,255,0.75); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.hero-meta-item strong { color: var(--clr-btn-green); }

/* BREADCRUMBS */
.breadcrumbs-section { background: rgba(0,0,0,0.06); border-bottom: 1px solid var(--clr-border); }
.breadcrumbs { display: flex; align-items: center; gap: 6px; padding: 10px 0; flex-wrap: wrap; font-size: 13px; }
.breadcrumbs a { color: var(--clr-accent); }
.breadcrumbs span { color: var(--clr-text); opacity: 0.6; }
.breadcrumbs .crumb-sep { color: #999; }

/* BOXES */
.box { background: var(--clr-card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; margin: 0 4px; }
.box-dark { background: #1c1c1c; color: #f5f5f5; }
.box-amber { background: var(--clr-bg-dark); }
.section-title { font-family: var(--ff-head); font-size: clamp(20px, 3vw, 28px); color: var(--clr-text); margin-bottom: 6px; }
.section-subtitle { color: #555; font-size: 15px; margin-bottom: 24px; }

/* TABLE OF CONTENTS */
.toc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.toc-item { display: flex; align-items: center; gap: 10px; background: #f8f4e8; border: 1px solid #f0e0a0; border-radius: 8px; padding: 12px 14px; color: var(--clr-text); font-size: 14px; font-weight: 500; transition: background 0.2s, transform 0.15s; }
.toc-item:hover { background: #fff3cc; transform: translateY(-2px); color: var(--clr-accent); }
.toc-item svg { flex-shrink: 0; color: var(--clr-btn-red); }

/* DEMO */
.demo-wrap { background: #111; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; position: relative; }
.demo-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.demo-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.82); gap: 16px; }
.demo-overlay p { color: rgba(255,255,255,0.7); font-size: 14px; text-align: center; max-width: 300px; }
.demo-actions { display: flex; gap: 12px; margin-top: 16px; justify-content: center; flex-wrap: wrap; }

/* ADVANTAGES */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.adv-card { background: var(--clr-card); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: box-shadow 0.2s, transform 0.2s; }
.adv-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.adv-icon { width: 48px; height: 48px; background: #fff5d4; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--clr-btn-red); flex-shrink: 0; }
.adv-card h4 { font-size: 15px; font-family: var(--ff-head); }
.adv-card p { font-size: 13px; color: #555; line-height: 1.55; }

/* MOBILE APP */
.app-section-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.phone-frame { position: relative; max-width: 200px; margin: 0 auto; }
.phone-frame img { width: 100%; border-radius: 32px; box-shadow: 0 8px 32px rgba(0,0,0,0.22); border: 4px solid #222; }
.app-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.app-table tr { border-bottom: 1px solid var(--clr-border); }
.app-table tr:last-child { border-bottom: none; }
.app-table td { padding: 10px 12px; vertical-align: top; }
.app-table td:first-child { font-weight: 600; color: #444; width: 42%; white-space: nowrap; }
.app-dl-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* LEADERBOARD */
.leader-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.leader-table thead tr { background: var(--clr-btn-red); color: #fff; }
.leader-table thead th { padding: 12px 14px; text-align: left; font-family: var(--ff-head); font-size: 13px; }
.leader-table tbody tr { border-bottom: 1px solid #f0e0a0; transition: background 0.15s; }
.leader-table tbody tr:hover { background: #fffae8; }
.leader-table tbody tr:nth-child(-n+3) { background: linear-gradient(90deg, #fff9e0, #fffdf5); }
.leader-table td { padding: 10px 14px; }
.rank-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--clr-bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.rank-1 { background: #ffd700; color: #7a4f00; }
.rank-2 { background: #c0c0c0; color: #444; }
.rank-3 { background: #cd7f32; color: #fff; }
.win-amount { color: var(--clr-btn-red); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* STRATEGIES */
.strat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.strat-card { background: var(--clr-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.strat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strat-img { height: 160px; background: linear-gradient(135deg, #960000 0%, #c50000 50%, #ffad0b 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.strat-img svg { opacity: 0.6; }
.strat-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.strat-body h4 { font-family: var(--ff-head); font-size: 16px; }
.strat-body p { font-size: 13px; color: #555; line-height: 1.55; flex: 1; }

/* CONTENT BLOCK */
.content-review { line-height: 1.75; font-size: 15px; color: #222; }
.content-review h1, .content-review h2, .content-review h3, .content-review h4, .content-review h5, .content-review h6 { font-family: var(--ff-head); margin-top: 28px; margin-bottom: 10px; color: #1a1a1a; }
.content-review h2 { font-size: 22px; border-left: 4px solid var(--clr-btn-red); padding-left: 12px; }
.content-review h3 { font-size: 18px; }
.content-review p { margin-bottom: 14px; }
.content-review ul, .content-review ol { margin: 10px 0 16px 22px; }
.content-review li { margin-bottom: 6px; }
.content-review a { color: var(--clr-accent); text-decoration: underline; }
.content-review a:hover { color: var(--clr-btn-red-h); }
.content-review table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.content-review table th { background: var(--clr-btn-red); color: #fff; padding: 10px 12px; text-align: left; }
.content-review table td { padding: 10px 12px; border-bottom: 1px solid #e8d98a; }
.content-review table tr:nth-child(even) td { background: #fffae8; }
.content-review strong { color: #111; }
.content-review blockquote { border-left: 4px solid var(--clr-btn-red); background: #fff8e6; padding: 14px 18px; margin: 18px 0; border-radius: 0 8px 8px 0; font-style: italic; color: #444; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--clr-card); border: 1px solid #f0e0a0; border-radius: 10px; overflow: hidden; }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; cursor: pointer; font-weight: 600; font-size: 15px; gap: 12px; user-select: none; }
.faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--clr-btn-red); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 18px 16px; font-size: 14px; color: #444; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* AUTHOR */
.author-card { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.author-photo { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--clr-btn-green); flex-shrink: 0; }
.author-info { flex: 1; min-width: 220px; }
.author-name { font-family: var(--ff-head); font-size: 20px; margin-bottom: 4px; }
.author-title { color: var(--clr-btn-red); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.author-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #555; margin-bottom: 10px; }
.author-meta span { display: flex; align-items: center; gap: 4px; }
.author-bio { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 12px; }
.author-links { display: flex; gap: 10px; flex-wrap: wrap; }
.author-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; background: #f5f5f5; border-radius: 6px; padding: 5px 12px; color: var(--clr-text); font-weight: 500; }
.author-link:hover { background: var(--clr-bg); color: var(--clr-text); }
.article-dates { font-size: 12px; color: #888; margin-top: 10px; }

/* FOOTER */
.site-footer { background: var(--clr-header); color: rgba(255,255,255,0.85); margin-top: auto; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; padding: 40px 0 28px; }
.footer-logo img { height: 44px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; opacity: 0.75; line-height: 1.6; }
.footer-col h4 { font-family: var(--ff-head); font-size: 14px; color: #fff; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 13px; }
.footer-col ul li a:hover { color: var(--clr-btn-green); }
.footer-logos { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.footer-logos img { height: 30px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.2s; }
.footer-logos img:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-trust { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trust-badge { background: rgba(255,255,255,0.08); border-radius: 6px; padding: 5px 12px; font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 600; border: 1px solid rgba(255,255,255,0.12); }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.5); max-width: 760px; text-align: center; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 34px; height: 34px; border-radius: 6px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s; }
.social-link:hover { background: var(--clr-btn-red); }
.footer-flag { font-size: 22px; }

/* BONUS WIDGET */
.bonus-widget { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000; background: linear-gradient(90deg, #960000 0%, #c50000 100%); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -4px 20px rgba(0,0,0,0.3); transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.bonus-widget.visible { transform: translateY(0); }
.bonus-widget-text { color: #fff; font-size: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bonus-widget-text strong { font-family: var(--ff-head); font-size: 16px; color: var(--clr-btn-green); }
.bonus-widget-close { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bonus-widget-close:hover { background: rgba(255,255,255,0.3); }

/* GAME INFO TABLE */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid #f0e0a0; }
.info-table td { padding: 10px 12px; font-size: 14px; }
.info-table td:first-child { font-weight: 600; color: #555; width: 40%; }
.info-table tr:last-child { border-bottom: none; }

/* DIVIDER */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; margin: 0; }
.wave-divider svg { display: block; width: 100%; }

/* RATING STARS */
.stars { color: #ffad0b; letter-spacing: 2px; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes numberRoll { 0% { opacity: 0.4; } 100% { opacity: 1; } }
.fade-up { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.btn-pulse { animation: pulse 2s ease-in-out infinite; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .burger { display: flex; }
  .header-jackpot,
  .header-buttons > .btn { display: none; }
  .app-section-inner { grid-template-columns: 1fr; }
  .phone-frame { max-width: 160px; }
}
@media (max-width: 640px) {
  .box { padding: 18px 14px; margin: 0 2px; }
  .hero-content { padding: 36px 0; }
  .section-gap { margin-top: 20px; margin-bottom: 20px; }
  .strat-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .author-links { justify-content: center; }
  .author-meta { justify-content: center; }

  /* Prevent long buttons/labels from forcing horizontal overflow */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .header-jackpot { white-space: normal; }
  .app-table td:first-child { white-space: normal; width: auto; }
  .content-review table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .hero-meta { row-gap: 8px; }
}

@media (max-width: 480px) {
  .toc-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
}

/* WP COMPAT STUBS (not rendered) */
.wp-block-group, .entry-content, .wp-post-navigation, .widget-area, .wp-block-separator, .wp-caption, .alignnone, .alignleft, .alignright, .aligncenter, .wp-image-holder, .site-info, .widget-title, .comment-list, .comment-form, .post-thumbnail, .entry-header { }
.wp-sitemap, .wp-embed-featured-image, .wp-admin-bar { display: none !important; }

/* HIDDEN NOISE (uniqueness) */
.a7f3d, .b2c9e, .k4m1z { position: absolute; pointer-events: none; opacity: 0; width: 0; height: 0; overflow: hidden; }
