/* ==========================================================================
   ⚡ PEAKHUB COMPRESSED MASTER DESIGN V6.2
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #07050d;
    color: #e2e8f0;
    min-height: 100vh;
    overflow-x: hidden;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- TABS OVERLAP CONTROL (CRITICAL FIX) --- */
.tab-content {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.tab-content.active-tab {
    display: flex !important;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 260px;
    background: rgba(15, 10, 25, 0.85);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    flex-shrink: 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.menu-item {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    color: #cbd5e1;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(147, 51, 234, 0.3));
    border-color: rgba(168, 85, 247, 0.6);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

#liveClock {
    margin-top: auto;
    font-family: monospace;
    color: #00ffcc;
    font-size: 0.85rem;
    text-align: center;
    padding-top: 20px;
}

/* --- PROFILE WIDGET & STAGE --- */
.profile-widget {
    position: relative;
    width: 85px;
    height: 85px;
    margin: 0 auto 15px auto;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transition: transform 0.3s ease;
}

.profile-widget img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dp-edit-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.75);
    color: #a855f7;
    font-size: 9px;
    text-align: center;
    font-weight: bold;
    padding: 3px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-widget:hover .dp-edit-hint {
    opacity: 1;
}

.profile-widget:hover {
    transform: scale(1.05);
}

.stage-container,
.timer-card,
.insights-container {
    background: linear-gradient(145deg, rgba(22, 15, 36, 0.9), rgba(10, 7, 18, 0.95));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    position: relative;
}

.stage {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px auto;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

#active-avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #a855f7;
    object-fit: cover;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
    z-index: 2;
}

#rank-text {
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

#rank-badge {
    font-size: 1.3rem;
    margin-top: 6px;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.5));
}

/* --- TIMER & CONTROLS --- */
#countdown {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 10px 0;
    text-align: center;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

#beastBtn {
    width: 95%;
    padding: 12px;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    transition: 0.3s;
}

#beastBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.7);
}

#resetBtn {
    padding: 10px 20px;
    background: transparent;
    color: #ff4b2b;
    border: 1px solid #ff4b2b;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

#resetBtn:hover {
    background: rgba(255, 75, 43, 0.1);
}

#share-btn {
    padding: 10px 20px;
    background: #1f1a30;
    color: #fff;
    border: 1px solid #3b2e59;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

#inviteFriendsBtn {
    background: #1f1a30;
    border: 1px solid #3b2e59;
    color: #d8b4fe;
    margin-top: 15px;
    font-size: 0.8rem;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.timer-input-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#taskInput {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #3b2e59;
    background: #0b0914;
    color: #fff;
    outline: none;
}

.controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* --- INSIGHTS GRID & CYBER PILLS --- */
.insights-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    width: 100%;
    max-width: 900px;
    padding: 10px;
}

.cyber-card {
    background: linear-gradient(145deg, rgba(18, 12, 30, 0.95), rgba(8, 5, 15, 0.98));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.cyber-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.card-title {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #a855f7;
    margin-bottom: 15px;
    font-weight: 700;
}

.cyber-stat-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.cyber-stat-pill:hover {
    border-color: rgba(168, 85, 247, 0.9);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.pill-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pill-label {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    color: #94a3b8;
    font-weight: 700;
}

.pill-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.vertical-growth-bar {
    width: 6px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.growth-fill {
    width: 100%;
    background: linear-gradient(to top, #a855f7, #00ffcc);
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
}

.delete-dp-btn {
    background: transparent;
    border: none;
    color: #ff4b2b;
    font-size: 0.7rem;
    cursor: pointer;
    margin-bottom: 8px;
    text-decoration: underline;
}

.neon-text {
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

.neon-green {
    color: #22c55e;
}

.white-text {
    color: #fff;
}

.purple-neon {
    color: #c084fc;
    text-shadow: 0 0 8px rgba(192, 132, 252, 0.4);
}

.circular-progress {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 85px;
    height: 85px;
    background: #0b0714; /* Aapke card ka exact background color */
    border-radius: 50%;
    z-index: 1; /* Center hole ko gradient ke upar rakhne ke liye */
}

/* Inner text ko hole ke upar laane ke liye z-index dena zaroori hai */
.ring-inner-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.xp-text {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    color: #cbd5e1;
    text-align: center;
    line-height: 1.2;
}

.xp-text strong {
    font-size: 1.1rem;
    color: #fff;
}

/* --- MISC & AI COACH --- */
.main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    width: 100%;
}

.bug-report-link {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 10px;
    opacity: 0.5;
    z-index: 9999;
}

#ai-coach-root {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(168, 85, 247, 0.2);
        padding: 20px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .stage-container,
    .timer-card,
    .insights-container {
        max-width: 100%;
        padding: 18px;
    }

    #countdown {
        font-size: 2.8rem;
    }
}







/* ==========================================================================
   ⚡ DURATION BOX & AI COACH STYLES RESTORED
   ========================================================================== */

/* Duration / Timer Settings Input Box */
.timer-settings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 5px;
}

#user-timer-input {
    width: 60px;
    padding: 4px;
    background: #0b0914;
    color: #00ffcc;
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    outline: none;
}

#user-timer-input:focus {
    border-color: #00ffcc;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

/* AI Coach Floating Card */
.ai-coach-card {
    background: rgba(18, 12, 30, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 16px;
    padding: 16px;
    width: 300px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(168, 85, 247, 0.2);
    animation: fadeInCoach 0.4s ease-in-out;
}

.ai-coach-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.ai-badge {
    font-weight: 700;
    font-size: 12px;
    color: #a855f7;
    letter-spacing: 1px;
}

.ai-status {
    font-size: 10px;
    background: #22c55e;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.ai-coach-body {
    font-size: 13px;
    line-height: 1.4;
    color: #cbd5e1;
    margin-bottom: 12px;
    min-height: 35px;
}

.ai-coach-input-area {
    display: flex;
    gap: 8px;
}

.ai-coach-input-area input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.ai-coach-input-area input:focus {
    border-color: #00ffcc;
}

.ai-coach-input-area button {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.ai-coach-input-area button:hover {
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

@keyframes fadeInCoach {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}








/* ==========================================================================
   ⚡ MEGA HORIZONTAL CYBER PILLS (Insights View)
   ========================================================================== */

.insights-master-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    padding: 10px;
}

.mega-cyber-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(18, 12, 30, 0.95), rgba(10, 7, 18, 0.98));
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 18px 22px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mega-cyber-pill:hover {
    border-color: rgba(168, 85, 247, 0.8);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.pill-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pill-title {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #a855f7;
    font-weight: 700;
}

.pill-main-text {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
}

/* Vertical Growth Bar inside Mega Pill */
.mega-cyber-pill .vertical-growth-bar {
    width: 8px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.mega-cyber-pill:hover .growth-fill {
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.9);
}














/* ==========================================================================
   ⚡ SKETCH-BASED INSIGHTS LAYOUT (Vials & Rings)
   ========================================================================== */
/* ==========================================================================
   ⚡ MASTER OVERRIDE: SKETCH INSIGHTS CSS FIX
   ========================================================================== */

.sketch-insights-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 800px !important;
    padding: 10px !important;
}

.sketch-card {
    background: linear-gradient(145deg, rgba(18, 12, 30, 0.95), rgba(8, 5, 15, 0.98)) !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7) !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.sketch-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(168, 85, 247, 0.9) !important;
    box-shadow: 0 12px 35px rgba(168, 85, 247, 0.3) !important;
}

.full-width-card {
    grid-column: 1 / -1 !important;
}

.sketch-card-title {
    font-size: 0.75rem !important;
    letter-spacing: 1.5px !important;
    color: #a855f7 !important;
    margin-bottom: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

/* Vials Layout Fix */
.vials-row {
    display: flex !important;
    justify-content: space-around !important;
    align-items: flex-end !important;
    gap: 20px !important;
    height: 110px !important;
}

.vial-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: transform 0.3s ease !important;
}

.vial-group:hover {
    transform: scale(1.05) !important;
}

.vertical-vial {
    width: 20px !important;
    height: 85px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: flex-end !important;
    overflow: hidden !important;
    padding: 2px !important;
    box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.3) !important;
}

.vial-fill {
    width: 100% !important;
    background: linear-gradient(to top, #a855f7, #00ffcc) !important;
    border-radius: 6px !important;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.6) !important;
    transition: height 0.5s ease !important;
}

.vial-label {
    font-size: 0.75rem !important;
    color: #cbd5e1 !important;
    font-weight: 600 !important;
}

/* Output Section Fix */
.output-flex-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.sketch-ring-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
}

.sketch-circular-progress {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    background: conic-gradient(#a855f7 0deg 270deg, rgba(255, 255, 255, 0.05) 270deg 360deg) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3) !important;
}

.sketch-circular-progress::before {
    content: '' !important;
    position: absolute !important;
    width: 92px !important;
    height: 92px !important;
    background: #0b0714 !important;
    border-radius: 50% !important;
}

.ring-inner-text {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    font-size: 0.7rem !important;
    color: #94a3b8 !important;
}

.ring-inner-text strong {
    display: block !important;
    font-size: 0.95rem !important;
    color: #fff !important;
}

.efficiency-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 180px !important;
}

.horizontal-bar {
    width: 100% !important;
    height: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 2px !important;
}

.horiz-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #a855f7, #00ffcc) !important;
    border-radius: 5px !important;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.7) !important;
}



/* ==========================================================================
   ⚡ DYNAMIC VIALS & PILL INTERIOR DESIGN ENHANCEMENTS
   ========================================================================== */

/* Vial ke andar glowing core effect */
.vial-fill {
    position: relative;
    overflow: hidden;
}

.vial-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 6px;
}

/* Pills aur Sketch Cards ke andar status badge */
.sketch-card {
    position: relative;
    overflow: hidden;
}

.sketch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00ffcc, #a855f7);
    opacity: 0.8;
}

/* Inner Pill Text & Highlight Styling */
.vial-label {
    font-size: 0.7rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #cbd5e1 !important;
}

/* High-Energy Glow for Active Stats */
.sketch-circular-progress {
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4));
}




.sticker-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.sticker-modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.close-sticker-modal {
    position: absolute;
    top: -15px; right: -15px;
    background: #1a1f2c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}
.peakhub-sticker-card {
    width: 360px;
    min-height: 400px;
    border: 1.5px solid rgba(0, 255, 204, 0.5);
    border-radius: 24px;
    padding: 28px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 204, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Image ke upar halka sa dark glass tint taaki text clear chamke */
.peakhub-sticker-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    
    /* Yahan 0.88 ya 0.85 ko badhakar 0.92 ya 0.95 kar dein */
    background: linear-gradient(135deg, rgba(8, 12, 20, 0.84) 0%, rgba(15, 23, 42, 0.86) 100%);
    
    z-index: 1;
}

.peakhub-sticker-card > * {
    position: relative;
    z-index: 2;
}

.sticker-glow-fx {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #00ffcc, #a855f7, #00ffcc);
    z-index: 3;
}

.sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 18px;
}
.sticker-logo { color: #00ffcc; }
.sticker-badge { background: rgba(255, 215, 0, 0.15); color: #ffd700; padding: 3px 8px; border-radius: 6px; }
.avatar-glow-box {
    width: 60px; height: 60px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid #00ffcc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px auto;
    font-size: 24px;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}
.sticker-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.sticker-mission { font-size: 12px; color: #94a3b8; margin-bottom: 20px; padding: 0 10px; line-height: 1.4; }
.sticker-stats-row {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 20px;
}
.s-stat { display: flex; flex-direction: column; gap: 2px; }
.s-label { font-size: 9px; color: #64748b; font-weight: 700; }
.s-val { font-size: 14px; font-weight: bold; color: #fff; }
.s-divider { width: 1px; background: rgba(255, 255, 255, 0.1); }
.sticker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
}
.sticker-url { color: #00ffcc; font-weight: bold; }
.sticker-action-bar {
    display: flex;
    gap: 12px;
    width: 100%;
}
.action-pill {
    flex: 1;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #131b2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.action-pill:hover { background: #1e293b; border-color: #00ffcc; }
.download-btn { background: #00ffcc; color: #0b0f19; border: none; }







/* --- DASHBOARD BUTTONS STYLING --- */
.dashboard-action-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}
.peak-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #131b2e;
    color: #fff;
}
.share-action-btn:hover {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}
.reset-action-btn {
    border-color: rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}
.reset-action-btn:hover {
    background: rgba(255, 77, 77, 0.1);
}
.invite-banner-btn {
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px dashed rgba(0, 255, 204, 0.4);
    padding: 12px 18px;
    border-radius: 12px;
    color: #00ffcc;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.invite-banner-btn:hover {
    background: rgba(0, 255, 204, 0.15);
}

/* --- SUPERIOR STICKER MODAL DESIGN --- */
.sticker-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 7, 13, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.sticker-modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90%;
}
.close-sticker-modal {
    position: absolute;
    top: -16px; right: -16px;
    background: #1a233a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    z-index: 20;
    transition: 0.2s;
}
.close-sticker-modal:hover { background: #ff4d4d; border-color: #ff4d4d; }

/* Gorgeous Glassmorphism Sticker Card */
.peakhub-sticker-card {
    width: 360px;
    background: radial-gradient(circle at top right, rgba(0, 255, 204, 0.08), transparent 40%),
                linear-gradient(145deg, #0d1322 0%, #060911 100%);
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 24px;
    padding: 28px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 204, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sticker-glow-fx {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #00ffcc, #a855f7, #00ffcc);
}
.sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}
.sticker-logo { color: #00ffcc; text-shadow: 0 0 10px rgba(0, 255, 204, 0.4); }
.sticker-badge { background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.3); color: #ffd700; padding: 4px 10px; border-radius: 8px; font-size: 10px; }

.avatar-glow-box {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), rgba(168, 85, 247, 0.2));
    border: 1.5px solid #00ffcc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 26px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}
.sticker-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: 0.5px; }
.sticker-mission { font-size: 12.5px; color: #94a3b8; margin-bottom: 22px; padding: 0 12px; line-height: 1.5; font-style: italic; }

.sticker-stats-row {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 22px;
}
.s-stat { display: flex; flex-direction: column; gap: 3px; }
.s-label { font-size: 9.5px; color: #64748b; font-weight: 700; letter-spacing: 0.5px; }
.s-val { font-size: 15px; font-weight: 800; color: #fff; }
.s-divider { width: 1px; background: rgba(255, 255, 255, 0.08); }

.sticker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}
.sticker-url { color: #00ffcc; font-weight: 700; }

/* Action Buttons Bar */
.sticker-action-bar {
    display: flex;
    gap: 10px;
    width: 360px;
}
.action-pill {
    flex: 1;
    padding: 12px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #131b2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}
.action-pill:hover { background: #1e293b; border-color: #00ffcc; }
.download-pill-btn { background: #00ffcc; color: #0b0f19; border: none; font-weight: 800; }
.download-pill-btn:hover { background: #00e6b8; box-shadow: 0 0 15px rgba(0, 255, 204, 0.4); }




/* ==========================================================================
   ⚡ FINAL FIXED PEAKHUB STICKER & DASHBOARD CSS
   ========================================================================== */

/* --- DASHBOARD BUTTONS STYLING --- */
.dashboard-action-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}
.peak-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #131b2e;
    color: #fff;
}
.share-action-btn:hover {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}
.reset-action-btn {
    border-color: rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}
.reset-action-btn:hover {
    background: rgba(255, 77, 77, 0.1);
}
.invite-banner-btn {
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.08), rgba(168, 85, 247, 0.08));
    border: 1px dashed rgba(0, 255, 204, 0.4);
    padding: 12px 18px;
    border-radius: 12px;
    color: #00ffcc;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.invite-banner-btn:hover {
    background: rgba(0, 255, 204, 0.15);
}

/* --- STICKER MODAL OVERLAY --- */
.sticker-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 7, 13, 0.9);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.sticker-modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90%;
}
.close-sticker-modal {
    position: absolute;
    top: -16px; right: -16px;
    background: #1a233a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex; align-items: center; justify-content: center;
    z-index: 20;
    transition: 0.2s;
}
.close-sticker-modal:hover { background: #ff4d4d; border-color: #ff4d4d; }

/* --- SUPERIOR STICKER CARD DESIGN (Clean & Crash-Free) --- */
.peakhub-sticker-card {
    width: 360px;
    min-height: 400px;
    background: radial-gradient(circle at top right, rgba(0, 255, 204, 0.12), transparent 45%),
                linear-gradient(145deg, #0d1322 0%, #060911 100%);
    border: 1.5px solid rgba(0, 255, 204, 0.5);
    border-radius: 24px;
    padding: 28px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 204, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sticker-glow-fx {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #00ffcc, #a855f7, #00ffcc);
}

.sticker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}
.sticker-logo { color: #00ffcc; text-shadow: 0 0 10px rgba(0, 255, 204, 0.4); }
.sticker-badge { background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.3); color: #ffd700; padding: 4px 10px; border-radius: 8px; font-size: 10px; }

.avatar-glow-box {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), rgba(168, 85, 247, 0.2));
    border: 1.5px solid #00ffcc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 26px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}
.sticker-body h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; letter-spacing: 0.5px; }
.sticker-mission { font-size: 12.5px; color: #94a3b8; margin-bottom: 22px; padding: 0 12px; line-height: 1.5; font-style: italic; }

.sticker-stats-row {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 22px;
}
.s-stat { display: flex; flex-direction: column; gap: 3px; }
.s-label { font-size: 9.5px; color: #64748b; font-weight: 700; letter-spacing: 0.5px; }
.s-val { font-size: 15px; font-weight: 800; color: #fff; }
.s-divider { width: 1px; background: rgba(255, 255, 255, 0.08); }

.sticker-footer {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}
.sticker-url { color: #00ffcc; font-weight: 700; }

/* Action Buttons Bar */
.sticker-action-bar {
    display: flex;
    gap: 10px;
    width: 360px;
}
.action-pill {
    flex: 1;
    padding: 12px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #131b2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}
.action-pill:hover { background: #1e293b; border-color: #00ffcc; }
.download-pill-btn { background: #00ffcc; color: #0b0f19; border: none; font-weight: 800; }
.download-pill-btn:hover { background: #00e6b8; box-shadow: 0 0 15px rgba(0, 255, 204, 0.4); }