:root {
    --bg-deep: #0a0c12;
    --bg-sidebar: #12161f;
    --bg-header: #141922;
    --accent: #f5c842;
    --accent-glow: rgba(245, 200, 66, 0.35);
    --text-main: #f1f5f9;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --red-dark: #7f1d1d;
    --red-bright: #dc2626;
    --btn-acc: #991b1b;
    --btn-reg: linear-gradient(135deg, #b91c3c 0%, #991b1b 100%);
    --border: rgba(255, 255, 255, 0.06);
    --success: #22c55e;
    --exclusive-blue: #38bdf8;
    --purple-promo: #4c3d6e;
    --purple-border: #7c6ba8;
    --live-blue: #3b82f6;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.24);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.32);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.4);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-normal: 0.35s var(--ease-out);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg-deep); color: var(--text-main); line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* --- HEADER --- */
header {
    background: rgba(20, 25, 34, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background var(--transition-normal);
}
.header-left { display: flex; align-items: center; gap: 28px; }
.logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 24px; color: var(--text-main); text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; display: flex; align-items: center; gap: 10px; transition: opacity var(--transition-fast); }
.logo:hover { opacity: 0.9; }
.logo .logo-a { color: var(--red-bright); }
.logo-icon { width: 30px; height: 30px; background: var(--red-bright); border-radius: var(--radius-sm); clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }

.search-bar { background: rgba(30, 35, 48, 0.8); border-radius: var(--radius-md); padding: 12px 18px; display: flex; align-items: center; gap: 12px; width: 400px; border: 1px solid var(--border); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.search-bar:focus-within { border-color: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(255,255,255,0.04); }
.search-bar input { background: transparent; border: none; color: var(--text-main); font-size: 14px; width: 100%; outline: none; font-family: inherit; }
.search-bar input::placeholder { color: var(--text-muted); }

.header-btns { display: flex; gap: 12px; }
.btn-header { padding: 12px 24px; border-radius: var(--radius-md); font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.06em; text-decoration: none; transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast); cursor: pointer; border: none; color: #fff; font-family: inherit; }
.btn-acc { background: var(--btn-acc); }
.btn-reg { background: var(--btn-reg); box-shadow: 0 4px 14px rgba(185, 28, 60, 0.4); }
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(185, 28, 60, 0.45); }
.btn-header:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- LAYOUT --- */
.app-layout { display: flex; min-height: 100vh; }

/* --- SIDEBAR --- */
.sidebar { width: 268px; background: var(--bg-sidebar); border-right: 1px solid var(--border); padding: 20px 0; flex-shrink: 0; }
.spin-rally-box { background: linear-gradient(145deg, var(--purple-promo) 0%, #3d3259 100%); border: 1px solid var(--purple-border); border-radius: var(--radius-md); padding: 16px 18px; margin: 0 16px 18px; position: relative; box-shadow: var(--shadow-sm); transition: transform var(--transition-fast); }
.spin-rally-box .close-spin { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); border: none; color: #fff; cursor: pointer; padding: 6px; border-radius: var(--radius-sm); opacity: 0.9; transition: background var(--transition-fast); }
.spin-rally-box .close-spin:hover { background: rgba(255,255,255,0.2); }
.spin-rally-box p { font-size: 13px; color: #e8e0f5; margin-bottom: 14px; line-height: 1.45; font-weight: 500; }
.spin-rally-box .btn-spin { display: block; width: 100%; background: #fff; color: var(--purple-promo); border: none; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 11px; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.spin-rally-box .btn-spin:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.promo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 16px 18px; }
.promo-card { aspect-ratio: 1; border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; transition: transform var(--transition-normal), box-shadow var(--transition-normal); overflow: hidden; }
.promo-card.crab { background: linear-gradient(145deg, var(--red-bright) 0%, #991b1b 100%); box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3); }
.promo-card.wheel { background: linear-gradient(145deg, #f0b429 0%, #d4a012 100%); color: #1a1a1a; box-shadow: 0 4px 16px rgba(212, 168, 0, 0.25); }
.promo-card:hover { transform: scale(1.04) translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }
.btn-promozioni { display: flex; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 32px); margin: 0 16px 18px 24px; background: linear-gradient(145deg, var(--purple-promo) 0%, #3d3259 100%); border: 1px solid var(--purple-border); color: #fff; padding: 14px 18px; border-radius: var(--radius-md); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; cursor: pointer; transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.btn-promozioni:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.side-group { margin-bottom: 4px; }
.side-group h4 { font-size: 10px; color: var(--text-muted); text-transform: uppercase; padding: 0 20px; margin-bottom: 10px; letter-spacing: 0.12em; font-weight: 700; }
.side-link { display: flex; align-items: center; gap: 14px; padding: 12px 20px; color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; transition: background var(--transition-fast), color var(--transition-fast), border-left-color var(--transition-fast); border-left: 3px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.side-link:hover, .side-link.active { background: rgba(255,255,255,0.05); color: var(--text-main); border-left-color: var(--accent); }
.side-link i { width: 18px; color: var(--text-muted); flex-shrink: 0; }
.side-link.live-special { color: var(--live-blue); text-decoration: underline; text-underline-offset: 3px; }
.side-link.live-special i { color: var(--live-blue); }
.side-link .check { margin-left: auto; color: var(--success); }
.new-tag { background: var(--accent); color: #0f172a; font-size: 9px; font-weight: 800; padding: 3px 6px; border-radius: 4px; margin-left: auto; letter-spacing: 0.02em; }

/* --- MAIN --- */
.main-content { flex-grow: 1; padding: 28px 32px; overflow-x: hidden; }

/* --- HERO --- */
.hero {
    background: linear-gradient(105deg, rgba(10,12,18,0.88) 0%, rgba(10,12,18,0.4) 45%, transparent 70%), url('img/banner.png');
    background-size: cover; background-position: center; border-radius: var(--radius-lg); padding: 52px 60px 72px; margin-bottom: 28px; min-height: 420px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--border); position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.2) 100%); pointer-events: none; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition-fast), transform var(--transition-fast); z-index: 2; }
.hero-arrow:hover { background: rgba(255,255,255,0.18); transform: translateY(-50%) scale(1.05); }
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }
.hero span { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.2em; position: relative; z-index: 1; }
.hero-title { font-family: 'Outfit', sans-serif; font-size: 52px; font-weight: 800; margin-bottom: 26px; line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; position: relative; z-index: 1; }
.cta-gold { background: linear-gradient(145deg, #ffdc5c 0%, var(--accent) 50%, #e0b030 100%); color: #0f172a; padding: 12px 28px; border-radius: var(--radius-md); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; font-size: 14px; display: inline-block; width: auto; max-width: max-content; align-self: flex-start; box-shadow: 0 4px 16px var(--accent-glow), 0 2px 0 rgba(0,0,0,0.1); transition: transform var(--transition-normal), box-shadow var(--transition-normal), filter var(--transition-fast); border: none; cursor: pointer; font-family: inherit; position: relative; z-index: 1; }
.cta-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow), 0 3px 0 rgba(0,0,0,0.08); filter: brightness(1.05); }
.hero-dots { display: flex; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background var(--transition-fast), transform var(--transition-fast); }
.hero-dots span.active { background: #fff; transform: scale(1.25); box-shadow: 0 0 12px rgba(255,255,255,0.5); }

/* --- CATEGORIES --- */
.cat-row { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 32px; padding: 16px 24px; scrollbar-width: none; -ms-overflow-style: none; background: rgba(18, 22, 31, 0.6); border-radius: var(--radius-lg); border: 1px solid var(--border); scroll-snap-type: x mandatory; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-item { display: flex; align-items: center; gap: 10px; background: transparent; padding: 12px 18px; border-radius: 999px; text-decoration: none; color: var(--text-main); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border: 1px solid transparent; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); white-space: nowrap; scroll-snap-align: start; flex-shrink: 0; }
.cat-item:hover { background: rgba(255,255,255,0.06); color: var(--accent); border-color: rgba(245, 200, 66, 0.2); }

/* --- GRID --- */
.grid-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.grid-head h2 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; border: none; padding: 0; color: var(--text-main); }
.grid-head .controls { display: flex; align-items: center; gap: 12px; }
.btn-arrow { background: rgba(30, 35, 48, 0.9); border: 1px solid var(--border); color: var(--text-main); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--transition-fast), transform var(--transition-fast); }
.btn-arrow:hover { background: rgba(255,255,255,0.08); transform: scale(1.05); }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px; }
.game-card { background: rgba(22, 26, 36, 0.8); border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.game-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%); opacity: 0; transition: opacity var(--transition-normal); z-index: 1; pointer-events: none; }
.game-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.game-card:hover::before { opacity: 1; }
.game-card img { width: 100%; aspect-ratio: 10/14; object-fit: cover; display: block; transition: transform var(--transition-normal); }
.game-card:hover img { transform: scale(1.06); }
.game-card .rank { position: absolute; bottom: 12px; left: 12px; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--accent) 0%, #d4a82a 100%); color: #0f172a; font-size: 20px; font-weight: 800; font-family: 'Outfit', sans-serif; display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: var(--shadow-md); z-index: 2; }
.game-card .badge { position: absolute; top: 12px; right: 12px; background: var(--success); color: #0f172a; font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.03em; z-index: 2; }
.game-card .badge.exclusive { background: var(--exclusive-blue); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
    .game-card { opacity: 0; transform: translateY(12px); animation: cardReveal 0.5s var(--ease-out) forwards; }
    .game-card:nth-child(1) { animation-delay: 0.05s; }
    .game-card:nth-child(2) { animation-delay: 0.1s; }
    .game-card:nth-child(3) { animation-delay: 0.15s; }
    .game-card:nth-child(4) { animation-delay: 0.2s; }
    .game-card:nth-child(5) { animation-delay: 0.25s; }
    .game-card:nth-child(6) { animation-delay: 0.3s; }
    .game-card:nth-child(7) { animation-delay: 0.35s; }
}
@keyframes cardReveal { to { opacity: 1; transform: translateY(0); } }

/* --- SEO --- */
.seo-content-block { background: var(--bg-sidebar); padding: 120px 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: 80px; box-shadow: 0 -24px 56px rgba(0,0,0,0.4); position: relative; z-index: 10; }
.seo-wrapper { max-width: 900px; margin: 0 auto; padding: 0 30px; }

.seo-wrapper h1 { font-family: 'Outfit', sans-serif; font-size: 44px; color: var(--accent); margin: 0 0 35px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.seo-wrapper h2 { font-family: 'Outfit', sans-serif; font-size: 44px; color: var(--accent); margin: 70px 0 35px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.seo-wrapper h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 30px; color: var(--text-main); margin: 45px 0 20px; font-weight: 700; border-left: 4px solid var(--accent); padding-left: 20px; }
.seo-wrapper p { margin-bottom: 30px; color: var(--text-dim); font-size: 19px; text-align: justify; line-height: 1.8; }
.seo-wrapper strong { color: var(--text-main); font-weight: 700; }

.seo-wrapper ul { list-style: none; margin: 40px 0; padding: 40px; background: rgba(10, 13, 20, 0.8); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.seo-wrapper ul li { position: relative; padding-left: 40px; margin-bottom: 20px; color: var(--text-dim); font-size: 18px; display: flex; align-items: flex-start; }
.seo-wrapper ul li::before { content: '✦'; position: absolute; left: 0; color: var(--accent); font-weight: 900; font-size: 24px; }

.seo-wrapper ol { margin: 60px 0; counter-reset: steps; list-style: none; }
.seo-wrapper ol li { position: relative; padding-left: 80px; margin-bottom: 50px; color: var(--text-dim); font-size: 18px; }
.seo-wrapper ol li::before { content: counter(steps); counter-increment: steps; position: absolute; left: 0; top: -5px; width: 60px; height: 60px; background: rgba(30, 35, 43, 0.9); border: 2px solid var(--accent); color: var(--accent); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; }

.seo-wrapper table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 70px 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.seo-wrapper table th { background: linear-gradient(145deg, var(--accent) 0%, #d4a82a 100%); color: #0f172a; padding: 25px; text-align: left; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: 0.04em; }
.seo-wrapper table td { background: rgba(30, 35, 43, 0.8); padding: 20px 25px; border-bottom: 1px solid var(--border); color: var(--text-dim); font-size: 17px; }

.author-box { display: flex; align-items: center; gap: 28px; padding: 40px; background: rgba(18, 22, 31, 0.9); border-radius: var(--radius-lg); margin: 80px 0; border: 1px solid rgba(245, 200, 66, 0.25); box-shadow: var(--shadow-md); }
.author-box img { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--border); flex-shrink: 0; object-fit: cover; }
.author-box h4 { font-family: 'Outfit', sans-serif; font-size: 22px; margin-bottom: 8px; font-weight: 700; color: var(--text-main); }
.author-box p { font-size: 15px; color: var(--text-dim); margin: 0; line-height: 1.6; }

/* --- COOKIE BANNER --- */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(18, 22, 31, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border); padding: 18px 32px; padding-bottom: max(18px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-shadow: 0 -16px 48px rgba(0,0,0,0.35); }
.cookie-text { font-size: 14px; color: var(--text-dim); max-width: 80%; line-height: 1.5; }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.btn-accept { background: var(--accent); color: #0f172a; border: none; padding: 12px 28px; border-radius: var(--radius-md); font-weight: 700; cursor: pointer; text-transform: uppercase; font-size: 12px; letter-spacing: 0.05em; transition: transform var(--transition-fast), box-shadow var(--transition-fast); font-family: inherit; }
.btn-accept:hover { transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }

/* --- FOOTER --- */
footer { padding: 100px 0 140px; text-align: center; background: #080a0f; border-top: 1px solid var(--border); }
.footer-compliance { display: flex; justify-content: center; gap: 48px; margin-bottom: 48px; align-items: center; flex-wrap: wrap; }
.footer-compliance img { height: 48px; object-fit: contain; filter: grayscale(1); opacity: 0.5; transition: filter var(--transition-normal), opacity var(--transition-normal); }
.footer-compliance img:hover { filter: none; opacity: 0.9; }
.legal-footer { font-size: 13px; color: var(--text-muted); max-width: 900px; margin: 0 auto; line-height: 2; }

/* --- MOBILE NAV --- */
.mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(18, 22, 31, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: none; justify-content: space-around; padding: 16px 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); z-index: 2000; }
.mobile-nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); text-decoration: none; font-size: 10px; font-weight: 700; gap: 6px; min-height: 48px; justify-content: center; -webkit-tap-highlight-color: transparent; transition: color var(--transition-fast); letter-spacing: 0.02em; }
.mobile-nav-item.active { color: var(--accent); }

/* --- MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .sidebar, .search-bar { display: none; }
    .hero { padding: 40px 30px; min-height: 320px; }
    .hero-title { font-size: 34px; }
}

@media (max-width: 768px) {
    .mobile-nav { display: flex; }
    header { padding: 10px 12px; gap: 8px; }
    .header-left { gap: 12px; }
    .logo { font-size: 18px; }
    .logo-icon { width: 24px; height: 24px; }
    .header-btns { gap: 8px; }
    .btn-header { padding: 10px 14px; font-size: 11px; }
    .main-content { padding: 15px 12px; }
    .hero { padding: 30px 20px; min-height: 280px; margin-bottom: 25px; border-radius: 8px; }
    .hero span { font-size: 11px; letter-spacing: 1px; margin-bottom: 10px; }
    .hero-title { font-size: 26px; margin-bottom: 20px; line-height: 1.15; }
    .cta-gold { padding: 11px 22px; font-size: 13px; }
    .cat-row { gap: 10px; margin-bottom: 25px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
    .cat-item { padding: 10px 14px; font-size: 11px; }
    .grid-head { flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
    .grid-head h2 { font-size: 15px; padding-left: 12px; }
    .grid-head .controls { width: 100%; justify-content: flex-end; }
    .grid-head .controls span { font-size: 10px; margin-right: 8px; }
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .game-card .rank { font-size: 32px; }
    .game-card .badge { font-size: 8px; padding: 2px 6px; }
    .seo-content-block { padding: 50px 0; border-radius: 32px 32px 0 0; margin-top: 40px; }
    .seo-wrapper { padding: 0 16px; }
    .seo-wrapper h1, .seo-wrapper h2 { font-size: 24px; margin: 40px 0 20px; }
    .seo-wrapper h3 { font-size: 20px; margin: 30px 0 15px; padding-left: 14px; border-left-width: 4px; }
    .seo-wrapper p { font-size: 15px; margin-bottom: 20px; }
    .seo-wrapper ul { padding: 20px 16px; margin: 25px 0; border-radius: 16px; }
    .seo-wrapper ul li { font-size: 14px; padding-left: 28px; margin-bottom: 14px; }
    .seo-wrapper ul li::before { font-size: 18px; }
    .seo-wrapper ol { margin: 35px 0; }
    .seo-wrapper ol li { padding-left: 70px; margin-bottom: 35px; font-size: 15px; }
    .seo-wrapper ol li::before { width: 48px; height: 48px; font-size: 20px; border-radius: 10px; }
    .seo-wrapper table { margin: 35px 0; border-radius: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .seo-wrapper table th, .seo-wrapper table td { padding: 12px 14px; font-size: 13px; white-space: nowrap; }
    .author-box { flex-direction: column; padding: 25px 20px !important; margin: 40px 0 !important; border-radius: 20px !important; gap: 20px !important; }
    .author-box img { width: 100px !important; height: 100px !important; }
    .author-box h4 { font-size: 18px !important; }
    .author-box p { font-size: 13px !important; }
    #cookie-banner { flex-direction: column; gap: 12px; padding: 15px 16px; text-align: center; }
    .cookie-text { max-width: 100%; font-size: 12px; }
    .btn-accept { width: 100%; padding: 12px; }
    footer { padding: 50px 16px 120px; }
    .footer-compliance { gap: 25px; margin-bottom: 30px; }
    .footer-compliance img { height: 35px; }
    .legal-footer { font-size: 11px; padding: 0 8px; }
    body { overflow-x: hidden; }
    .app-layout { min-width: 0; }
}

@media (max-width: 480px) {
    header { padding: 8px 10px; }
    .logo { font-size: 16px; gap: 6px; }
    .logo-icon { width: 20px; height: 20px; }
    .btn-header { padding: 8px 12px; font-size: 10px; }
    .main-content { padding: 12px 10px; }
    .hero { padding: 24px 16px; min-height: 240px; }
    .hero span { font-size: 10px; }
    .hero-title { font-size: 20px; margin-bottom: 16px; }
    .cta-gold { padding: 10px 18px; font-size: 12px; }
    .cat-item { padding: 8px 12px; font-size: 10px; }
    .grid-head h2 { font-size: 14px; }
    .game-grid { gap: 10px; }
    .game-card .rank { font-size: 28px; bottom: 4px; left: 4px; }
    .seo-content-block { padding: 35px 0; border-radius: 24px 24px 0 0; margin-top: 30px; }
    .seo-wrapper { padding: 0 12px; }
    .seo-wrapper h1, .seo-wrapper h2 { font-size: 20px; margin: 30px 0 16px; }
    .seo-wrapper h3 { font-size: 18px; }
    .seo-wrapper p { font-size: 14px; }
    .seo-wrapper table th, .seo-wrapper table td { padding: 10px 12px; font-size: 12px; }
    .mobile-nav { padding: 12px 0; }
    .mobile-nav-item { font-size: 9px; }
}
