/* ═══════════════════════════════════════════════════════════
   GameVault Home — Clean Premium UI
   ═══════════════════════════════════════════════════════════ */

:root {
    --home-py: clamp(4.5rem, 8vw, 6.5rem);
    --home-gap: clamp(1.25rem, 2.5vw, 2rem);
    --home-section-gap: clamp(3rem, 6vw, 5rem);
    --home-radius: 1rem;
    --home-radius-lg: 1.25rem;
    --home-text-muted: #64748b;
    --home-border: rgba(139, 92, 246, 0.12);
}

.dark {
    --home-text-muted: #94a3b8;
    --home-border: rgba(255, 255, 255, 0.08);
}

.home-wrap {
    width: 100%;
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
}
.home-wrap--narrow { max-width: 42rem; }

.home-section { padding-block: var(--home-py); }
.home-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.home-section--muted { background: rgba(139, 92, 246, 0.04); }
.dark .home-section--muted { background: rgba(255, 255, 255, 0.02); }

.home-section + .home-section {
    margin-top: 0;
    border-top: 1px solid transparent;
}
.home-section:not(.home-section--muted) + .home-section--muted,
.home-section--muted + .home-section:not(.home-section--muted) {
    border-top-color: var(--home-border);
}

.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gv-space-md, 1.25rem);
    margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.home-section-head--row { align-items: center; }
.home-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7c3aed;
    margin-bottom: 0.5rem;
}
.dark .home-kicker { color: #a78bfa; }
.home-kicker--accent { color: #dc2626; }

.home-h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #0f172a;
}
.dark .home-h2 { color: #f8fafc; }
.home-h2--center { text-align: center; margin-bottom: 1.75rem; }
.home-h2--light { color: #fff; }

.home-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
}
.home-link:hover { text-decoration: underline; }
.home-link--btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.home-link--btn:hover {
    text-decoration: none;
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.06);
}
.dark .home-link--btn { background: rgba(255, 255, 255, 0.04); }

.btn-gv-primary--lg,
.btn-gv-secondary--lg {
    padding: 0.85rem 1.35rem !important;
    font-size: 0.9375rem !important;
    border-radius: var(--home-radius-lg) !important;
}

.btn-gv-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--home-radius);
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.6);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.dark .btn-gv-secondary { background: rgba(255, 255, 255, 0.05); }
.btn-gv-secondary:hover { border-color: rgba(139, 92, 246, 0.35); }
.btn-gv-secondary--sm { padding: 0.55rem 1rem; font-size: 0.8rem; }
.btn-gv-secondary--light {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.btn-gv-primary--light { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }

/* HERO */
:root {
    --gv-header-offset: 4.25rem;
}
@media (min-width: 640px) {
    :root { --gv-header-offset: 7rem; }
}
@media (min-width: 1024px) {
    :root { --gv-header-offset: 8rem; }
    .home-hero {
        padding-top: clamp(2rem, 3vw, 3rem);
    }
}

.home-main {
    padding-top: calc(var(--gv-header-offset) + 1rem);
}
@media (min-width: 1024px) {
    .home-main { padding-top: calc(var(--gv-header-offset) + 1.75rem); }
}

.home-hero {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--home-border);
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 75% 45%, rgba(139, 92, 246, 0.07), transparent 65%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(6, 182, 212, 0.05), transparent);
    pointer-events: none;
    z-index: 0;
}
.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.5rem);
    align-items: start;
}
@media (min-width: 1024px) {
    .home-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 4vw, 3rem);
        align-items: start;
    }
    .home-hero__content { padding-top: 0.75rem; }
}

.home-hero__content {
    order: 1;
    min-width: 0;
}
.home-hero__visual {
    order: 2;
}

.home-live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-live__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

.home-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.home-hero__title-main {
    display: block;
    background: linear-gradient(135deg, #0f172a 0%, #5b21b6 45%, #0891b2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.dark .home-hero__title-main {
    background: linear-gradient(135deg, #f8fafc 0%, #c4b5fd 40%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.home-hero__subtitle {
    display: block;
    margin-top: 0.65rem;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    font-weight: 600;
    color: var(--home-text-muted);
    line-height: 1.45;
}
.dark .home-hero__subtitle { color: #94a3b8; }

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0;
    list-style: none;
}
.home-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: #6d28d9;
}
.dark .home-hero__trust li {
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
}
.home-hero__trust i { font-size: 0.7rem; opacity: 0.85; }

.home-hero__desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--home-text-muted);
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.home-search { position: relative; max-width: 28rem; margin-bottom: 1.25rem; }
.home-search input {
    width: 100%;
    padding: 0.85rem 1rem;
    padding-inline-start: 2.75rem;
    padding-inline-end: 5.5rem;
    border-radius: var(--home-radius-lg);
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    outline: none;
}
.dark .home-search input { background: rgba(255, 255, 255, 0.05); color: #fff; }
.home-search input:focus { border-color: rgba(139, 92, 246, 0.45); }
.home-search__icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1rem;
    transform: translateY(-50%);
    color: #8b5cf6;
    pointer-events: none;
}
.home-search__btn {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.35rem;
    transform: translateY(-50%);
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
}

.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }

.home-hero__visual-wrap {
    position: relative;
    order: 2;
    min-height: 18rem;
}
.home-hero__orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.home-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
    animation: homeOrbPulse 6s ease-in-out infinite;
}
.home-hero__orb--1 {
    width: 9rem; height: 9rem;
    top: 5%; inset-inline-end: 0;
    background: rgba(139, 92, 246, 0.35);
}
.home-hero__orb--2 {
    width: 7rem; height: 7rem;
    bottom: 10%; inset-inline-start: -5%;
    background: rgba(6, 182, 212, 0.28);
    animation-delay: -2s;
}
.home-hero__orb--3 {
    width: 5rem; height: 5rem;
    top: 45%; inset-inline-start: 35%;
    background: rgba(167, 139, 250, 0.22);
    animation-delay: -4s;
}
@keyframes homeOrbPulse {
    0%, 100% { transform: scale(1); opacity: 0.45; }
    50% { transform: scale(1.12); opacity: 0.7; }
}
.home-hero__visual-wrap::before {
    content: '';
    position: absolute;
    inset: 10% -5%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.home-hero__visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 18rem;
    margin-inline: auto;
    margin-top: 0.5rem;
    align-self: center;
    position: relative;
    z-index: 1;
}
@media (min-width: 640px) {
    .home-hero__visual {
        max-width: 19rem;
        gap: 0.85rem;
    }
}
@media (min-width: 1024px) {
    .home-hero__visual-wrap { min-height: 22rem; }
    .home-hero__visual {
        margin-top: 2rem;
        margin-inline-start: auto;
        max-width: 22rem;
        gap: 1rem;
        padding-top: 0;
    }
}

/* Hero game cards — glass + glow + float */
.home-hero__card {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}
.home-hero__card-inner {
    position: relative;
    border-radius: 1.15rem;
    padding: 1.5px;
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.55), rgba(6, 182, 212, 0.25), rgba(167, 139, 250, 0.35));
    box-shadow:
        0 8px 32px rgba(109, 40, 217, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.35s ease, background 0.35s ease;
    overflow: hidden;
}
.home-hero__card-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.home-hero__card-media {
    position: relative;
    border-radius: calc(1.15rem - 2px);
    overflow: hidden;
    background: #12121f;
    aspect-ratio: 4 / 5;
}
.home-hero__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}
.home-hero__card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
    transform: translateX(-130%) skewX(-14deg);
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 3;
}
.home-hero__card-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.04) 2px, rgba(0, 0, 0, 0.04) 4px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 2;
}
.home-hero__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}
.dark .home-hero__card-foot {
    background: rgba(18, 18, 31, 0.92);
    border-top-color: rgba(255, 255, 255, 0.06);
}
.home-hero__card-name {
    flex: 1;
    min-width: 0;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 1024px) {
    .home-hero__card-name { font-size: 0.74rem; }
}
.home-hero__card-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    font-size: 0.58rem;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-hero__card:hover .home-hero__card-inner,
.home-hero__card:focus-visible .home-hero__card-inner {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.85), rgba(6, 182, 212, 0.45), rgba(167, 139, 250, 0.55));
    box-shadow:
        0 20px 48px rgba(109, 40, 217, 0.32),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}
.home-hero__card:hover .home-hero__card-glow,
.home-hero__card:focus-visible .home-hero__card-glow { opacity: 1; }
.home-hero__card:hover .home-hero__card-media img,
.home-hero__card:focus-visible .home-hero__card-media img {
    transform: scale(1.08);
    filter: brightness(1.06) saturate(1.12);
}
.home-hero__card:hover .home-hero__card-shine,
.home-hero__card:focus-visible .home-hero__card-shine { transform: translateX(130%) skewX(-14deg); }
.home-hero__card:hover .home-hero__card-cta,
.home-hero__card:focus-visible .home-hero__card-cta {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.55);
}

@keyframes homeHeroFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes homeHeroFloat2 {
    0%, 100% { transform: translateY(0.35rem); }
    50% { transform: translateY(-0.35rem); }
}
.home-hero__card--1 { animation: homeHeroFloat1 4.2s ease-in-out infinite; }
.home-hero__card--2 { animation: homeHeroFloat2 4.8s ease-in-out infinite 0.4s; }
.home-hero__card--3 { animation: homeHeroFloat1 5.1s ease-in-out infinite 0.8s; }
.home-hero__card--4 { animation: homeHeroFloat2 4.5s ease-in-out infinite 1.2s; }
.home-hero__card--1 { z-index: 2; }
.home-hero__card--2 { z-index: 3; }
.home-hero__card--3 { z-index: 1; }
.home-hero__card--4 { z-index: 2; }

@media (hover: hover) {
    .home-hero__card:hover { animation-play-state: paused; }
}

/* Marquee brands */
.home-marquee {
    position: relative;
    overflow: hidden;
    padding-block: 1rem;
    border-block: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.45);
}
.dark .home-marquee { background: rgba(255, 255, 255, 0.02); }

.home-marquee__track {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    animation: homeMarquee 45s linear infinite;
}
[dir="rtl"] .home-marquee__track { animation-direction: reverse; }
@keyframes homeMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.home-marquee__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4rem;
    z-index: 2;
    pointer-events: none;
}
.home-marquee__fade--start {
    inset-inline-start: 0;
    background: linear-gradient(90deg, #f4f2ff 0%, transparent 100%);
}
.home-marquee__fade--end {
    inset-inline-end: 0;
    background: linear-gradient(270deg, #f4f2ff 0%, transparent 100%);
}
[dir="rtl"] .home-marquee__fade--start {
    background: linear-gradient(270deg, #f4f2ff 0%, transparent 100%);
}
[dir="rtl"] .home-marquee__fade--end {
    background: linear-gradient(90deg, #f4f2ff 0%, transparent 100%);
}
.dark .home-marquee__fade--start { background: linear-gradient(90deg, #08080f 0%, transparent 100%); }
.dark .home-marquee__fade--end { background: linear-gradient(270deg, #08080f 0%, transparent 100%); }
.dark [dir="rtl"] .home-marquee__fade--start { background: linear-gradient(270deg, #08080f 0%, transparent 100%); }
.dark [dir="rtl"] .home-marquee__fade--end { background: linear-gradient(90deg, #08080f 0%, transparent 100%); }

.home-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    border-radius: 9999px;
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    color: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
[dir="rtl"] .home-marquee__item { padding: 0.45rem 0.45rem 0.45rem 1rem; }
.dark .home-marquee__item { background: rgba(22, 22, 42, 0.85); }
.home-marquee__item:hover {
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-1px);
}
.home-marquee__item img {
    width: 32px;
    height: 40px;
    border-radius: 0.4rem;
    object-fit: cover;
}

/* Categories grid */
.home-cats-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
    .home-cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .home-cats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.home-cat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--home-radius-lg);
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.dark .home-cat-card { background: rgba(255, 255, 255, 0.04); }
.home-cat-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}
.home-cat-card__thumb {
    flex-shrink: 0;
    width: 48px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
}
.home-cat-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-cat-card__body { flex: 1; min-width: 0; }
.home-cat-card__name {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home-cat-card__count {
    display: block;
    font-size: 0.72rem;
    color: var(--home-text-muted);
    margin-top: 0.15rem;
}
.home-cat-card__arrow {
    flex-shrink: 0;
    font-size: 0.65rem;
    color: #8b5cf6;
    opacity: 0.6;
}

/* Tabs — glass pill bar */
.home-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding-inline: 0.25rem;
}
.home-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.35rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.08);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.home-tabs::-webkit-scrollbar { display: none; }
.dark .home-tabs {
    background: rgba(22, 22, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.08);
}
.home-games-panels { min-height: 12rem; }

.home-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--home-text-muted);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.home-tab i {
    font-size: 0.72rem;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.home-tab.is-active {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: #fff;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35);
    transform: translateY(-1px);
}
.home-tab.is-active i {
    opacity: 1;
    transform: scale(1.08);
}
.dark .home-tab.is-active {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
}
.home-tab:not(.is-active):hover {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}
.dark .home-tab:not(.is-active):hover {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
}

/* Homepage game cards — stagger + glow ring */
.home-games-panels .game-card {
    animation: homeGameCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
.home-games-panels .game-card:nth-child(1) { animation-delay: 0.04s; }
.home-games-panels .game-card:nth-child(2) { animation-delay: 0.08s; }
.home-games-panels .game-card:nth-child(3) { animation-delay: 0.12s; }
.home-games-panels .game-card:nth-child(4) { animation-delay: 0.16s; }
.home-games-panels .game-card:nth-child(5) { animation-delay: 0.2s; }
.home-games-panels .game-card:nth-child(6) { animation-delay: 0.24s; }
@keyframes homeGameCardIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.home-games-panels .game-card--home .game-card__frame {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.35), rgba(6, 182, 212, 0.15), rgba(139, 92, 246, 0.12));
}
.home-games-panels .game-card--home:hover .game-card__frame {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.7), rgba(6, 182, 212, 0.35), rgba(167, 139, 250, 0.5));
    box-shadow: 0 24px 64px rgba(139, 92, 246, 0.28), 0 0 0 1px rgba(139, 92, 246, 0.15);
}
.home-games-panels .game-card--home .game-card__badge--hot {
    animation: homeBadgePulse 2.5s ease-in-out infinite;
}
@keyframes homeBadgePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45); }
    50% { box-shadow: 0 4px 28px rgba(239, 68, 68, 0.55); }
}

/* Stats band */
.home-stats-band {
    padding-block: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.06), rgba(6, 182, 212, 0.04));
    border-block: 1px solid var(--home-border);
}
.dark .home-stats-band {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.12), rgba(6, 182, 212, 0.06));
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 0;
    border: none;
    background: transparent;
}
@media (min-width: 640px) { .home-stats { grid-template-columns: repeat(4, 1fr); } }
.dark .home-stats { background: transparent; }

.home-countries { margin-top: 1.5rem; text-align: center; }
.home-countries__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Offers — modern promo cards */
.home-offers {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 767px) {
    .home-offers { grid-template-columns: 1fr; gap: 1rem; }
}
.home-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(139, 92, 246, 0.12);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.06);
    transition: transform 0.3s var(--gv-ease, ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.dark .home-offer {
    background: rgba(18, 18, 34, 0.88);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.home-offer:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 20px 48px rgba(139, 92, 246, 0.18);
}
.home-offer__hero {
    position: relative;
    height: 9.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #6d28d9 0%, #0891b2 100%);
}
.home-offer__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}
.home-offer:hover .home-offer__hero-img { transform: scale(1.06); }
.home-offer__hero-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.9), rgba(6, 182, 212, 0.75));
}
.home-offer__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
    pointer-events: none;
}
.home-offer__badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
    max-width: calc(100% - 1.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-offer__body {
    padding: 1.15rem 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.home-offer__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    color: #0f172a;
}
.dark .home-offer__title { color: #f8fafc; }
.home-offer__desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--home-text-muted);
    margin-bottom: 1rem;
    flex: 1;
}
.home-offer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.55rem 1.1rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-offer__btn i { font-size: 0.72rem; transition: transform 0.2s ease; }
.home-offer:hover .home-offer__btn {
    box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
}
.home-offer:hover .home-offer__btn i { transform: translateX(var(--home-cta-shift, 0.2rem)); }
[dir="rtl"] .home-offer { --home-cta-shift: -0.2rem; }
@media (max-width: 479px) {
    .home-offer__hero { height: 8rem; }
    .home-offer__body { padding: 1rem; }
    .home-offer__title { font-size: 0.98rem; }
    .home-offer__btn { width: 100%; }
}

/* Trust cards */
.home-stat { text-align: center; }
.home-stat__val {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 900;
    color: #7c3aed;
    font-variant-numeric: tabular-nums;
}
.dark .home-stat__val { color: #a78bfa; }
.home-stat__lbl { font-size: 0.78rem; color: var(--home-text-muted); font-weight: 600; }

.home-trust-grid {
    display: grid;
    gap: var(--home-gap);
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .home-trust-grid { grid-template-columns: repeat(3, 1fr); } }

.home-trust-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--home-radius-lg);
    border: 1px solid var(--home-border);
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dark .home-trust-card { background: rgba(255, 255, 255, 0.03); }
.home-trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.1);
}
.home-trust-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    font-size: 1.25rem;
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.1);
    margin-bottom: 1rem;
}
.home-trust-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: #1e293b; }
.dark .home-trust-card h3 { color: #f1f5f9; }
.home-trust-card p { font-size: 0.85rem; color: var(--home-text-muted); line-height: 1.55; }

.home-payments { margin-bottom: 1.25rem; text-align: center; }
.home-payments__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--home-text-muted);
    margin-bottom: 0.75rem;
}
.home-payments__list,
.home-countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.home-pay-chip,
.home-country-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid var(--home-border);
    color: var(--home-text-muted);
    background: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    white-space: nowrap;
}
.dark .home-pay-chip,
.dark .home-country-chip {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Reviews */
.home-reviews { display: grid; gap: var(--home-gap); }
@media (min-width: 768px) { .home-reviews { grid-template-columns: repeat(3, 1fr); } }

.home-review {
    padding: 1.25rem;
    border-radius: var(--home-radius-lg);
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.55);
}
.dark .home-review { background: rgba(255, 255, 255, 0.03); }
.home-review__stars { color: #f59e0b; font-size: 0.75rem; margin-bottom: 0.75rem; }
.home-review p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--home-text-muted);
    margin-bottom: 1rem;
    min-height: 4.5rem;
}
.home-review footer { display: flex; align-items: center; gap: 0.65rem; }
.home-review__avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-review footer strong { display: block; font-size: 0.85rem; }
.home-review footer span { font-size: 0.75rem; color: #8b5cf6; }

/* FAQ */
.home-faq { display: flex; flex-direction: column; gap: 0.5rem; }
.home-faq__item {
    border-radius: var(--home-radius);
    border: 1px solid var(--home-border);
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
}
.dark .home-faq__item { background: rgba(255, 255, 255, 0.03); }
.home-faq__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: inherit;
    cursor: pointer;
    color: inherit;
}
.home-faq__btn i { font-size: 0.7rem; color: var(--home-text-muted); transition: transform 0.25s ease; }
.home-faq__item.is-open .home-faq__btn i { transform: rotate(180deg); }
.home-faq__body {
    padding: 0 1.15rem 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--home-text-muted);
}
.home-faq__more { text-align: center; margin-top: 1.25rem; }
.home-faq__more a { font-weight: 700; color: #7c3aed; text-decoration: none; }

/* CTA */
.home-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--home-radius-lg);
    background: linear-gradient(135deg, #6d28d9, #7c3aed 50%, #0891b2);
    color: #fff;
}
.home-cta__desc { margin-top: 0.5rem; opacity: 0.85; max-width: 26rem; }
.home-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Lighter background on homepage + keep header zone clear */
.gv-page:has(.home-main) .gv-game-bg { --scroll-intensity: 0.18; }
.gv-page:has(.home-main) .gv-game-bg__poster:nth-child(n+9) { display: none; }
.gv-page--lite .gv-game-bg__poster:nth-child(1),
.gv-page--lite .gv-game-bg__poster:nth-child(2) {
    opacity: 0 !important;
    visibility: hidden;
}
.gv-page--lite .gv-game-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 13rem;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to bottom, #f4f2ff 55%, transparent);
}
.dark .gv-page--lite .gv-game-bg::after {
    background: linear-gradient(to bottom, #08080f 55%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__card,
    .home-hero__orb,
    .home-offer,
    .home-games-panels .game-card,
    .home-games-panels .game-card--home .game-card__badge--hot {
        animation: none !important;
    }
    .home-marquee__track { animation: none; }
}
