/* profile.ejs */
.juicer-profile-wrapper {
            --accent: var(--profile-accent, #fbbf24);
            --accent-glow: var(--profile-accent-glow, rgba(251, 191, 36, 0.25));
            min-height: 100vh;
            background: radial-gradient(circle at center, rgba(18, 20, 28, 1) 0%, rgba(8, 10, 16, 1) 100%);
        }

        .avatar-container { position: relative; display: inline-block; padding: 5px; }
        .profile-avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--accent); padding: 3px; background: rgba(0,0,0,0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; }
        .profile-avatar:hover { transform: scale(1.05); box-shadow: 0 0 25px var(--accent-glow); }
        .live-badge { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: #ff0055; color: white; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; border: 2px solid #fff; animation: pulse-live 2s infinite; letter-spacing: 1px; }

        @keyframes pulse-live { 0% { box-shadow: 0 0 0 0 rgba(255,0,85,0.7); } 70% { box-shadow: 0 0 0 10px rgba(255,0,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,0,85,0); } }

        .stat-box { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 15px; transition: 0.3s; height: 100%; display: flex; flex-direction: column; justify-content: center; }
        .stat-box:hover { background: rgba(255,255,255,0.05); border-color: var(--accent); transform: translateY(-3px); }
        .stat-label { font-size: 0.75rem; text-transform: uppercase; color: rgba(255,255,255,0.6); letter-spacing: 1px; margin-bottom: 5px; font-weight: bold; }
        .stat-value { font-size: 1.2rem; font-weight: 800; color: #fff; font-family: 'JetBrains Mono', monospace; }

        .skin-bloodmoon .glass-card { background: linear-gradient(135deg, rgba(30, 0, 0, 0.95), rgba(10, 0, 0, 0.98)) !important; border: 2px solid #ff4747 !important; box-shadow: 0 5px 15px rgba(255, 71, 71, 0.1) !important; }
        .skin-bloodmoon h2, .skin-bloodmoon .stat-value { color: #ff4747 !important; }
        .skin-bloodmoon .profile-avatar { border-color: #ff4747; box-shadow: 0 0 15px rgba(255, 71, 71, 0.3); }

        .skin-sunset .glass-card { background: linear-gradient(135deg, rgba(40, 15, 30, 0.95), rgba(20, 5, 10, 0.98)) !important; border: 2px solid #ff7e5f !important; box-shadow: 0 5px 15px rgba(255, 126, 95, 0.1) !important; }
        .skin-sunset h2, .skin-sunset .stat-value { background: linear-gradient(to right, #ff7e5f, #feb47b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
        .skin-sunset .profile-avatar { border-color: #ff7e5f; box-shadow: 0 0 15px rgba(255, 126, 95, 0.3); }

        .skin-terminal .glass-card { background: rgba(0, 5, 0, 0.98) !important; border: 2px solid #00ff00 !important; box-shadow: 0 0 10px rgba(0, 255, 0, 0.1) !important; font-family: 'JetBrains Mono', monospace; }
        .skin-terminal h2, .skin-terminal .stat-value, .skin-terminal p { color: #00ff00 !important; text-shadow: none; }
        .skin-terminal .profile-avatar { border-color: #00ff00; border-radius: 12px !important; box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); }

        .skin-cyberpunk .glass-card { background: rgba(10, 10, 10, 0.95) !important; border: 2px solid #0ff !important; box-shadow: 5px 5px 0px #f0f, -5px -5px 0px #0ff !important; border-radius: 0 !important; background-image: linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px) !important; background-size: 20px 20px !important; }
        .skin-cyberpunk .profile-avatar { border-radius: 0 !important; border: 3px dashed #f0f !important; }
        .skin-cyberpunk .stat-box { border-radius: 0; border: 1px solid rgba(0,255,255,0.3); }

        .skin-galaxy .glass-card { background: linear-gradient(135deg, rgba(20, 10, 40, 0.95) 0%, rgba(10, 30, 60, 0.95) 100%) !important; border-color: #9b59b6 !important; box-shadow: 0 0 30px rgba(155, 89, 182, 0.3), inset 0 0 20px rgba(0, 210, 255, 0.1) !important; position: relative; }
        .skin-galaxy h2 { text-shadow: 0 0 10px #9b59b6, 0 0 20px #00d2ff; }
        .skin-galaxy .profile-avatar { border-color: #00d2ff; box-shadow: 0 0 20px #9b59b6; }

        .skin-royalgold .glass-card { background: linear-gradient(145deg, rgba(30,30,30,0.98), rgba(15,10,0,0.98)) !important; border: 2px solid #f1c40f !important; box-shadow: 0 0 20px rgba(241, 196, 15, 0.2), inset 0 0 15px rgba(241, 196, 15, 0.05) !important; }
        .skin-royalgold h2, .skin-royalgold h4, .skin-royalgold .stat-value { background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
        .skin-royalgold .profile-avatar { border: 3px solid #f1c40f !important; box-shadow: 0 0 15px rgba(241, 196, 15, 0.5); }

        .skin-highroller .glass-card { background: linear-gradient(135deg, rgba(44, 0, 0, 0.95) 0%, rgba(10, 0, 0, 0.98) 100%) !important; border: 2px solid #e5b13a !important; box-shadow: 0 10px 30px rgba(229, 177, 58, 0.15), inset 0 0 40px rgba(255, 0, 0, 0.1) !important; }
        .skin-highroller .profile-avatar { border-color: #e5b13a; box-shadow: 0 0 20px rgba(229, 177, 58, 0.4); }
        .skin-highroller .stat-box { background: rgba(0,0,0,0.6); border: 1px solid rgba(229, 177, 58, 0.2); }
        .skin-highroller .stat-box:hover { border-color: #e5b13a; }

        .skin-toxic .glass-card { background: rgba(5, 10, 5, 0.98) !important; border: 2px solid #39ff14 !important; box-shadow: 0 0 20px rgba(57, 255, 20, 0.2), inset 0 0 15px rgba(57, 255, 20, 0.1) !important; }
        .skin-toxic h2, .skin-toxic .stat-value { color: #39ff14 !important; text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
        .skin-toxic .profile-avatar { border-color: #39ff14; filter: drop-shadow(0 0 10px #39ff14); }

        .skin-diamond .glass-card { background: linear-gradient(135deg, rgba(0, 21, 31, 0.95) 0%, rgba(0, 59, 79, 0.95) 100%) !important; border: 2px solid #b2ebf2 !important; box-shadow: 0 0 25px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(178, 235, 242, 0.2) !important; backdrop-filter: blur(15px); }
        .skin-diamond h2, .skin-diamond .stat-value { background: linear-gradient(to bottom, #ffffff, #80deea); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .skin-diamond .profile-avatar { border-color: #e0f7fa; box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
        .skin-diamond .stat-box { background: rgba(255,255,255,0.03); border-color: rgba(178, 235, 242, 0.3); }

        .balance-positive { color: #2ecc71; text-shadow: 0 0 15px rgba(46, 204, 113, 0.4); }
        .balance-negative { color: #e74c3c; text-shadow: 0 0 15px rgba(231, 76, 60, 0.4); }
        .profile-section-title { letter-spacing: 1px; }
        .profile-mini-title { letter-spacing: 2px; }

        @media (max-width: 768px) {
            .juicer-profile-wrapper .container.py-5 { padding-top: 1rem !important; }
            .profile-avatar { width: 108px; height: 108px; }
            .navbar .container { padding-left: 10px; padding-right: 10px; }
            .navbar-nav { margin-top: 8px; }
            .navbar-nav .nav-link { padding-top: 8px; padding-bottom: 8px; }
            .dropdown-menu { min-width: 220px; }
        }

        @media (max-width: 576px) {
            .glass-card { padding: 14px !important; }
            .stat-box { padding: 12px; }
            .stat-value { font-size: 1rem; }
            .live-badge { font-size: 0.65rem; padding: 3px 10px; }
            .navbar-brand span { font-size: 0.9rem; }
        }

.profile-side-stats {
    max-width: 100%;
}

.profile-side-stat {
    text-align: center;
    padding: 12px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-side-stat--win {
    border-color: rgba(251, 191, 36, 0.2);
}

.profile-side-stat--balance {
    border-color: rgba(46, 204, 113, 0.2);
}

.profile-side-stat__label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.profile-side-stat__value {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.1;
}

.profile-side-stat__hint {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 4px;
}

.profile-streaks {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-streaks__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.profile-streaks__title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.profile-streaks__tip {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: help;
}

.profile-streaks__tip:hover {
    color: #fbbf24;
}

.profile-streaks__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.profile-streak-stat {
    text-align: center;
    padding: 14px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-streak-stat--daily {
    border-color: rgba(251, 191, 36, 0.2);
    background: linear-gradient(160deg, rgba(251, 191, 36, 0.08), rgba(0, 0, 0, 0.2));
}

.profile-streak-stat--weekly {
    border-color: rgba(52, 152, 219, 0.2);
    background: linear-gradient(160deg, rgba(52, 152, 219, 0.08), rgba(0, 0, 0, 0.2));
}

.profile-streak-stat__icon {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
    opacity: 0.7;
}

.profile-streak-stat--daily .profile-streak-stat__icon {
    color: #fbbf24;
}

.profile-streak-stat--weekly .profile-streak-stat__icon {
    color: #5dade2;
}

.profile-streak-stat__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 4px;
}

.profile-streak-stat__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
    line-height: 1;
}

.profile-streak-stat__best {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.profile-streaks__meta {
    margin: 12px 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.42);
}

.profile-streaks__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

@media (max-width: 520px) {
    .profile-streaks__grid {
        grid-template-columns: 1fr;
    }
}

.profile-edit-panel {
    scroll-margin-top: 88px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.profile-edit-panel__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.profile-edit-tabs .nav-link {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
}

.profile-edit-tabs .nav-link.active {
    background: linear-gradient(135deg, #fbbf24, #ff8000);
    color: #0a0806;
}

/* profile-settings.css loaded via v2PageStyles in profile.ejs */
