
:root{--blue:#1d4ed8;--blue-dark:#1e3a8a;--blue-light:#eff6ff;--text:#1e293b;--muted:#64748b;--bg:#f8fafc;--card:#fff;--border:#e2e8f0;--red:#b91c1c;--redbg:#fef2f2;--green:#15803d;--greenbg:#f0fdf4;--orange:#c2410c;--orangebg:#fff7ed;--max:1000px}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;font-size:16px}
a{color:var(--blue)}a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

/* LAYOUT */
.header-inner,.footer-inner,main,.breadcrumb,.section-wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
header{background:#fff;border-bottom:2px solid var(--border);position:sticky;top:0;z-index:100}
.header-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.logo img{display:block}
nav{display:flex;gap:18px;flex-wrap:wrap}
nav a{color:var(--text);font-weight:500;font-size:.94rem;text-decoration:none}
nav a:hover{color:var(--blue)}
main{padding-top:28px;padding-bottom:60px}

/* HERO */
.hero{background:linear-gradient(135deg,#1e3a8a 0%,#1d4ed8 60%,#2563eb 100%);color:#fff;border-radius:20px;padding:56px 48px;margin-bottom:40px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-80px;top:-80px;width:360px;height:360px;background:rgba(255,255,255,.05);border-radius:50%}
.hero::after{content:"";position:absolute;right:60px;bottom:-60px;width:200px;height:200px;background:rgba(255,255,255,.04);border-radius:50%}
.hero h1{font-size:2.4rem;line-height:1.15;margin-bottom:16px;color:#fff;font-weight:900;max-width:620px;position:relative;z-index:1}
.hero-sub{font-size:1.1rem;opacity:.9;max-width:560px;margin-bottom:28px;position:relative;z-index:1}
.hero-tags{display:flex;flex-wrap:wrap;gap:10px;position:relative;z-index:1}
.tag{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);color:#fff;padding:8px 16px;border-radius:24px;font-size:.88rem;font-weight:600;text-decoration:none;transition:background .2s}
.tag:hover{background:rgba(255,255,255,.28);text-decoration:none;color:#fff}
.tag.featured{background:#fff;color:var(--blue);border-color:#fff}
.tag.featured:hover{background:#eff6ff}

/* TRUST BAR */
.trust-bar{display:flex;flex-wrap:wrap;gap:0;background:#fff;border:1px solid var(--border);border-radius:14px;margin-bottom:40px;overflow:hidden}
.trust-item{flex:1;min-width:160px;padding:22px 20px;text-align:center;border-right:1px solid var(--border)}
.trust-item:last-child{border-right:none}
.trust-num{font-size:1.9rem;font-weight:900;color:var(--blue);line-height:1}
.trust-label{font-size:.8rem;color:var(--muted);margin-top:4px;line-height:1.3}

/* SECTION */
.section-title{font-size:1.5rem;font-weight:800;margin:0 0 6px}
.section-sub{color:var(--muted);font-size:.95rem;margin-bottom:22px}
.section-wrap{margin-bottom:44px}

/* CARDS GRID */
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:20px}
.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:26px;transition:box-shadow .2s,border-color .2s}
.card:hover{box-shadow:0 6px 24px rgba(0,0,0,.08);border-color:var(--blue)}
.card-icon{font-size:2rem;margin-bottom:12px}
.card h3{font-size:1.05rem;font-weight:700;margin-bottom:8px}
.card p{font-size:.91rem;color:var(--muted);margin-bottom:16px;line-height:1.55}
.btn-primary{display:inline-block;background:var(--blue);color:#fff;padding:10px 20px;border-radius:10px;font-weight:700;font-size:.9rem;text-decoration:none;transition:background .15s}
.btn-primary:hover{background:var(--blue-dark);text-decoration:none;color:#fff}
.btn-outline{display:inline-block;border:2px solid var(--blue);color:var(--blue);padding:9px 20px;border-radius:10px;font-weight:700;font-size:.9rem;text-decoration:none;transition:all .15s}
.btn-outline:hover{background:var(--blue);color:#fff;text-decoration:none}
.cta-link{font-size:.9rem;font-weight:700;color:var(--blue);text-decoration:none}
.cta-link:hover{text-decoration:underline}

/* PROBLEMS TABLE */
.prob-table{width:100%;border-collapse:collapse;font-size:.92rem;background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--border)}
.prob-table th{background:var(--blue-light);padding:13px 16px;text-align:left;font-weight:700;color:var(--blue-dark);border-bottom:1px solid var(--border)}
.prob-table td{padding:12px 16px;border-bottom:1px solid var(--border);vertical-align:middle}
.prob-table tr:last-child td{border-bottom:none}
.prob-table tr:hover td{background:#f8fafc}
.badge{padding:3px 9px;border-radius:12px;font-size:.76rem;font-weight:700;white-space:nowrap}
.badge-easy{background:#dcfce7;color:#15803d}
.badge-mid{background:#fef9c3;color:#854d0e}
.badge-hard{background:var(--redbg);color:var(--red)}

/* RIOBET BOX */
.casino-box{background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;border-radius:18px;padding:36px;margin-bottom:44px;position:relative;overflow:hidden}
.casino-box::before{content:"🎰";position:absolute;right:32px;top:24px;font-size:5rem;opacity:.12}
.casino-box h2{font-size:1.5rem;font-weight:900;color:#fff;margin-bottom:12px}
.casino-box p{opacity:.85;margin-bottom:20px;max-width:560px;font-size:.97rem}
.casino-features{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.casino-feat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);padding:6px 14px;border-radius:20px;font-size:.83rem;font-weight:600}
.btn-casino{display:inline-block;background:#f59e0b;color:#1e293b;padding:14px 28px;border-radius:12px;font-weight:900;font-size:1rem;text-decoration:none;transition:background .15s}
.btn-casino:hover{background:#fbbf24;text-decoration:none;color:#1e293b}
.casino-disclaimer{font-size:.75rem;opacity:.5;margin-top:12px}

/* NOTICE / TIP */
.notice{background:var(--redbg);border-left:4px solid var(--red);padding:14px 18px;border-radius:10px;margin:22px 0;font-size:.94rem}
.tip{background:var(--greenbg);border-left:4px solid var(--green);padding:14px 18px;border-radius:10px;margin:22px 0;font-size:.94rem}
.info-box{background:var(--blue-light);border:1px solid #bfdbfe;border-radius:12px;padding:26px;margin:24px 0}
.info-box h3{color:var(--blue-dark);margin-bottom:12px;font-size:1.05rem;font-weight:700}

/* CHECKLIST */
.checklist{list-style:none;padding:0}
.checklist li{padding:10px 0;border-bottom:1px solid var(--border);display:flex;gap:12px;font-size:.95rem;align-items:flex-start}
.checklist li:last-child{border-bottom:none}
.checklist li::before{content:"✅";flex-shrink:0;margin-top:2px}

/* TESTIMONIAL */
.testimonials{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.testimonial{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px}
.testimonial .quote{font-size:.94rem;color:var(--text);margin-bottom:14px;font-style:italic;line-height:1.6}
.testimonial .author{font-size:.82rem;color:var(--muted);font-weight:600}
.stars{color:#f59e0b;font-size:.9rem;margin-bottom:8px}

/* FAQ */
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px}
.faq-item h3{font-size:1rem;font-weight:700;margin-bottom:8px;color:var(--text)}
.faq-item p{font-size:.92rem;color:var(--muted);margin:0}

/* ARTICLE (internal pages) */
article.content{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:40px}
article.content h1{font-size:2rem;line-height:1.2;margin-bottom:10px}
article.content h2{font-size:1.22rem;font-weight:800;margin:30px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border);color:var(--blue)}
article.content h3{font-size:1.05rem;font-weight:700;margin:22px 0 8px}
article.content p{margin-bottom:14px}
article.content ul,article.content ol{padding-left:24px;margin-bottom:16px}
article.content li{margin-bottom:7px}
.meta-bar{font-size:.85rem;color:var(--muted);padding-bottom:14px;margin-bottom:22px;border-bottom:1px solid var(--border);display:flex;gap:16px;flex-wrap:wrap}
table.data-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:.9rem;border-radius:10px;overflow:hidden;border:1px solid var(--border)}
table.data-table th{background:var(--blue-light);padding:11px 14px;border:1px solid var(--border);text-align:left;font-weight:700;color:var(--blue-dark)}
table.data-table td{padding:10px 14px;border:1px solid var(--border)}

/* BREADCRUMB */
.breadcrumb{font-size:.83rem;color:var(--muted);margin-bottom:18px}.breadcrumb a{color:var(--muted)}

/* FOOTER */
footer{background:#0f172a;color:#94a3b8;padding:48px 0 0}
.footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px;padding-bottom:36px}
.footer-inner p{font-size:.88rem;margin-top:10px;line-height:1.55}
.logo-footer{font-size:1.1rem;font-weight:900;color:#fff;text-decoration:none}
.footer-links{display:flex;flex-direction:column;gap:8px}
.footer-links strong{color:#e2e8f0;margin-bottom:4px}
.footer-links a{color:#94a3b8;font-size:.88rem;text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid #1e293b;padding:20px;text-align:center;font-size:.8rem;max-width:var(--max);margin:0 auto}

@media(max-width:700px){
.hero{padding:30px 22px}.hero h1{font-size:1.7rem}
.trust-bar{flex-direction:column}.trust-item{border-right:none;border-bottom:1px solid var(--border)}
.trust-item:last-child{border-bottom:none}
.footer-inner{grid-template-columns:1fr}
article.content{padding:22px}
.casino-box{padding:24px}
}
