﻿:root {
    --primary: #6C63FF;
    --primary-dark: #5A52E0;
    --secondary: #FF3366;
    --negative: #666666;
    --accent: #00D9F5;
    --success: #00E676;
    --warning: #FFB800;
    --background: #F8F9FF;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --card-bg: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #FF3366 0%, #6C63FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FF3366 0%, #FF6B6B 100%);
    --gradient-accent: linear-gradient(135deg, #00D9F5 0%, #00B8D4 100%);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.16);
    --card-bg-hover: #f1f3f5;
    --text-color: #212529;
    --transition-duration: 10s;
    --bg-secondary: rgba(33, 37, 41, 0.75);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--background);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
}

@font-face {
    font-family: 'azo';
    src: url('../fonts/AzoSans-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'azo';
    src: url('../fonts/AzoSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'lilita';
    src: url('../fonts/lilitaone-regular.woff2') format('woff2');
    font-weight: 700;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

a {
    text-decoration: none;
    transition: all .3s ease-in;
    display: inline-block;
}

    a:hover {
        text-decoration: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.no-pad {
    padding: 0;
}

.flex {
    display: flex;
}

img {
    max-width: 100%;
}

textarea,
input,
button {
    outline: none;
    font-family: azo;
}

* {
    box-sizing: border-box;
}

strong {
    font-weight: 700;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

h1 {
    height: 1px;
    width: 1px;
    opacity: 0;
    overflow: hidden;
}

.container {
    width: 640px;
    margin: 0 auto;
}

.wrapper {
    margin: 80px auto 70px;
    position: relative;
}

header {
    z-index: 1002;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 80px;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    header .container {
        align-items: center;
        height: 100%;
        position: relative;
    }

.hamburgerBar {
    align-items: center;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 4px;
    transition: all 0.3s ease;
}

    .hamburgerBar i {
        font-size: 32px;
        color: #00ffff;
        transition: all 0.3s ease;
        position: absolute;
    }

    .hamburgerBar .fa-bars,
    .hamburgerBar .fa-times {
        opacity: 1;
        transform: scale(1);
        transition: all 0.3s ease;
    }

    .hamburgerBar .fa-times {
        opacity: 0;
        transform: scale(0.8);
    }

    .hamburgerBar.closed .fa-bars {
        opacity: 0;
        transform: scale(0.8);
    }

    .hamburgerBar.closed .fa-times {
        opacity: 1;
        transform: scale(1);
    }

.redeem-detail .btn-redeem {
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(45deg, #E13386, #ff6b9c);
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .redeem-detail .btn-redeem:disabled,
    .redeem-detail .btn-redeem[disabled] {
        background: linear-gradient(45deg, #e9ecef, #dee2e6);
        color: #adb5bd;
        cursor: not-allowed;
        box-shadow: none;
    }

.brand {
    display: flex;
    width: 100%;
    justify-content: center;
}

    .brand a {
        width: 120px;
    }

        .brand a img {
            display: block;
            filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.4));
        }

.btn-kunkun {
    background: #E0BE49;
}

.nav-wrap {
    position: fixed;
    left: 0;
    top: 70px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: rgba(15, 12, 41, 0.95);
    box-shadow: 4px 0 20px rgba(0, 255, 255, 0.1);
    z-index: 1001;
}

    .nav-wrap.show {
        transform: translateX(0);
    }

    .nav-wrap .navigation {
        padding: 20px 0;
        margin-bottom: 24px;
    }

        .nav-wrap .navigation li {
            font-weight: 500;
            font-size: 15px;
            margin: 4px 0;
        }

            .nav-wrap .navigation li a {
                display: flex;
                align-items: center;
                padding: 10px 20px;
                transition: all 0.3s ease;
                position: relative;
                color: #00ffff;
                background: transparent;
            }

                .nav-wrap .navigation li a i {
                    width: 24px;
                    margin-right: 12px;
                    font-size: 18px;
                    color: #00ffff;
                    transition: all 0.3s ease;
                }

                .nav-wrap .navigation li a.active,
                .nav-wrap .navigation li a:hover {
                    background: linear-gradient(90deg, rgba(0,255,255,0.2), rgba(255,255,255,0));
                    color: #ff8d06;
                }

                    .nav-wrap .navigation li a.active i,
                    .nav-wrap .navigation li a:hover i {
                        transform: scale(1.1);
                    }

/* Dropdown menu */
.dropdown-menu-custom {
    min-width: 180px;
    opacity: 0;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 4px;
    pointer-events: none;
}

    .dropdown-menu-custom li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #fff;
    }

.dropdown:hover .dropdown-menu-custom,
.dropdown:focus-within .dropdown-menu-custom,
.dropdown.open .dropdown-menu-custom {
    opacity: 1;
    display: block;
    pointer-events: auto;
}

.menu-myaccount {
    font-size: 32px;
}

.join-button {
    padding: 16px 24px;
    margin-top: 20px;
}

    .join-button button {
        width: 100%;
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, #29395d 0%, #e13386 100%);
        color: #FFFFFF;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
        font-family: 'Poppins';
        padding: 14px 20px;
        font-size: 15px;
    }

        .join-button button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
            font-family: 'Poppins';
        }

        .join-button button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
        }

            .join-button button:hover::before {
                opacity: 1;
            }

        .join-button button:active {
            transform: translateY(0);
            box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
        }

.overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }

footer {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    height: auto;
    padding: 12px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

    footer .container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 8px;
    }

        footer .container a {
            padding: 6px 12px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: white;
            font-weight: 500;
            transition: all 0.3s ease;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
        }

            footer .container a::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: linear-gradient(135deg, rgba(108, 99, 255, 0.06) 0%, rgba(255, 51, 102, 0.06) 100%);
                opacity: 0;
                transition: all 0.3s ease;
                z-index: 1;
            }

            footer .container a:hover::before {
                opacity: 1;
            }

            footer .container a span {
                font-size: 12px;
                position: relative;
                z-index: 2;
                transition: all 0.3s ease;
                letter-spacing: 0.3px;
                text-transform: uppercase;
            }

            footer .container a .fa {
                font-size: 22px;
                margin-bottom: 6px;
                position: relative;
                z-index: 2;
                transition: all 0.3s ease;
                color: #FFF;
                position: relative;
                z-index: 2;
                transition: all 0.3s ease;
            }

            footer .container a:hover,
            footer .container a.active {
                color: #6C63FF;
            }

                footer .container a:hover .fa,
                footer .container a.active .fa {
                    transform: scale(1.1);
                    color: #6C63FF;
                }

                footer .container a:hover span,
                footer .container a.active span {
                    color: #ff8d06;
                    font-weight: 600;
                }

                footer .container a.active::before {
                    opacity: 1;
                }

#mainBody {
    padding-bottom: 80px;
    background: linear-gradient(135deg, #29395d 0%, #e13386 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

    #mainBody::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255, 51, 102, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
        z-index: 1;
    }

    #mainBody .container {
        position: relative;
        z-index: 2;
    }

#middleSection {
    overflow: auto;
}

    #middleSection.center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #middleSection::-webkit-scrollbar {
        width: 5px;
    }

    #middleSection::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    #middleSection::-webkit-scrollbar-thumb {
        background: #fff95d;
    }

.txtCopyright {
    /*position: absolute;
	bottom: 15px;*/
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
}

.hexagonclip {
    /*clip-path: polygon(51% 0, 100% 26%, 98% 74%, 53% 100%, 1% 75%, 0 26%);*/
    width: 138px;
}

.quiz-category-wrap {
    display: flex;
    width: 100%;
    flex-direction: column;
    max-width: 380px;
    margin: 18px auto 60px;
}

    .quiz-category-wrap .row-category:last-child {
        margin-left: auto;
        margin-top: -30px;
    }

        .quiz-category-wrap .row-category:last-child .quiz-category {
            margin-right: 12px;
        }

.row-category .quiz-category {
    margin-right: 16px;
}

.banner1 {
    width: 100%;
}

.btn-play-win {
    width: 100%;
    margin-top: 12px;
    border: 0;
    color: #FFF;
    padding: 12px 16px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgb(255 165 79 / 74%);
}

.banner-leaderboard {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 2px solid #fff;
}

.popupWelcome {
    position: relative;
    width: 80%;
    background: #fff;
    border-radius: 24px;
    padding: 24px 16px;
    text-align: center;
    margin: 70px auto 60px;
}

    .popupWelcome .closeWelcome {
        position: absolute;
        top: 16px;
        right: 20px;
        color: #801d70;
        cursor: pointer;
    }

        .popupWelcome .closeWelcome:hover {
            color: #f00;
        }

    .popupWelcome h2 {
        font-size: 20px;
        font-weight: 700;
        margin-top: 12px;
        margin-bottom: 8px;
    }

    .popupWelcome p {
        margin-bottom: 18px;
    }

.btn-start {
    padding: 8px;
    color: #fff;
    width: 100%;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid #D33882;
    background: linear-gradient(180deg, #EF509C 0%, #D93A86 48.44%, #EF509C 100%);
    margin-block: 7px;
}

.giftCardWrap {
    width: 85%;
    margin: 15px auto;
}

.giftCard {
    display: flex;
    align-items: center;
    background: #f7941d;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid #c35a17;
    box-shadow: inset 0 0 5px #fff;
}

    .giftCard .giftCardThumb img {
        border-radius: 8px;
        display: block;
        width: 180px;
        border: 2px solid #ffc527;
    }

    .giftCard .giftCardDesc {
        padding-left: 20px;
        text-transform: uppercase;
        font-weight: 700;
        width: 70%;
    }

        .giftCard .giftCardDesc h2 {
            margin-bottom: 12px;
            font-size: 30px;
        }

    .giftCard .giftBtnRedeem {
        width: 100%;
        margin-top: 12px;
        background: #fff200;
        color: #000;
        border: 0;
        padding: 6px 0;
        cursor: pointer;
        text-transform: uppercase;
        font-family: azo;
        font-weight: 700;
        font-size: 22px;
        border-radius: 8px;
        transition: all ease-in .2s;
        border: 1px solid #fff200;
        box-shadow: inset 0px -1px 4px #f7941d;
    }

        .giftCard .giftBtnRedeem:hover {
            background: #fff539;
            border: 1px solid #afa600;
        }

        .giftCard .giftBtnRedeem.disable {
            background: #dbdbdb;
            cursor: default;
            border: 1px solid #afa600;
        }

.infoAccountWrap .bgColoring {
    background: rgb(255 77 239);
    padding-top: 17px;
    padding-bottom: 16px;
    border-radius: 20px;
}

    .infoAccountWrap .bgColoring h2 {
        color: #fff;
        text-align: center;
        font-size: 30px;
        margin-bottom: 10px;
        font-weight: 600;
    }

.infoAccountWrap {
    padding: 15px 0;
    margin-top: 12px;
}

.infoAccountCard {
    background: #fff;
    padding: 15px;
    padding-bottom: 25px;
    border-radius: 1px;
    position: relative;
    text-align: center;
    line-height: 24px;
}

    .infoAccountCard h2 {
        font-weight: 700;
        font-size: 26px;
        color: #feb1f5;
        margin-top: 10px;
        margin-bottom: 15px;
        text-align: center;
    }

    .infoAccountCard p span {
        display: inline-block;
        width: 150px;
        font-size: 15px;
        font-weight: 600;
        color: rgb(255 77 239);
    }

    .infoAccountCard .account-list strong {
        font-weight: 700;
    }

        .infoAccountCard .account-list strong.sttsActive {
            color: #4da400;
        }

.stopText .btnStartSubs {
    position: absolute;
    bottom: -17px;
    left: 0;
    text-align: center;
    width: 100%;
}

.stopText .btnSubs {
    border: 2px solid #9b5600;
    width: 80%;
    text-transform: uppercase;
    font-family: azo;
    font-weight: 700;
    font-size: 16px;
    border-radius: 20px;
    padding: 6px 0px;
    cursor: pointer;
    background: rgb(255,206,109);
    background: linear-gradient(0deg, rgba(255,206,109,1) 0%, rgba(252,176,93,1) 50%, rgba(255,255,141,1) 100%);
}

.stopText {
    margin-top: 24px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
}

.btnStop {
    cursor: pointer;
    display: flex;
    justify-content: center;
}

.infoRankWrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* ➜ 2 kolom di mobile */
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

    .infoRankWrap h2 {
        text-align: center;
        font-weight: 700;
        font-size: 26px;
        margin-bottom: 20px;
        margin-top: 20px;
        -webkit-text-stroke: 0.5px #fff;
        -webkit-text-fill-color: #000;
    }

.rank-list {
    border-bottom: 1px solid #ddd;
}

    .rank-list:last-child {
        border-bottom: 0;
    }

    .rank-list h3 {
        flex: 50%;
        text-align: center;
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .rank-list .rankCol {
        flex: 50%;
        text-align: center;
        font-size: 16px;
        line-height: 40px;
        border-bottom: 1px solid #fff;
    }

.totalQuizWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
    padding-top: 16px;
    margin: 0 auto;
    max-width: 100%;
}

    .totalQuizWrap span {
        background: rgba(172, 172, 172, 0.3);
        border-radius: 10px;
        height: 6px;
        width: 100%;
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .totalQuizWrap span.quizCheck {
            background: rgba(172, 172, 172, 0.3);
            transform: scale(1);
        }

            .totalQuizWrap span.quizCheck:hover {
                transform: scale(1.05);
            }

            .totalQuizWrap span.quizCheck::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 0;
                background: linear-gradient(90deg, #f92be0, #ff6b6b);
                transition: width linear;
                box-shadow: 0 0 10px rgba(249, 43, 224, 0.5);
            }

            .totalQuizWrap span.quizCheck.active {
                height: 8px;
                background: rgba(249, 43, 224, 0.2);
            }

                .totalQuizWrap span.quizCheck.active::before {
                    width: 100%;
                    animation: pulse 1.5s infinite;
                }

            .totalQuizWrap span.quizCheck.completed::before {
                width: 100%;
                background: linear-gradient(90deg, #f92be0, #ff6b6b);
                box-shadow: 0 0 10px rgba(249, 43, 224, 0.5);
            }

.quizCard {
    padding: 24px;
    margin: 24px 0;
    min-height: 120px;
    border-radius: 24px;
    position: relative;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: all 0.3s ease;
    animation: cardAppear 0.5s ease-out;
}

    .quizCard:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

.quizQuestion {
    margin: 12px 0;
    animation: fadeIn 0.5s ease-out;
}

    .quizQuestion strong {
        font-weight: 700;
        font-size: 22px;
        display: block;
        color: #333;
        line-height: 1.4;
    }

.quizAnswer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 24px 0;
    grid-gap: 16px;
}

.quizOption label {
    width: 100%;
}

.quizOption input[type="radio"] {
    display: none;
}

    .quizOption input[type="radio"]:checked + .quizLabel {
        background: rgba(239, 80, 156, 0.15);
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(239, 80, 156, 0.2);
    }

        .quizOption input[type="radio"]:checked + .quizLabel .alpha-options {
            background: #EF509C;
            transform: scale(1.1);
        }

.quizLabel {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 16px;
    background: #F8F9FA;
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: left;
    border: 2px solid transparent;
}

    .quizLabel:hover {
        background: #F0F2F5;
        transform: translateX(5px);
    }

    .quizLabel .alpha-options {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background: #9E9E9E;
        color: #fff;
        width: 36px;
        height: 36px;
        border-radius: 12px;
        margin-right: 16px;
        transition: all 0.3s ease;
        font-weight: 600;
    }

.btnAnswer {
    width: 100%;
    cursor: pointer;
    margin: 0 auto;
    font-family: Azo;
    font-weight: 600;
    font-size: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #EF509C 0%, #FF6B9C 100%);
    color: #fff;
    padding: 16px 0;
    border: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 80, 156, 0.3);
    position: relative;
    overflow: hidden;
}

    .btnAnswer:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239, 80, 156, 0.4);
    }

    .btnAnswer:active {
        transform: translateY(1px);
    }

    .btnAnswer::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.2), transparent );
        transition: 0.5s;
    }

    .btnAnswer:hover::before {
        left: 100%;
    }

.timeCountdown {
    width: 100%;
    position: relative;
    margin-top: 18px;
    text-align: center;
    visibility: hidden;
}

    .timeCountdown .timer__ {
        display: inline-block;
        padding: 15px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.timer-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.timer-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.timer-circle-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 4;
}

.timer-circle-progress {
    fill: none;
    stroke: #f92be0;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    filter: blur(0.25px);
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

    .timer-content #timerSecond {
        display: block;
        font-size: 32px;
        font-weight: 700;
        color: #333;
        line-height: 1;
        margin-bottom: 4px;
    }

    .timer-content .timer-label {
        font-size: 14px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.poin-stock {
    padding: 8px 16px;
    border-radius: 30px;
    background: #fff;
    color: #000;
    margin: 0 auto;
    width: fit-content;
    border: 2px solid #EDEDED;
}

    .poin-stock strong {
        color: #E13386;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
}

.modalWrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    margin: auto;
}

.modal-content {
    width: 600px;
    margin: 0 auto;
    padding: 32px 32px 24px 24px;
    border-radius: 20px;
    position: relative;
}

.quizModal #modalBody {
    /*	margin-top: 90px;*/
    padding: 10px;
    line-height: 110%;
    font-size: 19px;
    font-weight: 700;
}

.btn-confirm {
    margin-top: 80px;
    padding: 8px;
    color: #fff;
    width: 90%;
    height: 20%;
    font-weight: 700;
    border-radius: 8px;
    background: #b64ba9;
    margin-block: 7px;
    border: 0px;
    font-size: 20px;
}

.quizModal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: scale(0.9);
    opacity: 0;
    animation: slideUp 0.4s ease forwards;
}

    .quizModal h3 {
        color: #2c3e50;
        font-size: 24px;
        line-height: 1.4;
        margin-bottom: 30px;
        text-align: center;
        animation: modalFadeIn 0.5s ease 0.2s forwards;
        opacity: 0;
        font-weight: 500;
    }

.quizStartBtn {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    animation: modalFadeIn 0.5s ease 0.4s forwards;
    opacity: 0;
}

    .quizStartBtn button {
        padding: 12px 40px;
        border: none;
        border-radius: 50px;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .quizStartBtn button.btnYes {
            background: var(--primary-dark);
            color: white;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        }

        .quizStartBtn button.btnNo {
            background: var(--gradient-secondary);
            color: white;
            box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
        }

        .quizStartBtn button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        }

        .quizStartBtn button:active {
            transform: translateY(1px);
        }

        .quizStartBtn button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient( 120deg, transparent, rgba(255, 255, 255, 0.2), transparent );
            transition: 0.5s;
        }

        .quizStartBtn button:hover::before {
            left: 100%;
        }

.modal-content .closed {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    color: #666;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

    .modal-content .closed:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #f44336;
        transform: rotate(90deg);
    }

.modal-content.resultModal {
    padding: 0;
}

.bg-true {
    position: absolute;
    top: 0px;
    left: 0;
}

.popupAnswer {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

    .popupAnswer p {
        font-size: 20px;
    }

    .popupAnswer h3 {
        font-size: 50px;
    }

#trueAnswer .popupAnswer {
    background-image: url(../img/bg-true.png);
    background-position: top center;
    background-repeat: repeat-x;
    background-size: 45%;
}

#timeOutAnswer .quizModal,
#falseAnswer .quizModal {
    background: rgb(186,84,173);
    background: linear-gradient(0deg, rgba(186,84,173,1) 0%, rgba(252,176,93,1) 50%, rgba(186,84,173,1) 100%);
}

#timeOutAnswer .popupAnswer h3,
#falseAnswer .popupAnswer h3 {
    color: #f00;
}

#timeOutAnswer .popupAnswer {
    background-image: url(../img/icon-timer.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 30%;
}

.quizModal img {
    margin-top: -115px;
    max-width: 25%;
}

.quizModal .fa-times:before {
    color: #b64ba9;
    font-size: 24px;
}

.tncCardWrap {
    width: 95%;
    margin: 0 auto;
    text-align: justify;
}

    .tncCardWrap h2 {
        font-weight: 700;
        font-size: 32px;
        margin-bottom: 15px;
        text-transform: capitalize;
    }

    .tncCardWrap p {
        margin-bottom: 15px;
    }

    .tncCardWrap a {
        color: #ff9416;
        font-weight: 700;
    }

.bonusCardWrap {
    max-width: 640px;
    margin: 32px auto;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding-top: 16px;
}

.bonusBanner {
    overflow: hidden;
    border-radius: 20px;
}

    .bonusBanner img {
        width: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.3s ease;
        cursor: pointer;
        border-radius: 20px;
    }

        .bonusBanner img:hover {
            transform: scale(1.03);
        }

.btnClaim {
    padding: 20px;
    text-align: center;
    background-color: transparent; /* transparan agar gradient tetap terlihat */
}

    .btnClaim button {
        background: linear-gradient(to right, #E13386, #FF4F90);
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: white;
        border: none;
        padding: 14px 28px;
        border-radius: 999px;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(225, 51, 134, 0.3);
        transition: background 0.3s ease, transform 0.2s ease;
    }

        .btnClaim button:hover {
            background: linear-gradient(to right, #D91E74, #FF5A96);
            transform: translateY(-2px);
        }

/* Style the tab */
.tab {
    overflow: hidden;
    /*border: 1px solid #ccc;
	background-color: #f1f1f1;*/
}

    /* Style the buttons inside the tab */
    .tab button {
        border: none;
        outline: none;
        cursor: pointer;
        padding: 10px 0px;
        transition: 0.3s;
        font-size: 17px;
        width: 100%;
        transition: all ease .5s;
        border: 1px solid #e7e7e7;
        border-radius: 10px 10px 0 0;
        background: rgb(250,250,250);
        background: linear-gradient(0deg, rgba(250,250,250,1) 12%, rgba(236,236,236,1) 54%);
    }

        .tab button:hover,
        .tab button.active {
            border: 1px solid #ff9cf3;
            border-bottom: 0;
            background: rgb(250,250,250);
            background: linear-gradient(0deg, rgba(250,250,250,1) 12%, rgba(254,177,245,1) 54%);
        }

.tabcontent {
    display: none;
    padding: 30px 25px 15px 25px;
    border: 1px solid #d9d7d7;
    border-top: none;
    background: #fff;
    border-radius: 0 0 10px 10px;
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.winner-wrap {
    margin-top: 30px;
}

    .winner-wrap h2 {
        text-align: center;
        font-weight: 700;
        font-size: 26px;
        margin-bottom: 20px;
        -webkit-text-stroke: 0.5px #fff;
        -webkit-text-fill-color: #000;
    }

.wining-list {
    border-bottom: 1px solid #4a4a4a;
}

    .wining-list div {
        padding: 8px 0;
        align-items: center;
        text-align: center;
    }

.countdown-card {
    background: #fff;
    text-align: center;
    margin: 15px auto 0;
    border-radius: 10px;
    padding: 15px 0 40px;
    position: relative;
}

#countdown {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px 0 15px;
    position: relative;
    font-size: 40px;
    text-align: center;
    letter-spacing: -3px;
}

.countdownHolder {
}

.position {
    display: inline-block;
    height: 55px;
    line-height: 60px;
    overflow: hidden;
    position: relative;
    width: 1.05em;
}

.digit {
    position: absolute;
    display: block;
    width: 1em;
    background-color: #444;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    letter-spacing: -1px;
}

    .digit.static {
        height: 100%;
        box-shadow: 1px 1px 1px rgba(4, 4, 4, 0.35);
        background-image: linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -o-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -moz-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -webkit-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.5, #3A3A3A), color-stop(0.5, #444444) );
    }

.countDiv {
    display: inline-block;
    width: 16px;
    height: 1.6em;
    position: relative;
}

    .countDiv:before,
    .countDiv:after {
        position: absolute;
        width: 5px;
        height: 5px;
        background-color: #444;
        border-radius: 50%;
        left: 50%;
        margin-left: -3px;
        top: 0.5em;
        box-shadow: 1px 1px 1px rgba(4, 4, 4, 0.5);
        content: '';
    }

    .countDiv:after {
        top: 0.9em;
    }

.name-cd {
    display: block;
    letter-spacing: 0;
    font-size: 12px;
    margin-top: 6px;
    text-transform: uppercase;
}

.countdownHolder .count-cd {
    margin: 0 10px;
}

.countdown-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 18px;
}

.ewallet-saldo {
    font-size: 24px;
    margin-top: 15px;
}

.btn-poin-ct {
    border: 2px solid #9b5600;
    text-transform: uppercase;
    font-family: azo;
    font-weight: 700;
    font-size: 16px;
    border-radius: 20px;
    padding: 8px 25px 4px;
    width: 250px;
    cursor: pointer;
    background: rgb(255,206,109);
    background: linear-gradient(0deg, #ffff8d 0%, #fcb05d 50%, #ffff8d 100%);
}

button:disabled,
button[disabled] {
    background: linear-gradient(0deg, #b5b5b5 0%, #858585 50%, #b5b5b5 100%);
    cursor: context-menu;
    border: 2px solid #6f6f6f;
}

.btn-poin-ct span {
    display: inline-block;
    background: #ffd091;
    padding: 4px 15px 1px;
    width: 100%;
}

.ewallet-saldo-wrap {
    position: absolute;
    bottom: -17px;
    width: 100%;
    text-align: center;
}

.home-banner {
    margin: 8px 0;
    transition: all 0.3s ease;
}

    .home-banner a {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
    }

    .home-banner img {
        border-radius: 16px;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .home-banner:hover {
        transform: translateY(-4px);
    }

        .home-banner:hover a {
            box-shadow: var(--shadow-lg);
        }

        .home-banner:hover img {
            transform: scale(1.02);
            filter: brightness(1.05);
        }

    /* Add a subtle shine effect on hover */
    .home-banner a::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100% );
        transform: rotate(30deg);
        transition: all 0.6s ease;
        opacity: 0;
    }

    .home-banner:hover a::after {
        opacity: 1;
        transform: rotate(30deg) translate(50%, 50%);
    }

.how-to-play {
    text-align: center;
    margin: 12px 0 24px;
}

    .how-to-play a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: linear-gradient(135deg, #FFB800 0%, #ff8d06 100%);
        color: #29395d;
        padding: 16px 24px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .how-to-play a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
            z-index: 1;
        }

        .how-to-play a:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .how-to-play a i {
            font-size: 20px;
            position: relative;
            z-index: 2;
        }

        .how-to-play a span {
            position: relative;
            z-index: 2;
        }

.action-buttons {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
}

.menu-card-wrap a.menu-quiz {
    border: 1px solid #ECE5FA;
    background: #E2D9F3;
}

.menu-card-wrap a.menu-games {
    border: 1px solid #FFE1E1;
    background: #FFD4D5;
}

.menu-card-wrap a.menu-referral {
    border: 1px solid #BFEAF2;
    background: #A7DFE9;
}

.menu-card-wrap a .icon-menu {
    margin-right: 10px;
    width: 38px;
}

.menu-card-wrap a .icon-lc {
    margin-left: auto;
    width: 18px;
}

.heading-page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin: 0 0 1rem 0;
    position: relative;
    padding: 0.5rem 0;
    color: #00FFFF;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    font-weight: 700;
}

.heading-back-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1); /* translucent for dark bg */
    color: #00f5ff; /* neon cyan, cocok dengan "Inbox" title kamu */
    transition: background-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    margin: 16px;
    z-index:2;
    position: absolute;
    top: 0;
}

    .heading-back-wrapper:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .heading-back-wrapper i {
        font-size: 18px;
        color: #00f5ff;
    }

.tutorial-card {
    border-radius: 8px;
    border: 1px solid #EAEAEA;
    background: #FFF;
    margin-bottom: 8px;
    max-height: 50px;
    overflow: hidden;
    transition: all ease .5s;
}

    .tutorial-card.show {
        max-height: 500px;
    }

    .tutorial-card h2 {
        font-size: 16px;
        color: #161616;
        font-weight: 600;
        margin: 0;
        padding: 16px;
        position: relative;
        cursor: pointer;
        line-height: normal;
    }

        .tutorial-card h2 img {
            position: absolute;
            right: 12px;
            top: 14px;
        }

.tutorial-text {
    padding: 16px;
    color: #595959;
    min-height: 0px;
    overflow: hidden;
    border-top: 1px solid #EAEAEA;
}

.modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
}

.modal-referral {
    position: relative;
    background: #fff;
    width: 400px;
    padding: 16px;
    text-align: center;
    border-radius: 8px;
}

.referral-description,
.referral-content {
    margin-top: 18px;
}

.referral-code-form {
    padding: 12px 16px;
    align-items: center;
    display: flex;
    border-radius: 8px;
    border: 1px solid #EAEBEC;
    background: #F3F4F6;
}

.code-referral {
    color: #1A1A1A;
    border: 0;
    font-weight: 600;
    background: transparent;
}

.copy-code-referral {
    color: #0EBCDB;
    font-weight: 600;
    margin-left: auto;
    cursor: pointer;
}

.referral-description-text {
    border-radius: 8px;
    border: 1px solid #EAEBEC;
    padding: 12px;
    text-align: left;
    margin-top: 12px;
}

    .referral-description-text strong {
        color: #0EBCDB;
        font-weight: 600;
    }

.referral-description {
    position: relative;
}

    .referral-description .tips {
        position: absolute;
        top: 14px;
        left: 0;
        width: 100%;
        text-align: center;
    }

.close-modal,
.icon-close-pop {
    position: absolute;
    top: 8px;
    width: 20px;
    right: 8px;
    cursor: pointer;
}

.title-quiz-pop {
    font-size: 18px;
    color: #161616;
    font-weight: 700;
    padding: 0 16px;
}

    .title-quiz-pop span {
        color: #0EBCDB;
    }

.modal-quiz-option {
    width: 330px;
    background-color: #fff;
    border-radius: 16px;
    padding: 12px;
    position: relative;
    background: rgb(255, 141, 6);
    background: linear-gradient(0deg, rgba(255, 141, 6, 1) 0%, rgba(255, 212, 223, 1) 50%, rgba(255, 154, 246, 1) 100%);
}

.quiz-category-content {
    margin: 16px auto;
}

.category-content-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
}

    .category-content-card:first-child {
        right: 30px;
    }

    .category-content-card:last-child {
        left: 30px;
        margin-top: -20px;
    }

.quiz-body {
    padding: 20px 12px;
    border-radius: 16px;
    border: 1px solid #EDEDED;
    background: #FFF;
    margin-top: 18px;
}

#questionString {
    text-align: center;
    color: #161616;
    font-size: 16px;
    font-weight: 600;
}

    #questionString img {
        border-radius: 8px;
        margin-top: 12px;
    }

.quizAnswer span img {
    width: auto;
    height: 190px;
}

.deck-game-wrap {
    position: relative;
}

.deck-game {
    height: calc(100vh - 300px); /* tinggi kontainer */
    display: grid;
    gap: 10px; /* jarak antar sel */
    padding: 10px;
    grid-template-columns: repeat(2, minmax(50%, 1fr));
    justify-items: center;
}

.card-game {
    aspect-ratio: 1 / 1;
    padding: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 20vh;
}

/*purpose change image assets*/
.img-assets {
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.card-game.open .img-assets {
    transform: rotateY(180deg);
    cursor: default;
    background: #fff;
}

.card-game.show {
    font-size: 33px;
}

.card-game.match .img-assets {
    transform: rotateY(180deg);
    cursor: default;
    background: #fff;
    font-size: 33px;
}

.card-game .img-assets .memory-fit-text {
    font-size: 26px;
}

.card-game .img-assets {
    width: 100%;
    height: 100%;
    /*        background-image: url(/Content/QUIZ/img/revamp/memory.jpg);*/
    /*    background-repeat: repeat;*/
    background-position: center;
    /*    background-size: 18.8px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    /*        purpose new assets image*/
    background-repeat: no-repeat;
    object-fit: contain;
    background-color: var(--bg-secondary);
    background-position: center;
    background-size: 50%;
    background-image: url(/Images/Quiz/img/Logo-Fun-8.png);
}

    .card-game .img-assets span {
        display: inline-block;
        font-weight: 700;
        line-height: normal;
    }

    .card-game .img-assets .inner-card {
        visibility: hidden;
        text-align: center;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .card-game .img-assets .inner-card img {
            width: 70%;
        }

.card-game.show .img-assets .inner-card {
    visibility: visible;
}

.card-game.match .img-assets .inner-card {
    visibility: visible;
    transform: rotateY(0);
}

#score-panel {
    text-align: left;
    width: 345px;
    margin-bottom: 10px;
}

.stars {
    margin: 0;
    padding: 0;
    display: inline-block;
    margin: 0 5px 0 0;
}

.restart {
    float: right;
    cursor: pointer;
}

.center-memory {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close-modal,
.icon-close-pop {
    position: absolute;
    top: 8px;
    width: 20px;
    right: 8px;
    cursor: pointer;
}

.won-wrap {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 16px;
    width: 540px;
    position: relative;
}

    .won-wrap .total-move {
        line-height: 34px;
    }

    .won-wrap .modal-button {
        display: flex;
        flex-direction: column;
    }

        .won-wrap .modal-button button {
            border-radius: 8px;
            padding: 12px 16px;
            margin-top: 10px;
            border: 0;
        }

        .won-wrap .modal-button .btn-pink {
            background: #EF509C;
            color: #fff;
            border: 1px #EF509C solid;
        }

        .won-wrap .modal-button .btn-white {
            background: #fff;
            color: #616161;
            border: 1px #616161 solid;
        }

.win-popup {
    height: 0;
    width: 100%;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all ease-in-out .3s;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .win-popup.showup {
        height: 100%;
    }

.modal-middle {
    margin-top: 12px;
}

.modal-count {
    border-radius: 8px;
    border: 1px solid #EAEBEC;
    background: #F4F8FB;
}

.total-move {
    padding: 12px;
    display: flex;
    flex-direction: row;
}

    .total-move span {
        margin-left: auto;
        color: #1A1A1A;
        font-weight: 600;
    }

    .total-move:first-child {
        border-bottom: 1px solid #EAEBEC;
    }

.memory-games {
    margin: 8px -10px 0;
}

.click-counter {
    margin-bottom: 12px;
}

    .click-counter ul {
        display: flex;
        flex-direction: row;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .click-counter li {
        display: inline-block;
        flex-basis: calc(100%/10);
        border-radius: 20px;
        background: #E0E0E0;
        height: 5px;
        height: 7px;
        margin: 0 3px;
    }

        .click-counter li.quizCheck {
            background: #EF509C;
        }

.menu-card-wrap {
    justify-content: space-around;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.container-points {
    position: fixed;
    bottom: 13%;
    height: 60px;
    width: 100%;
    left: 0;
}

.point-carousel {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    top: 28px;
    width: 100%;
}

.carousel__item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    filter: drop-shadow(0 4px 5px #fff);
    will-change: transform, opacity;
    -webkit-animation: carousel-animate-vertical 12s linear infinite;
    animation: carousel-animate-vertical 12s linear infinite;
}

    .carousel__item:nth-child(1) {
        -webkit-animation-delay: calc(3s * -1);
        animation-delay: calc(3s * -1);
    }

    .carousel__item:nth-child(2) {
        -webkit-animation-delay: calc(3s * 0);
        animation-delay: calc(3s * 0);
    }

    .carousel__item:nth-child(3) {
        -webkit-animation-delay: calc(3s * 1);
        animation-delay: calc(3s * 1);
    }

    .carousel__item:last-child {
        -webkit-animation-delay: calc(-3s * 2);
        animation-delay: calc(-3s * 2);
    }

.carousel__item-body {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
}

.title {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@-webkit-keyframes carousel-animate-vertical {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }

    3%, 25% {
        transform: translateY(100%) scale(0.7);
        opacity: 0;
        visibility: visible;
    }

    28%, 50% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    53%, 75% {
        transform: translateY(-100%) scale(0.7);
        opacity: 0;
        visibility: visible;
    }

    78% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: visible;
    }

    100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes carousel-animate-vertical {
    0% {
        transform: translateY(100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }

    3%, 25% {
        transform: translateY(100%) scale(0.7);
        opacity: 0;
        visibility: visible;
    }

    28%, 50% {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    53%, 75% {
        transform: translateY(-100%) scale(0.7);
        opacity: 0;
        visibility: visible;
    }

    78% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: visible;
    }

    100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
        visibility: hidden;
    }
}

@media (max-width: 767px) {
}

@media (max-width: 611px) {
    .point-carouse {
        left: 0;
        width: 95%;
    }

    .container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-referral, .modal-quiz-option, .won-wrap {
        width: 90%;
    }

    .countdown-card {
        width: 90%;
        padding: 15px 0 30px;
    }

    .hexagonclip {
        width: 137px;
    }

    .name-cd {
        margin-top: 0;
    }

    .resultModal {
        padding: 40px 16px;
    }

    .countdownHolder .count-cd {
        margin: 0 6px;
    }

    #countdown {
        font-size: 28px;
    }

    .position {
        height: 32px;
        line-height: 38px;
    }
}

@media (max-width: 390px) {
    .hexagonclip {
        width: 130px;
    }
}

@media only screen and (max-width: 375px) {
    .hexagonclip {
        width: 130px;
    }
}

@media (max-width: 360px) {
    .hexagonclip {
        width: 118px;
    }

    #countdown {
        font-size: 22px;
    }

    .position {
        height: 32px;
        line-height: 36px;
    }
}

@media (max-width: 320px) {
}

@media only screen and (device-width: 600px) {
}

@media only screen and (device-width: 768px) {
}

@media screen and (min-width: 1280px) {
    .popupWelcome {
        width: 45%;
    }

    /*.quizCategory img {
		width: 160px;
	}*/
}

@media screen and (min-width: 1500px) {
    .popupWelcome {
        width: 62%;
    }
}

.podium-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.podium {
    position: relative;
}

    .podium .podium-detail {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        color: #fff;
        text-align: center;
        height: 100%;
        font-family: azo;
        font-weight: 700;
        letter-spacing: 1px;
        text-shadow: 1px 1px 2px #000;
    }

    .podium .podium-phone {
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        font-size: 12px;
    }

    .podium .podium-poin {
        position: absolute;
        bottom: 34px;
        left: 0;
        width: 100%;
        font-size: 14px;
    }

.podium-1 {
    margin-bottom: 16px;
}

    .podium-1 .podium-phone {
        top: 24px;
        font-size: 16px;
        text-transform: uppercase;
    }

    .podium-1 .podium-poin {
        bottom: 42px;
        font-size: 16px;
    }

.redeem-list-card {
    width: 100%;
    padding: 0 8px 16px;
}

.redeem-list-inside {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    height: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

    .redeem-list-inside:hover {
        transform: translateY(-8px) rotateX(2deg);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

.redeem-detail {
    text-align: center;
    width: 100%;
    padding: 16px 0 0;
}

    .redeem-detail .price-name {
        font-weight: 700;
        font-size: 16px;
        margin-top: 10px;
        line-height: 1.4;
        padding-bottom: 8px;
        color: #2d3436;
        position: relative;
    }

        .redeem-detail .price-name::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 36px;
            height: 2px;
            background: linear-gradient(90deg, #E13386, #ff6b9c);
            border-radius: 2px;
        }

    .redeem-detail .price-poin {
        font-size: 15px;
        font-weight: 700;
        color: #E13386;
        margin: 12px 0;
        padding: 6px 18px;
        background: linear-gradient(135deg, rgba(225, 51, 134, 0.08), rgba(255, 107, 156, 0.08));
        border-radius: 30px;
        border: 1px solid rgba(225, 51, 134, 0.2);
        display: inline-block;
    }

.redeem-img-thumb {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

    .redeem-img-thumb::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(225, 51, 134, 0.05), rgba(255, 107, 156, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .redeem-img-thumb img {
        max-height: 140px;
        object-fit: contain;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
        transition: transform 0.3s ease;
    }

.redeem-list-inside:hover .redeem-img-thumb::before {
    opacity: 1;
}

.redeem-list-inside:hover .redeem-img-thumb img {
    transform: scale(1.06);
}

.redeem-detail .disable-poin {
    border-radius: 30px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 12px 24px;
    color: #666;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .redeem-detail .disable-poin strong {
        color: #495057;
        font-weight: 600;
    }

.btn-redeem {
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    background: linear-gradient(45deg, #E13386, #ff6b9c);
    color: white;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-redeem::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
    }

    .btn-redeem:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(225, 51, 134, 0.4);
    }

        .btn-redeem:hover:not(:disabled)::before {
            left: 100%;
        }

    .btn-redeem:disabled {
        background: linear-gradient(45deg, #e9ecef, #dee2e6);
        color: #adb5bd;
        cursor: not-allowed;
        box-shadow: none;
        transform: none;
    }

.redeem-list-inside:hover .btn-redeem:not(:disabled) {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(90deg, #E13386, #ff6b9c, #E13386);
    background-size: 1000px 100%;
}

.wider .claim-title {
    text-align: center;
    font-size: 30px;
    color: #f92be0;
}

    .wider .claim-title h2 {
        font-family: sans-serif;
        font-weight: 900;
        -webkit-text-stroke: 1px;
        -webkit-text-stroke-color: white;
        letter-spacing: -2px
    }

.winner-trophy {
    position: relative;
}

.mainbody {
    min-height: calc(100% - 22%);
}

.title-page {
    text-align: center;
    font-size: 24px;
    text-align: center;
    margin-bottom: 24px;
    font-family: lilita;
    color: #EB6AE0;
    text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
}

.winner-trophy-place {
    flex-direction: row;
    align-items: end;
    justify-content: center;
}

.winner-list-wrap {
    margin-top: 16px;
    padding-bottom: 24px;
    overflow-y: auto;
}

.winner-list {
    width: 100%;
}

.winner-list {
    border-radius: 4px;
    padding: 12px 16px;
    color: #404040;
    font-weight: 700;
    align-items: center;
    width: 100%;
    margin: 0 auto 8px;
    border-radius: 8px;
    border: 1px solid #EDEDED;
    background: #FFF;
}

    .winner-list .rank-number {
        border-radius: 50%;
        background: #E13386;
        color: #fff;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .winner-list .rank-phone {
        margin-left: 8px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .winner-list .rank-score {
        margin-left: auto;
    }

.bottom-bot {
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 12px 0;
}

.bottom-manag {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

    .bottom-manag .btn-green {
        border: 3px solid #B5DB81;
        letter-spacing: 1px;
    }

    .bottom-manag .btn-purple {
        border: 3px solid #F7C0E3;
        letter-spacing: 1px;
        background: #EB6AE0;
    }

    .bottom-manag button {
        color: #fff;
        width: 100%;
        padding: 12px 0;
        font-weight: 500;
        margin: 0 4px;
        letter-spacing: 1px;
        border-radius: 8px;
        border: 0;
    }

.btn-green {
    background: #8EC63F;
}

button {
    cursor: pointer;
}

.bottom-manag .btn-pink {
    background: #E13386;
}

.bottom-manag .btn-blue {
    border: 3px solid #2C83CB;
}

.winner-list.flex.marked {
    background: linear-gradient(#018dcb, #018dcb) 50% 50% / calc(100% - 4px) calc(100% - 4px) no-repeat, linear-gradient(#018dcb 0%, #018dcb 100%);
    color: #fff;
}

.marked > .rank-number {
    background: #fff;
    color: #018dcb;
}

.winner-trophy .winner-detail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    height: 100%;
    font-family: azo;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px #000;
}

.first-winner .winner-phone {
    top: 24px;
    font-size: 16px;
    text-transform: uppercase;
}

.winner-trophy .winner-phone {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    font-size: 12px;
}

.first-winner .winner-score {
    bottom: 42px;
}

.winner-trophy .winner-score {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    font-size: 10px;
}

.history-point-card {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

    .history-point-card a {
        display: block;
        border-radius: 8px;
        padding: 12px 16px;
        text-align: center;
        width: 100%;
        margin: 0 auto;
        color: #E13386;
        font-weight: 600;
        border: 1px solid rgba(225, 51, 134, 0.20);
        background: rgba(225, 51, 134, 0.10);
    }

        .history-point-card a img {
            vertical-align: text-top;
            width: 14px;
        }

#list-point-history {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ffe6f1, #fdfbff);
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .history-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

/* Ikon atau emoji besar */
.history-icon {
    font-size: 36px;
    flex-shrink: 0;
}

/* Konten aktivitas dan tanggal */
.history-info {
    flex-grow: 1;
}

    .history-info strong {
        display: block;
        font-size: 18px;
        color: #2c2c2c;
        margin-bottom: 6px;
    }

    .history-info span {
        font-size: 14px;
        color: #777;
    }

/* Badge poin */
.history-poin_ {
    background-color: #E13386;
    color: white;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Custom colors per transaction type */
/* Pull */
.type-6 {
    background: linear-gradient(135deg, #d1c4e9, #ede7f6);
}
/* Download */
.type-7 {
    background: linear-gradient(135deg, #b3e5fc, #e1f5fe);
}
/* First */
.type-1 {
    background: linear-gradient(135deg, #c8e6c9, #f1f8e9);
}
/* Renew */
.type-8 {
    background: linear-gradient(135deg, #ffe082, #fff8e1);
}
/* Redeem */
.type-12 {
    background: linear-gradient(135deg, #f8bbd0, #fce4ec);
}
/* Play Quiz */
.type-14 {
    background: linear-gradient(135deg, #bbdefb, #e3f2fd);
}
/* Referral */
.type-16 {
    background: linear-gradient(135deg, #80deea, #e0f7fa);
}
/* Flip Card - ungu pink */
.type-17 {
    background: linear-gradient(135deg, #f3e5f5, #fce4ec);
}
/* Soccer Game - hijau segar */
.type-18 {
    background: linear-gradient(135deg, #c8e6c9, #e8f5e9);
}


.email-icon {
    position: relative;
}

    .email-icon a {
        color: #00ffff;
    }

        .email-icon a:hover {
            background: rgba(0,255,255,0.2);
            transform: translateY(-2px);
        }

.inbox-reminder p {
    color: white;
    text-align: center;
}

.inbox-notify {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff0000;
    top: -3px;
    right: -4px;
    border: 1px solid #ff0000;
}

.mailbox-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 16px;
}

.list-mailbox {
    display: block;
    width: 100%;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 12px;
    color: #1f2937; /* neutral-800 */
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
    text-decoration: none;
    border-left: 5px solid transparent;
}

    .list-mailbox:hover {
        background-color: #f9fafb;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        border-left: 5px solid #6366f1; /* Indigo-500 */
    }

    .list-mailbox.isread-mailbox {
        opacity: 0.75;
    }

.mailbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 16px;
}

.mailbox-subject {
    font-weight: 600;
    font-size: 17px;
    color: #111827;
    line-height: 1.4;
}

.mailbox-date {
    font-size: 14px;
    font-weight: 500;
    color: #ec4899; /* pink-500 */
}

.mailbox-text-description p {
    font-size: 15px;
    color: #4b5563; /* gray-600 */
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-inbox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b82f6; /* biru terang */
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

    .btn-inbox:hover {
        background-color: #2563eb; /* biru lebih gelap saat hover */
    }


/* -- General Container -- */
.mailbox-content-detail {
    background-color: #ffffff; /* [REVAMP] Latar belakang putih bersih untuk kesan elegan */
    border-radius: 16px; /* [REVAMP] Sedikit lebih besar untuk tampilan lebih lembut */
    padding: 32px 40px; /* [REVAMP] Padding lebih besar untuk ruang napas */
    max-width: 768px;
    margin: 40px auto;
    border: 1px solid #e5e7eb; /* [REVAMP] Border tipis sebagai pengganti shadow utama */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03); /* [REVAMP] Shadow sangat halus */
    font-family: 'Inter', 'Segoe UI', sans-serif; /* [REVAMP] Font lebih modern, pastikan untuk import 'Inter' dari Google Fonts */
    color: #1f2937;
    transition: all 0.3s ease-in-out;
}

    .mailbox-content-detail:hover {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05); /* [REVAMP] Efek hover lebih terasa */
        transform: translateY(-2px);
    }

/* -- Header Section (Subject & Date) -- */
    .mailbox-content-detail .mailbox-head {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        padding-bottom: 24px; /* [REVAMP] Padding untuk memberi jarak ke border */
        margin-bottom: 24px; /* [REVAMP] Margin untuk memberi jarak ke konten */
        border-bottom: 1px solid #f3f4f6; /* [REVAMP] Garis pemisah yang sangat lembut */
    }

    .mailbox-content-detail .mailbox-date {
        font-size: 14px;
        font-weight: 500;
        color: #6b7280;
        white-space: nowrap;
        margin-top: 6px; /* [REVAMP] Penyesuaian posisi vertikal */
        background-color: #f3f4f6; /* [REVAMP] Latar belakang untuk memisahkan secara visual */
        padding: 4px 10px; /* [REVAMP] Padding di dalam bubble tanggal */
        border-radius: 20px; /* [REVAMP] Bubble shape */
        flex-shrink: 0; /* Mencegah tanggal menyusut */
    }

/* -- Message Body -- */
.mailbox-full-text {
    font-size: 16px; /* [REVAMP] Sedikit lebih besar untuk kenyamanan membaca */
    line-height: 1.8; /* [REVAMP] Jarak antar baris lebih lega */
    color: #374151;
}

    /* [REVAMP] Styling untuk elemen di dalam konten pesan agar konsisten */
    .mailbox-full-text p {
        margin-bottom: 1.5em;
    }

    .mailbox-full-text a {
        color: #4f46e5;
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid #c7d2fe;
        transition: all 0.2s ease;
    }

        .mailbox-full-text a:hover {
            background-color: #e0e7ff;
        }

    .mailbox-full-text strong {
        color: #111827;
        font-weight: 600;
    }

#hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.modal-body {
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

/*Revamp Fun8 june 2025*/

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
}

.game-card,
.quiz-card {
    background: #FFFFFF;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-blend-mode: screen;
    border: 2px solid transparent;
    aspect-ratio: 1/1.2;
    display: flex;
    flex-direction: column;
}

    /* Hover effect: cyber-glow */
    .quiz-card:hover, .game-card:hover {
        transform: scale(1.03);
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.1), 0 0 20px rgba(0, 255, 255, 0.3), 0 0 30px rgba(255, 0, 255, 0.2);
    }

    /* Optional: neon border glow */
    .quiz-card::before, .game-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        border-radius: inherit;
        background: linear-gradient(45deg, rgba(0,255,255,0.2), rgba(255,0,255,0.2));
        z-index: 0;
        filter: blur(8px);
        opacity: 0.7;
        pointer-events: none;
    }

    /* Content should stay above glow */
    .quiz-card > *, .game-card > * {
        position: relative;
        z-index: 1;
    }

    .quiz-card:nth-child(1) {
        background: linear-gradient(135deg, #00ffe7 0%, #00b3ff 100%);
        /* Neon cyan ke biru elektrik */
    }

    .quiz-card:nth-child(2) {
        background: linear-gradient(135deg, #00ff85 0%, #00ffaa 100%);
        /* Neon hijau ke aqua mint */
    }

    .quiz-card:nth-child(3) {
        background: linear-gradient(135deg, #ffe600 0%, #ff9900 100%);
        /* Neon kuning ke oranye terang */
    }

    .quiz-card:nth-child(4) {
        background: linear-gradient(135deg, #00ffcc 0%, #33ffc1 100%);
        /* Mint neon ke hijau terang */
    }

    .game-card:nth-child(1) {
        background: linear-gradient(135deg, #00c3ff 0%, #0044ff 100%);
        /* Electric cyan ke biru tua */
    }

    .game-card:nth-child(2) {
        background: linear-gradient(135deg, #ff3d00 0%, #ff6d00 100%);
        /* Neon merah ke oranye terbakar */
    }

    .game-card:nth-child(3) {
        background: linear-gradient(135deg, #aaff00 0%, #77ff00 100%);
        /* Lime neon ke hijau stabilo */
    }

    .game-card:nth-child(4) {
        background: linear-gradient(135deg, #00ffc6 0%, #00e0ff 100%);
        /* Cyan-green to blue blend */
    }

.game-icon {
    width: 100%;
    height: 40%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #FFFFFF;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Icon Colors for Cards */
.game-card:nth-child(1) .game-icon i,
.quiz-card:nth-child(1) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(255, 51, 102, 0.3);
}

.game-card:nth-child(2) .game-icon i,
.quiz-card:nth-child(2) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(46, 139, 132, 0.3);
}

.game-card:nth-child(3) .game-icon i,
.quiz-card:nth-child(3) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(255, 149, 0, 0.3);
}

.game-card:nth-child(4) .game-icon i,
.quiz-card:nth-child(4) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
}

.game-card:nth-child(5) .game-icon i,
.quiz-card:nth-child(5) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(41, 128, 185, 0.3);
}

.game-card:nth-child(6) .game-icon i,
.quiz-card:nth-child(6) .game-icon i {
    color: #29395d;
    text-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.game-card:hover .game-icon,
.quiz-card:hover .game-icon {
    transform: scale(1.1) rotate(10deg);
    transition: all 0.3s ease;
}

.game-content {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
}

    .game-content h3 {
        color: #29395d;
        font-size: 16px;
        font-weight: 800;
        margin-bottom: 6px;
        font-family: 'Fredoka One', cursive;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .game-content p {
        color: #29395d;
        font-size: 12px;
        margin: 0;
        line-height: 1.4;
        font-weight: 500;
    }

.referral-button {
    text-align: center;
    margin: 8px 0 20px;
}

    .referral-button a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        background: linear-gradient(135deg, #007af6 0%, #00B8D4 100%);
        color: #29395d;
        padding: 14px 20px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 15px;
        box-shadow: 0 4px 15px rgba(0, 217, 245, 0.2);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .referral-button a::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .referral-button a:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 217, 245, 0.3);
        }

            .referral-button a:hover::before {
                opacity: 1;
            }

        .referral-button a i {
            font-size: 18px;
            position: relative;
            z-index: 2;
        }

        .referral-button a span {
            position: relative;
            z-index: 2;
            font-weight: 700;
        }

        .referral-button a p {
            position: absolute;
            bottom: 4px;
            left: 0;
            width: 100%;
            font-size: 12px;
            opacity: 0.9;
            margin: 0;
            font-size: 11px;
        }

.notification-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 400px;
    padding: 0 16px;
}

.notification-toast {
    background: #29395d;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
    display: none;
}

    .notification-toast.show {
        display: block;
    }

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #29395d 0%, #e13386 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #FFF;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.notification-message {
    color: #FFF;
    margin: 0;
    font-size: 13px;
}

.notification-toast.hide {
    animation: slideDown 0.5s ease-in forwards;
}

.notification-close {
    background: none;
    border: none;
    color: #00FFFF;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 32px;
    transition: color 0.3s ease;
    position: absolute;
    right: -24px;
    top: -24px;
}

    .notification-close:hover {
        color: #00FFFF;
    }

.category-title {
    font-family: 'Righteous', cursive;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    padding: 0.5rem 0;
    color: #00FFFF; /* Cyan neon */
    letter-spacing: 1px;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

    .category-title::before {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: #FF1493; /* Deep pink neon */
        transform: translateZ(-1px);
        animation: glitch 3s infinite;
        text-shadow: 0 0 10px rgba(255, 20, 147, 0.5), 0 0 20px rgba(255, 20, 147, 0.3);
    }

    .category-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, transparent, #00FFFF, /* Cyan neon */
        #FF1493, /* Deep pink neon */
        #7B68EE, /* Medium slate blue */
        transparent );
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }

    .category-title:hover {
        transform: translateY(-2px) scale(1.02) rotateX(5deg);
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.7), 0 0 30px rgba(0, 255, 255, 0.5);
    }

        .category-title:hover::after {
            transform: scaleX(1);
        }

.account-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding-top: 16px;
}

.account-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .account-card:hover {
        transform: translateY(-2px);
    }

    .account-card h2 {
        color: var(--primary-color);
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    flex-direction: row;
}

    .info-item i {
        width: 40px;
        height: 40px;
        background: #29395d;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
    }

.info-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 150px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 8px;
}

.status-badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.account-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .account-card:hover {
        transform: translateY(-2px);
    }

    .account-card h2 {
        color: var(--primary-color);
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        border-bottom: 2px solid #f0f0f0;
        padding-bottom: 0.5rem;
    }

.btn-exit {
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    background: linear-gradient(45deg, #ff4b4b, #ff6b6b);
}

.btn-cancel {
    background: linear-gradient(45deg, #6c757d, #495057);
}

    .btn-exit:hover, .btn-cancel:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .btn-exit:active, .btn-cancel:active {
        transform: translateY(0);
    }

    .btn-exit i, .btn-cancel i {
        font-size: 18px;
    }

.btn-exit, .btn-cancel {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: white;
}

.leaderboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.leaderboard-header, .redeem-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

.leaderboard-title {
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
    width: 100%;
}

.leaderboard-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.my-points {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.points-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.points-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
}

.history-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .history-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    .history-link i {
        font-size: 0.9rem;
    }

.podium-container {
    display: grid;
    margin: 2rem auto;
    position: relative;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
        "first first"
        "second third";
}

.podium-item {
    position: relative;
    background: var(--card-bg);
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
}

    .podium-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .podium-item.first {
        background: linear-gradient(135deg, #FFD700, #FFA500);
        color: white;
        z-index: 2;
        transform: scale(1);
        margin-top: 0;
        order: 1;
        margin-bottom: 16px;
        grid-area: first;
        width: 50%;
        margin: 0 auto 16px auto;
    }

    .podium-item.second {
        background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
        color: white;
        order: 2;
        grid-area: second;
    }

    .podium-item.third {
        background: linear-gradient(135deg, #CD7F32, #8B4513);
        color: white;
        order: 3;
        grid-area: third;
    }

.podium-rank {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007af6 0%, #00B8D4 100%);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    z-index: 3;
}

.podium-avatar {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.podium-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.podium-phone {
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.podium-score {
    font-size: 1.25rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    display: inline-block;
    margin: 0 auto;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    gap: 0.75rem;
    margin: 1rem;
    border-radius: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .leaderboard-item:hover {
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .leaderboard-item.mine {
        background: blueviolet;
    }

.rank {
    font-weight: 700;
    color: #fff;
    background: #29395d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    min-width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-right: 0.75rem;
    padding: 0 8px;
}

.user-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0.75rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.avatar-initials {
    font-size: 18px;
    text-transform: uppercase;
}

.user-avatar i {
    font-size: 1.1rem;
    color: #fff;
}

.user-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
}

.user-phone {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
}

    .user-phone.mine {
        font-weight: 800;
    }

.user-score {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.75rem;
    align-self: flex-start;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.leaderboard-actions {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    flex-direction: column;
    gap: 15px;
    padding: 16px;
}

    .leaderboard-actions button {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 14px 20px;
        border-radius: 12px;
        border: none;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Poppins', sans-serif;
    }

.btn-play {
    background: linear-gradient(135deg, #007af6 0%, #00B8D4 100%);
    color: #29395d;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2);
}

    .btn-play:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
    }

.btn-claim {
    background: linear-gradient(135deg, #FFB800 0%, #ff8d06 100%);
    color: #29395d;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

    .btn-claim:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
    }

.leaderboard-actions button i {
    font-size: 18px;
}

.section__content.faq > strong {
    visibility: hidden;
}

.section__content.faq ul {
    list-style: none !important;
    padding-left: 0;
    margin: 0 !important;
    font-family: 'Segoe UI', sans-serif;
    visibility: hidden;
    text-align: left;
}

.section__content.faq li {
    background-color: #fff;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    cursor: pointer;
    position: relative;
}

    .section__content.faq li:hover {
        background-color: #f9f9f9;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .section__content.faq li > strong {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        padding-right: 30px;
    }

.faq-detail {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

    .faq-detail.open {
        opacity: 1;
        overflow: hidden;
    }

.section__content.faq li::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 30px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #888;
    transition: transform 0.2s ease, content 0.2s;
}

.section__content.faq li.expanded::after {
    content: "−";
    color: #007BFF;
    transform: translateY(-50%) rotate(180deg);
}

.section__content.help {
    background: #fff;
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    font-weight: 500;
}

.section__content.tnc {
    margin-top: 96px;
    visibility: hidden;
}

    .section__content.tnc .content > p {
        font-family: 'Poppins', sans-serif;
        font-size: 2rem;
        text-align: center;
        margin: 1.5rem 0;
        position: relative;
        padding: 0.5rem 0;
        color: #00FFFF;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        transform-style: preserve-3d;
        perspective: 1000px;
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
    }

    .section__content.tnc .content > ol {
        background: white;
        padding: 32px;
        padding-left: 48px;
        border-radius: 16px;
        font-weight: 500;
    }

        .section__content.tnc .content > ol > li {
            margin: 8px 0;
        }

.heading-page-title.how-to-play-heading {
    margin-top: 96px;
    font-weight: 700;
    text-transform: uppercase;
}

.heading-page-title.redeem-heading {
    font-weight: 700;
}

.tutorial-wrap {
    visibility: hidden;
}

#quizStart {
    display: none;
}

.loading-spinner {
    margin-bottom: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f92be0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.timer-content.warning #timerSecond,
.timer-content.warning .timer-label {
    animation: blink 1s infinite;
}

.btnAnswer.warning {
    background: #f23a3a;
}

.timer__.warning, .quizCard.warning {
    animation: blink-bg 1s infinite;
}

.timer-circle-progress.warning {
    stroke: #f23a3a;
    animation: pulse 1s infinite;
}

.success-modal, .error-modal, .timeout-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .success-modal .popupAnswer,
    .error-modal .popupAnswer,
    .timeout-modal .popupAnswer {
        text-align: center;
        padding: 2rem;
    }

    .success-modal .success-icon,
    .error-modal .error-icon,
    .timeout-modal .timeout-icon {
        margin-bottom: 1.5rem;
    }

        .success-modal .success-icon i,
        .error-modal .error-icon i,
        .timeout-modal .timeout-icon i {
            font-size: 4rem;
            animation: scaleIn 0.5s ease-out;
        }

        .success-modal .success-icon i {
            color: #28a745;
        }

        .error-modal .error-icon i {
            color: #dc3545;
        }

        .timeout-modal .timeout-icon i {
            color: #ffc107;
        }

    .success-modal .answer-label,
    .error-modal .answer-label,
    .timeout-modal .answer-label {
        font-size: 1.2rem;
        color: #6c757d;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .success-modal .answer-result,
    .error-modal .answer-result,
    .timeout-modal .answer-result {
        font-size: 2.5rem;
        font-weight: 700;
        margin: 0;
    }

    .success-modal .answer-result {
        color: #28a745;
    }

    .error-modal .answer-result {
        color: #dc3545;
    }

    .timeout-modal .answer-result {
        color: #ffc107;
    }

#resultModal .headModal {
    background: var(--gradient-secondary);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    border-radius: 20px 20px 0 0;
}

#resultModal .resultWrap {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 16px;
    font-weight: 600;
}

    #resultModal .resultWrap h3 {
        border-radius: 12px;
    }

        #resultModal .resultWrap h3 p {
            font-size: 18px;
            color: #334155;
        }

        #resultModal .resultWrap h3 span {
            font-weight: bold;
            color: #6366f1;
        }

#resultModal .bonusText {
    background: #f0f9ff;
    border: 2px dashed #3b82f6;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    color: #1e40af;
}

    #resultModal .bonusText strong {
        color: #2563eb;
        font-size: 1.1em;
    }

    #resultModal .bonusText p {
        font-size: 14px;
        margin-top: 10px;
        color: #64748b;
    }

#resultModal .btnResult {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px 16px 16px;
}

    #resultModal .btnResult button {
        padding: 15px 25px;
        border: none;
        border-radius: 10px;
        font-weight: bold;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        #resultModal .btnResult button:first-child {
            background: var(--primary);
            color: white;
        }

            #resultModal .btnResult button:first-child:hover {
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
            }

        #resultModal .btnResult button:last-child {
            background: var(--negative);
            color: white;
        }

            #resultModal .btnResult button:last-child:hover {
                transform: translateY(-2px);
                box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
            }

#resultModal.modal {
    animation: modalFadeIn 0.3s ease-out;
}

.result-stats {
    width: 100%;
}

.score-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.score-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.score-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    background: #f8f9fa;
}

    .score-item i {
        font-size: 16px;
        margin-bottom: 5px;
    }

.score-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 3px;
}

.score-value {
    font-size: 18px;
    font-weight: 700;
}

.score-item:first-child i {
    color: #28a745;
}

.score-item:nth-child(2) i {
    color: #dc3545;
}

.score-item.total {
    background: rgba(249, 43, 224, 0.05);
}

    .score-item.total i {
        color: #f92be0;
    }

    .score-item.total .score-value {
        color: #f92be0;
    }

.game-instruction-container {
    border-radius: 20px;
    max-width: 900px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    padding: 20px;
    margin: 96px 16px 16px 16px;
}

    .game-instruction-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        z-index: 1;
    }

.instruction-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-direction: column;
}

.instruction-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    background: rgba(85, 15, 51, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    width: 100%;
    padding: 16px;
}

.instruction-icon {
    font-size: 24px;
    color: #FFB800;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.instruction-text p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.move-counter {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(85, 15, 51, 0.35);
    border-radius: 16px;
    min-width: 160px;
    backdrop-filter: blur(4px);
    width: 100%;
    padding: 16px;
}

.move-icon {
    font-size: 20px;
    color: #FFB800;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.move-counter-text {
    display: flex;
    flex-direction: column;
}

.move-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.move-count {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.won-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    z-index: 9999;
    animation: popUp 0.4s ease-out;
    font-family: 'Poppins', sans-serif;
    padding: 0 0 32px 0;
}

.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

    .modal-close-btn:hover {
        opacity: 1;
    }

.modal-header {
    background: var(--gradient-secondary);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    border-radius: 20px 20px 0 0;
    justify-content: center;
}

.modal-body {
    margin: 1.8rem 0;
}

.score-summary {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.score-item {
    background: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .score-item .label {
        font-size: 0.95rem;
        color: #888;
    }

    .score-item .value {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-top: 5px;
    }

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary);
    color: white;
    width: 220px;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    }

.btn-secondary {
    padding: 15px 25px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--negative);
    color: white;
    width: 220px;
}

    .btn-secondary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
    }

/*    LARGE DEVICE BREAKPOINT STYLING*/
@media (min-width: 1024px) {
    .deck-game {
        grid-template-columns: repeat(3, minmax(33%, 1fr));
    }

    .card-game {
        max-height: 30vh;
    }

    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 48px;
        min-width: 1024px;
        width: 100%;
        max-width: 1536px;
    }

    .container {
        width: 75%;
    }

    .hamburgerBar {
        display: none;
    }

    .brand {
        width: auto;
        margin-right: 40px;
    }

        .brand a {
            width: 140px;
        }

    .nav-wrap {
        position: static;
        width: auto;
        height: auto;
        transform: none;
        overflow: visible;
        display: flex;
        align-items: center;
        flex: 1;
        background: none;
        box-shadow: none;
    }

        .nav-wrap .navigation {
            display: flex;
            align-items: center;
            justify-content: start;
            padding: 0;
            margin: 0;
            gap: 32px;
            width: 100%;
        }

            .nav-wrap .navigation li {
                margin: 0;
            }

                .nav-wrap .navigation li a {
                    padding: 8px;
                    border-radius: 8px;
                    font-size: 14px;
                    font-weight: 500;
                    transition: all 0.3s ease;
                    margin-right: 0;
                }

                    .nav-wrap .navigation li a i {
                        display: none;
                    }

    .dropdown-menu-custom {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #29395d;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        padding: 0.5rem 0;
    }

    .join-button {
        margin: 0 0 0 24px;
        padding: 0;
        min-width: 150px;
    }

        .join-button button {
            padding: 10px;
            font-size: 14px;
            border-radius: 8px;
            background: linear-gradient(135deg, #29395d 0%, #e13386 100%);
            color: #00FFFF;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins';
        }

            .join-button button:hover {
                transform: translateY(-2px);
                box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
            }

    .email-icon {
        margin-left: 24px;
    }

        .email-icon a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: rgba(108, 99, 255, 0.08);
            color: #00ffff;
            transition: all 0.3s ease;
        }

        .email-icon i {
            font-size: 20px;
        }
}

/*    MEDIUM DEVICE BREAKPOINT STYLING*/
@media (min-width: 768px) {

    footer {
        padding: 16px 0;
        display: none;
    }

        footer .container {
            padding: 0 16px;
        }

            footer .container a {
                padding: 8px 16px;
            }

                footer .container a .fa {
                    font-size: 24px;
                    margin-bottom: 8px;
                }

                footer .container a span {
                    font-size: 13px;
                }

    #mainBody {
        padding-bottom: 100px;
    }

    .heading-page-title {
        margin: 1.5rem 0;
    }

    .action-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .how-to-play,
    .referral-button {
        flex: 1;
        max-width: 300px;
    }

        .how-to-play a,
        .referral-button a {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .menu-card-wrap a {
        padding: 24px;
    }

    .game-grid {
        gap: 16px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .game-card {
        border-radius: 16px;
    }

    .game-icon {
        font-size: 48px;
    }

    .game-content {
        padding: 16px;
    }

        .game-content h3 {
            font-size: 20px;
        }

        .game-content p {
            font-size: 14px;
        }

    .referral-button {
        margin: 12px 0 24px;
    }

        .referral-button a {
            padding: 16px 24px;
            font-size: 16px;
        }

            .referral-button a i {
                font-size: 20px;
            }

            .referral-button a p {
                font-size: 14px;
            }

    .home-banner {
        padding: 16px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .notification-container {
        bottom: 20px;
    }

    .category-title {
        padding: 0 16px;
        text-align: left;
    }

    .account-container {
        padding-top: 32px;
    }

    .leaderboard-header, .redeem-header {
        padding: 0 1rem;
        max-width: 900px;
        margin: 0 auto 2rem;
        flex-direction: row;
    }

    .leaderboard-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #fff;
        margin: 0;
    }

    .leaderboard-stats {
        width: fit-content;
        background: none;
        align-items: center;
        gap: 1.5rem;
        border: none;
    }

    .my-points {
        align-items: flex-end;
    }

    .points-label {
        font-size: 0.9rem;
    }

    .points-value {
        font-size: 1.25rem;
    }

    .history-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

        .history-link i {
            font-size: 1rem;
        }

    .podium-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem;
        max-width: 900px;
        grid-template-areas:
            "second first third"
    }

    .podium-item {
        padding: 2rem 1.5rem;
    }

        .podium-item.first {
            transform: scale(1.1);
            margin-top: -2rem;
            order: 2;
            width: 100%;
            margin: -2rem 0 0 0;
        }

        .podium-item.second {
            margin-top: 1rem;
            order: 1;
        }

        .podium-item.third {
            margin-top: 2rem;
            order: 3;
        }

    .podium-rank {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
    }

    .podium-avatar {
        width: 5rem;
        height: 5rem;
        font-size: 2rem;
    }

    .podium-phone {
        font-size: 1.1rem;
    }

    .podium-score {
        font-size: 1.5rem;
    }

    .leaderboard-container {
        padding: 2rem 0;
    }

    .leaderboard-list {
        gap: 1rem;
        margin: 2rem auto;
        padding: 1.5rem;
        border-radius: 16px;
    }

    .leaderboard-item {
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }

    .rank {
        font-size: 1.25rem;
        min-width: 40px;
        margin-right: 1.5rem;
        height: 40px;
    }

    .user-info {
        gap: 1.5rem;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
    }

        .user-avatar i {
            font-size: 1.5rem;
        }

    .user-phone {
        font-size: 1.1rem;
    }

    .user-score {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .leaderboard-actions {
        gap: 20px;
        padding: 0 1.5rem;
        flex-direction: row
    }

        .leaderboard-actions button {
            padding: 12px 24px;
            font-size: 16px;
        }

    .infoRankWrap {
        grid-template-columns: repeat(3, 1fr);
    }

    #resultModal .btnResult {
        padding: 0 32px 32px 32px;
        flex-direction: row;
        justify-content: space-between;
    }

    #resultModal .resultWrap {
        padding: 0 32px;
        margin-bottom: 0;
    }

    .modal-content.resultModal {
        margin-top: 64px;
    }

    .game-instruction-container {
        padding: 24px;
        margin: 96px auto 24px auto;
    }

    .instruction-content {
        flex-direction: row;
        gap: 24px;
    }

    .instruction-text {
        padding: 20px;
        width: auto;
    }

    .move-counter {
        padding: 16px 24px;
        width: auto;
    }

    .instruction-text p {
        font-size: 16px;
    }

    .move-label {
        font-size: 13px;
    }

    .move-count {
        font-size: 24px;
    }

    .tncCardWrap {
        padding: 20px 0;
    }
}

/*    EXTRA SMALL DEVICE BREAKPOINT STYLING*/
@media (max-width: 360px) {
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 8px;
    }

    .game-card {
        border-radius: 16px;
    }

    .game-icon {
        font-size: 32px;
    }

    .game-content {
        padding: 8px;
    }

        .game-content h3 {
            font-size: 14px;
        }

        .game-content p {
            font-size: 11px;
        }

    .leaderboard-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .my-points {
        align-items: center;
    }

    .history-link {
        justify-content: center;
    }

    .leaderboard-list {
        padding: 0.75rem;
        gap: 0.5rem;
        margin: 0.75rem;
    }

    .leaderboard-item {
        padding: 0.6rem 0.75rem;
    }

    .rank {
        min-width: 28px;
        height: 28px;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

        .user-avatar i {
            font-size: 1rem;
        }

    .user-phone {
        font-size: 0.85rem;
    }

    .user-score {
        font-size: 0.9rem;
        padding: 0.2rem 0.6rem;
    }
}

/*    SMALL DEVICE BREAKPOINT STYLING*/
@media (max-width: 489px) {
    .mailbox-text-description {
        -webkit-line-clamp: 2;
    }

    .modal-content {
        width: 90%;
    }

    .quizModal h3 {
        font-size: 18px;
    }

    .score-summary {
        flex-direction: column;
        gap: 12px;
    }
}

/*keyframes*/
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes glitch {
    0% {
        transform: translateZ(-1px) translateX(0);
        opacity: 0.8;
    }

    2% {
        transform: translateZ(-1px) translateX(-2px);
        opacity: 0.6;
    }

    4% {
        transform: translateZ(-1px) translateX(2px);
        opacity: 0.8;
    }

    6% {
        transform: translateZ(-1px) translateX(0);
        opacity: 0.6;
    }

    8% {
        transform: translateZ(-1px) translateX(0);
        opacity: 0.8;
    }

    100% {
        transform: translateZ(-1px) translateX(0);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-timer {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 43, 224, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(249, 43, 224, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 43, 224, 0);
    }
}

@keyframes blink {
    0% {
        color: #333;
    }

    50% {
        color: #f23a3a;
    }

    100% {
        color: #333;
    }
}

@keyframes blink-bg {
    0% {
        background: #fff;
    }

    50% {
        background: rgba(241, 144, 144, 1);
    }

    100% {
        background: #fff;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}