:root {
    --fe-body-bg: #f8f9fa;
    --fe-surface: #ffffff;
    --fe-surface-muted: #f8f9fa;
    --fe-page-section-bg: #f4f6f9;
    --fe-border: #dee2e6;
    --fe-text: #2b2b2b;
    --fe-text-muted: #6c757d;
    --fe-primary: #6610f2;
    --fe-primary-dark: #520dc2;
    --fe-primary-soft: #e0d4fc;
    --fe-primary-soft-bg: #f4efff;
    --fe-primary-soft-bg-hover: #fbf9ff;
    --fe-primary-border-soft: #c9aafa;
    --fe-primary-border-tab: #e0d4fc;
    --fe-accent: #d63384;
    --fe-hero-start: #3a0ca3;
    --fe-hero-end: #f72585;
    --fe-hero-glow-1: rgba(114, 9, 183, 0.6);
    --fe-hero-glow-2: rgba(247, 37, 133, 0.5);
    --fe-btn-accent: #ffc107;
    --fe-btn-accent-hover: #ffca2c;
    --fe-btn-accent-text: #000000;
    --fe-footer-bg: #212529;
    --fe-footer-text: #adb5bd;
    --fe-footer-link-hover: #ffc107;
    --fe-navbar-brand: #6610f2;
    --fe-shadow-primary: rgba(102, 16, 242, 0.3);
    --fe-shadow-primary-soft: rgba(102, 16, 242, 0.1);
    --fe-tab-inactive-bg: #e9ecef;
}

body { font-family: 'Poppins', sans-serif; background-color: var(--fe-body-bg); }
.navbar { background-color: rgba(255,255,255,0.95) !important; backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.navbar-brand { font-weight: 700; color: var(--fe-navbar-brand) !important; }
.btn-outline-purple { color: var(--fe-primary); border: 2px solid var(--fe-primary); background: transparent; font-weight: 600; transition: all 0.3s; }
.btn-outline-purple:hover { background: var(--fe-primary); color: #fff; box-shadow: 0 4px 10px var(--fe-shadow-primary); transform: translateY(-2px); }
.hero-section { position: relative; background: linear-gradient(135deg, var(--fe-hero-start) 0%, var(--fe-hero-end) 100%); color: white; padding: 130px 0 90px; border-bottom-left-radius: 50px; border-bottom-right-radius: 50px; overflow: hidden; }
.hero-section--fullslider {
    --fe-navbar-offset: 92px;
    --hero-full-height: 480px;
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(var(--fe-navbar-offset) + 0.65rem) clamp(1rem, 3vw, 2rem) 0;
    background: transparent;
}

.home-promo-band {
    background: linear-gradient(
        180deg,
        var(--fe-primary-soft-bg) 0%,
        color-mix(in srgb, var(--fe-primary-soft-bg) 55%, #ffffff) 38%,
        color-mix(in srgb, var(--fe-body-bg) 88%, #ffffff) 72%,
        var(--fe-body-bg) 100%
    );
}

.home-promo-band__flash {
    background: transparent;
    border-top: none;
}
.hero-full-carousel {
    height: var(--hero-full-height);
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-full-carousel .carousel-inner {
    height: var(--hero-full-height);
}
.hero-full-carousel .carousel-item {
    height: var(--hero-full-height);
}
.hero-full-slide {
    position: relative;
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}
.hero-full-slide--linked:hover .hero-full-bg {
    transform: scale(1.05);
}
.hero-full-slide--linked:hover {
    color: #fff;
}
.hero-full-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}
.hero-full-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 11, 22, 0.9) 0%, rgba(7, 11, 22, 0.62) 38%, rgba(7, 11, 22, 0.28) 62%, rgba(7, 11, 22, 0.12) 100%),
        linear-gradient(180deg, rgba(7, 11, 22, 0.15) 0%, rgba(7, 11, 22, 0.45) 100%);
}
.hero-full-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.5rem 0 3.75rem;
    box-sizing: border-box;
}
.hero-full-content.container {
    --bs-gutter-x: 0;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.hero-full-copy {
    width: 100%;
    max-width: min(52%, 480px);
}
.hero-full-copy-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 22px 22px 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    text-align: left;
}
.hero-full-slide,
.hero-full-slide--linked:hover {
    color: #fff;
}
.hero-full-copy-panel .hero-title--slide {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    line-height: 1.22;
    font-weight: 700;
    color: #fff;
}
.hero-full-copy-panel .hero-lead--slide {
    font-size: clamp(0.88rem, 1.15vw, 0.98rem);
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.35rem;
}
.hero-slide-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fef08a;
    background: rgba(254, 240, 138, 0.12);
    border: 1px solid rgba(254, 240, 138, 0.35);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.hero-promo-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}
.hero-full-indicators {
    z-index: 4;
    margin-bottom: 1.5rem;
}
.hero-full-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 999px;
    opacity: 0.45;
    border: none;
    background-color: #fff;
}
.hero-full-indicators .active {
    opacity: 1;
    width: 44px;
}
.hero-full-control {
    z-index: 4;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.85;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-full-control:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.22);
}
.hero-full-control.carousel-control-prev {
    left: 1.25rem;
}
.hero-full-control.carousel-control-next {
    right: 1.25rem;
}
.hero-glow-1 { position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: var(--fe-hero-glow-1); filter: blur(80px); border-radius: 50%; z-index: 0; }
.hero-glow-2 { position: absolute; bottom: -50px; right: -50px; width: 300px; height: 300px; background: var(--fe-hero-glow-2); filter: blur(90px); border-radius: 50%; z-index: 0; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-weight: 700; font-size: 3rem; line-height: 1.2; text-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.hero-carousel {
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 992px) {
    .hero-section .floating-element {
        animation: float 5s ease-in-out infinite;
    }

    .hero-carousel {
        max-width: 100%;
    }
}
.hero-slider-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-mobile-carousel {
    width: 100%;
}

.hero-carousel--mobile {
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.hero-carousel--unified {
    border: none;
    box-shadow: none;
    overflow: visible;
}

.hero-copy-slide {
    padding: 0;
}

.hero-copy-frame {
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding: 1.15rem 1rem 1rem;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(6px);
}

.hero-promo-slide {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.hero-slide-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--hero-unified-slot-height, 320px);
    padding-bottom: 2.25rem;
}

.hero-slide-slot--copy,
.hero-slide-slot--promo {
    align-items: center;
}

.hero-unified-indicators {
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.flash-sale-card { position: relative; transition: transform .2s ease; }
.flash-sale-card:hover { transform: translateY(-2px); }
.flash-sale-card .card {
    max-width: 100%;
    background: var(--fe-surface);
    border: 1px solid color-mix(in srgb, var(--fe-primary) 14%, rgba(15, 23, 42, 0.1)) !important;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08) !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.flash-sale-card:hover .card {
    border-color: color-mix(in srgb, #ef4444 35%, var(--fe-primary-border-soft)) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}
.flash-sale-card-body {
    background: var(--fe-surface);
}
.flash-sale-list--page {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 767.98px) {
    .flash-sale-list--page .flash-sale-card-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .flash-sale-list--page .flash-sale-card-media {
        flex: none;
        width: 100%;
    }

    .flash-sale-list--page .flash-sale-card-img {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1;
    }

    .flash-sale-list--page .flash-sale-card-body {
        padding: .5rem .55rem .55rem;
    }

    .flash-sale-list--page .flash-sale-card-game,
    .flash-sale-list--page .flash-sale-card-nominal {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .flash-sale-list--page .flash-sale-card-prices {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .flash-sale-list--page .flash-sale-card-footer {
        flex-wrap: wrap;
        gap: .25rem;
        margin-top: .25rem;
    }

    .flash-sale-list--page .flash-sale-countdown-label {
        display: none;
    }

    .flash-sale-list--page .flash-sale-card-stock {
        margin-left: auto;
    }
}
.flash-sale-page-lead {
    max-width: 560px;
}
.flash-sale-page-body {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.flash-sale-page-count {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}
.flash-sale-card-inner {
    display: flex;
    align-items: stretch;
    min-height: 0;
}
.flash-sale-card-media {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    background: #f1f5f9;
    overflow: hidden;
}
.flash-sale-card-badge {
    position: absolute; top: 6px; left: 6px; z-index: 2;
    background: #ef4444; color: #fff; font-size: .625rem; font-weight: 700;
    padding: .15rem .4rem; border-radius: 999px; line-height: 1.2;
}
.flash-sale-card-img {
    width: 100%;
    height: 100%;
    min-height: 88px;
    object-fit: cover;
    display: block;
}
.flash-sale-card-body {
    flex: 1;
    min-width: 0;
    padding: .65rem .75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
}
.flash-sale-card-game {
    font-size: .7rem;
    color: var(--fe-text-muted, #64748b);
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.flash-sale-card-nominal {
    font-size: .82rem;
    font-weight: 600;
    color: var(--fe-text, #0f172a);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.flash-sale-card-title {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}
.flash-sale-card-prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .1rem;
}
.flash-sale-card-price {
    font-size: .9rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.2;
}
.flash-sale-card-original {
    font-size: .7rem;
    color: #94a3b8;
    text-decoration: line-through;
    line-height: 1.2;
}
.flash-sale-card-stock {
    font-size: .7rem;
    color: #64748b;
    line-height: 1.2;
    flex-shrink: 0;
    white-space: nowrap;
}
.flash-sale-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .15rem;
    min-width: 0;
}
.flash-sale-countdown {
    font-variant-numeric: tabular-nums;
    margin-top: 0;
    flex: 1 1 auto;
    min-width: 0;
}
.flash-sale-countdown-label {
    display: block;
    font-size: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #64748b;
    margin-bottom: .05rem;
    line-height: 1.2;
}
.flash-sale-countdown-value {
    font-size: .75rem;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.2;
}

.item-card-flash-sale { border-color: #fca5a5 !important; background: linear-gradient(180deg, #fff5f5 0%, #fff 100%); }
.item-flash-badge {
    display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase;
    background: #ef4444; color: #fff; padding: .15rem .45rem; border-radius: 999px; margin-bottom: .35rem;
}
.item-price-sale { color: #dc2626; font-weight: 700; }
.item-price-original { font-size: .8rem; }
.floating-element { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.btn-custom { background: var(--fe-btn-accent); color: var(--fe-btn-accent-text); font-weight: 600; border: none; padding: 12px 30px; border-radius: 30px; transition: all 0.3s; }
.btn-custom:hover { background: var(--fe-btn-accent-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255,193,7,0.4); }
.btn-outline-light-custom { border: 2px solid rgba(255,255,255,0.5); color: #fff; font-weight: 600; padding: 10px 28px; border-radius: 30px; transition: all 0.3s; }
.btn-outline-light-custom:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.custom-tabs .nav-link { color: var(--fe-text-muted); font-weight: 600; background: var(--fe-tab-inactive-bg); border-radius: 50px; padding: 8px 24px; margin-right: 10px; margin-bottom: 10px; transition: all 0.3s; border: 1px solid transparent; }
.custom-tabs .nav-link:hover { background: var(--fe-primary-soft-bg); color: var(--fe-primary); border-color: var(--fe-primary-border-tab); }
.custom-tabs .nav-link.active { background: var(--fe-primary); color: white; box-shadow: 0 4px 10px var(--fe-shadow-primary); border-color: var(--fe-primary); }
.feature-card { border: none; border-radius: 20px; padding: 30px 20px; transition: all 0.3s; background: var(--fe-surface); box-shadow: 0 5px 20px rgba(0,0,0,0.03); height: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px var(--fe-shadow-primary-soft); }
.feature-icon { font-size: 3rem; color: var(--fe-accent); margin-bottom: 20px; }

/* Home — features, steps & footer transition */
.home-features-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, var(--fe-primary-soft-bg) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(247, 37, 133, 0.08) 0%, transparent 40%),
        var(--fe-body-bg);
}

.home-steps-section {
    position: relative;
    background: linear-gradient(180deg, var(--fe-surface) 0%, var(--fe-primary-soft-bg) 100%);
}

.home-section-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}

.home-section-glow--left {
    top: -80px;
    left: -100px;
    background: var(--fe-hero-glow-1);
}

.home-section-glow--right {
    bottom: -100px;
    right: -80px;
    background: var(--fe-hero-glow-2);
}

.home-section-head {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-head--start {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.home-section-head--start .home-section-lead {
    margin-left: 0;
    margin-right: 0;
}

.home-section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fe-primary);
    background: var(--fe-primary-soft-bg);
    border: 1px solid var(--fe-primary-border-tab);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.home-section-badge--light {
    background: rgba(255, 255, 255, 0.85);
}

.home-section-lead {
    max-width: 520px;
    font-size: 0.95rem;
}

.feature-card--elevated {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 2rem 1.5rem 1.75rem;
    overflow: hidden;
}

.feature-card--elevated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fe-hero-start), var(--fe-primary), var(--fe-hero-end));
    opacity: 0.85;
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

.feature-card--elevated:hover .feature-icon-wrap {
    transform: scale(1.08) rotate(-3deg);
}

.feature-icon-wrap--pink {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.15), rgba(214, 51, 132, 0.08));
    color: #d63384;
}

.feature-icon-wrap--green {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.15), rgba(25, 135, 84, 0.06));
    color: #198754;
}

.feature-icon-wrap--purple {
    background: linear-gradient(135deg, var(--fe-primary-soft-bg), rgba(102, 16, 242, 0.08));
    color: var(--fe-primary);
}

.home-step-card {
    position: relative;
    background: var(--fe-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 2rem 1.5rem 1.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px var(--fe-shadow-primary-soft);
}

.home-step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fe-primary), var(--fe-hero-end));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px var(--fe-shadow-primary);
    border: 3px solid var(--fe-surface);
}

.home-step-icon {
    width: 64px;
    height: 64px;
    margin: 0.75rem auto 1rem;
    border-radius: 18px;
    background: var(--fe-primary-soft-bg);
    color: var(--fe-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    .home-steps-row {
        position: relative;
    }

    .home-steps-row::before {
        content: '';
        position: absolute;
        top: 42px;
        left: 18%;
        right: 18%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--fe-primary-soft), var(--fe-primary), var(--fe-primary-soft), transparent);
        opacity: 0.6;
        z-index: 0;
    }

    .home-steps-row > [class*='col-'] {
        position: relative;
        z-index: 1;
    }
}

.footer-wave {
    line-height: 0;
    margin-top: 0;
    margin-bottom: -1px;
    background: var(--fe-surface);
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 48px;
    fill: var(--fe-footer-bg);
    vertical-align: bottom;
}

/* Home — video tutorial & animated demo */
.home-tutorial-section {
    background: linear-gradient(180deg, var(--fe-primary-soft-bg) 0%, var(--fe-surface) 100%);
    margin-bottom: 0;
}

.home-tutorial-section .container {
    padding-bottom: 1.5rem;
}

.topup-tutorial-player iframe,
.topup-tutorial-player video {
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.topup-tutorial-demo {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.topup-demo-player {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--fe-surface);
}

.topup-demo-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--fe-hero-start), var(--fe-primary));
    color: #fff;
}

.topup-demo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.topup-demo-title {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.95;
}

.topup-demo-screen {
    position: relative;
    height: 400px;
    background: var(--fe-page-section-bg, #f4f6f9);
    overflow: hidden;
}

.topup-demo-scene {
    position: absolute;
    inset: 0;
    padding: 0.85rem 1rem;
    opacity: 0;
    animation-duration: 16s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.topup-demo-scene--1 { animation-name: topupDemoScene1; }
.topup-demo-scene--2 { animation-name: topupDemoScene2; }
.topup-demo-scene--3 { animation-name: topupDemoScene3; }
.topup-demo-scene--4 { animation-name: topupDemoScene4; }

@keyframes topupDemoScene1 {
    0%, 21% { opacity: 1; transform: translateY(0); }
    24%, 100% { opacity: 0; transform: translateY(6px); pointer-events: none; }
}

@keyframes topupDemoScene2 {
    0%, 23% { opacity: 0; transform: translateY(6px); }
    26%, 46% { opacity: 1; transform: translateY(0); }
    49%, 100% { opacity: 0; transform: translateY(6px); pointer-events: none; }
}

@keyframes topupDemoScene3 {
    0%, 48% { opacity: 0; transform: translateY(6px); }
    51%, 71% { opacity: 1; transform: translateY(0); }
    74%, 100% { opacity: 0; transform: translateY(6px); pointer-events: none; }
}

@keyframes topupDemoScene4 {
    0%, 73% { opacity: 0; transform: translateY(6px); }
    76%, 96% { opacity: 1; transform: translateY(0); }
    99%, 100% { opacity: 0; transform: translateY(6px); pointer-events: none; }
}

.topup-demo-view {
    height: 100%;
    overflow: hidden;
}

/* Scene 1 — katalog game */
.topup-demo-view--catalog {
    background: var(--fe-surface-muted, #f8f9fa);
    border-radius: 12px;
    padding: 0.65rem 0.75rem 0.75rem;
}

.topup-demo-catalog-head {
    text-align: center;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.topup-demo-catalog-head strong {
    display: block;
    font-size: 0.82rem;
}

.topup-demo-catalog-head span {
    font-size: 0.65rem;
}

.topup-demo-tabs {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.55rem;
}

.topup-demo-tab {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: var(--fe-tab-inactive-bg);
    color: var(--fe-text-muted);
}

.topup-demo-tab--active {
    background: var(--fe-primary);
    color: #fff;
    box-shadow: 0 3px 8px var(--fe-shadow-primary-soft);
}

.topup-demo-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
}

.topup-tutorial-demo .topup-demo-game-grid .game-card {
    pointer-events: none;
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.topup-tutorial-demo .topup-demo-game-grid .game-card-body {
    padding: 8px 6px 10px;
}

.topup-tutorial-demo .topup-demo-game-grid .game-title {
    font-size: 0.58rem;
    margin-bottom: 6px;
}

.topup-tutorial-demo .topup-demo-game-grid .btn-topup {
    font-size: 0.58rem;
    padding: 4px 8px;
}

.topup-demo-game-card--active {
    border-color: var(--fe-primary-border-soft) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 22px var(--fe-shadow-primary) !important;
    animation: topupDemoGamePick 1.4s ease-in-out infinite;
}

.topup-demo-game-card--active .btn-topup {
    background: var(--fe-primary) !important;
    color: #fff !important;
}

@keyframes topupDemoGamePick {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(-7px); }
}

/* Scene 2 — data akun */
.topup-demo-view--form {
    padding-top: 0.15rem;
}

.topup-demo-topup-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    padding: 0.45rem 0.55rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fe-hero-start), var(--fe-hero-end));
    color: #fff;
    font-size: 0.72rem;
}

.topup-demo-game-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, #1e293b, #334155);
    flex-shrink: 0;
}

.topup-demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: 0.35rem;
    font-size: 0.58rem;
    background: #ffc107;
    color: #000;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-weight: 600;
}

.topup-demo-badge .bi-shield-check {
    color: #198754;
}

.topup-tutorial-demo .topup-demo-step-card {
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.topup-tutorial-demo .topup-demo-step-card .step-header {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    margin-right: 10px;
}

.topup-tutorial-demo .topup-demo-step-card h6 {
    font-size: 0.78rem;
}

.topup-tutorial-demo .topup-demo-input {
    font-size: 0.72rem;
    padding: 0.35rem 0.55rem;
    min-height: auto;
    background: #fff;
}

.topup-demo-input--typing {
    color: var(--fe-primary);
    font-weight: 600;
    border-color: var(--fe-primary-border-soft);
    box-shadow: 0 0 0 3px var(--fe-primary-soft-bg);
    animation: topupDemoFieldFocus 1.2s ease-in-out infinite;
}

@keyframes topupDemoFieldFocus {
    0%, 100% { box-shadow: 0 0 0 3px var(--fe-primary-soft-bg); }
    50% { box-shadow: 0 0 0 5px rgba(102, 16, 242, 0.15); }
}

/* Scene 3 — pilih produk */
.topup-demo-view--products {
    padding-top: 0.2rem;
}

.topup-demo-hint {
    font-size: 0.62rem !important;
    line-height: 1.3;
}

.topup-demo-product-grid .item-card {
    padding: 0.55rem 0.4rem;
    min-height: 58px;
    text-align: center;
}

.topup-demo-product-grid .item-name {
    font-size: 0.62rem;
    line-height: 1.2;
    display: block;
}

.topup-demo-product-grid .item-price {
    font-size: 0.62rem;
    margin-top: 4px;
}

.topup-demo-item-card--selected {
    border-color: var(--fe-primary) !important;
    background: var(--fe-primary-soft-bg) !important;
    box-shadow: 0 4px 10px var(--fe-shadow-primary-soft) !important;
    animation: topupDemoProductPick 1.2s ease-in-out infinite;
}

@keyframes topupDemoProductPick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Scene 4 — metode pembayaran */
.topup-demo-view--payment {
    padding-top: 0.15rem;
}

.topup-tutorial-demo .topup-demo-payment-option {
    pointer-events: none;
    padding: 0.5rem 0.55rem;
    margin-bottom: 0;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-body {
    min-height: 30px;
    gap: 0.45rem;
    padding-right: 1.35rem;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-logo {
    height: 20px;
    width: 32px;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-logo-ovo {
    width: 22px;
    height: 22px;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-icon {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-name {
    font-size: 0.68rem;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-badge {
    font-size: 0.55rem;
    padding: 1px 5px;
}

.topup-tutorial-demo .topup-demo-payment-option .payment-option-check {
    width: 18px;
    height: 18px;
    font-size: 10px;
    right: 7px;
}

.topup-demo-payment-option--selected {
    border-color: var(--fe-primary) !important;
    background: var(--fe-primary-soft-bg) !important;
    box-shadow: 0 0 0 3px var(--fe-shadow-primary-soft) !important;
    animation: topupDemoPaymentPick 1.2s ease-in-out infinite;
}

.topup-demo-payment-option--selected .payment-option-check {
    border-color: var(--fe-primary) !important;
    background: var(--fe-primary) !important;
    color: #fff !important;
}

@keyframes topupDemoPaymentPick {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.topup-tutorial-demo .topup-demo-checkout {
    font-size: 0.72rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    margin-top: 0.15rem;
    animation: topupDemoCheckoutPulse 1.4s ease-in-out infinite;
}

@keyframes topupDemoCheckoutPulse {
    0%, 100% { transform: translateY(0); box-shadow: none; }
    50% { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 193, 7, 0.35); }
}

.topup-demo-cursor {
    position: absolute;
    color: var(--fe-text);
    font-size: 1.15rem;
    opacity: 0.9;
    z-index: 5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.topup-demo-cursor--1 {
    bottom: 22%;
    right: 28%;
    animation: topupDemoCursor1 16s ease-in-out infinite, topupDemoMove1 1.4s ease-in-out infinite;
}

.topup-demo-cursor--2 {
    bottom: 42%;
    left: 38%;
    animation: topupDemoCursor2 16s ease-in-out infinite, topupDemoMove2 1.4s ease-in-out infinite;
}

.topup-demo-cursor--3 {
    bottom: 34%;
    right: 36%;
    animation: topupDemoCursor3 16s ease-in-out infinite, topupDemoMove3 1.4s ease-in-out infinite;
}

.topup-demo-cursor--4 {
    bottom: 18%;
    left: 42%;
    animation: topupDemoCursor4 16s ease-in-out infinite, topupDemoMove4 1.4s ease-in-out infinite;
}

@keyframes topupDemoCursor1 {
    0%, 21% { opacity: 0.9; }
    24%, 100% { opacity: 0; }
}

@keyframes topupDemoCursor2 {
    0%, 25% { opacity: 0; }
    26%, 46% { opacity: 0.9; }
    49%, 100% { opacity: 0; }
}

@keyframes topupDemoCursor3 {
    0%, 50% { opacity: 0; }
    51%, 71% { opacity: 0.9; }
    74%, 100% { opacity: 0; }
}

@keyframes topupDemoCursor4 {
    0%, 75% { opacity: 0; }
    76%, 96% { opacity: 0.9; }
    99%, 100% { opacity: 0; }
}

@keyframes topupDemoMove1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-28px, -14px); }
}

@keyframes topupDemoMove2 {
    0%, 100% { transform: translate(0, 0); }
    45% { transform: translate(8px, 6px); }
}

@keyframes topupDemoMove3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-18px, 8px); }
}

@keyframes topupDemoMove4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -10px); }
}

.topup-demo-footer {
    padding: 0.75rem 1rem 1rem;
    background: var(--fe-surface);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.topup-demo-progress {
    height: 4px;
    background: var(--fe-primary-soft-bg);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.65rem;
}

.topup-demo-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--fe-primary), var(--fe-hero-end));
    border-radius: inherit;
    animation: topupDemoProgress 16s linear infinite;
}

@keyframes topupDemoProgress {
    0% { width: 0; }
    24% { width: 25%; }
    49% { width: 50%; }
    74% { width: 75%; }
    100% { width: 100%; }
}

.topup-demo-steps-caption {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--fe-text-muted);
}

.topup-demo-step-caption {
    opacity: 0.45;
    flex: 1;
    text-align: center;
    color: var(--fe-text-muted);
    animation-duration: 16s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.topup-demo-step-caption--1 { animation-name: topupDemoCaption1; }
.topup-demo-step-caption--2 { animation-name: topupDemoCaption2; }
.topup-demo-step-caption--3 { animation-name: topupDemoCaption3; }
.topup-demo-step-caption--4 { animation-name: topupDemoCaption4; }

@keyframes topupDemoCaption1 {
    0%, 21% { opacity: 1; color: var(--fe-primary); }
    24%, 100% { opacity: 0.45; color: var(--fe-text-muted); }
}

@keyframes topupDemoCaption2 {
    0%, 25% { opacity: 0.45; color: var(--fe-text-muted); }
    26%, 46% { opacity: 1; color: var(--fe-primary); }
    49%, 100% { opacity: 0.45; color: var(--fe-text-muted); }
}

@keyframes topupDemoCaption3 {
    0%, 50% { opacity: 0.45; color: var(--fe-text-muted); }
    51%, 71% { opacity: 1; color: var(--fe-primary); }
    74%, 100% { opacity: 0.45; color: var(--fe-text-muted); }
}

@keyframes topupDemoCaption4 {
    0%, 75% { opacity: 0.45; color: var(--fe-text-muted); }
    76%, 96% { opacity: 1; color: var(--fe-primary); }
    99%, 100% { opacity: 0.45; color: var(--fe-text-muted); }
}

@media (prefers-reduced-motion: reduce) {
    .topup-demo-scene,
    .topup-demo-progress-bar,
    .topup-demo-step-caption,
    .topup-demo-game-card--active,
    .topup-demo-item-card--selected,
    .topup-demo-payment-option--selected,
    .topup-demo-checkout,
    .topup-demo-input--typing,
    .topup-demo-cursor--1,
    .topup-demo-cursor--2,
    .topup-demo-cursor--3,
    .topup-demo-cursor--4 {
        animation: none !important;
    }

    .topup-demo-scene--1 {
        opacity: 1;
        position: relative;
    }

    .topup-demo-scene--2,
    .topup-demo-scene--3,
    .topup-demo-scene--4 {
        display: none;
    }
}

.step-number { width: 60px; height: 60px; background: var(--fe-primary); color: white; font-size: 1.5rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.game-card { display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; background: var(--fe-surface); text-decoration: none; overflow: hidden; box-shadow: 0 8px 15px rgba(0,0,0,0.08); transition: all 0.3s; height: 100%; }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px var(--fe-shadow-primary); border-color: var(--fe-primary-border-soft); }
.game-card .img-wrapper { overflow: hidden; aspect-ratio: 1/1; position: relative; background: #111827; }
.game-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; padding: 0; transition: transform 0.5s ease; }
.game-card:hover img { transform: scale(1.08); }
.game-card-body { padding: 15px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; flex-grow: 1; background: linear-gradient(to bottom, var(--fe-surface), var(--fe-surface-muted)); }
.game-title { font-size: 0.9rem; font-weight: 700; color: var(--fe-text); margin-bottom: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.btn-topup { font-size: 0.75rem; font-weight: 600; padding: 6px 15px; border-radius: 20px; background: var(--fe-primary-soft); color: var(--fe-primary); border: none; width: 100%; transition: all 0.3s; text-align: center; }
.game-card:hover .btn-topup { background: var(--fe-primary); color: #fff; }
.footer {
    position: relative;
    background: var(--fe-footer-bg);
    color: var(--fe-footer-text);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fe-primary), transparent);
    opacity: 0.5;
}

.footer-brand-glow {
    position: absolute;
    top: 2rem;
    left: -4rem;
    width: 200px;
    height: 200px;
    background: var(--fe-primary);
    opacity: 0.05;
    filter: blur(60px);
    border-radius: 50%;
    pointer-events: none;
}
.footer-link { color: var(--fe-footer-text); transition: all 0.3s; text-decoration: none; }
.footer-link:hover { color: var(--fe-footer-link-hover) !important; padding-left: 5px; }
.payment-icon-wrapper { background: #fff; padding: 4px 8px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; }
.footer-pay-badge {
    padding: 8px 12px;
    border-radius: 10px;
    transition: transform 0.2s ease;
}
.footer-pay-badge:hover {
    transform: translateY(-2px);
}
.payment-icon-wrapper img { height: 18px; width: auto; object-fit: contain; }
.blog-header { background: linear-gradient(135deg, var(--fe-hero-start) 0%, var(--fe-hero-end) 100%); color: white; padding: 120px 0 60px; position: relative; overflow: hidden; }
.blog-glow-1 { position: absolute; top: -50px; left: -50px; width: 300px; height: 300px; background: var(--fe-hero-glow-1); filter: blur(80px); border-radius: 50%; z-index: 0; }
.blog-glow-2 { position: absolute; bottom: -50px; right: -50px; width: 200px; height: 200px; background: var(--fe-hero-glow-2); filter: blur(90px); border-radius: 50%; z-index: 0; }
.blog-header-content { position: relative; z-index: 2; }
.blog-card { border: none; border-radius: 16px; background: var(--fe-surface); box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: all 0.3s; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px var(--fe-shadow-primary-soft); }
.blog-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-img-wrapper img { transform: scale(1.08); }
.blog-category-badge { position: absolute; top: 15px; left: 15px; background: var(--fe-primary); color: #fff; padding: 5px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; z-index: 2; }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-title { font-size: 1.1rem; font-weight: 700; color: var(--fe-text); margin-bottom: 10px; text-decoration: none; transition: color 0.3s; }
.blog-title:hover { color: var(--fe-primary); }
.blog-excerpt { color: var(--fe-text-muted); font-size: 0.85rem; margin-bottom: 15px; }
.blog-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 0.8rem; color: #adb5bd; border-top: 1px solid #f0f0f0; padding-top: 15px; }
.text-fe-primary { color: var(--fe-primary) !important; }
.bg-fe-primary { background: var(--fe-primary) !important; border-color: var(--fe-primary) !important; color: #fff !important; }
.blog-header.game-topup-header {
    --game-topup-nav-offset: 5rem;
    --game-topup-space: 2.75rem;
    padding-top: calc(var(--game-topup-nav-offset) + var(--game-topup-space));
    padding-bottom: var(--game-topup-space);
    min-height: calc(var(--game-topup-nav-offset) + var(--game-topup-space) * 2 + 4.75rem + 40px);
    display: flex;
    align-items: center;
}

.blog-header.game-topup-header .blog-header-content {
    width: 100%;
}

.game-topup-title {
    font-size: 1.65rem;
    line-height: 1.25;
}

.game-topup-badge {
    font-size: 0.8rem;
    font-weight: 600;
}

.game-topup-badge .bi-shield-check {
    color: #198754;
}

.payment-method-inline-logo {
    height: 22px;
    width: auto;
    max-width: 36px;
    object-fit: contain;
}

.payment-icon-wrapper img.payment-logo-ovo {
    height: 22px;
    width: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.game-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.9);
    object-fit: cover;
    flex-shrink: 0;
}
.step-card { background: var(--fe-surface); border-radius: 16px; border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.03); margin-bottom: 25px; }
.step-header { background: var(--fe-primary); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; margin-right: 15px; }
.item-radio { display: none; }
.item-card { border: 2px solid #f0f0f0; border-radius: 12px; padding: 15px; cursor: pointer; transition: all 0.2s; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.item-card:hover { border-color: var(--fe-primary-border-soft); background: var(--fe-primary-soft-bg-hover); }
.item-radio:checked + .item-card { border-color: var(--fe-primary); background: var(--fe-primary-soft-bg); box-shadow: 0 4px 10px var(--fe-shadow-primary-soft); }
.item-price { font-weight: 700; color: var(--fe-primary); font-size: 0.95rem; margin-top: 8px; }
.payment-method { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border: 1px solid #eee; border-radius: 10px; margin-bottom: 10px; cursor: pointer; transition: 0.2s; }
.payment-method:hover { border-color: var(--fe-primary); background: var(--fe-body-bg); }
.payment-radio:checked + .payment-method { border-color: var(--fe-primary); background: var(--fe-primary-soft-bg); }
.payment-logo { height: 22px; width: 50px; object-fit: contain; object-position: left; margin-right: 12px; }
.payment-logo.payment-logo-ovo { width: 22px; object-fit: cover; border-radius: 4px; }
.btn-checkout { background: var(--fe-btn-accent); color: var(--fe-btn-accent-text); font-weight: 700; padding: 15px; border-radius: 12px; font-size: 1.1rem; transition: all 0.3s; border: none; }
.btn-checkout:hover { background: var(--fe-btn-accent-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,193,7,0.4); }
.info-card { background: var(--fe-surface); border-radius: 16px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: none; padding: 25px; display: flex; align-items: center; transition: all 0.3s; text-decoration: none; color: inherit; }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--fe-shadow-primary-soft); }
.icon-box { width: 55px; height: 55px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-right: 20px; flex-shrink: 0; }
.form-card { background: var(--fe-surface); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); border: none; padding: 40px; }
.btn-submit { background: var(--fe-primary); color: #fff; font-weight: 600; padding: 14px; border-radius: 12px; transition: all 0.3s; border: none; }
.btn-submit:hover { background: var(--fe-primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px var(--fe-shadow-primary); }

.topup-page-body,
.fe-page-section {
    background: var(--fe-page-section-bg, #f4f6f9);
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }

    .hero-section {
        padding: 96px 0 56px;
        border-bottom-left-radius: 32px;
        border-bottom-right-radius: 32px;
    }

    .hero-section--fullslider {
        --fe-navbar-offset: 84px;
        --hero-full-height: 240px;
        padding: calc(var(--fe-navbar-offset) + 0.5rem) 1rem 0;
    }

    .hero-full-carousel {
        border-radius: 16px;
    }

    .hero-full-content {
        padding: 0.65rem 0 2rem;
        align-items: center;
    }

    .hero-full-copy {
        max-width: min(68%, 250px);
        margin-inline: 0;
    }

    .hero-full-copy-panel {
        padding: 0.5rem 0.55rem 0.5rem 0.6rem;
        border-radius: 0 12px 12px 0;
        border-left: none;
    }

    .hero-full-copy-panel .hero-title--slide {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.2rem !important;
    }

    .hero-full-copy-panel .hero-lead--slide {
        font-size: 0.625rem;
        line-height: 1.3;
        margin-top: 0.15rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-slide-eyebrow {
        font-size: 0.52rem;
        padding: 0.15rem 0.45rem;
        margin-bottom: 0.35rem;
        letter-spacing: 0.06em;
    }

    .hero-promo-hint {
        display: none;
    }

    .hero-full-indicators {
        margin-bottom: 0.65rem;
    }

    .hero-full-indicators [data-bs-target] {
        width: 22px;
        height: 3px;
    }

    .hero-full-indicators .active {
        width: 30px;
    }

    .flash-sale-list:not(.flash-sale-list--page) {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.65rem;
        margin-inline: 0;
        padding-bottom: 0.35rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .flash-sale-list:not(.flash-sale-list--page)::-webkit-scrollbar {
        display: none;
    }

    .flash-sale-list:not(.flash-sale-list--page).row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    .flash-sale-list:not(.flash-sale-list--page) > .flash-sale-list__item {
        flex: 0 0 min(88vw, 300px);
        max-width: min(88vw, 300px);
        width: min(88vw, 300px);
        scroll-snap-align: start;
        padding: 0;
        margin: 0;
    }

    .hero-full-overlay {
        background:
            linear-gradient(90deg, rgba(7, 11, 22, 0.88) 0%, rgba(7, 11, 22, 0.55) 45%, rgba(7, 11, 22, 0.35) 100%),
            linear-gradient(180deg, rgba(7, 11, 22, 0.2) 0%, rgba(7, 11, 22, 0.5) 100%);
    }

    .hero-full-control {
        display: none;
    }

    .hero-copy-col .badge {
        margin-top: 0.15rem;
    }

    .hero-mobile-carousel {
        margin-top: 0.25rem;
    }

    .hero-carousel--unified {
        --hero-unified-slot-height: 300px;
    }

    .hero-copy-frame {
        max-width: 320px;
        padding: 1rem 0.9rem 0.9rem;
    }

    .hero-title--compact {
        font-size: 1.45rem;
        line-height: 1.25;
        margin-bottom: 0.5rem !important;
    }

    .hero-lead--compact {
        font-size: 0.82rem;
        line-height: 1.45;
        margin-bottom: 0.85rem !important;
    }

    .hero-copy-frame .badge {
        font-size: 0.7rem;
        margin-bottom: 0.65rem !important;
    }

    .hero-copy-frame .btn {
        width: 100%;
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
    }

    .hero-carousel--unified .hero-slider-image {
        max-height: 220px;
    }

    .hero-unified-indicators [data-bs-target] {
        background-color: rgba(255, 255, 255, 0.55);
    }

    .hero-unified-indicators .active {
        background-color: #fff;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
        margin-bottom: 1rem !important;
    }

    .hero-section .hero-title {
        margin-bottom: 0.75rem !important;
    }

    .hero-section .floating-element {
        animation: none;
    }

    .hero-carousel {
        border-width: 2px;
        max-width: none;
        width: 100%;
        margin-inline: 0;
        margin-top: 0;
    }

    .hero-slider-image {
        height: auto;
        aspect-ratio: 16 / 9;
        max-height: 210px;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-carousel .carousel-indicators {
        margin-bottom: 0.5rem;
    }

    .hero-carousel .carousel-indicators [data-bs-target] {
        width: 22px;
        height: 3px;
        border-radius: 999px;
        opacity: 0.55;
    }

    .hero-carousel .carousel-indicators .active {
        opacity: 1;
    }

    .blog-header {
        padding: 108px 0 44px;
    }

    .blog-header .lead {
        font-size: 1rem;
    }

    .form-card {
        padding: 24px 18px;
    }

    .custom-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .custom-tabs::-webkit-scrollbar {
        display: none;
    }

    .custom-tabs .nav-link {
        white-space: nowrap;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .game-title {
        font-size: 0.78rem;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand span {
        font-size: 0.95rem;
    }

    .navbar-collapse .navbar-nav {
        padding-top: 12px;
    }

    .navbar-nav .nav-item.ms-lg-3 {
        width: 100%;
        margin-left: 0 !important;
    }

    .navbar-nav .nav-item.ms-lg-3 .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 8px;
    }

    .game-topup-header {
        --game-topup-nav-offset: 4.5rem;
        --game-topup-space: 2rem;
        padding-top: calc(var(--game-topup-nav-offset) + var(--game-topup-space)) !important;
        padding-bottom: var(--game-topup-space) !important;
        min-height: calc(var(--game-topup-nav-offset) + var(--game-topup-space) * 2 + 3.5rem + 40px);
    }

    .game-topup-title {
        font-size: 1.35rem;
    }

    .game-logo {
        width: 56px;
        height: 56px;
    }

    .step-card .card-body {
        padding: 16px;
    }

    .info-card {
        padding: 18px;
    }

    .icon-box {
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
        margin-right: 14px;
    }

    .payment-method {
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer .row > div {
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-section {
        padding: 88px 0 48px;
    }

    .hero-section--fullslider {
        --fe-navbar-offset: 80px;
        --hero-full-height: 210px;
        padding: calc(var(--fe-navbar-offset) + 0.4rem) 0.75rem 0;
    }

    .hero-full-carousel {
        border-radius: 14px;
    }

    .hero-full-copy {
        max-width: min(62%, 215px);
    }

    .hero-full-copy-panel {
        padding: 0.45rem 0.5rem 0.45rem 0.55rem;
        border-radius: 0 10px 10px 0;
    }

    .hero-full-copy-panel .hero-title--slide {
        font-size: 0.74rem;
        line-height: 1.22;
    }

    .hero-full-copy-panel .hero-lead--slide {
        font-size: 0.58rem;
        line-height: 1.28;
        -webkit-line-clamp: 2;
    }

    .hero-slide-eyebrow {
        font-size: 0.48rem;
        padding: 0.12rem 0.4rem;
        margin-bottom: 0.3rem;
    }

    .hero-slider-image {
        max-height: 185px;
    }

    .hero-carousel--unified {
        --hero-unified-slot-height: 280px;
    }

    .hero-copy-frame {
        max-width: 300px;
        padding: 0.9rem 0.85rem 0.85rem;
    }

    .hero-title--compact {
        font-size: 1.3rem;
    }

    .hero-lead--compact {
        font-size: 0.78rem;
    }

    .hero-section .btn-lg {
        width: 100%;
    }

    .hero-section .d-flex.flex-column.flex-sm-row {
        align-items: stretch !important;
    }

    .btn-topup {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .game-card-body {
        padding: 10px;
    }

    #flash-sale {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    #flash-sale .home-section-head {
        margin-bottom: .65rem !important;
    }

    #flash-sale .home-section-head h2 {
        font-size: 1.15rem;
        margin-bottom: .25rem !important;
    }

    #flash-sale .home-section-lead {
        font-size: .78rem;
    }

    .flash-sale-card-media {
        flex: 0 0 56px;
        width: 56px;
    }

    .flash-sale-card-img {
        min-height: 56px;
    }

    .flash-sale-card-badge {
        top: 4px;
        left: 4px;
        font-size: .55rem;
        padding: .1rem .3rem;
    }

    .flash-sale-card-body {
        padding: .45rem .55rem .45rem .5rem;
        gap: .05rem;
    }

    .flash-sale-card-game {
        font-size: .66rem;
    }

    .flash-sale-card-nominal {
        font-size: .76rem;
    }

    .flash-sale-card-price {
        font-size: .78rem;
    }

    .flash-sale-card-original {
        font-size: .62rem;
    }

    .flash-sale-countdown-label {
        display: none;
    }

    .flash-sale-countdown-value {
        font-size: .65rem;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .flash-sale-countdown-value::before {
        content: '\F117';
        font-family: 'bootstrap-icons';
        font-weight: 400;
        margin-right: .2rem;
        font-size: .62rem;
        opacity: .85;
    }

    .flash-sale-card-stock {
        font-size: .62rem;
    }

    .flash-sale-card .card {
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.09) !important;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
    }
}
