@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #D60C3E;
    --secondary-color: #1F1F44;
    --gold-color: #FFD700;
    --background-color: #f0f2f5;
    --surface-color: #FFFFFF;
    --border-color: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
}

body {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
    overflow-x: hidden;
    flex-direction: column;
}
.unified-container {
    width: 100%;
    max-width: 900px;
    background-color: var(--surface-color);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 auto;
}

.banner-container {
    width: 100%;
    overflow: hidden;
}

.main-container {
    background-color: transparent;
    padding: clamp(1.5rem, 4vw, 3rem);
    width: 100%;
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: auto;
    background-color: transparent;
    position: relative;
    aspect-ratio: 1000 / 400;
}

.banner-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Event Cards Customization */
.event-card { 
    background-color: #fff; 
    border: none; 
    border-radius: 1rem; 
    padding: 1.5rem; 
    text-align: center; 
    cursor: pointer; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
}

.red-card {
    background: linear-gradient(135deg, #D60C3E 0%, #9e092e 100%);
    color: white;
}
.red-card h3, .red-card p, .red-card i { color: white !important; }

.gold-card {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    color: #634204;
}
.gold-card h3 { color: #634204 !important; }
.gold-card i { color: #d35400 !important; } /* Orange/Red icon for contrast */
.gold-card p { color: rgba(99, 66, 4, 0.8) !important; }

.event-card i { font-size: 3.5rem; margin-bottom: 0.5rem; }
.event-card h3 { font-size: 1.2rem; margin-top: 0.5rem; }
.event-card p { font-size: 0.85rem; }

.btn-primary { background-color: var(--primary-color); border-color: var(--primary-color); font-weight: 600; padding: 0.8rem 1.5rem; letter-spacing: 0.5px; color: #fff !important; transition: all 0.3s ease; }
.btn-primary:hover, .btn-primary:focus { background-color: #b00a33; border-color: #a0092e; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(214, 12, 62, 0.3); }

/* Added Styles For Login Button Consistency */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    color: #fff !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 12, 62, 0.3);
}
/* End of Added Styles */

.form-control:focus { border-color: var(--primary-color); box-shadow: 0 0 0 0.25rem rgba(214, 12, 62, 0.25); }

.wheel-container { position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1; margin: 0 auto 2rem auto; }
.wheel-pointer { font-size: 3.5rem; color: var(--primary-color); position: absolute; top: -25px; left: 50%; transform: translateX(-50%); z-index: 10; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.wheel-base-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
#spin-wheel-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; }

.box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    margin-bottom: 1rem;
    margin-top: 0;
    perspective: 800px;
}
.gift-box {
    position: relative;
    width: 160px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gift-box:hover {
    transform: scale(1.05);
}
.gift-box::before, .gift-box::after {
    content: '';
    position: absolute;
    background-color: #4a4a88;
}
.gift-box::before {
    width: 25px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}
.gift-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 25px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #4a4a88;
}
.gift-lid {
    position: absolute;
    width: 170px;
    height: 30px;
    background-color: var(--secondary-color);
    border-radius: 5px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: bottom; 
    z-index: 10;
    transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.gift-lid::before { 
    content: '';
    position: absolute;
    width: 25px;
    height: 100%;
    background-color: #4a4a88;
    left: 50%;
    transform: translateX(-50%);
}
.gift-box.open::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold-color) 0%, transparent 60%);
    transform: translate(-50%, -80%);
    opacity: 0;
    animation: glow 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

.gift-box.open {
    animation: shakeSimple 0.5s ease-in-out;
}
.gift-box.open .gift-lid {
    transform: translateY(-50px) translateX(-50%) rotateX(-120deg); /* Tutup terbuka ke belakang (efek 3D) */
}
@keyframes shakeSimple {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px) rotate(-3deg); }
    75% { transform: translateX(10px) rotate(3deg); }
}
@keyframes glow {
    0% { opacity: 0; transform: translate(-50%, -80%) scale(0); }
    50% { opacity: 0.7; transform: translate(-50%, -80%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -80%) scale(1.5); }
}
.swal2-footer { border-top: 0; padding-top: 10px !important; }
.swal2-footer .btn { display: inline-flex; align-items: center; margin: 0 5px; }
.swal2-footer .btn i { margin-right: 5px; }

/* Scoped 2026 visual refresh: homepage, Lucky Spin, Treasure Box */
body.score8-home-page,
body.score8-game-page {
    background:
        radial-gradient(circle at 18% 0%, rgba(214, 12, 62, 0.24), transparent 26rem),
        radial-gradient(circle at 88% 16%, rgba(59, 72, 180, 0.28), transparent 28rem),
        linear-gradient(145deg, #05072b 0%, #080b3e 48%, #17145a 100%);
    color: #fff;
}

body.score8-home-page::before,
body.score8-game-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,0.07) 18.2%, transparent 18.6% 100%),
        radial-gradient(circle at 50% 100%, rgba(214, 12, 62, 0.14), transparent 36rem);
    pointer-events: none;
    z-index: -1;
}

body.score8-home-page .unified-container {
    max-width: 1040px;
    background: rgba(8, 10, 48, 0.82);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(12px);
}

body.score8-home-page .banner-container {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

body.score8-home-page .banner-wrapper {
    aspect-ratio: 1000 / 360;
}

body.score8-home-page .banner-slide img {
    object-fit: contain;
    background: rgba(3, 4, 28, 0.42);
}

body.score8-home-page .main-container {
    padding: clamp(1.25rem, 3vw, 2.35rem);
}

body.score8-home-page .page-title,
body.score8-game-page .page-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

body.score8-home-page .text-secondary,
body.score8-game-page .text-secondary {
    color: rgba(255,255,255,0.76) !important;
}

body.score8-home-page .btn-outline-primary,
body.score8-home-page .btn-outline-secondary,
body.score8-game-page .btn-outline-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.36);
    background: rgba(255,255,255,0.08);
}

body.score8-home-page .btn-outline-primary:hover,
body.score8-home-page .btn-outline-secondary:hover,
body.score8-game-page .btn-outline-secondary:hover {
    color: #fff !important;
    border-color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.16);
}

body.score8-home-page .event-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.14) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
    box-shadow: 0 16px 42px rgba(0,0,0,0.28);
    overflow: hidden;
    transform: translateZ(0);
}

body.score8-home-page .event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 58px rgba(0,0,0,0.36);
}

body.score8-home-page .gold-card {
    background:
        radial-gradient(circle at 50% 12%, rgba(255,255,255,0.18), transparent 8rem),
        linear-gradient(155deg, #0d124f 0%, #15196c 58%, #2c1d75 100%);
    color: #fff;
}

body.score8-home-page .gold-card h3,
body.score8-home-page .gold-card p,
body.score8-home-page .gold-card i {
    color: #fff !important;
}

body.score8-home-page .gold-card i {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(180deg, #ff3150, #d60c3e);
    box-shadow: 0 14px 32px rgba(214,12,62,0.38);
    font-size: 2.6rem;
}

body.score8-home-page .event-card h3 {
    font-size: clamp(1rem, 2vw, 1.22rem);
    font-weight: 800;
}

body.score8-home-page .event-card p {
    color: rgba(255,255,255,0.72) !important;
    max-width: 15rem;
}

body.score8-game-page .main-container {
    width: min(95vw, 680px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06)),
        rgba(8, 10, 48, 0.84) !important;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 24px !important;
    box-shadow: 0 28px 90px rgba(0,0,0,0.48) !important;
    backdrop-filter: blur(14px);
}

body.score8-game-page .main-container > a img {
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

body.score8-game-page .wheel-container,
body.score8-game-page .box-container {
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 44px rgba(0,0,0,0.28);
}

body.score8-game-page .wheel-container {
    max-width: 390px;
    padding: clamp(0.8rem, 3vw, 1.2rem);
    margin-bottom: 1.15rem;
}

body.score8-game-page .wheel-pointer {
    color: #fff;
    filter: drop-shadow(0 0 12px rgba(214,12,62,0.8));
}

body.score8-game-page .wheel-base-img {
    inset: clamp(0.8rem, 3vw, 1.2rem);
    width: calc(100% - clamp(1.6rem, 6vw, 2.4rem));
    height: calc(100% - clamp(1.6rem, 6vw, 2.4rem));
    filter: drop-shadow(0 18px 35px rgba(0,0,0,0.32));
}

body.score8-game-page .form-control {
    min-height: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.94);
    color: #090b2e;
    font-weight: 700;
}

body.score8-game-page .form-floating > label {
    color: rgba(9,11,46,0.62);
    font-weight: 600;
}

body.score8-game-page .btn-primary {
    min-height: 52px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.88);
    background: linear-gradient(180deg, #ff3150 0%, #d60c3e 65%, #a6072c 100%);
    box-shadow: 0 16px 34px rgba(214,12,62,0.34);
}

body.treasure-box-page .box-container {
    min-height: 270px;
}

body.treasure-box-page .gift-box,
body.treasure-box-page .gift-lid {
    background: linear-gradient(180deg, #ff3150, #b80730);
}

body.treasure-box-page .gift-box::before,
body.treasure-box-page .gift-box::after,
body.treasure-box-page .gift-lid::before {
    background: linear-gradient(180deg, #ffd766, #ffae22);
}

body.treasure-box-page .gift-box {
    box-shadow: 0 22px 48px rgba(214,12,62,0.36);
}

@media (max-width: 575px) {
    body.score8-home-page,
    body.score8-game-page {
        padding: 0.65rem;
        align-items: flex-start;
        justify-content: flex-start;
    }

    body.score8-home-page .unified-container,
    body.score8-game-page .main-container {
        border-radius: 16px !important;
        width: 100%;
    }

    body.score8-home-page .banner-wrapper {
        aspect-ratio: 1000 / 400;
    }

    body.score8-home-page .banner-slide img {
        object-fit: contain;
    }

    body.score8-game-page .main-container {
        padding: 1.1rem;
    }

    body.score8-home-page .main-container {
        padding: 1rem;
    }

    body.score8-home-page .text-end.mb-4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        margin-bottom: 1rem !important;
    }

    body.score8-home-page .text-end.mb-4 .btn {
        margin: 0 !important;
        padding: 0.66rem 0.75rem;
        min-width: 0;
    }

    body.score8-home-page .event-card {
        aspect-ratio: 16 / 10;
        min-height: 142px;
        padding: 1rem;
    }

    body.score8-home-page .gold-card {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 0.9rem;
    }

    body.score8-home-page .gold-card i {
        width: 58px;
        height: 58px;
        min-width: 58px;
        border-radius: 18px;
        font-size: 2rem;
        margin: 0;
    }

    body.score8-home-page .event-card h3 {
        font-size: 1rem;
        margin: 0 0 0.22rem;
    }

    body.score8-home-page .event-card p {
        font-size: 0.78rem;
        margin: 0;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    body.score8-home-page .banner-slide img {
        object-fit: contain;
    }

    body.score8-home-page .event-card {
        aspect-ratio: 4 / 3;
    }
}

/* Score8 unified premium design system */
:root {
    --score8-ink: #06072b;
    --score8-navy: #0b0d42;
    --score8-indigo: #171a67;
    --score8-crimson: #e31348;
    --score8-crimson-dark: #a80731;
    --score8-gold: #ffc94a;
    --score8-muted: rgba(255, 255, 255, 0.72);
    --score8-line: rgba(255, 255, 255, 0.14);
    --score8-glass: rgba(10, 12, 57, 0.82);
    --score8-radius-sm: 12px;
    --score8-radius: 18px;
    --score8-radius-lg: 26px;
    --score8-shadow: 0 28px 80px rgba(1, 2, 22, 0.48);
}

html { scroll-behavior: smooth; }

body.score8-home-page,
body.score8-game-page,
body.score8-campaign-page,
body.dynamic-event {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 5%, rgba(227, 19, 72, 0.25), transparent 28rem),
        radial-gradient(circle at 90% 18%, rgba(91, 84, 214, 0.25), transparent 32rem),
        linear-gradient(145deg, #04051f 0%, #090b3c 48%, #151459 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

body.score8-campaign-page::before,
body.dynamic-event::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 24%, rgba(255,255,255,.045) 24.2%, transparent 24.7%),
        radial-gradient(circle at 50% 110%, rgba(227,19,72,.18), transparent 36rem);
}

.btn {
    border-radius: var(--score8-radius-sm);
    font-weight: 700;
    letter-spacing: .01em;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    border-color: rgba(255,255,255,.55);
    background: linear-gradient(180deg, #ff315c 0%, var(--score8-crimson) 58%, var(--score8-crimson-dark) 100%);
    box-shadow: 0 12px 28px rgba(214, 12, 62, .3), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: rgba(255,255,255,.8);
    background: linear-gradient(180deg, #ff426a, #e31348 62%, #b40835);
    box-shadow: 0 16px 34px rgba(214, 12, 62, .42);
}

.form-control,
.form-select {
    border-radius: var(--score8-radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(227,19,72,.7);
    box-shadow: 0 0 0 .24rem rgba(227,19,72,.18);
}

.modal-content,
.swal2-popup {
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: var(--score8-radius-lg) !important;
    box-shadow: var(--score8-shadow) !important;
}

body.score8-home-page .carousel-control-prev,
body.score8-home-page .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    margin: 0 .8rem;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    background: rgba(5,6,32,.55);
    backdrop-filter: blur(8px);
}

body.score8-home-page .main-container::before {
    content: 'SCORE8 EXCLUSIVE REWARDS';
    display: block;
    width: fit-content;
    margin: 0 auto .75rem;
    padding: .38rem .72rem;
    border: 1px solid rgba(255,201,74,.35);
    border-radius: 999px;
    background: rgba(255,201,74,.08);
    color: #ffd66f;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
}

body.score8-home-page .event-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 28%, rgba(255,255,255,.12) 45%, transparent 62%);
    transform: translateX(-130%);
    transition: transform .7s ease;
}

body.score8-home-page .event-card:hover::after { transform: translateX(130%); }

body.score8-campaign-page .thursday-card,
body.score8-campaign-page .cny-card,
body.dynamic-event .main-container {
    border: 1px solid rgba(255,255,255,.17) !important;
    border-radius: var(--score8-radius-lg) !important;
    box-shadow: var(--score8-shadow) !important;
    overflow: hidden;
}

body.score8-campaign-page .thursday-card-inner,
body.score8-campaign-page .cny-card-inner,
body.dynamic-event .main-container {
    backdrop-filter: blur(12px);
}

body.score8-campaign-page .form-control,
body.dynamic-event .form-control {
    min-height: 50px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--score8-radius-sm);
    font-weight: 700;
}

body.score8-campaign-page .btn-spin,
body.dynamic-event .btn-primary {
    min-height: 52px;
    border-radius: var(--score8-radius-sm);
    background: linear-gradient(180deg, #ff315c, #d60c3e 62%, #a6072c);
    box-shadow: 0 15px 34px rgba(214,12,62,.34);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 575px) {
    body.score8-home-page .carousel-control-prev,
    body.score8-home-page .carousel-control-next {
        width: 38px;
        height: 38px;
        margin: 0 .45rem;
    }

    body.score8-home-page .main-container::before {
        font-size: .61rem;
        letter-spacing: .1em;
    }
}

/* 2026 quiet-luxury refinement */
body.score8-home-page,
body.score8-game-page,
body.score8-campaign-page,
body.dynamic-event {
    --luxury-surface: rgba(11, 13, 58, .76);
    --luxury-surface-soft: rgba(255, 255, 255, .065);
    --luxury-border: rgba(255, 255, 255, .12);
    --luxury-highlight: rgba(255, 255, 255, .2);
    background:
        radial-gradient(ellipse at 12% -8%, rgba(227, 19, 72, .2), transparent 36rem),
        radial-gradient(ellipse at 92% 8%, rgba(82, 73, 190, .2), transparent 40rem),
        linear-gradient(145deg, #04051d 0%, #090b36 52%, #111146 100%);
    line-height: 1.6;
}

body.score8-home-page::after,
body.score8-game-page::after,
body.score8-campaign-page::after,
body.dynamic-event::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .22;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.22) .5px, transparent .5px);
    background-size: 16px 16px;
    mask-image: linear-gradient(to bottom, black, transparent 70%);
}

body.score8-home-page .unified-container,
body.score8-game-page .main-container {
    border-color: var(--luxury-border) !important;
    background: linear-gradient(155deg, rgba(255,255,255,.09), rgba(255,255,255,.025)), var(--luxury-surface) !important;
    box-shadow: 0 38px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.13) !important;
}

body.score8-home-page .unified-container { max-width: 1120px; }

body.score8-home-page .banner-container {
    position: relative;
    margin: 10px 10px 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
}

body.score8-home-page .banner-container::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 -70px 70px -70px rgba(3,4,25,.9);
}

body.score8-home-page .main-container { padding: clamp(1.6rem, 4vw, 3.25rem); }

body.score8-home-page .main-container > .text-end {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
}

body.score8-home-page .main-container > .text-center { margin: 0 auto 2rem !important; }

body.score8-home-page .main-container > .text-center img {
    max-height: 54px !important;
    margin-bottom: .25rem;
    filter: drop-shadow(0 9px 24px rgba(0,0,0,.24));
}

body.score8-home-page .page-title {
    margin-top: 1rem !important;
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -.045em;
}

body.score8-home-page .main-container > .text-center .text-secondary {
    max-width: 34rem;
    margin: .7rem auto 0;
    font-size: .95rem;
}

body.score8-home-page .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }

body.score8-home-page .event-card {
    min-height: 225px;
    aspect-ratio: auto;
    padding: clamp(1.25rem, 3vw, 1.7rem);
    border-color: rgba(255,255,255,.11) !important;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(98,89,205,.18), transparent 12rem),
        linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)),
        rgba(14,16,69,.72);
    box-shadow: 0 18px 46px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.1);
}

body.score8-home-page .event-card:hover {
    border-color: rgba(255,255,255,.2) !important;
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(0,0,0,.28), 0 0 0 1px rgba(227,19,72,.08);
}

body.score8-home-page .gold-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(112,101,221,.2), transparent 13rem),
        linear-gradient(145deg, rgba(23,27,101,.96), rgba(20,18,78,.96));
}

body.score8-home-page .gold-card i {
    width: 66px;
    height: 66px;
    border-radius: 19px;
    background: linear-gradient(145deg, #fa315b, #cf0b3b);
    box-shadow: 0 14px 30px rgba(214,12,62,.26), inset 0 1px 0 rgba(255,255,255,.35);
}

body.score8-home-page .event-card h3 {
    margin: .9rem 0 .35rem;
    font-size: 1.08rem;
    letter-spacing: -.025em;
}

body.score8-home-page .event-card p {
    margin: 0;
    color: rgba(255,255,255,.64) !important;
    line-height: 1.55;
}

body.score8-game-page .main-container {
    padding: clamp(1.4rem, 4vw, 2.75rem);
}

body.score8-game-page .page-title,
body.dynamic-event .page-title {
    font-size: clamp(1.65rem, 4vw, 2.25rem);
    letter-spacing: -.04em;
}

body.score8-game-page .wheel-container,
body.score8-game-page .box-container {
    border-color: rgba(255,255,255,.1);
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.1), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 22px 52px rgba(0,0,0,.22);
}

body.score8-game-page .form-control,
body.score8-campaign-page .form-control,
body.dynamic-event .form-control {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.96);
    box-shadow: inset 0 1px 2px rgba(5,7,35,.06);
}

body.score8-game-page .btn-primary,
body.score8-campaign-page .btn-spin,
body.dynamic-event .btn-primary {
    border-width: 1px;
    border-color: rgba(255,255,255,.28);
    letter-spacing: .015em;
    box-shadow: 0 14px 30px rgba(214,12,62,.26), inset 0 1px 0 rgba(255,255,255,.26);
}

body.score8-campaign-page .thursday-card,
body.score8-campaign-page .cny-card,
body.dynamic-event .main-container {
    box-shadow: 0 34px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.11) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(255,201,74,.75);
    outline-offset: 3px;
}

@media (min-width: 992px) {
    body.score8-home-page { padding: 2.5rem; }
    body.score8-home-page .event-card { align-items: flex-start; text-align: left; }
    body.score8-home-page .event-card p { max-width: 16rem; }
}

@media (max-width: 767.98px) {
    body.score8-home-page,
    body.score8-game-page,
    body.score8-campaign-page,
    body.dynamic-event { padding: .65rem; }

    body.score8-home-page .banner-container { margin: 6px 6px 0; border-radius: 13px; }
    body.score8-home-page .main-container { padding: 1.15rem; }
    body.score8-home-page .main-container > .text-end {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .55rem;
    }
    body.score8-home-page .main-container > .text-end .btn {
        width: 100%;
        margin: 0 !important;
    }
    body.score8-home-page .main-container > .text-center { margin-bottom: 1.35rem !important; }
    body.score8-home-page .main-container > .text-center img { max-height: 45px !important; }
    body.score8-home-page .page-title { font-size: 1.55rem; }
    body.score8-home-page .event-card { min-height: 128px; border-radius: 16px; }
    body.score8-home-page .gold-card { padding: 1rem; }
    body.score8-home-page .gold-card i { width: 54px; height: 54px; border-radius: 16px; }
    body.score8-home-page .event-card h3 { margin: 0 0 .22rem; }
    body.score8-game-page .main-container { padding: 1.15rem; }
}

@media (max-width: 380px) {
    body.score8-home-page .gold-card { gap: .72rem; }
    body.score8-home-page .gold-card i { width: 48px; height: 48px; min-width: 48px; font-size: 1.65rem; }
    body.score8-home-page .event-card h3 { font-size: .93rem; }
    body.score8-home-page .event-card p { font-size: .72rem; }
}

/* Banner artwork uses a 5:2 canvas: keep it edge-to-edge at every breakpoint. */
body.score8-home-page .banner-wrapper {
    width: 100%;
    aspect-ratio: 5 / 2;
}

body.score8-home-page .banner-slide,
body.score8-home-page .carousel-item,
body.score8-home-page .carousel-inner {
    width: 100%;
}

body.score8-home-page .banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
}
