﻿/* ═══════════════════════════════════════════
   Stoling — Games / Gamification
   Follows: --accent #6366f1, --accent2 #818cf8, --bg #111827
   ═══════════════════════════════════════════ */

/* ── Page override ── */
.page-games .as-main {
    max-width: none;
    padding: 0
}

.gm {
    position: relative;
    min-height: 100vh
}

/* ── Ambient blobs ── */
.gm-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0
}

.gm-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0;
    will-change: opacity;
    animation: blobFadeIn 0.8s ease-out 0.3s forwards
}

@keyframes blobFadeIn {
    to {
        opacity: .18
    }
}

.gm-bg-blob--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #6366f1, transparent);
    top: -15%;
    left: -8%;
    animation: blobFloat 22s ease-in-out infinite
}

.gm-bg-blob--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    bottom: -10%;
    right: -5%;
    animation: blobFloat 22s ease-in-out infinite -8s
}

.gm-bg-blob--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #ec4899, transparent);
    top: 40%;
    right: 20%;
    animation: blobFloat 22s ease-in-out infinite -15s
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(30px, -20px) scale(1.05)
    }

    66% {
        transform: translate(-20px, 15px) scale(.95)
    }
}

/* ═══ HERO ═══ */
.gm-hero {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 45%, #312e81 70%, #1e293b 100%);
    padding: 3rem 2rem 2.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, .15)
}

.gm-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center
}

@media(max-width:767px) {
    .gm-hero-inner {
        grid-template-columns: 1fr;
        text-align: center
    }
}

.gm-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #a5b4fc;
    margin-bottom: .8rem;
    padding: .35rem .8rem .35rem .5rem;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 99px
}

.gm-hero-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #818cf8;
    animation: dotPulse 2s ease-in-out infinite
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.gm-hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 .8rem;
    color: #fff;
    letter-spacing: -.03em
}

.gm-hero-title-accent {
    background: linear-gradient(135deg, #a78bfa, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.gm-hero-sub {
    color: #94a3b8;
    font-size: .95rem;
    line-height: 1.6;
    max-width: 40ch;
    margin: 0
}

@media(max-width:767px) {
    .gm-hero-sub {
        margin: 0 auto
    }
}

/* ── XP Card ── */
.gm-xp-card {
    position: relative;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.25rem;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2)
}

.gm-xp-card-glow {
    position: absolute;
    top: -50px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99, 102, 241, .2), transparent 70%);
    pointer-events: none
}

.gm-xp-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem
}

.gm-xp-level-ring {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0
}

.gm-xp-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg)
}

.gm-xp-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .08);
    stroke-width: 5
}

.gm-xp-ring-fill {
    fill: none;
    stroke: url(#gm-grad);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 1.2s cubic-bezier(.22, 1, .36, 1)
}

.gm-xp-level-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff
}

.gm-xp-details {
    flex: 1;
    min-width: 0
}

.gm-xp-label {
    font-size: .78rem;
    font-weight: 700;
    color: #a5b4fc;
    margin-bottom: .4rem
}

.gm-xp-bar-wrap {
    height: 6px;
    background: rgba(255, 255, 255, .08);
    border-radius: 99px;
    overflow: hidden
}

.gm-xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #a78bfa, #ec4899);
    border-radius: 99px;
    transition: width .8s cubic-bezier(.22, 1, .36, 1);
    width: 0
}

.gm-xp-nums {
    font-size: .7rem;
    color: #64748b;
    margin-top: .3rem
}

.gm-xp-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.gm-xp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem
}

.gm-xp-stat-icon {
    font-size: 1.1rem
}

.gm-xp-stat-val {
    font-weight: 800;
    font-size: 1rem;
    color: #f1f5f9
}

.gm-xp-stat-lbl {
    font-size: .62rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600
}

.gm-xp-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, .06)
}

/* ═══ TABS ═══ */
.gm-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    gap: .4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.gm-tab {
    padding: .55rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 99px;
    background: transparent;
    color: #94a3b8;
    font-weight: 600;
    font-size: .82rem;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap
}

.gm-tab:hover {
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, .2)
}

.gm-tab.is-active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .35)
}

/* ═══ PANELS ═══ */
.gm-panel {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem
}

.gm-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 1.5rem 0 1rem
}

/* ── Common button ── */
.gm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem 1.3rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: .88rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none
}

.gm-btn-primary {
    background: rgba(255, 255, 255, .08);
    color: #f1f5f9;
    border: 1.5px solid rgba(255, 255, 255, .12)
}

.gm-btn-primary:hover {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-2px)
}

.gm-btn-accent {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .3)
}

.gm-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, .45)
}

.gm-btn-lg {
    padding: .75rem 1.8rem;
    font-size: .95rem
}

/* ── Result card ── */
.gm-result-icon {
    font-size: 3rem;
    margin-bottom: .5rem;
    animation: resultPop .5s cubic-bezier(.22, 1, .36, 1)
}

.gm-result-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem
}

.gm-result-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem
}

.gm-result-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem
}

.gm-result-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: #a5b4fc
}

.gm-result-stat span:last-child {
    font-size: .72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600
}

@keyframes resultPop {
    0% {
        opacity: 0;
        transform: scale(.3)
    }

    100% {
        opacity: 1;
        transform: scale(1)
    }
}

/* ═══ DAILY CHALLENGE ═══ */
.gm-ch-card {
    position: relative;
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.25rem;
    padding: 2rem;
    overflow: hidden;
    text-align: center
}

.gm-ch-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #a78bfa, #ec4899)
}

.gm-ch-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem
}

.gm-ch-tag {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #a5b4fc;
    padding: .25rem .7rem;
    background: rgba(99, 102, 241, .12);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 99px
}

.gm-ch-xp {
    font-size: .8rem;
    font-weight: 700;
    color: #facc15
}

.gm-ch-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 .5rem
}

.gm-ch-desc {
    font-size: .9rem;
    color: #94a3b8;
    margin: 0 0 .8rem;
    line-height: 1.5
}

.gm-ch-entries {
    font-size: .78rem;
    color: #64748b;
    margin-bottom: 1.2rem
}

/* Challenge picker */
.gm-ch-picker {
    margin-top: 1.5rem;
    text-align: left
}

.gm-ch-picker-title {
    font-size: .9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .8rem
}

.gm-ch-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: .6rem;
    max-height: 340px;
    overflow-y: auto;
    padding: .5rem;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: .75rem;
    background: rgba(0, 0, 0, .15)
}

.gm-ch-item {
    position: relative;
    border-radius: .6rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    aspect-ratio: 1
}

.gm-ch-item:hover {
    border-color: rgba(99, 102, 241, .4)
}

.gm-ch-item.is-selected {
    border-color: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, .3)
}

.gm-ch-item.is-selected::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    color: #fff;
    font-weight: 700
}

.gm-ch-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gm-ch-item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2px 4px;
    background: rgba(0, 0, 0, .7);
    font-size: .55rem;
    color: #e2e8f0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gm-ch-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: .8rem;
    font-size: .82rem;
    color: #94a3b8
}

/* Top submissions */
.gm-ch-top-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem
}

.gm-ch-sub-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    gap: .8rem;
    align-items: center
}

.gm-ch-sub-imgs {
    display: flex;
    gap: .3rem;
    flex-shrink: 0
}

.gm-ch-sub-imgs img {
    width: 44px;
    height: 44px;
    border-radius: .5rem;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, .08)
}

.gm-ch-sub-info {
    min-width: 0
}

.gm-ch-sub-score {
    font-weight: 700;
    font-size: .85rem;
    color: #a5b4fc
}

.gm-ch-sub-votes {
    font-size: .72rem;
    color: #64748b
}

/* ═══ SWIPE SPRINT ═══ */
.gm-sprint-card {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 500px;
    margin: 0 auto
}

.gm-sprint-icon {
    font-size: 3.5rem;
    margin-bottom: .8rem;
    animation: resultPop .5s cubic-bezier(.22, 1, .36, 1)
}

.gm-sprint-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 .6rem
}

.gm-sprint-desc {
    font-size: .88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0 0 1.2rem
}

.gm-sprint-best {
    font-size: .82rem;
    color: #facc15;
    margin-bottom: 1rem
}

/* Sprint HUD */
.gm-sprint-hud {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem
}

.gm-sprint-timer {
    position: relative;
    width: 80px;
    height: 80px
}

.gm-sprint-timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg)
}

.gm-sprint-timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .06);
    stroke-width: 6
}

.gm-sprint-timer-fill {
    fill: none;
    stroke: #ef4444;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear, stroke .3s
}

.gm-sprint-timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff
}

.gm-sprint-score-live {
    display: flex;
    gap: 1.5rem
}

.gm-sprint-score-item {
    display: flex;
    flex-direction: column;
    align-items: center
}

.gm-sprint-score-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f1f5f9
}

.gm-sprint-score-item span:last-child {
    font-size: .65rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600
}

/* Sprint product card */
.gm-sprint-product {
    position: relative;
    margin: 0 auto 1.5rem;
    max-width: 280px
}

.gm-sprint-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, .08)
}

.gm-sprint-product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .6rem .8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
    border-radius: 0 0 1rem 1rem
}

.gm-sprint-product-name {
    display: block;
    font-weight: 600;
    font-size: .82rem;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gm-sprint-product-cat {
    display: inline-block;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    padding: .4rem 1rem;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-top: .4rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, .3);
}

/* Sprint swipe-away animation */
.gm-sprint-product.swipe-left {
    animation: swipeLeft .3s ease-out forwards
}

.gm-sprint-product.swipe-right {
    animation: swipeRight .3s ease-out forwards
}

@keyframes swipeLeft {
    to {
        transform: translateX(-120%) rotate(-15deg);
        opacity: 0
    }
}

@keyframes swipeRight {
    to {
        transform: translateX(120%) rotate(15deg);
        opacity: 0
    }
}

/* Sprint buttons */
.gm-sprint-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    padding: 0 1rem;
}

.gm-sprint-btn {
    flex: 1;
    max-width: 180px;
    height: 56px;
    border-radius: 16px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    letter-spacing: .3px;
    color: #fff;
}

.gm-sprint-btn:hover {
    transform: translateY(-2px);
}

.gm-sprint-btn:active {
    transform: translateY(0) scale(.97);
}

.gm-sprint-btn-like {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 16px rgba(16, 185, 129, .35);
}

.gm-sprint-btn-like:hover {
    box-shadow: 0 6px 24px rgba(16, 185, 129, .5);
}

.gm-sprint-btn-dislike {
    background: linear-gradient(135deg, #ef4444, #f87171);
    box-shadow: 0 4px 16px rgba(239, 68, 68, .35);
}

.gm-sprint-btn-dislike:hover {
    box-shadow: 0 6px 24px rgba(239, 68, 68, .5);
}

.gm-sprint-pb {
    font-size: 1rem;
    font-weight: 800;
    color: #facc15;
    margin-bottom: 1rem;
    animation: resultPop .5s cubic-bezier(.22, 1, .36, 1)
}

/* ═══ MIX & MATCH ═══ */
.gm-mm-card {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    max-width: 640px;
    margin: 0 auto
}

.gm-mm-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem
}

.gm-mm-round {
    font-size: .85rem;
    font-weight: 700;
    color: #a5b4fc
}

.gm-mm-score-live {
    font-size: .85rem;
    font-weight: 700;
    color: #10b981
}

/* Anchor */
.gm-mm-anchor-wrap {
    margin-bottom: 1.5rem
}

.gm-mm-anchor-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #facc15;
    margin-bottom: .6rem
}

.gm-mm-anchor {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(99, 102, 241, .25);
    border-radius: 1rem;
    padding: .8rem 1.2rem
}

.gm-mm-anchor-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: .75rem;
    border: 1px solid rgba(255, 255, 255, .08)
}

.gm-mm-anchor-info {
    text-align: left
}

.gm-mm-anchor-name {
    display: block;
    font-weight: 700;
    font-size: .9rem;
    color: #f1f5f9
}

.gm-mm-anchor-cat {
    display: block;
    font-size: .72rem;
    color: #a5b4fc;
    margin-top: .15rem
}

/* Options grid */
.gm-mm-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-bottom: 1rem
}

@media(max-width:500px) {
    .gm-mm-options {
        grid-template-columns: 1fr 1fr
    }
}

.gm-mm-option {
    background: rgba(255, 255, 255, .04);
    border: 2px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    padding: .8rem;
    cursor: pointer;
    transition: all .25s;
    text-align: center
}

.gm-mm-option:hover {
    border-color: rgba(99, 102, 241, .4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .15)
}

.gm-mm-option.is-correct {
    border-color: #10b981;
    background: rgba(16, 185, 129, .08);
    box-shadow: 0 0 20px rgba(16, 185, 129, .15)
}

.gm-mm-option.is-wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .06);
    opacity: .6
}

.gm-mm-option.is-disabled {
    pointer-events: none
}

.gm-mm-option img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: .6rem;
    margin-bottom: .5rem;
    border: 1px solid rgba(255, 255, 255, .06)
}

.gm-mm-option-name {
    font-size: .72rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gm-mm-option-cat {
    font-size: .6rem;
    color: #64748b
}

/* Feedback */
.gm-mm-feedback {
    padding: .6rem 1rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: .88rem;
    display: inline-block
}

.gm-mm-feedback.is-correct {
    background: rgba(16, 185, 129, .12);
    color: #10b981
}

.gm-mm-feedback.is-wrong {
    background: rgba(239, 68, 68, .12);
    color: #ef4444
}

/* ═══ LEADERBOARD ═══ */
.gm-lb-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0
}

.gm-lb-place {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 1rem;
    transition: transform .3s
}

.gm-lb-place:hover {
    transform: translateY(-4px)
}

.gm-lb-1st {
    min-height: 200px;
    border-color: rgba(250, 204, 21, .2);
    background: linear-gradient(180deg, rgba(250, 204, 21, .06), rgba(255, 255, 255, .03))
}

.gm-lb-2nd {
    min-height: 170px
}

.gm-lb-3rd {
    min-height: 150px
}

.gm-lb-crown {
    font-size: 2rem;
    margin-bottom: .3rem;
    animation: crownBounce 2s ease-in-out infinite
}

@keyframes crownBounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-4px)
    }
}

.gm-lb-medal {
    font-size: 1.5rem;
    margin-bottom: .4rem
}

.gm-lb-place-xp {
    font-size: 1rem;
    font-weight: 800;
    color: #f1f5f9
}

.gm-lb-place-streak {
    font-size: .72rem;
    color: #64748b;
    margin-top: .2rem
}

/* Leaderboard table */
.gm-lb-table {
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.gm-lb-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem 1rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .04);
    border-radius: .75rem;
    transition: all .2s
}

.gm-lb-row:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(99, 102, 241, .15)
}

.gm-lb-rank {
    font-weight: 800;
    font-size: .88rem;
    color: #94a3b8;
    width: 2rem;
    text-align: center
}

.gm-lb-row-xp {
    font-weight: 700;
    font-size: .88rem;
    color: #a5b4fc;
    margin-left: auto
}

.gm-lb-row-streak {
    font-size: .78rem;
    color: #f97316
}

.gm-lb-row-level {
    font-size: .68rem;
    font-weight: 700;
    color: #64748b;
    padding: .15rem .5rem;
    background: rgba(99, 102, 241, .1);
    border-radius: 99px
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:767px) {
    .gm-hero {
        padding: 2rem 1rem 2rem
    }

    .gm-hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem)
    }

    .gm-tabs {
        padding: 1rem 1rem 0
    }

    .gm-tab {
        font-size: .75rem;
        padding: .45rem .8rem
    }

    .gm-panel {
        padding: 1rem 1rem 2rem
    }

    .gm-ch-card {
        padding: 1.5rem 1rem
    }

    .gm-sprint-card,
    .gm-mm-card,
    .gm-battle-card {
        padding: 1.5rem 1rem
    }

    .gm-lb-podium {
        gap: .5rem
    }

    .gm-lb-place {
        width: 100px;
        padding: 1rem .5rem .8rem
    }

    .gm-result-stats {
        gap: 1rem
    }

    .gm-sprint-actions {
        gap: 1.5rem
    }

    .gm-sprint-btn {
        width: 56px;
        height: 56px;
        font-size: 1.3rem
    }

    .gm-battle-pool {
        grid-template-columns: repeat(2, 1fr)
    }

    .gm-battle-scoreboard {
        flex-direction: column;
        gap: .5rem
    }

    .gm-battle-breakdown {
        grid-template-columns: 1fr
    }

    .gm-battle-picks-compare {
        grid-template-columns: 1fr
    }
}

/* ═══ STYLE BATTLE ═══ */
.gm-battle-card {
    background: rgba(30, 27, 75, .65);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(99, 102, 241, .18);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto
}

/* Stats bar */
.gm-battle-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0
}

.gm-battle-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem
}

.gm-battle-stat-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff
}

.gm-battle-stat-lbl {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8
}

/* VS waiting animation */
.gm-battle-waiting-anim {
    margin: 2rem 0
}

.gm-battle-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2rem
}

.gm-battle-vs-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.gm-battle-vs-opp--pulse {
    animation: bpulse 1.2s ease-in-out infinite
}

@keyframes bpulse {

    0%,
    100% {
        opacity: .4;
        transform: scale(1)
    }

    50% {
        opacity: 1;
        transform: scale(1.2)
    }
}

.gm-battle-hint {
    color: #94a3b8;
    font-size: .85rem;
    margin-bottom: 1.5rem
}

.gm-battle-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(99, 102, 241, .2);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: bspin .8s linear infinite;
    margin: 0 auto
}

@keyframes bspin {
    to {
        transform: rotate(360deg)
    }
}

/* Theme bar */
.gm-battle-theme-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(99, 102, 241, .1);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left
}

.gm-battle-theme-emoji {
    font-size: 2.5rem
}

.gm-battle-theme-info {
    display: flex;
    flex-direction: column
}

.gm-battle-theme-label {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #818cf8
}

.gm-battle-theme-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff
}

.gm-battle-theme-desc {
    font-size: .8rem;
    color: #a5b4fc;
    margin-left: auto
}

/* Product pool grid */
.gm-battle-pick-title {
    color: #c7d2fe;
    font-size: .9rem;
    margin-bottom: 1rem
}

.gm-battle-pool {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
    margin-bottom: 1.5rem
}

.gm-battle-item {
    background: rgba(30, 27, 75, .8);
    border: 2px solid rgba(99, 102, 241, .15);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s
}

.gm-battle-item:hover {
    border-color: rgba(99, 102, 241, .5);
    transform: translateY(-2px)
}

.gm-battle-item.is-selected {
    border-color: #818cf8;
    box-shadow: 0 0 16px rgba(99, 102, 241, .35)
}

.gm-battle-item.is-selected::after {
    content: '✓';
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #6366f1;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700
}

.gm-battle-item {
    position: relative
}

.gm-battle-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover
}

.gm-battle-item-info {
    padding: .6rem .75rem;
    text-align: left
}

.gm-battle-item-name {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gm-battle-item-meta {
    display: block;
    font-size: .65rem;
    color: #94a3b8
}

.gm-battle-item-price {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: #a78bfa;
    margin-top: .2rem
}

/* Pick bar */
.gm-battle-pick-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(30, 27, 75, .9);
    border-top: 1px solid rgba(99, 102, 241, .15);
    border-radius: 0 0 1rem 1rem;
    padding: 1rem 1.5rem;
    color: #c7d2fe;
    font-size: .85rem
}

/* Scoreboard */
.gm-battle-scoreboard {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0
}

.gm-battle-score-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px
}

.gm-battle-score-label {
    font-size: .75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em
}

.gm-battle-score-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff
}

.gm-battle-score--me .gm-battle-score-num {
    color: #818cf8
}

.gm-battle-score--opp .gm-battle-score-num {
    color: #f472b6
}

.gm-battle-score-vs {
    font-size: 1.2rem;
    font-weight: 800;
    color: #475569
}

.gm-battle-verdict {
    font-size: 1.3rem;
    font-weight: 700;
    margin: .5rem 0
}

/* Result Theme */
.gm-battle-result-theme {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: .75rem 0;
    padding: .5rem 1rem;
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .2);
    border-radius: 99px;
    font-size: .85rem;
    color: #c7d2fe
}

.gm-battle-result-theme-emoji {
    font-size: 1.2rem
}

.gm-battle-result-theme-name {
    font-weight: 600
}

/* Score Breakdown */
.gm-battle-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(15, 23, 42, .5);
    border: 1px solid rgba(99, 102, 241, .1);
    border-radius: 12px
}

.gm-battle-breakdown-title {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
    margin-bottom: .5rem;
    font-weight: 600
}

.gm-bd-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem 0;
    font-size: .78rem;
    color: #e2e8f0
}

.gm-bd-label {
    color: #94a3b8
}

.gm-bd-val {
    font-weight: 700;
    color: #a5b4fc
}

/* Picks Comparison */
.gm-battle-picks-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0
}

.gm-battle-picks-title {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
    margin-bottom: .5rem;
    font-weight: 600
}

.gm-battle-picks-list {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.gm-battle-pick-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem;
    background: rgba(30, 27, 75, .5);
    border: 1px solid rgba(99, 102, 241, .1);
    border-radius: 10px
}

.gm-battle-pick-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0
}

.gm-battle-pick-info {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.gm-battle-pick-name {
    font-size: .75rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.gm-battle-pick-meta {
    font-size: .65rem;
    color: #94a3b8
}

/* History */
.gm-battle-history {
    margin-top: 2rem;
    text-align: left
}

.gm-battle-history-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .75rem
}

.gm-bh-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(30, 27, 75, .6);
    border: 1px solid rgba(99, 102, 241, .1);
    border-radius: .75rem;
    padding: .65rem 1rem;
    font-size: .8rem;
    color: #c7d2fe
}

.gm-bh-row.gm-bh-win {
    border-left: 3px solid #10b981
}

.gm-bh-row.gm-bh-loss {
    border-left: 3px solid #ef4444
}

.gm-bh-row.gm-bh-draw {
    border-left: 3px solid #f59e0b
}

.gm-bh-theme {
    flex: 1;
    font-weight: 600
}

.gm-bh-scores {
    font-weight: 700;
    color: #e2e8f0
}

.gm-bh-verdict {
    font-size: 1rem
}

.gm-bh-xp {
    color: #a78bfa;
    font-weight: 600;
    font-size: .75rem
}

/* Rules */
.gm-battle-rules {
    text-align: left;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: rgba(15, 23, 42, .5);
    border: 1px solid rgba(99, 102, 241, .12);
    border-radius: 14px
}

.gm-battle-rules-title {
    font-size: .85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 .5rem
}

.gm-battle-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.gm-battle-rules-list li {
    font-size: .78rem;
    color: #94a3b8;
    padding-left: 1.2rem;
    position: relative
}

.gm-battle-rules-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #818cf8
}

.gm-battle-rules-list--scoring li {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap
}

.gm-rule-label {
    font-weight: 600;
    color: #c7d2fe
}

.gm-rule-pts {
    font-size: .7rem;
    background: rgba(99, 102, 241, .15);
    color: #a5b4fc;
    padding: .1rem .4rem;
    border-radius: 4px;
    font-weight: 700
}

/* Opponent info in-game */
.gm-battle-opponent-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin: .5rem 0;
    font-size: .82rem;
    color: #94a3b8
}

.gm-battle-opponent-info strong {
    color: #f472b6
}

/* Scoring tips */
.gm-battle-tips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin: .75rem 0
}

.gm-battle-tip {
    font-size: .7rem;
    padding: .35rem .7rem;
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .15);
    border-radius: 99px;
    color: #a5b4fc
}

/* Challenge Friend Modal */
.gm-battle-challenge-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, .97);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem
}

.gm-battle-challenge-content {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center
}

.gm-battle-challenge-content h3 {
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 700
}

.gm-battle-search-input {
    width: 100%;
    padding: .7rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, .2);
    background: rgba(15, 23, 42, .6);
    color: #e2e8f0;
    font-size: .85rem;
    outline: none;
    transition: border-color .2s
}

.gm-battle-search-input:focus {
    border-color: rgba(99, 102, 241, .5)
}

.gm-battle-user-list {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.gm-battle-user-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .8rem;
    background: rgba(30, 27, 75, .5);
    border: 1px solid rgba(99, 102, 241, .1);
    border-radius: 10px
}

.gm-battle-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover
}

.gm-battle-user-name {
    flex: 1;
    font-size: .82rem;
    font-weight: 600;
    color: #e2e8f0;
    text-align: left
}

.gm-btn-sm {
    padding: .35rem .7rem;
    font-size: .72rem;
    border-radius: 8px
}

.gm-battle-no-users {
    font-size: .8rem;
    color: #64748b;
    padding: 1rem 0
}

.gm-battle-challenge-subtitle {
    font-size: .8rem;
    color: #64748b;
    margin: -.5rem 0 .5rem
}

.gm-battle-loading {
    font-size: .8rem;
    color: #64748b;
    padding: 2rem 0;
    text-align: center
}

/* Battle Invite Modal */
.gm-battle-invite-icon {
    font-size: 3rem;
    margin-bottom: .5rem
}

.gm-battle-invite-theme {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c7d2fe;
    margin: .5rem 0
}

.gm-battle-invite-desc {
    font-size: .82rem;
    color: #94a3b8;
    margin-bottom: 1.5rem
}

.gm-battle-invite-actions {
    display: flex;
    gap: 1rem;
    justify-content: center
}


/* ═══ COIN BALANCE PULSE ═══ */
.gm-coin-pulse {
    animation: coinPulse .6s ease-out;
}

@keyframes coinPulse {
    0% {
        transform: scale(1);
        color: #f1f5f9;
    }

    50% {
        transform: scale(1.3);
        color: #facc15;
    }

    100% {
        transform: scale(1);
        color: #f1f5f9;
    }
}


/* ═══ DAILY REWARD ITEM STATES ═══ */
.gv2-right-reward__item--claimed {
    opacity: 0.5;
    position: relative;
}

.gv2-right-reward__item--claimed::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: .6rem;
    color: #10b981;
    font-weight: 700;
}

.gv2-right-reward__item--today {
    border: 2px solid #818cf8 !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, .3);
    animation: todayPulse 2s ease-in-out infinite;
}

@keyframes todayPulse {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(99, 102, 241, .3);
    }

    50% {
        box-shadow: 0 0 20px rgba(99, 102, 241, .5);
    }
}


/* ═══ MYSTERY BOX ═══ */
.gv2-mystery-box-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .8rem;
}

.gv2-mystery-box-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .8rem;
    background: rgba(99, 102, 241, .06);
    border: 1px solid rgba(99, 102, 241, .15);
    border-radius: 10px;
    transition: all .15s;
}

.gv2-mystery-box-item:hover {
    background: rgba(99, 102, 241, .12);
    border-color: rgba(99, 102, 241, .3);
}

.gv2-mystery-box-icon {
    font-size: 1.5rem;
}

.gv2-mystery-box-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gv2-mystery-box-source {
    font-size: .75rem;
    font-weight: 600;
    color: #a5b4fc;
}

.gv2-mystery-box-date {
    font-size: .65rem;
    color: #64748b;
}

.gv2-mystery-box-open-btn {
    padding: .35rem .8rem;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.gv2-mystery-box-open-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(99, 102, 241, .3);
}

.gv2-mystery-box-open-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.gv2-mystery-box-buy-btn {
    width: 100%;
    padding: .7rem;
    background: rgba(250, 204, 21, .1);
    border: 1px solid rgba(250, 204, 21, .3);
    color: #facc15;
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.gv2-mystery-box-buy-btn:hover {
    background: rgba(250, 204, 21, .18);
}

.gv2-mystery-box-buy-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Mystery Box Reveal Animation */
.gv2-mystery-box-reveal {
    text-align: center;
    padding: 2rem 1rem;
    animation: revealPop .5s cubic-bezier(.22, 1, .36, 1);
}

.gv2-mystery-box-reveal-icon {
    font-size: 3rem;
    margin-bottom: .5rem;
}

.gv2-mystery-box-reveal-label {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
}

.gv2-mystery-box-reveal-sub {
    font-size: .8rem;
    color: #a5b4fc;
    margin-top: .3rem;
}

@keyframes revealPop {
    0% {
        opacity: 0;
        transform: scale(.3);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ═══ COIN SHOP ═══ */
.gv2-coin-shop-list {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.gv2-coin-shop-item {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .55rem .75rem;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px;
    transition: all .15s;
}

.gv2-coin-shop-item:hover:not(.is-disabled) {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(99, 102, 241, .2);
}

.gv2-coin-shop-item.is-disabled {
    opacity: .4;
}

.gv2-coin-shop-icon {
    font-size: 1.2rem;
}

.gv2-coin-shop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gv2-coin-shop-label {
    font-size: .78rem;
    font-weight: 600;
    color: #e2e8f0;
}

.gv2-coin-shop-price {
    font-size: .68rem;
    color: #facc15;
    font-weight: 600;
}

.gv2-coin-shop-buy {
    padding: .3rem .7rem;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}

.gv2-coin-shop-buy:hover {
    transform: translateY(-1px);
}

.gv2-coin-shop-buy:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
}


/* ═══ DAILY CHEST (replaces 5 icons) ═══ */
.gv2-daily-chest {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .5rem 0;
}

.gv2-daily-chest__box {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    animation: chestFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform .3s;
}

.gv2-daily-chest__box:hover {
    transform: scale(1.1);
}

.gv2-daily-chest__box--opened {
    opacity: .5;
    animation: none;
}

.gv2-daily-chest__glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, .2), transparent 70%);
    animation: chestGlow 2s ease-in-out infinite alternate;
}

.gv2-daily-chest__info {
    text-align: center;
}

.gv2-daily-chest__day {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: #a5b4fc;
}

.gv2-daily-chest__hint {
    display: block;
    font-size: .68rem;
    color: #94a3b8;
    margin-top: .2rem;
}

@keyframes chestFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes chestGlow {
    0% {
        opacity: .4;
        transform: scale(.9);
    }

    100% {
        opacity: .8;
        transform: scale(1.1);
    }
}

/* ═══ REWARD REVEAL MODAL ═══ */
.gv2-reward-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.gv2-reward-modal.is-visible {
    opacity: 1;
}

.gv2-reward-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(8px);
}

.gv2-reward-modal__content {
    position: relative;
    text-align: center;
    padding: 2.5rem 2rem;
    max-width: 340px;
    width: 90%;
    background: linear-gradient(160deg, rgba(30, 27, 75, .95), rgba(15, 23, 42, .98));
    border: 1px solid rgba(99, 102, 241, .3);
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px rgba(99, 102, 241, .15);
    animation: modalPop .4s cubic-bezier(.22, 1, .36, 1);
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(.7) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gv2-reward-modal__chest-anim {
    position: relative;
    margin-bottom: 1.2rem;
}

.gv2-reward-modal__chest {
    font-size: 4rem;
    animation: chestBounce .6s cubic-bezier(.22, 1, .36, 1);
}

@keyframes chestBounce {
    0% {
        transform: scale(0) rotate(-10deg);
    }

    60% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.gv2-reward-modal__sparkles {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(250, 204, 21, .15), transparent 60%);
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% {
        opacity: .3;
        transform: scale(.8);
    }

    100% {
        opacity: .7;
        transform: scale(1.2);
    }
}

.gv2-reward-modal__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.2rem;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gv2-reward-modal__items {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.gv2-reward-modal__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .7rem 1rem;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(15px);
    animation: rewardItemReveal .5s ease-out forwards;
}

@keyframes rewardItemReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gv2-reward-modal__item-icon {
    font-size: 1.5rem;
}

.gv2-reward-modal__item-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--reward-color, #e2e8f0);
}

.gv2-reward-modal__close {
    padding: .7rem 2rem;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .35);
}

.gv2-reward-modal__close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, .5);
}