/* ===== VARIABLES ===== */
:root {
    --bg-primary: #0d0b1e;
    --bg-secondary: #13102a;
    --bg-card: #1a1730;
    --bg-card-hover: #211d3c;
    --accent-pink: #c8327a;
    --accent-pink-light: #e0408c;
    --accent-gold: #ffd679;
    --accent-gold-dark: #e6b84a;
    --text-primary: #ffffff;
    --text-secondary: #9896b8;
    --text-muted: #5e5c7a;
    --border: rgba(200, 50, 122, 0.25);
    --border-subtle: rgba(255,255,255,0.07);
    --shadow-pink: 0 0 24px rgba(200, 50, 122, 0.25);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.22s ease;
    --font: 'Inter', 'Segoe UI', Arial, sans-serif;
    --header-h: 68px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-secondary); font-size: 0.97rem; }

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    color: #fff;
    box-shadow: 0 4px 16px rgba(200, 50, 122, 0.4);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-pink-light), #f050a0);
    box-shadow: 0 6px 24px rgba(200, 50, 122, 0.6);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
    border-color: var(--accent-pink-light);
    color: var(--accent-pink-light);
    background: rgba(200, 50, 122, 0.08);
}
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
    color: #0d0b1e;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 214, 121, 0.3);
}
.btn-gold:hover {
    box-shadow: 0 6px 24px rgba(255, 214, 121, 0.5);
    transform: translateY(-1px);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(13, 11, 30, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo img { height: 36px; width: auto; }
.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.logo-text span { color: var(--accent-gold); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nav-link {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.07);
}
.nav-link.active { color: var(--accent-pink-light); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.header-actions .btn { padding: 8px 18px; font-size: 0.85rem; }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== WINS BAR ===== */
.wins-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    overflow: hidden;
}
.wins-bar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.wins-bar-label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 16px 0 0;
    border-right: 1px solid var(--border-subtle);
}
.wins-ticker {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    flex: 1;
}
.win-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    white-space: nowrap;
    animation: slideIn 0.4s ease;
    flex-shrink: 0;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.win-player { color: var(--text-secondary); }
.win-amount { color: var(--accent-gold); font-weight: 700; }
.win-game   { color: var(--accent-pink-light); }
.win-sep    { color: var(--text-muted); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,11,30,0.92) 40%, rgba(13,11,30,0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 80px 20px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(200, 50, 122, 0.15);
    border: 1px solid rgba(200, 50, 122, 0.4);
    color: var(--accent-pink-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero h1 {
    margin-bottom: 16px;
    color: #fff;
}
.hero h1 span { color: var(--accent-gold); }
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
    max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}
.hero-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-gold);
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ===== FEATURES ===== */
.features {
    padding: 40px 0 32px;
    background: var(--bg-secondary);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}
.feature-card:hover {
    border-color: var(--border);
    transform: translateY(-3px);
    box-shadow: var(--shadow-pink);
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.feature-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}
.feature-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ===== SECTION HEADER ===== */
.section { padding: 56px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
}
.section-title span { color: var(--accent-pink-light); }
.section-link {
    font-size: 0.85rem;
    color: var(--accent-pink-light);
    font-weight: 500;
    transition: var(--transition);
    flex-shrink: 0;
}
.section-link:hover { color: var(--accent-gold); }

/* ===== GAME GRID ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border); }
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.game-card:hover img { transform: scale(1.05); }
.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13,11,30,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 8px;
}
.game-card-btn {
    background: var(--accent-pink);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    transition: var(--transition);
}
.game-card-btn:hover { background: var(--accent-pink-light); }
.game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-hot { background: #ff4b2b; color: #fff; }
.badge-new { background: var(--accent-pink); color: #fff; }
.badge-live { background: #00c853; color: #fff; }

/* ===== GAMELIST (alias) ===== */
.gamelist .game-card { cursor: pointer; }

/* ===== CONTENT SECTION ===== */
.content-section { padding: 56px 0; background: var(--bg-secondary); }
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.content-block h2 {
    margin-bottom: 16px;
    color: #fff;
}
.content-block h2 span { color: var(--accent-pink-light); }
.content-block p {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* ===== SEO TEXT SECTION ===== */
.seo-section { padding: 56px 0; }
.seo-section h2 {
    margin-bottom: 14px;
    color: #fff;
}
.seo-section p { margin-bottom: 14px; line-height: 1.8; }
.seo-section .seo-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
}
.seo-block { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: 24px; }
.seo-block h2 { font-size: 1.1rem; margin-bottom: 10px; }

/* ===== BONUS CARDS ===== */
.bonus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}
.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.bonus-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-gold));
}
.bonus-card:hover { border-color: var(--border); transform: translateY(-4px); box-shadow: var(--shadow-pink); }
.bonus-card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.bonus-card-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.bonus-card-value { font-size: 1.5rem; font-weight: 800; color: var(--accent-gold); margin-bottom: 8px; }
.bonus-card-desc { font-size: 0.83rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }

/* ===== FAQ ===== */
.faq-section { padding: 56px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    gap: 12px;
}
.faq-q .faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--accent-pink);
    transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--accent-pink); color: #fff; transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 20px 18px; }

/* ===== INTERNAL LINKS ===== */
.internal-links { padding: 40px 0; background: var(--bg-secondary); }
.internal-links-title { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-secondary); }
.internal-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.internal-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.internal-link-item:hover { border-color: var(--accent-pink); color: var(--accent-pink-light); background: rgba(200,50,122,0.07); }

/* ===== LIVE SECTION ===== */
.live-badge-anim {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00c853;
    border-radius: 50%;
    animation: livePulse 1.4s ease infinite;
    margin-right: 6px;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent-pink-light); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--text-secondary); }

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 56px 0 48px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 50, 122, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1rem; max-width: 580px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 30px; }
.footer-logo-text { font-size: 1rem; font-weight: 800; }
.footer-logo-text span { color: var(--accent-gold); }
.footer-brand-desc { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.7; }
.footer-nav-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; margin-bottom: 14px; }
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-link {
    font-size: 0.87rem;
    color: var(--text-secondary);
    transition: var(--transition);
}
.footer-nav-link:hover { color: var(--accent-pink-light); }
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-disclaimer { font-size: 0.74rem; color: var(--text-muted); max-width: 500px; line-height: 1.6; }
.age-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
}

/* ===== TELEGRAM WIDGET ===== */
.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #229ed9;
    color: #fff;
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.telegram-btn:hover { background: #1a8bbd; transform: translateY(-1px); }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border-subtle); margin: 0; }

/* ===== ACCENT BG BLOCKS ===== */
.bg-secondary { background: var(--bg-secondary) !important; }
.bg-card { background: var(--bg-card) !important; }

/* ===== STEPS LIST ===== */
.steps-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-pink-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}
.step-text h3 { font-size: 0.9rem; color: #fff; margin-bottom: 4px; }
.step-text p { font-size: 0.85rem; margin: 0; }

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, #1a0f30 0%, #2a1040 50%, #1a0f30 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 32px 0;
}
.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(200,50,122,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.promo-banner h2 { position: relative; margin-bottom: 10px; }
.promo-banner p { position: relative; margin-bottom: 20px; }
.promo-banner .btn { position: relative; }

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.mobile-nav.open { display: flex; }
.mobile-nav-panel {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border-subtle);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.mobile-nav-panel .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
}
.mobile-nav-close {
    margin-bottom: 16px;
    align-self: flex-end;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .games-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .bonus-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --header-h: 60px; }
    .main-nav, .header-actions { display: none; }
    .menu-toggle { display: flex; }
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; gap: 24px; }
    .seo-section .seo-cols { grid-template-columns: 1fr; gap: 16px; }
    .hero { min-height: 420px; }
    .hero-content { padding: 60px 20px; }
    .hero-stats { gap: 20px; }
    .bonus-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 480px) {
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.4rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .wins-ticker { display: none; }
}
