/* ===================================================================
   VoltSlot Casino — lightweight template stylesheet
   Light theme · dark-blue + pink accents · mobile first
   =================================================================== */

:root {
    --blue: #1E2A78;
    --blue-dark: #141B52;
    --pink: #FF3D8B;
    --pink-dark: #E22877;
    --ink: #141B33;
    --muted: #5A6280;
    --paper: #F5F6FB;
    --surface: #FFFFFF;
    --line: #E5E7F2;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 6px 20px rgba(20, 27, 51, .08);
    --shadow-lg: 0 14px 34px rgba(20, 27, 51, .16);
    --max: 1180px;
    --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    overflow-x: hidden;            /* no horizontal scroll */
    padding-bottom: 84px;          /* room for the sticky bottom bar */
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0; }

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 18px;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--bonus { background: var(--pink); color: #fff; font-weight: 800; }
.btn--bonus:hover { background: var(--pink-dark); }

.btn--cta {
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    padding: 14px 28px;
}
.btn--cta:hover { background: var(--blue-dark); }

/* Pulse for the bonus button */
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 61, 139, .55); }
    50%      { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(255, 61, 139, 0); }
}

/* ----------------------------- Header ------------------------------ */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 68px;
}
.logo { flex-shrink: 0; }
.logo img { height: 42px; width: auto; }

.nav { margin-left: auto; }
.nav__list {
    display: flex;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__list a {
    font-weight: 600;
    color: var(--ink);
    padding: 6px 2px;
    position: relative;
    transition: color .15s ease;
}
.nav__list a:hover { color: var(--pink); }
.nav__list a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--pink);
    transition: width .2s ease;
}
.nav__list a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger (mobile only) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    height: 2px;
    width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------- */
.hero { padding-top: 26px; }
.hero h1 {
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -.5px;
}
.hero__banner { position: relative; }
.hero__banner img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero__cta {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--pink);
    box-shadow: var(--shadow-lg);
}
.hero__cta:hover { background: var(--pink-dark); }

/* --------------------------- Games slider -------------------------- */
.games { padding-top: 46px; }
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-head h2 {
    font-size: clamp(20px, 3vw, 27px);
    font-weight: 800;
}
.slider-nav { display: flex; gap: 8px; }
.slider-btn {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 50%;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.slider-btn svg { width: 22px; height: 22px; }
.slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.slider {
    display: flex;
    align-items: flex-start;          /* keep cards square, no stretch */
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    scrollbar-width: none;            /* Firefox */
}
.slider::-webkit-scrollbar { display: none; }   /* WebKit */

.game-card {
    flex: 0 0 clamp(180px, 22vw, 220px);
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}
.game-card img { width: 100%; height: 100%; object-fit: cover; }
.game-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* ------------------------------ SEO -------------------------------- */
.seo { padding-top: 48px; }
.seo__inner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    color: var(--muted);
    box-shadow: var(--shadow);
}
.seo__inner :is(h1, h2, h3) { color: var(--ink); margin: .4em 0 .3em; }
.seo__inner a { color: var(--blue); text-decoration: underline; }

/* ----------------------------- Footer ------------------------------ */
.footer {
    margin-top: 60px;
    background: var(--surface);
    border-top: 1px solid var(--line);
}
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 28px;
}
.footer__brand img { height: 40px; width: auto; margin-bottom: 12px; }
.footer__about { color: var(--muted); font-size: 14px; max-width: 360px; }

.socials { display: flex; gap: 10px; margin-top: 16px; }
.social {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    border: 1px solid var(--line);
    transition: background .15s ease, color .15s ease;
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--blue); color: #fff; }

.footer__col h3 { font-size: 15px; margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 9px; }
.footer__col a { color: var(--muted); font-size: 14px; transition: color .15s ease; }
.footer__col a:hover { color: var(--pink); }

.footer__bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    padding-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
}
.age {
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: var(--ink);
    border-radius: 50%;
    width: 34px; height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer__bottom p { margin: 0; }

/* -------------------------- Sticky bottom bar ---------------------- */
.sticky-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--blue);
    color: #fff;
    padding: 12px 18px;
    box-shadow: 0 -6px 20px rgba(20, 27, 51, .2);
}
.sticky-bar__text { margin: 0; font-size: 14px; }
.sticky-bar__text strong { color: var(--pink); }
.sticky-bar__btn {
    margin-left: auto;
    background: var(--pink);
    color: #fff;
}
.sticky-bar__btn:hover { background: var(--pink-dark); }
.sticky-bar__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: .85;
}
.sticky-bar__close:hover { opacity: 1; }
.sticky-bar.is-hidden { display: none; }

/* ============================ RESPONSIVE =========================== */
@media (max-width: 860px) {
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .nav {
        position: absolute;
        top: 68px;
        left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s ease;
    }
    .nav.is-open { max-height: 320px; }
    .nav__list {
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 16px;
    }
    .nav__list li { border-bottom: 1px solid var(--line); }
    .nav__list li:last-child { border-bottom: none; }
    .nav__list a { display: block; padding: 13px 0; }
    .nav__list a::after { display: none; }

    .btn--ghost { display: none; }   /* keep header compact on phones */
    .hero__cta { left: 16px; bottom: 16px; padding: 11px 18px; font-size: 14px; }

    .sticky-bar { flex-wrap: wrap; gap: 10px; padding: 10px 14px; }
    .sticky-bar__text { flex: 1 1 100%; font-size: 13px; }
    .sticky-bar__btn { margin-left: 0; flex: 1 1 auto; }
}

@media (max-width: 420px) {
    .game-card { flex-basis: 64vw; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    .pulse { animation: none; }
    html { scroll-behavior: auto; }
    .btn, .game-card, .nav { transition: none; }
}
