/* c:\xampp\htdocs\tukebaaz\assets\css\app.css */
/* BetQ â€” Premium Question Betting Platform */

:root {
    --bg-main: #0c0d14;
    --bg-color: #121420;
    --bg-secondary: #1a1c29;
    --card-bg: #222436;
    --text-primary: #ffffff;
    --text-secondary: #9aa0c2;
    --accent-blue: #00b4d8;
    --accent-purple: #9d4edd;
    --red: #f22e4e;
    --green: #14c871;
    --gold: #f8c210;
    --dark-border: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 15px rgba(0, 180, 216, 0.4);
    --green-glow: 0 0 15px rgba(20, 200, 113, 0.4);
    --red-glow: 0 0 15px rgba(242, 46, 78, 0.4);
    --gold-glow: 0 0 15px rgba(248, 194, 16, 0.4);
    --purple-glow: 0 0 15px rgba(157, 78, 221, 0.4);

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --font-number: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #081017;
    color: var(--text-primary);
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-blue);
    color: #ffffff;
}

#app-container {
    width: 100%;
    max-width: 480px;
    background: var(--bg-color);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* ---- Header ---- */
header {
    background: linear-gradient(135deg, #1f1b2e 0%, #151624 100%);
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info .avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}

.user-info .details {
    display: flex;
    flex-direction: column;
}

.user-info .details span {
    font-weight: 600;
    font-size: 14px;
}

.user-info .details .balance {
    font-family: var(--font-number);
    font-size: 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.actions .notif-btn {
    position: relative;
    cursor: pointer;
}

.actions .notif-btn i {
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.actions .notif-btn:hover i {
    color: var(--accent-blue);
}

.actions .notif-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    background: var(--red);
    color: white;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

/* ---- View Container ---- */
#view-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 85px;
}

/* ---- Utility ---- */
.p-20 {
    padding: 20px;
}

.p-15 {
    padding: 15px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: var(--accent-blue);
}

.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-xs {
    font-size: 11px;
}

.text-sm {
    font-size: 13px;
}

.font-bold {
    font-weight: 700;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #0077b6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    background: #0077b6;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-green {
    background: linear-gradient(135deg, var(--green), #0fa35a);
    color: #fff;
    box-shadow: 0 4px 15px rgba(20, 200, 113, 0.3);
}

.btn-green:active {
    transform: scale(0.98);
    background: #0fa35a;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #d49f05);
    color: #000;
    box-shadow: 0 4px 15px rgba(248, 194, 16, 0.3);
}

.btn-violet {
    background: linear-gradient(135deg, var(--accent-purple), #7b2cbf);
    color: #fff;
    box-shadow: var(--purple-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
}

.btn-outline:active {
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    width: auto;
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

select.form-control option {
    background: var(--bg-main);
    color: var(--text-primary);
}

/* ---- Cards ---- */
.card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    padding: 16px;
    margin-bottom: 12px;
}

/* ---- Casino Style Question Card ---- */
.premium-q-card {
    background: radial-gradient(circle at top right, #1f1140 0%, #0d0e17 60%);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 2px 15px rgba(255, 215, 0, 0.05);
    padding: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
    margin-bottom: 15px;
}
.premium-q-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, transparent);
    opacity: 0.8;
}
.premium-q-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 2px 25px rgba(255, 215, 0, 0.1);
}
.premium-q-card:active {
    transform: scale(0.98);
}
.premium-q-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.premium-bet-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(30,30,40,0.9) 0%, rgba(15,15,20,0.95) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 4px 15px rgba(0,0,0,0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.premium-bet-option:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(40,40,55,0.9) 0%, rgba(20,20,30,0.95) 100%);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2), inset 0 1px 1px rgba(255,255,255,0.2);
}
.premium-bet-option.locked {
    opacity: 0.4;
    filter: grayscale(1);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.premium-bet-option.selected {
    background: linear-gradient(180deg, rgba(255,215,0,0.2) 0%, rgba(255,140,0,0.1) 100%);
    border: 1px solid #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.4), inset 0 0 10px rgba(255,215,0,0.2);
    transform: scale(1.02);
}

/* Banner Dots */
.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.banner-dot.active {
    width: 20px;
    border-radius: 10px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.6);
}

/* Casino Modals */
.casino-win-modal {
    background: radial-gradient(circle at center, #2a1f00 0%, #0a0a0a 100%) !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3), inset 0 0 30px rgba(255, 215, 0, 0.1) !important;
}
.casino-win-text {
    background: linear-gradient(to right, #ffd700, #fff, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    font-size: 32px;
    font-weight: 900;
}
.casino-loss-modal {
    background: radial-gradient(circle at center, #2a0005 0%, #0a0a0a 100%) !important;
    border: 1px solid #ff3366 !important;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.2), inset 0 0 20px rgba(255, 51, 102, 0.05) !important;
}

.card-glass {
    background: var(--card-bg);
    border: 1px solid var(--dark-border);
}

/* ---- Bottom Nav ---- */
#bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #151624 0%, #0c0d14 100%);
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: space-around;
    padding: 8px 10px 12px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    padding: 4px 8px;
}

.nav-item i {
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item.active {
    color: var(--green);
}

.nav-item.active i {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
    color: var(--green);
}

.nav-special-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -15px;
    /* Pulls the wrapper up */
    margin-bottom: -15px;
    z-index: 101;
    cursor: pointer;
}

.nav-item-special {
    background: var(--card-bg);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-color);
    padding: 0;
    transition: all 0.3s ease;
}

.nav-special-wrap.active .nav-item-special {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    transform: translateY(-3px);
}

.special-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-special-wrap.active .special-text {
    color: #fff;
    text-shadow: 0 0 8px var(--gold);
}

.nav-badge {
    position: absolute;
    top: -3px;
    right: 0;
    background: var(--red);
    color: white;
    font-size: 8px;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: 700;
}

.nav-pulse {
    position: absolute;
    top: 3px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: var(--green-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.8);
    }
}

/* ---- View Animations ---- */
.view {
    animation: fadeInSlideUp 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Splash / Loader ---- */
#global-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.loader-ring {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: var(--neon-glow);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* ---- Toast Notifications ---- */
#toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.toast i {
    font-size: 20px;
}

.toast-success {
    border-left: 4px solid var(--green);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    border-right: 1px solid rgba(0, 255, 136, 0.2);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.toast-success i {
    color: var(--green);
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.5));
}

.toast-error {
    border-left: 4px solid var(--red);
    border-top: 1px solid rgba(255, 51, 102, 0.2);
    border-right: 1px solid rgba(255, 51, 102, 0.2);
    border-bottom: 1px solid rgba(255, 51, 102, 0.2);
}

.toast-error i {
    color: var(--red);
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.5));
}

.toast-info {
    border-left: 4px solid var(--accent-blue);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.toast-info i {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Skeleton Shimmer ---- */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.03) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 22px;
    width: 70%;
    margin-bottom: 12px;
}

.skeleton-card {
    height: 120px;
    margin-bottom: 14px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ---- Bet Option Cards ---- */
.bet-option {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bet-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bet-option.selected {
    border-color: var(--accent-purple);
    background: rgba(157, 78, 221, 0.15);
    box-shadow: inset 0 0 10px rgba(157, 78, 221, 0.2), 0 0 15px rgba(157, 78, 221, 0.3);
}

.bet-option .bet-bar {
    display: none;
}

.bet-option .bet-hot {
    position: absolute;
    top: -1px;
    right: 0;
    font-size: 9px;
    background: var(--red);
    color: #fff;
    padding: 2px 6px;
    border-radius: 0 0 0 4px;
    font-weight: bold;
}

/* ---- Countdown Timer Ring ---- */
.timer-ring {
    width: 56px;
    height: 56px;
    position: relative;
    flex-shrink: 0;
}

.timer-ring svg {
    width: 56px;
    height: 56px;
    transform: rotate(-90deg);
}

.timer-ring .ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 4;
}

.timer-ring .ring-progress {
    fill: none;
    stroke: var(--green);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear, stroke 0.3s;
}

.timer-ring .timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-number);
    font-size: 11px;
    font-weight: 700;
}

/* ---- Modal ---- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    transform: scale(0.9);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

/* ---- Bet Slip (Slide-up panel) ---- */
.bet-slip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.bet-slip-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bet-slip {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: var(--card-bg);
    border-top: 1px solid var(--accent-blue);
    border-radius: 20px 20px 0 0;
    padding: 24px 20px;
    transition: bottom 0.35s cubic-bezier(0.33, 1, 0.68, 1);
    z-index: 1000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
}

.bet-slip.active {
    bottom: 0;
}

.bet-slip-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 0 auto 18px;
}

/* ---- Quick Amount Chips ---- */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.chip {
    text-align: center;
    padding: 10px 4px;
    border: 1px solid var(--dark-border);
    border-radius: 4px;
    background: var(--bg-secondary);
    cursor: pointer;
    font-family: var(--font-number);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    color: var(--text-primary);
}

.chip:hover,
.chip.selected {
    border-color: var(--accent-blue);
    color: #fff;
    background: var(--accent-blue);
}

/* ---- Wallet Balance Card ---- */
.balance-card {
    background: linear-gradient(135deg, #1e1e2d 0%, #0d0d16 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.balance-card .bg-icon {
    position: absolute;
    bottom: -20px;
    right: -15px;
    font-size: 140px;
    color: rgba(255, 255, 255, 0.02);
    transform: rotate(-15deg);
}

.balance-card .card-chip {
    width: 45px;
    height: 32px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.balance-card .card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.balance-card .card-chip::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.balance-card .card-chip-line {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.3);
}

.balance-card .card-chip-line:nth-child(2) {
    top: 75%;
}

.balance-card .total-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}

.balance-card .total-value {
    font-family: var(--font-number);
    font-size: 2.6rem;
    margin: 0 0 24px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    color: #fff;
}

.balance-card .wallet-row {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.balance-card .wallet-row .wallet-mini {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 8px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.balance-card .wallet-row .wallet-mini .wm-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.balance-card .wallet-row .wallet-mini .wm-value {
    font-family: var(--font-number);
    font-size: 15px;
    font-weight: 700;
}

/* ---- Premium Rewards Banner ---- */
.premium-banner {
    position: relative;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border: none;
    box-shadow: var(--purple-glow);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    overflow: hidden;
}

.premium-banner .banner-icon-wrap {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.premium-banner .floating-icon {
    font-size: 22px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.premium-banner .banner-text {
    text-align: left;
    z-index: 2;
}

.premium-banner .banner-text h2 {
    color: #fff;
    margin: 0 0 3px 0;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.premium-banner .banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    margin: 0;
}

.shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shimmerSlide 3s infinite;
    z-index: 1;
}

@keyframes shimmerSlide {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ---- Spin Wheel ---- */
.wheel-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.2));
}

.wheel-canvas {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8), 0 0 10px rgba(157, 78, 221, 0.4);
    background: transparent;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 35px solid #FFD700;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.8));
    z-index: 10;
}

.wheel-pointer::after {
    content: '';
    position: absolute;
    top: -35px;
    left: -12px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 25px solid #fff;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    border-radius: 50%;
    border: 4px solid #222;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
}

.wheel-center i {
    color: #fff;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 4px;
}

/* ---- Live Feed Ticker ---- */
.live-feed {
    background: rgba(18, 18, 42, 0.7);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.live-feed .feed-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 1.5s infinite;
}

/* ---- Section Titles ---- */
.section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Check-in Calendar ---- */
.checkin-strip {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.checkin-day {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s;
}

.checkin-day.done {
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.2);
}

.checkin-day.today {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.15);
}

.checkin-day .day-num {
    font-size: 11px;
    color: var(--text-secondary);
}

.checkin-day .day-reward {
    font-family: var(--font-number);
    font-size: 11px;
    margin-top: 4px;
    color: var(--gold);
}

.checkin-day.done .day-reward {
    color: var(--green);
}

.checkin-day .day-icon {
    font-size: 16px;
    margin-top: 4px;
}

/* ---- Transaction Item ---- */
.txn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.txn-item:last-child {
    border: none;
}

.txn-item .txn-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.txn-item .txn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.txn-item .txn-type {
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.txn-item .txn-date {
    font-size: 11px;
    color: var(--text-secondary);
}

.txn-item .txn-amount {
    font-family: var(--font-number);
    font-weight: 700;
    font-size: 14px;
}

/* ---- Referral Tree ---- */
.ref-stat {
    text-align: center;
    flex: 1;
    padding: 12px;
}

.ref-stat .ref-count {
    font-family: var(--font-number);
    font-size: 1.4rem;
    font-weight: 700;
}

.ref-stat .ref-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 4px;
}

/* ---- Notification List ---- */
.notif-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-item.unread {
    background: rgba(0, 212, 255, 0.03);
    border-radius: 8px;
    padding: 14px 10px;
    margin-bottom: 4px;
}

.notif-item .notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.notif-item .notif-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.notif-item .notif-body {
    font-size: 12px;
    color: var(--text-secondary);
}

.notif-item .notif-time {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    opacity: 0.1;
    margin-bottom: 10px;
    display: block;
}

/* ---- Confetti / Win Overlay ---- */
.win-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    animation: fadeIn 0.3s ease;
}

.win-overlay .win-amount {
    font-family: var(--font-number);
    font-size: 3rem;
    color: var(--gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
}

/* ---- Leaderboard ---- */
.tabs-container {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: #fff;
    box-shadow: var(--purple-glow);
}

/* ---- Casino Quick Actions ---- */
.casino-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    background: #15161c;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 14px 4px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.casino-action-btn:active {
    transform: scale(0.92);
}
.ca-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
}
.ca-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

/* Colors and Glows */
.green-glow { border: 2px solid rgba(30, 215, 96, 0.5); box-shadow: 0 0 15px rgba(30, 215, 96, 0.2); }
.green-glow .ca-icon { background: #1ed760; }

.red-glow { border: 2px solid rgba(233, 30, 99, 0.5); box-shadow: 0 0 15px rgba(233, 30, 99, 0.2); }
.red-glow .ca-icon { background: #e91e63; }

.gold-glow { border: 2px solid rgba(255, 193, 7, 0.5); box-shadow: 0 0 15px rgba(255, 193, 7, 0.2); }
.gold-glow .ca-icon { background: #ffc107; }

.purple-glow { border: 2px solid rgba(156, 39, 176, 0.5); box-shadow: 0 0 15px rgba(156, 39, 176, 0.2); }
.purple-glow .ca-icon { background: linear-gradient(135deg, #9c27b0, #03a9f4); }

.ca-text {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- Profile Menu (Profile Page) ---- */
.profile-menu {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 5px 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.pm-item {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: 0.2s;
}
.pm-item:last-child {
    border-bottom: none;
}
.pm-item:active {
    background: rgba(255,255,255,0.05);
    transform: scale(0.98);
}
.pm-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}
.pm-text {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    color: #eee;
}
.pm-arrow {
    font-size: 12px;
}

.user-rank-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-number);
    font-size: 14px;
}

.user-rank-badge.rank-1 {
    background: linear-gradient(135deg, #FFD700, #C5A000);
    color: #000;
    box-shadow: var(--gold-glow);
}

.user-rank-badge.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #000;
}

.user-rank-badge.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #fff;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.leaderboard-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.leaderboard-item.highlighted {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(138, 43, 226, 0.04));
    border: 1px solid var(--glass-border);
}

.leaderboard-item .li-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.leaderboard-item .li-name {
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.leaderboard-item .rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-number);
    font-size: 13px;
    font-weight: 700;
}

.rank-badge.rank-1 {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 18px;
}

.rank-badge.rank-2 {
    background: rgba(192, 192, 192, 0.15);
    color: #C0C0C0;
    border: 1px solid rgba(192, 192, 192, 0.3);
    font-size: 18px;
}

.rank-badge.rank-3 {
    background: rgba(205, 127, 50, 0.15);
    color: #CD7F32;
    border: 1px solid rgba(205, 127, 50, 0.3);
    font-size: 18px;
}

.rank-badge.rank-normal {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-item .li-right {
    text-align: right;
}

.leaderboard-item .li-winnings {
    font-family: var(--font-number);
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
}

/* ---- Achievements ---- */
.ach-item {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}

.ach-item.unlocked {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.04), rgba(0, 0, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.02);
}

.ach-item .ach-left {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.ach-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    flex-shrink: 0;
}

.ach-icon.unlocked {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.25);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.ach-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ach-desc {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.ach-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
}

.ach-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--green));
    border-radius: 10px;
}

.ach-item.unlocked .ach-progress-fill {
    background: linear-gradient(90deg, #FFD700, #FFaa00);
}

.ach-badge {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Shake Animation for Form Errors ---- */
.shake {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

.cat-pill {
    padding: 8px 16px;
    border-radius: 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--dark-border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    background: #222f3e;
}

.cat-pill.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: transparent;
    color: #fff;
    box-shadow: var(--purple-glow);
}
/* Color Prediction Game Theme Elements */
.cg-pay-channel {
    min-width: 100px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.6);
}

.cg-pay-channel.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-blue);
    color: white;
}

.cg-amt-btn {
    padding: 12px 5px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.cg-amt-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
}

.cg-amt-btn:active {
    transform: scale(0.95);
}

/* Color Game Wheel Button */
.cg-wheel-btn {
    background: conic-gradient(#10b981 0deg 45deg, #059669 45deg 90deg, #10b981 90deg 135deg, #059669 135deg 180deg, #10b981 180deg 225deg, #059669 225deg 270deg, #10b981 270deg 315deg, #059669 315deg 360deg) !important;
    box-shadow: 0 -5px 20px rgba(16, 185, 129, 0.5) !important;
    border: 4px solid var(--bg-color) !important;
    width: 60px !important;
    height: 60px !important;
    position: relative;
    transform: translateY(-5px);
}
.cg-wheel-btn::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #10b981;
    z-index: 10;
}
.cg-wheel-inner {
    width: 24px;
    height: 24px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 5;
}
.cg-wheel-text {
    color: white;
    font-size: 10px;
    font-weight: 900;
}
.nav-special-wrap.active .cg-wheel-btn {
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8) !important;
    transform: translateY(-8px) scale(1.05);
}
.nav-special-wrap.active .special-text {
    color: var(--green) !important;
    text-shadow: 0 0 8px var(--green) !important;
}

/* Floating Side Menu */
.side-float-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.side-float-icon:active {
    transform: scale(0.9);
}

.side-float-icon i {
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.cg-mini-wheel {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: 3px solid #fff;
    animation: spin 8s linear infinite;
}

.cg-mini-wheel-inner {
    background: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    animation: spin 8s linear infinite reverse;
}

/* --- HOME PAGE REDESIGN UI --- */
.home-action-banner { flex:1; border-radius:12px; padding:15px; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; min-height:80px; box-shadow:0 4px 15px rgba(0,0,0,0.3); cursor:pointer; }
.banner-wheel { background: linear-gradient(135deg, #00d2ff, #3a7bd5); }
.banner-vip { background: linear-gradient(135deg, #1e3c72, #2a5298); border: 1px solid rgba(255,255,255,0.1); }
.home-action-title { font-size:16px; font-weight:800; color:#fff; z-index:2; line-height:1.2; text-shadow:0 2px 4px rgba(0,0,0,0.3); margin-bottom:4px; }
.home-action-icon { position:absolute; right:-10px; bottom:-10px; font-size:60px; opacity:0.3; z-index:1; }
.home-action-icon-img { position:absolute; right:5px; bottom:5px; width:60px; height:60px; z-index:1; object-fit:contain; filter:drop-shadow(0 4px 6px rgba(0,0,0,0.4)); }

.marquee-container { background: #121215; border-radius: 20px; padding: 6px 12px; display:flex; align-items:center; gap:10px; border: 1px solid rgba(255,255,255,0.05); }
.marquee-btn { background: var(--green); color: white; padding: 2px 10px; border-radius: 12px; font-size: 10px; font-weight:bold; }

.category-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:12px 8px; margin-top:15px; }
.cat-grid-item { display:flex; flex-direction:column; align-items:center; gap:6px; cursor:pointer; }
.cat-grid-icon { width:50px; height:50px; border-radius:14px; background:linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)); display:flex; align-items:center; justify-content:center; font-size:24px; box-shadow: inset 0 2px 4px rgba(255,255,255,0.1), 0 4px 10px rgba(0,0,0,0.5); position:relative; overflow:hidden; }
.cat-grid-item:nth-child(1) .cat-grid-icon { background: linear-gradient(135deg, #ff416c, #ff4b2b); }
.cat-grid-item:nth-child(2) .cat-grid-icon { background: linear-gradient(135deg, #36d1dc, #5b86e5); }
.cat-grid-item:nth-child(3) .cat-grid-icon { background: linear-gradient(135deg, #f7971e, #ffd200); }
.cat-grid-item:nth-child(4) .cat-grid-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
.cat-grid-item:nth-child(5) .cat-grid-icon { background: linear-gradient(135deg, #8E2DE2, #4A00E0); }
.cat-grid-item:nth-child(6) .cat-grid-icon { background: linear-gradient(135deg, #ee0979, #ff6a00); }
.cat-grid-item:nth-child(7) .cat-grid-icon { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.cat-grid-item:nth-child(8) .cat-grid-icon { background: linear-gradient(135deg, #1D976C, #93F9B9); }
.cat-grid-text { font-size:11px; color:var(--text-secondary); text-align:center; font-weight:600; white-space:nowrap; }

.section-header { display:flex; align-items:center; gap:8px; margin: 25px 0 15px; font-family:var(--font-heading); font-size:16px; color:#fff; font-weight:700; }
.section-header i { font-size: 18px; color:var(--text-secondary); }

.winning-ticker-container { background: var(--bg-secondary); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); padding: 15px; height: 250px; overflow: hidden; position: relative; }
.winning-ticker-inner { display: flex; flex-direction: column; gap: 15px; animation: scrollUp 15s linear infinite; }
.winning-ticker-inner:hover { animation-play-state: paused; }
.winning-item { display:flex; align-items:center; gap:12px; }
.winning-avatar { width:36px; height:36px; border-radius:6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; color:var(--text-secondary); }
.winning-details { flex:1; display:flex; flex-direction:column; justify-content:center; gap:4px; }
.winning-name { font-size:13px; color:var(--text-primary); font-weight:500; }
.winning-amount { font-size:12px; color:var(--green); font-weight:600; font-family:var(--font-number); }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

.podium-container { display:flex; align-items:flex-end; justify-content:center; height:180px; gap:8px; margin:20px 0 30px; position:relative; }
.podium-bar { display:flex; flex-direction:column; align-items:center; width:30%; border-radius: 12px 12px 0 0; position:relative; }
.podium-avatar { width:45px; height:45px; border-radius:50%; background:#fff; border: 2px solid; position:absolute; top:-25px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.podium-avatar img { width:100%; height:100%; object-fit:cover; }
.podium-avatar i { font-size:20px; color:#666; }
.podium-rank-num { font-size:36px; font-weight:900; font-family:var(--font-heading); line-height:1; margin-top:25px; opacity:0.9; text-shadow:0 2px 5px rgba(0,0,0,0.3); }
.podium-name { font-size:11px; font-weight:600; color:#fff; margin-top:5px; text-shadow:0 1px 2px rgba(0,0,0,0.8); }
.podium-amount { font-size:10px; color:#fff; opacity:0.8; font-family:var(--font-number); margin-bottom:10px; }
.podium-1 { height:140px; background:linear-gradient(180deg, #ffd700, #b8860b); z-index:3; box-shadow:0 0 20px rgba(255,215,0,0.3); }
.podium-1 .podium-avatar { width:60px; height:60px; top:-35px; border-color:#ffd700; }
.podium-1 .podium-rank-num { margin-top:30px; font-size:42px; }
.podium-2 { height:110px; background:linear-gradient(180deg, #c0c0c0, #808080); z-index:2; }
.podium-2 .podium-avatar { border-color:#c0c0c0; }
.podium-3 { height:90px; background:linear-gradient(180deg, #cd7f32, #8b4513); z-index:1; }
.podium-3 .podium-avatar { border-color:#cd7f32; }

.leaderboard-list { display:flex; flex-direction:column; }
.lb-list-item { display:flex; align-items:center; padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
.lb-rank { width:30px; font-size:14px; font-weight:700; color:var(--text-secondary); text-align:center; }
.lb-avatar { width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; margin:0 12px; font-size:12px; }
.lb-name { flex:1; font-size:13px; color:var(--text-primary); }
.lb-amount { font-size:13px; color:var(--green); font-family:var(--font-number); font-weight:600; }

.home-footer { padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top:30px; }
.footer-logo { font-size:24px; font-family:var(--font-heading); font-weight:800; color:var(--green); margin-bottom:15px; display:flex; align-items:center; gap:10px; }
.footer-18 { width:30px; height:30px; border:2px solid var(--green); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:bold; color:var(--green); }
.footer-text { font-size:11px; color:var(--text-secondary); line-height:1.6; margin-bottom:10px; padding-left:12px; position:relative; }
.footer-text::before { content:'•'; position:absolute; left:0; top:0; color:var(--text-secondary); }


/* Responsive Floating Icons Fix */
@media screen and (max-width: 768px) {
    #floating-side-menu {
        top: auto !important;
        bottom: 120px !important;
        transform: none !important;
        right: 10px !important;
    }
    .side-float-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    .side-float-icon i {
        font-size: 14px !important;
    }
    .side-float-icon.cg-mini-wheel {
        width: 35px !important;
        height: 35px !important;
    }
}
.side-float-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.side-float-icon:hover {
    transform: scale(1.1);
}

/* Real 3D Nav Icons */
.nav-item i {
    background: linear-gradient(135deg, #e6e6e6 0%, #999 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.8)) !important;
    font-size: 22px !important;
}
.nav-item.active i {
    background: linear-gradient(135deg, #38ef7d 0%, #11998e 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 3px 6px rgba(17, 153, 142, 0.8)) !important;
}
.nav-item-special {
    background: radial-gradient(circle at 30% 30%, #ffda75, #f59e0b) !important;
    border: none !important;
    box-shadow: inset -3px -3px 6px rgba(200, 100, 0, 0.6), inset 3px 3px 6px rgba(255,255,255,0.8), 0 5px 15px rgba(245, 158, 11, 0.6) !important;
}
.nav-item-special .cg-wheel-text {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4) !important;
    font-weight: 900 !important;
}

/* Fix Reward Navigation Middle Icon */
.nav-special-wrap {
    top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.nav-item-special.cg-wheel-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%) !important;
    border: 6px solid #151624 !important;
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.6), 
        inset -3px -3px 5px rgba(200, 80, 0, 0.5),
        0 -5px 15px rgba(255, 140, 0, 0.4) !important;
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    transform: translateY(-20px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.cg-wheel-inner {
    width: 34px !important;
    height: 34px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 -2px 4px rgba(0,0,0,0.1) !important;
    z-index: 15 !important;
}

.cg-wheel-text {
    color: #FF8C00 !important;
    text-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
}

.nav-special-wrap .special-text {
    position: absolute !important;
    bottom: 2px !important;
    font-size: 10px !important;
    background: linear-gradient(135deg, #10b981, #047857) !important;
    color: #fff !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.5) !important;
    text-shadow: none !important;
    font-weight: 800 !important;
    z-index: 20 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.nav-special-wrap.active .cg-wheel-btn {
    box-shadow: 
        inset 2px 2px 5px rgba(255, 255, 255, 0.6), 
        inset -3px -3px 5px rgba(200, 80, 0, 0.5),
        0 0 20px rgba(255, 215, 0, 0.8) !important;
    transform: translateY(-23px) scale(1.05) !important;
}
