/* =====================================================
   24 Club – Light theme (matches screenshots)
   ===================================================== */
* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }

body {
    background: #F4F5F9;
    max-width: 100%;
    overflow-x: hidden;
}

.logo-44 {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 1.35rem;
    color: #F24141;
    letter-spacing: -0.5px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: #9CA3AF;
}
.nav-item.active { color: #F24141; }
.nav-item i { display: block; }

.card-white {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.btn-red {
    background: #F24141;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 10px 24px;
    display: inline-block;
    text-align: center;
    transition: opacity .15s;
}
.btn-red:active { opacity: .85; }

.btn-orange {
    background: linear-gradient(90deg, #FF8A3D, #FF5A2C);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 14px;
    width: 100%;
    text-align: center;
}

.input-light {
    width: 100%;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    font-size: 14px;
}
.input-light:focus { border-color: #F24141; }

.page-header-bar {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(242, 65, 65, 0.25);
}

.red-curve {
    background: #F24141;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 4px 12px rgba(242, 65, 65, 0.2);
}
.red-curve-wrap {
    padding: 12px 12px 0;
    max-width: 32rem;
    margin: 0 auto;
}

.game-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
}
.game-card img, .game-card .game-art {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.game-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #F24141;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #FECACA;
    color: #F24141;
    background: #fff;
}
.cat-tab.active {
    background: #F24141;
    color: #fff;
    border-color: #F24141;
}

/* Spin wheel */
.wheel-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #F24141;
    box-shadow: 0 8px 24px rgba(242,65,65,0.25);
    transition: transform 4s cubic-bezier(0.15, 0.85, 0.25, 1);
    background: conic-gradient(
        #F24141 0deg 45deg,
        #fff 45deg 90deg,
        #F24141 90deg 135deg,
        #fff 135deg 180deg,
        #F24141 180deg 225deg,
        #fff 225deg 270deg,
        #F24141 270deg 315deg,
        #fff 315deg 360deg
    );
}
.wheel-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 22px solid #F24141;
    z-index: 5;
}
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F24141;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 3px solid #fff;
    cursor: pointer;
}
.wheel-labels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.toast {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: #333;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    z-index: 200;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    font-size: 13px;
    max-width: 90%;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}

/* Continuous winning ticker */
.win-ticker-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.win-ticker-track {
    animation: winTickerScroll 28s linear infinite;
    will-change: transform;
}
.win-ticker-wrap:hover .win-ticker-track {
    animation-play-state: paused;
}
@keyframes winTickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Podium cards */
.podium-card {
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 8px 16px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.podium-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.9);
    margin-bottom: 8px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}
.podium-avatar svg { width: 100%; height: 100%; }

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 12px;
}
.info-card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: #F24141;
    margin-bottom: 10px;
}
.info-card-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: #F24141;
    border-radius: 2px;
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}
.lang-flag {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    overflow: hidden;
}
.lang-flag-en {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}
.lang-flag-hi {
    background: linear-gradient(180deg, #ff9933 0%, #ff9933 33%, #fff 33%, #fff 66%, #138808 66%, #138808 100%);
}
.lang-flag-code {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.lang-flag-hi .lang-flag-code {
    background: rgba(0,0,80,0.75);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lang-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F24141;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* Bonus sub-pages */
.bonus-banner {
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    margin-bottom: 12px;
}
.bonus-banner-orange { background: linear-gradient(135deg, #ff8a3d, #ff5a2c); }
.bonus-banner-red { background: linear-gradient(135deg, #F24141, #ff7a7a); }
.bonus-banner-coral { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); }
.mission-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rebate-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.rebate-tab {
    flex: 1;
    min-width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .15s;
}
.rebate-tab i { font-size: 16px; }
.rebate-tab.active {
    background: #F24141;
    color: #fff;
}
.bonus-tier-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.bonus-tab-bar {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 12px;
}
.bonus-tab {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}
.bonus-tab.active {
    color: #F24141;
}
.bonus-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 80px;
    height: 2px;
    background: #F24141;
    border-radius: 2px;
}
.btn-outline-red {
    display: inline-block;
    border: 1.5px solid #F24141;
    color: #F24141;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 28px;
    border-radius: 999px;
    background: #fff;
    text-align: center;
}

.chat-bubble {
    background: #f1f5f9;
    border-radius: 12px 12px 12px 4px;
    padding: 10px 12px;
    font-size: 12px;
    color: #334155;
    max-width: 90%;
    line-height: 1.5;
}

/* Color prediction chips keep working on light pages */
.color-chip {
    border-radius: 12px;
    padding: 18px 8px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    color: #fff;
    transition: all 0.2s;
}
.color-chip.selected {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.15);
    transform: scale(1.04);
}
.chip-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.chip-violet { background: linear-gradient(135deg, #a855f7, #6b21a8); }
.chip-red { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.timer-box {
    width: 72px; height: 72px; border-radius: 50%;
    border: 4px solid #F24141; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; font-weight: 800;
    background: #fff; color: #F24141;
}
.gamo-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.gamo-input {
    width: 100%; background: #F4F5F9; border: 1px solid #E5E7EB;
    border-radius: 10px; padding: 12px 14px; outline: none;
}
.gamo-input:focus { border-color: #F24141; }
.btn-primary {
    background: #F24141; color: #fff; font-weight: 600;
    border-radius: 12px; padding: 14px 20px; width: 100%;
}
/* Make color prediction readable on light theme */
.period-card { background: #fff; }
#timer { color: #F24141; }

/* Swiper custom styles */
.hero-swiper {
    position: relative;
    width: 100%;
    height: 140px;
}
.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px;
}
.hero-swiper .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
    background: #ffffff !important;
    opacity: 1;
    width: 16px;
    border-radius: 4px;
}
