﻿#pause-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    flex-direction: column;
}

    #pause-container i {
        font-size: 70px;
        cursor: pointer;
        color:#fff
    }

    #pause-container.active {
        display: block;
    }


.card.greyedout {
    opacity: 1;
    background: transparent;
    border: 1px dashed #ccc;
}

    .card.greyedout * {
        visibility: hidden
    }

.card.used-highlight * {
    visibility: visible;
}

.card.used-highlight {
    transform: scale(1.2);
    transition: transform 0.3s ease;
    z-index: 5;
    opacity: 1;
    /*animation: scalePulse 1s ease-in-out forwards;*/
    animation: flashWhite 1s ease-in-out infinite;
    display: flex;
    background-color: #222;
}

.questioncategorylevel-0 {
    font-weight: bold;
    font-size: 38px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
 
}

    .questioncategorylevel-0 p {
        color: rgba(255, 205, 255, 0.92);
        text-shadow: 0 0 6px rgba(255, 160, 255, 0.55), 0 0 14px rgba(180, 80, 255, 0.35);
        -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
        position: relative;
        font-size: 38px;
        font-weight: 900;
        letter-spacing: 2px;
        text-transform: uppercase;
        /*animation: neonPulse 2.5s ease-in-out infinite;*/
    }

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 6px rgba(255,120,255,0.8), 0 0 14px rgba(180,80,255,0.7), 0 0 28px rgba(140,0,255,0.6);
    }

    50% {
        text-shadow: 0 0 10px rgba(255,160,255,1), 0 0 22px rgba(200,100,255,.9), 0 0 40px rgba(160,0,255,.8);
    }
}


.questioncategorylevel-1 {
    text-align: center;
    padding: 0px 10px 5px 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(225, 200, 255, 0.92);
    text-shadow: 0 0 4px rgba(200, 160, 255, 0.55), 0 0 10px rgba(160, 100, 255, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
}

.questioncategorylevel-2 {
    text-align: center;
    padding: 0px 10px 5px 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(225, 200, 255, 0.92);
    text-shadow: 0 0 4px rgba(200, 160, 255, 0.55), 0 0 10px rgba(160, 100, 255, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
   
}

    .questioncategorylevel-0 p, .questioncategorylevel-2 p, .questioncategorylevel-1 p, .question-container p {
        margin: 0;
        padding: 0
    }


.category-countdown {
    font-size: 30px;
    font-weight: bold;
    color: #ff4444; /* red countdown */
    margin-top: 5px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    position:relative
}
.question-container {
    padding: 5px 10px;
   
    text-align: center;
  
    color:#fff
}

.question-text {
    font-size: 36px;
    font-weight: 500;
    color: rgba(225, 200, 255, 0.92);
    text-shadow: 0 0 4px rgba(200, 160, 255, 0.55), 0 0 10px rgba(160, 100, 255, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
}

.sub-and-question-wrapper {
    width: 50%;
}

.popup-message-wrapper * {
    color: rgba(225, 200, 255, 0.92) !important;
    text-shadow: 0 0 4px rgba(200, 160, 255, 0.55), 0 0 10px rgba(160, 100, 255, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
}

.answer-background {
    color: rgba(255, 205, 255, 0.92) !important;
    text-shadow: 0 0 6px rgba(255, 160, 255, 0.55), 0 0 14px rgba(180, 80, 255, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    /*font-size: 55px !important;*/
    background: none !important
}

.answer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center; /* or flex-start */
    align-items: stretch;
    padding: 20px 0px 20px 25px;
    width: 50%;
    position: relative;
    flex-direction: column;
}

    .answer-wrapper:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 180, 255, .15), transparent);
        width: 3px;
    }

.answer-option {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 calc(50% - 24px);
    min-width: 100%;
    height: 96px;
    padding: 18px 15px 18px 22px;
    border-radius: 18px;
    border: 3px solid rgba(255, 120, 255, .55);
    background: rgba(60, 18, 85, .55);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25), inset 0 0 0 2px rgba(255, 255, 255, .06);
    backdrop-filter: blur(2px);
    cursor: pointer;
    user-select: none;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .answer-option .answerLetter {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border-radius: 14px;
        border: 2px solid rgba(255, 120, 255, .55);
        background: rgba(35, 8, 55, .55);
        font-weight: 400;
        font-size: 34px;
        color: #fff;
        box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .05);
    }

    .answer-option .answerContent {
        flex: 1;
        font-size: 30px;
        font-weight: 400;
        
        overflow: hidden;
        text-overflow: ellipsis;
        color: #fff;
        letter-spacing: 1px;
        text-shadow: 1px 1px 0 #000, 2px 2px 0 #000, 3px 3px 0 #000, 4px 4px 6px rgba(0, 0, 0, 0.6);
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    }

    .answer-option.selected {
        background-color: #c64c00;
    }

    .answer-option.is-empty {
        visibility: hidden;
        pointer-events: none;
    }

.componentView {
    display: flex;
    flex-direction: column;
    /*background-color: #ffdd74;*/
    min-height: 200px;
    padding: 0;
    flex: 1;
    border-radius: 10px;
    width: 100%;
    overflow: auto
}


.fade-enter-active, .fade-leave-active {
    transition: opacity 1s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.view-ShowSubCategoriesAndQuestions-wrapper {
    /*overflow:hidden*/
    padding:0;
    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    width: 100%;
}

.sub-and-question-wrapper {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position:relative;
    overflow:hidden
}

    .sub-and-question-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 120deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60% );
        animation: sweep 6s infinite;
    }

@keyframes sweep {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

.view-ShowSubCategoriesAndQuestions {
    overflow: visible;
    width: 100%;
    height: 100%;
}

#player-rank-bar {
    position: absolute;
    width: 100%;
    height: 30px; /* 100 points = 300px */
    border: 2px solid #888;
    border-radius: 4px;
    background: linear-gradient(to top, #f9f9f9, #eaeaea);
    bottom: -50px;
}

#player-rank-bar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index:3;
}


.player-rank-item {
    position: absolute;
    left: 0;
    transition: bottom 0.8s ease-in-out;
    
}

.rank-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
   
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

/* smooth transition on reordering */
.rank-move-move {
    transition: transform 0.6s ease;
}

/* optional label */
.rank-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #333;
    white-space: nowrap;
}

#top-rank-bar {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

/* Average Score Marker */
.average-score-marker {
    position: absolute;
    bottom: -40px; /* position below bar */
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-50%);
}

.average-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #444; /* dark grey arrow */
}

.average-label {
    font-size: 16px;
    color: #222;
    margin-top: 2px;
    font-weight: bold;
    position: relative;
}


.highest-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, #838181, #595555); /* green gradient */
    border-radius: 6px;
    transition: width 0.6s ease-in-out;
    opacity: 0.6; /* slightly transparent so markers stay visible */
    z-index: 1; /* below player markers */
}

.average-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #d1cece; /* green gradient */
    border-radius: 6px;
    transition: width 0.6s ease-in-out;

    z-index: 2; /* below player markers */
}
.record-icon {
    margin-left: 4px;
    vertical-align: middle;
    position: absolute;
    left: 47px;
    top: -10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .record-icon span {
        display: block;
        white-space: nowrap;
    }
        
    .record-icon img {
        height: 44px;
    }


.record-icon-extended {
    left: 55px;
}

#rank-right-side {
    position: absolute;
    right: -80px;
    top: -10px
}

#rank-right-side div{
    font-size:16px;
    font-weight:bold
}

.average-progress-fill img {
    width: 30px;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: -48px;
}

.highest-progress-fill img {
    width: 30px;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: -48px;
}

.player-rank-item-1, .player-rank-item-2, .player-rank-item-3, .player-rank-item-4, .player-rank-item-5, .player-rank-item-6 {
    left: -33px !important;
}

.question-timer {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 18px auto 0;
    filter: drop-shadow(0 0 10px rgba(184,108,255,.6));
}

.timer-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

    .timer-ring circle {
        fill: none;
        stroke-width: 6;
    }

    .timer-ring .bg {
        stroke: rgba(255,255,255,0.15);
    }

    .timer-ring .progress {
        stroke: #b86cff;
        stroke-linecap: round;
        stroke-dasharray: 283;
        stroke-dashoffset: 0;
        transition: stroke-dashoffset 0.3s linear;
        filter: drop-shadow(0 0 8px rgba(184,108,255,0.8));
    }

.timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.question-timer.danger .progress {
    stroke: #ff3b3b;
    filter: drop-shadow(0 0 10px rgba(255,60,60,1));
}

.question-timer.danger {
    animation: pulseClock 0.6s infinite alternate;
}

@keyframes pulseClock {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/*
#player-rank-bar {
    position: absolute;
    bottom: -85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#player-rank-bar-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    padding-bottom:0
}

.player-rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;

}

.rank-score {
    font-weight: bold;
    font-size: 16px;
    color: gold;
}

.rank-name {
    margin-top: 2px;
    font-size: 12px;
}

.rank-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-bottom: 5px;
    border: 2px solid #000; 
}

#top-rank-bar {
    font-weight: bold;
    font-size: 20px;
}


.rank-move-move {
    transition: transform 0.5s ease;
}


.rank-move-enter-active,
.rank-move-leave-active {
    transition: all 0.5s ease;
}

.rank-move-enter-from,
.rank-move-leave-to {
    opacity: 0;
    transform: translateY(10px);
}

.circular-timer {
    width: 72px; 
    height: 72px;
    transform: rotate(-90deg); 
    shape-rendering: geometricPrecision;
}

.circle-bg {
    fill: none;
    stroke: #000;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.circle-progress {
    fill: none;
    stroke: orange;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    transition: stroke-dasharray 1s linear;
    stroke-linecap: round;
}

.circle-text {
    fill: black;
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: middle;
    transform: rotate(90deg); 
}

*/
/* Knob styles */
.knob {
    position: absolute;
    width: 10px;
    height: 4px;
    background: black;
    border-radius: 4px;
}

.knob-top {
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.knob-left {
    top: -2px;
    left: 22px;
    transform: rotate(-90deg);
}

.curveball-title {
    font-size: 44px;
    color: #000;
    font-weight: bold;
    margin-right: 10px;
}

.curveball-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.curveball-container img {
    width:80px
}

#sound-wrapper {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 25px;
    z-index:10
}


/* leaderboard*/
.leaderboard {
    border-radius: 10px;
    padding: 15px 15px 15px 5px;
    color: #fff;
    width: 100%;
    background-size: cover;
    height: 100%;
    overflow: hidden;
}

.leaderboard-header {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0px;
    
    padding-bottom: 5px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    gap:20px
}

.leaderboard-item {
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    width: 100%;
    max-width: 480px;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.25);
    flex: 1;
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.leaderboard-item-contents {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    padding: 0;
    height: 100%;
    align-items: center;
    --lightplus: color-mix(in srgb, var(--base) 77%, white);
    --light: color-mix(in srgb, var(--base) 82%, white);
    --dark: color-mix(in srgb, var(--base) 72%, black);
    --deep: color-mix(in srgb, var(--base) 55%, black);
    --face: var(--base);
    --edgeL: color-mix(in srgb, var(--face) 55%, white);
    --edgeD: color-mix(in srgb, var(--face) 55%, black);
    border-radius: 8px;
    /*
    border: 2px solid var(--base);
    border-right: 2px solid color-mix(in srgb, var(--base) 70%, white);
    border-top: 2px solid color-mix(in srgb, var(--base) 70%, white);*/
    background: linear-gradient( 90deg, color-mix(in srgb, var(--base) 70%, black / 80%) 0%, color-mix(in srgb, var(--base) 60%, black / 70%) 25%, rgba(40, 12, 70, .92) 60%, rgba(18, 6, 40, .96) 100% );
    border: 1px solid color-mix(in srgb, var(--base) 45%, white);
    box-shadow: 0 0 12px color-mix(in srgb, var(--base) 25%, transparent), inset 0 0 14px rgba(255, 255, 255, .04);
}
    .leaderboard-item-contents::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient( ellipse at 12% 50%, color-mix(in srgb, var(--base) 85%, white) 0%, color-mix(in srgb, var(--base) 70%, transparent) 40%, transparent 75% );
        opacity: .35;
    }

    /* subtle top gloss + right vignette */
    .leaderboard-item-contents::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 55%), radial-gradient(ellipse at 100% 50%, rgba(0,0,0,.35), transparent 60%);
        opacity: .9;
    }

.leaderboard-rank {
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 2px solid color-mix(in srgb, var(--base) 70%, white);
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
    background: linear-gradient( 180deg, color-mix(in srgb, var(--base) 80%, white), var(--base), color-mix(in srgb, var(--base) 65%, black) );
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, .25), inset 0 -4px 10px rgba(0, 0, 0, .5);
    z-index: 3;
    padding: 0 5px
}

    .leaderboard-rank::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 45%;
        background: linear-gradient( 180deg, rgba(255,255,255,.35), rgba(255,255,255,0) );
        pointer-events: none;
    }

    .leaderboard-rank::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( ellipse at center, rgba(0,0,0,0) 60%, rgba(0,0,0,.25) 100% );
        pointer-events: none;
    }

.leaderboard-avatar img {
    width: 50px;

    background: #9cb7c1;
    padding: 5px 4px 0px 4px;
    border-radius: 10px;
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}

.leaderboard-name {
    flex-grow: 1;
    font-size: 16px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 3;
    /* keep the fill readable */
    color: rgba(255,255,255,.92);
    /* subtle base glow */
    text-shadow: 0 0 6px color-mix(in srgb, var(--base) 55%, transparent), 0 0 14px color-mix(in srgb, var(--base) 35%, transparent);
    /* optional: tiny dark outline for readability */
    -webkit-text-stroke: .6px rgba(0,0,0,.25);
}

.leaderboard-score {
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    color: rgba(255, 232, 120, 0.92);
    text-shadow: 0 0 6px rgba(195, 182, 3, 0.55), 0 0 14px rgba(78, 73, 2, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
}



.leaderboard-header img {
    width: 90%;
}

.leaderboard-top1 {
    margin-bottom: 15px
}


.leaderboard-top1-avatar {
    text-align: center;
    margin-bottom: 20px
}

    .leaderboard-top1-avatar img {
        width: 80px;
        background: #9cb7c1;
        padding: 5px 4px 0px 4px;
        border-radius: 10px;
        border: 3px solid #fff;
        position:relative;
        z-index:2
    }

    .leaderboard-top1-avatar span.top1img {
        position: relative;
        display: block
    }

        .leaderboard-top1-avatar span.top1img:before {
            content: '';
            position: absolute;
            background: url(../images/top-rank-left.png?v=1) no-repeat;
            width: 50px;
            height: 57px;
            z-index: 0;
            left: 50%;
            background-size: contain;
            top: 15px;
            margin-left: -88px;
        }

        .leaderboard-top1-avatar span.top1img:after {
            content: '';
            position: absolute;
            background: url(../images/top-rank-right.png?v=1) no-repeat;
            width: 50px;
            height: 57px;
            z-index: 0;
            right: 50%;
            background-size: contain;
            top: 15px;
            margin-right: -88px;
        }

    .leaderboard-top1-avatar div{
        position:relative
    }

    .leaderboard-top1-avatar div:before {
        content: '';
        position: absolute;
        background: url(../images/top-rank-left-outside.png?v=1) no-repeat;
        width: 44px;
        height: 90px;
        z-index: 0;
        left: 0;
        background-size: contain;
        top: 15px;
    }

        .leaderboard-top1-avatar div:after {
            content: '';
            position: absolute;
            background: url(../images/top-rank-right-outside.png?v=1) no-repeat;
            width: 44px;
            height: 90px;
            z-index: 0;
            right: 0;
            background-size: contain;
            top: 15px;
        }

.leaderboard-top1-name-and-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 20px;
}

.playerrankwrapper {
    position: relative;
    display: inline-block
}

.playerrankno {
    position: absolute;
    bottom: -15px;
    left: 50%;
    font-size: 18px;
    background: #487395;
    z-index: 4;
    padding: 4px 12px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    margin-left: -19px;
}

.playerrankwrappersmall .playerrankno {
    padding: 0px 8px;
    font-size: 16px;
    margin-left: -14px;
}



/* === Leaderboard Header Row === */
.leaderboard-table-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5%;
    width: 100%;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.leaderboard-header-cell {
    width: 100px;
    text-align: center;
}

.leaderboard-stats {
  display: flex;
  justify-content: flex-end;
  height:100%;
  align-items:center

}

.leaderboard-score,
.leaderboard-rank {
  
  color: #fff;
  font-weight: 700;
  text-align: center;
  min-width: 100px;
 
  border-radius: 8px;
  font-size: 15px;
 
}

.leaderboard-name-empty{
    visibility:hidden
}
/*end leaderboard*/
.player-stars {
    display: flex;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    position: relative;
    z-index: 6;
    text-shadow: 0 2px 1px rgba(0, 0, 0, .98), 0 0 6px rgba(255, 255, 255, .75);
    justify-content: center;
    flex: 0 0 auto;
}

    .player-stars .star.filled {
        color: purple; /* or use playerColor if dynamic */
    }


.card-quantity {
    position: absolute;
    background: red;
    z-index: 1;
    color: #fff;
    font-size: 14px;
    bottom: -20px;
    left: 50%;
    padding: 0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -15px;
}

.flying-star-prepair {
    font-size: 40px;
}

.flying-star {
    position: absolute;
    font-size: 40px;
    transition: top 1s ease-in-out, left 1s ease-in-out;

    z-index: 9999;
}

/*
.flying-card {
    position: absolute;
    transition: transform 1s ease-in-out, top 1s ease-in-out, left 1s ease-in-out;
    z-index: 9999;
    pointer-events: none;
}
*/

.flying-card {
    position: absolute;
    transition: top 1s ease-in-out, left 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out;
    z-index: 9999;
    pointer-events: none;
}

.height-0 {
    height: 0 !important;

    overflow: hidden; /* prevent content leaking */
}



.boardmessage-cardinfo {
    /*position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.7);*/
    bottom: 0;
    z-index: 1000;
   
    padding: 30px 10px 10px 10px;
    color: #4b2aa6;
    text-shadow: 0 2px 6px rgba(255, 255, 255, 0.6);
    font-weight: 700;
    font-size:30px
}

.boardmessage-cardinfo img{
    width:80px
}

#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* ignore clicks */
    z-index: 9999; /* always on top */
    
}

/* === Leaderboard Info Section === */
.leaderboard-info, .leaderboard-info-scores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 40, 60, 0.6); /* semi-transparent deep blue overlay */
    border-radius: 10px;
    padding: 10px 18px;
    margin: 0px auto 12px auto;
    width: 100%;

    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
}

    /* Each text block (Duration / Players) */
    .leaderboard-info div {
        
        text-align: center;
        font-size: 17px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    }

        /* Slight accent color for labels */
        .leaderboard-info div span.labelScore {
            color: #f5d97b; /* gold accent like your title bar */
            font-weight: 700;
        }

.record-title {
    color: #f5d97b; /* gold accent like your title bar */
    font-weight: 700;
}

.leaderboard-records span {
    color: #f5d97b;
    font-weight: 700;
}


.tensecondcountdown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
}

.tensecondcircle {
    width: 120px;
    height: 120px;
    border: 10px solid #ff4b2b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff4b2b;
    font-size: 48px;
    font-weight: 900;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tensecondlabel {
    background: #0b2c3d;
    color: white;
    padding: 10px 16px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 4px;
}

/* 🎲 Dice container — half size */
.dice-giveitup {
    position: relative;
    display: inline-block;
    width: 30px; /* half of 60px */
    height: 30px; /* half of 60px */
    background: #d54056; /* Give It Up color */
    border-radius: 3px; /* scaled radius */
    box-shadow: inset -1.5px 1.5px 3px rgba(0, 0, 0, 0.2), 1px 1.5px 3px rgba(0, 0, 0, 0.25);
    margin: 3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .dice-giveitup:hover {
        transform: rotate(-6deg) scale(1.1);
        box-shadow: inset -1px 1px 2px rgba(0, 0, 0, 0.2), 1.5px 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* ⚪ Pip (dot) style — smaller */
    .dice-giveitup .pip {
        position: absolute;
        width: 6px; /* half of 12px */
        height: 6px;
        background: #fff; /* dark for contrast */
        border-radius: 50%;
        box-shadow: 0 0 0.5px rgba(0, 0, 0, 0.3);
    }

/* 📍 Pip Positions (scaled) */
.tl {
    top: 4px;
    left: 4px;
}

.tr {
    top: 4px;
    right: 4px;
}

.ml {
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
}

.mr {
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
}

.bl {
    bottom: 4px;
    left: 4px;
}

.br {
    bottom: 4px;
    right: 4px;
}

.c {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.qr-scale-normal {
    transform: scale(1);
    max-width:160%;
    position:relative;
    z-index:100000
}

/* Other players' QR (bigger) */
.qr-scale-big {
    transform: scale(1.4); /* Adjust this number */
    max-width: 200%;
    position:relative;
    z-index: 100000
}

#signOut {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
    color: #000;
    cursor:pointer
}

#fullscreen-layer {
    position: fixed;
    inset: 0;
    z-index: 999999; /* higher than board + players */
    display: flex;
    align-items: stretch;
    justify-content: stretch;

}

    #fullscreen-layer .fullscreen-backdrop {
        position: absolute;
        inset: 0;
       
    }

    #fullscreen-layer .fullscreen-body {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Optional: if you want popup content centered like a page */
        /* display: flex; align-items: center; justify-content: center; */
    }


#fullscreen-leaderboard {
    position: fixed;
    inset: 0;
    z-index: 999999; /* higher than board + players */
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

    #fullscreen-leaderboard .fullscreen-backdrop {
        position: absolute;
        inset: 0;
    }

    #fullscreen-leaderboard .fullscreen-body {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        overflow: auto;
        /* Optional: if you want popup content centered like a page */
        /* display: flex; align-items: center; justify-content: center; */
    }

.fullscreen-fade-enter-from {
    opacity: 0;
}

.fullscreen-fade-enter-active {
    transition: opacity 240ms ease;
}

.fullscreen-fade-enter-to {
    opacity: 1;
}

/* LEAVE */
.fullscreen-fade-leave-from {
    opacity: 1;
}

.fullscreen-fade-leave-active {
    transition: opacity 200ms ease;
}

.fullscreen-fade-leave-to {
    opacity: 0;
}

/* BODY animation riêng */
.fullscreen-fade-enter-from .fullscreen-body {
    transform: scale(.96) translateY(20px);
    opacity: 0;
}

.fullscreen-fade-enter-active .fullscreen-body {
    transition: transform 300ms cubic-bezier(.2,.8,.2,1), opacity 200ms ease;
}

.fullscreen-fade-enter-to .fullscreen-body {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.fullscreen-fade-leave-from .fullscreen-body {
    transform: scale(1);
    opacity: 1;
}

.fullscreen-fade-leave-to .fullscreen-body {
    transform: scale(.98) translateY(10px);
    opacity: 0;
}




.leaderboard-body {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.leaderboard-frame {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 🔥 behaves like background-size: cover */
    object-position: center;
    z-index: 2;
}

.markers {
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}

.markers-name {
    font-size: 18px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.markers-point {
    z-index: 3;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
    font-size: 45px;
    font-weight: 900;
    letter-spacing: 2px;
    padding-top: 0px;
    text-align: center;
    color: #fff;
    text-shadow: 0 0 6px rgba(255, 196, 0, 0.55), 0 0 14px rgba(255, 196, 0, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    font-size: 45px;
}
#marker-0 {
    color: rgba(255, 220, 120, 0.92);
    text-shadow: 0 0 6px rgba(253, 241, 83, 0.55), 0 0 14px rgba(253, 241, 83, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    position: relative;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#marker-1 {
    color: rgba(210, 190, 255, 0.92);
    text-shadow: 0 0 6px rgba(125, 82, 232, 0.55), 0 0 14px rgba(125, 82, 232, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    position: relative;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#marker-2 {
    color: rgba(170, 220, 255, 0.92);
    text-shadow: 0 0 6px rgba(62, 144, 209, 0.55), 0 0 14px rgba(62, 144, 209, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    position: relative;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#marker-3, #marker-4, #marker-5 {
    color: rgba(245, 240, 255, 0.92);
    text-shadow: 0 0 6px rgba(232, 223, 245, 0.55), 0 0 14px rgba(232, 223, 245, 0.35);
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.25);
    position: relative;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#overlay.overlay > * {
    position: absolute; /* your JS sets this too, OK */
    box-sizing: border-box;
    pointer-events: auto; /* if you want clickable markers */
}

.leaderboard-bg {
    position: absolute;
    inset: 0;
    /*
    background-image: url("../images/leaderboard-img-map2.png");
    background-size: contain;
    background-position: center;
    filter: blur(40px) brightness(1);
    transform: scale(1.1); 
    */
    background: linear-gradient(to bottom, #050024 0%, #0C032C 40%, #0C032C 75%, #070322 100%);
}


.quiz-stage {
    display: block;
  
    width: 100%;
    height: 100%;
    overflow: hidden;
    position:relative
}

.question-frame {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: fill; /* 🔥 behaves like background-size: cover */
    object-position: center;
    z-index: 2;
}

#overlay-question {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

#overlay-question > * {
    position: absolute; /* your JS sets this too, OK */
    box-sizing: border-box;
    pointer-events: auto; /* if you want clickable markers */
}

#marker-players-0 {
    z-index: 10;
}

#image-question-part {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 behaves like background-size: cover */
    object-position: center;
    z-index: 3;
}

.question-bottom-frame {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    overflow: visible;
}

.question-content-frame {
    background: url("../images/frame-part-22.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1268 / 487;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-frame {
    background: url("../images/frame-part-11.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1268 / 158;
    padding: 0 60px 30px 60px;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.question-top-frame {
    background: url("../images/frame-part-3.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 1268 / 85;
    justify-content: center;
    align-items: center;
    display:flex
}

    .question-top-frame > div {
        height: 100%;
    }

.players-frame {
    position: absolute;
    bottom: 0;
    top:0;
    transform-origin: 50% 50%;
    will-change: transform;
    perspective: 900px;
    perspective-origin: 50% 50%;
    width: 100%;
    height: 100%;
}


    .players-frame .player-side {
        display: flex;
        flex-direction: row;
        gap: 20px;
        transform: rotateX(17deg);
        justify-content: center;
        align-items: center;
        height:100%;
        width:100%
    }

.top-scores {
    position: relative;
    width: 100%;
    display: flex;
    gap: 18px;
    justify-content: center;
    top:0px;
    height:100%;
}

.avg-score {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: .5px;
    backdrop-filter: blur(6px);
    color: #fff;
   
    border: 1.5px solid rgba(180, 220, 255, 0.75);
    --base: #8fb8d8;
    background: linear-gradient( 90deg, color-mix(in srgb, var(--base) 72%, black 28%) 0%, color-mix(in srgb, var(--base) 62%, black 38%) 25%, rgba(22, 42, 68, 0.88) 60%, rgba(10, 22, 38, 0.78) 100% );
    box-shadow: 0 0 10px rgba(180, 220, 255, 0.7), 0 0 24px rgba(143, 184, 216, 0.5);
    backdrop-filter: blur(6px);
    font-size: 30px
}

.player-highest-score {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: .5px;
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 30px;
    border: 1.5px solid rgba(255, 224, 140, 0.8);
    --base: #f0c24b;
    background: linear-gradient( 90deg, color-mix(in srgb, var(--base) 75%, black 25%) 0%, color-mix(in srgb, var(--base) 65%, black 35%) 25%, rgba(110, 74, 16, 0.9) 60%, rgba(58, 35, 8, 0.8) 100% );
    box-shadow: 0 0 12px rgba(255, 224, 140, 0.8), 0 0 28px rgba(240, 194, 75, 0.6);
    backdrop-filter: blur(6px);
}

.player-trophy {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 70px;
    z-index: 5;
    filter: drop-shadow(0 0 6px rgba(255, 215, 120, .9)) drop-shadow(0 0 14px rgba(255, 180, 60, .6));
    pointer-events: none;
}

.question-top-frame,
.question-content-frame,
.circle-frame {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.question-top-frame {
    height: var(--qTopH, auto);
}

.question-content-frame {
    height: var(--qContentH, auto);
}

.circle-frame {
    height: var(--qCircleH, auto);
}


.players-frame {
    /*min-height: 175px;
    height: var(--qPlayersH, auto);
    */
  
}

.question-top-frame,
.question-content-frame,
.circle-frame {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%; /* vì div đã đúng aspect rồi -> 100%/100% sẽ KHÔNG méo */
}

#marker-leaderboard-current{
    z-index:10
}



.button-back-leaderboard {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
    padding: 10px 28px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    border-radius: 14px;
    border: 1.5px solid rgba(180, 120, 255, 0.7);
    --base: #8c00ff;
    background: linear-gradient( 90deg, color-mix(in srgb, var(--base) 70%, black 30%) 0%, color-mix(in srgb, var(--base) 60%, black 40%) 25%, rgba(40, 12, 70, 0.85) 60%, rgba(18, 6, 40, 0.75) 100% );
    box-shadow: 0 0 10px rgba(180, 120, 255, 0.8), 0 0 24px rgba(140, 0, 255, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important
}

    .button-back-leaderboard:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 18px rgba(220, 160, 255, 1), 0 0 40px rgba(200, 120, 255, 0.9);
    }

.btnGameOverLeaderboard {
    /*position: absolute;*/
    bottom: 40px;
    left: 50%;
   
    padding: 5px 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff !important;
    border-radius: 14px;
    border: 1.5px solid rgba(170, 90, 255, 0.7);
    background: linear-gradient( 90deg, #5b0099 0%, #4a007d 25%, rgba(40, 12, 70, 0.9) 60%, rgba(18, 6, 40, 0.85) 100% );
    box-shadow: 0 0 10px rgba(160, 80, 255, 0.8), 0 0 24px rgba(120, 0, 200, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.noleaderboard .btnGameOverLeaderboard {
    display:none
}

.lb-horizontal-table {
    display: grid;
    column-gap: 16px;
    row-gap: 12px;
    /* first column auto, rest equal width */
    grid-template-columns: auto repeat(var(--lb-player-count), 1fr);
}

    .lb-horizontal-table > div {
        padding: 8px 12px;
        text-align: center;
    }

.lb-empty {
    background: transparent;
}

.lb-row-label {
    font-weight: 600;
    text-align: left;
}

.lb-header {
    font-weight: 700;
}

.lb-value {
    font-weight: 500;
}

.inGlobalTop {
    position: relative;
    
    animation: topGlowPulse 1.8s ease-in-out infinite;
}





    [data-index].dir-arrow::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        border-radius: 2px;
        transform: translate(-50%, -50%);
        z-index: 20;
        pointer-events: none;
        opacity: 1;
    }

    [data-index].dir-arrow::after {
        content: "";
        position: absolute;
        z-index: 21;
        pointer-events: none;
    }

    [data-index].arrow-clockwise {
        color: rgba(40, 190, 80, 0.9);
    }

    [data-index].arrow-anticlockwise {
        color: rgba(255, 210, 0, 0.9);
    }

    [data-index].arrow-clockwise.arrow-right::before,
    [data-index].arrow-clockwise.arrow-left::before {
        width: 55px;
        height: 24px;
        background: rgba(40, 190, 80, 0.9);
    }

    [data-index].arrow-clockwise.arrow-up::before,
    [data-index].arrow-clockwise.arrow-down::before {
        width: 24px;
        height: 55px;
        background: rgba(40, 190, 80, 0.9);
    }

    [data-index].arrow-anticlockwise.arrow-right::before,
    [data-index].arrow-anticlockwise.arrow-left::before {
        width: 55px;
        height: 24px;
        background: rgba(255, 210, 0, 0.9);
    }

    [data-index].arrow-anticlockwise.arrow-up::before,
    [data-index].arrow-anticlockwise.arrow-down::before {
        width: 24px;
        height: 55px;
        background: rgba(255, 210, 0, 0.9);
    }

    [data-index].arrow-right::after {
        left: calc(50% + 23px);
        top: 50%;
        transform: translateY(-50%);
        border-left: 26px solid currentColor;
        border-top: 21px solid transparent;
        border-bottom: 21px solid transparent;
    }

    [data-index].arrow-left::after {
        left: calc(50% - 48px);
        top: 50%;
        transform: translateY(-50%);
        border-right: 26px solid currentColor;
        border-top: 21px solid transparent;
        border-bottom: 21px solid transparent;
    }

    [data-index].arrow-up::after {
        left: 50%;
        top: calc(50% - 44px);
        transform: translateX(-50%);
        border-bottom: 26px solid currentColor;
        border-left: 21px solid transparent;
        border-right: 21px solid transparent;
    }

    [data-index].arrow-down::after {
        left: 50%;
        top: calc(50% + 20px);
        transform: translateX(-50%);
        border-top: 26px solid currentColor;
        border-left: 21px solid transparent;
        border-right: 21px solid transparent;
    }

/* base preview tile effect */
[data-index].move-preview {
    z-index: 2;
}

    [data-index].move-preview .stepBackground,
    [data-index].move-preview {
        filter: brightness(1.08);
    }

        /* glowing ring */
        [data-index].move-preview::marker {
            content: "";
        }

/* use an extra overlay with ::before already for arrow body,
   so tile glow should use box-shadow on the tile itself */
[data-index].preview-clockwise {
    box-shadow: 0 0 0 3px rgba(60, 220, 100, 0.65) inset, 0 0 12px rgba(60, 220, 100, 0.75), 0 0 28px rgba(60, 220, 100, 0.45);
    animation: tilePulseClockwise 1s ease-in-out infinite;
}

[data-index].preview-anticlockwise {
    box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.75) inset, 0 0 12px rgba(255, 210, 0, 0.75), 0 0 28px rgba(255, 210, 0, 0.45);
    animation: tilePulseAnti 1s ease-in-out infinite;
}

.player-label-battle .player-name-text {
    margin:10px 0
}

.player-question-count {
    font-size: 18px;
    color: #fff;
    position: relative;
    z-index: 5;
    text-shadow: 0 2px 1px rgba(0, 0, 0, .98), 0 0 6px rgba(255, 255, 255, .75);
    font-weight: 700;
    letter-spacing: 0.3px;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0 8px;
    flex: 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-label-battle {
    justify-content: space-between;
}

.player-question-count-number{
    font-size:36px;
    margin-bottom:10px
}

 .answer-option {
    transition: all 0.4s ease;
}

.answer-float {
    position: fixed;
    z-index: 9999;
    margin: 0;
    pointer-events: none;
}

.pulse {
    animation: pulseAnim 0.6s ease-in-out 2;
}
/*
.homeview .boardMessageHTML {
    padding-top: 40px;
}
    */

    .homeview .boardMessageHTML .form-group {
        margin-bottom: 5px;
    }

.homeview #middleBoardBackground:before, .homeview #middleBoardBackground:after, .homeview #middleBoardBackgroundContent:before, .homeview #middleBoardBackgroundContent:after {
    display: none
}

    .homeview #middleBoardBackgroundContent{
        visibility:hidden
    }

/*
#fullscreen-layer {
    display: none
}

#fullscreen-leaderboard{
    display:none
}
*/

.correctanswer-forturn .answer-background{
    color:#fff
}
@keyframes subtlePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-effect {
    animation: subtlePulse 0.8s ease-in-out infinite;
}

@keyframes subtlePulseBig {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.85;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pulse-effect {
    animation: subtlePulse 0.8s ease-in-out infinite;
}

.pulse-effect-big {
    animation: subtlePulseBig 0.8s ease-in-out infinite;
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}



@keyframes tilePulseClockwise {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(60, 220, 100, 0.55) inset, 0 0 10px rgba(60, 220, 100, 0.55), 0 0 20px rgba(60, 220, 100, 0.30);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(60, 220, 100, 0.90) inset, 0 0 18px rgba(60, 220, 100, 0.95), 0 0 40px rgba(60, 220, 100, 0.55);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(60, 220, 100, 0.55) inset, 0 0 10px rgba(60, 220, 100, 0.55), 0 0 20px rgba(60, 220, 100, 0.30);
    }
}

@keyframes tilePulseAnti {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.60) inset, 0 0 10px rgba(255, 210, 0, 0.55), 0 0 20px rgba(255, 210, 0, 0.30);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(255, 210, 0, 0.95) inset, 0 0 18px rgba(255, 210, 0, 0.95), 0 0 40px rgba(255, 210, 0, 0.60);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.60) inset, 0 0 10px rgba(255, 210, 0, 0.55), 0 0 20px rgba(255, 210, 0, 0.30);
    }
}

@keyframes topGlowPulse {
    0% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.6), 0 0 16px rgba(255, 200, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 215, 0, 1), 0 0 36px rgba(255, 200, 0, 0.9);
    }

    100% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.6), 0 0 16px rgba(255, 200, 0, 0.4);
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes scalePulse {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes flashWhite {
    0%, 100% {
        box-shadow: 0 0 0px red;
    }

    50% {
        box-shadow: 0 0 20px red;
    }
}



/*
@media (max-width: 1200px) {
    #leftsideboard {
        max-width: 250px
    }

    .qr-scale-big {
        left: 60px
    }

    .qr-scale-normal {
        left: 40px
    }

    .player-cards-small {
        gap: 4px !important
    }

        .player-cards-small .card {
            width: 30px
        }
}

@media (max-width: 1024px) {
    #leftsideboard{
        max-width:250px
    }

    .qr-scale-big {
        left: 60px
    }

    .qr-scale-normal {
        left: 40px
    }

    .player-cards-small {
        gap: 4px !important
    }

    .player-cards-small .card{
        width:30px
    }
}
    */
@media (min-width: 3100px) {

    .player-info {
        height: 30%
    }

    .player-name-text{
        font-size:50px
    }

    .player-stars {
        font-size: 50px
    }

    .card-quantity {
        width: 44px;
        height: 44px;
        margin-left: -22px;
        font-size: 28px;
    }

    .question-text{
        font-size:60px
    }

    .answer-option .answerContent{
        font-size:50px
    }

    .answer-option .answerLetter {
        font-size: 50px;
        width: 68px;
        height: 68px;
    }

    .questioncategorylevel-0 p{
        font-size:60px
    }

    .player-highest-score, .avg-score {
        font-size: 50px
    }

    .player-trophy{
        top:-120px;
        height:120px
    }
}


@media (max-width: 1370px) {
    #leftsideboard {
        max-width: 250px
    }

    .qr-scale-big {
        left: 60px
    }

    .qr-scale-normal {
        left: 40px
    }

    .player-cards-small {
        gap: 4px !important
    }

        .player-cards-small .card {
            width: 30px
        }
}

@media (min-width: 2300px) {
    .fullscreen-body .componentView {
        padding: 0 5%;
    }
}

@media (max-width: 1024px), (max-width: 1200px), (max-width: 1400px) {
    /*
    .question-bottom-frame {
        left: 5%;
        right: 5%;
        width: 90%;
    }
        */
    .questioncategorylevel-0 p {
        font-size: 30px
    }

    .answer-wrapper {
        gap: 12px;
        padding: 10px 0px 10px 15px
    }

    .answer-option {
        padding: 13px 7px 13px 12px;
    }

        .answer-option .answerLetter {
            width: 38px;
            height: 38px
        }

    .view-ShowSubCategoriesAndQuestions-wrapper {
        padding: 0
    }

    #leftsideboard, #rightsideboard {
        width: 50px;
        max-width: 50px
    }

    .question-bottom-frame {
        bottom: 15%
    }

    .player-stars {
        font-size: 22px
    }

    .player-name-text {
        font-size: 18px
    }

    .card-quantity {
        width: 24px;
        height: 24px;
        margin-left: -12px;
    }
}

@media (max-height: 990px) {
    .player-name-text{
        font-size:18px
    }

    .card-quantity {
        width: 24px;
        height: 24px;
        margin-left: -12px;
    }

    .player-stars{
        font-size:22px
    }
    /*
    .question-bottom-frame {
        left: 17%;
        right: 17%;
        width: 66%;
    }
        */

    .questioncategorylevel-0 p {
        font-size: 30px
    }

    .answer-wrapper {
        gap: 12px;
        padding: 10px 0px 10px 15px
    }

    .answer-option {
        padding: 13px 7px 13px 12px;
    }

        .answer-option .answerLetter {
            width: 38px;
            height: 38px
        }

    .player-trophy{
        height:40px;
        top:-40px
    }

    .player-highest-score{
        padding:5px 17px;
    }

    .avg-score {
        padding: 5px 17px;
    }

    .markers-point {
        font-size: 30px
    }
}


@media (max-width: 1180px) {
    .answer-option {
        padding: 8px 5px 8px 5px
    }

    .questioncategorylevel-0 p {
        font-size: 22px;
    }
}



@media (max-width: 1290px) and (max-height: 730px) {

    .player-info {
        height:30%
    }

    .card-quantity {
        width: 20px;
        height: 20px;
        margin-left: -10px;
    }
}
/*
@media (max-height: 830px) {
    #message-container {
        padding: 40px 0 0 0;
    }
}
    */
@media (max-height: 770px) {
    .markers-point {
        font-size: 30px
    }






    .player-highest-score, .avg-score {
        padding: 3px 12px;
        font-size: 14px;
    }

    .top-scores {
        top: 0
    }
}

@media (max-height: 600px) {
    .boardMessageHTML {
        font-size: 20px;
    }

    .question-timer {
        width: 44px;
        height: 44px;
    }

    .timer-text {
        font-size: 20px
    }

    .questioncategorylevel-0 p {
        font-size: 16px;
    }

    .answer-option .answerLetter {
        width: 25px;
        height: 25px;
        font-size: 18px
    }

    .question-content-frame {
        padding-bottom: 30px;
        padding-top: 10px
    }

    .answer-option .answerLetter {
        font-size: 24px;
    }

    .answer-option .answerContent, .question-text {
        font-size: 30px
    }

    .questioncategorylevel-2 p, .questioncategorylevel-1 p {
        font-size: 30px
    }

    .btnGameOverLeaderboard {
        bottom: 20px;
        padding: 8px 10px;
        font-size: 16px;
    }

    .markers-point{
        font-size:22px
    }
}
/*
    .tile { position: relative; border-radius: 14px; overflow: visible; }

.tile-base{
  position:absolute; inset:0;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(0,0,0,.05));
  box-shadow: 0 10px 0 rgba(0,0,0,.12), 0 18px 22px rgba(0,0,0,.18);
}

.tile-edge{
  position:absolute; left:0; right:0; bottom:-10px; height:12px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.35));
  filter: blur(.1px);
}

.tile-top{
  position:absolute; inset:0;
  display:grid; place-items:center;
  transform: translateY(-6px); 
}

.tile-badge {
    width: 52%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.8), rgba(255,255,255,.25));
    box-shadow: 0 8px 14px rgba(0,0,0,.22);
    display: grid;
    place-items: center;
}

.tile-icon {
    width: 62%;
    filter: drop-shadow(0 6px 0 rgba(0,0,0,.18));
}

<div class="icon3d">
  <img class="icon-shadow" src="..." />
  <img class="icon-main" src="..." />
</div>
css
Copy code
.icon3d{ position:relative; width:62%; }
.icon-shadow{
  position:absolute; inset:0;
  transform: translate(3px,4px);
  filter: brightness(.5) blur(.2px);
  opacity:.35;
}
.icon-main{ position:relative; }
*/