/* ============================================
   GLOBAL STYLES – Base, Layout & Utilities
   ============================================ */

/* Body & Background */
body {
    background-color: #0f172a;
    color: #e2e8f0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 20%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #38bdf8; }

/* Glass Panel */
.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Snowflake */
.snowflake {
    position: fixed;
    top: -10px;
    color: #fff;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    to { transform: translateY(105vh); }
}

/* Bottom Navigation */
.nav-dock {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(56, 189, 248, 0.3);
}

/* Scroll margin for sections */
section {
    scroll-margin-top: 100px;
}

/* Highlight Updates link */
.highlight-updates {
    color: #fb923c !important;
    text-shadow: 0 0 10px rgba(251, 146, 60, 0.5);
}

/* Announcement hidden state */
.announcement-hidden {
    display: none;
}

/* Profile picture borders */
.pfp-border-r5 {
    border: 2px solid #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.pfp-border-r4 {
    border: 1px solid #94a3b8;
}

/* Whiteout Survival title effect */
.font-heading {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(56, 189, 248, 0.2);
    letter-spacing: 0.05em;
}

/* Stats badges hover effects */
.inline-flex > div {
    transition: all 0.3s ease;
}
.inline-flex > div:hover {
    transform: translateY(-2px);
}
.inline-flex > div:hover .fa-trophy,
.inline-flex > div:hover .fa-users,
.inline-flex > div:hover .fa-shield-halved {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Pulse animation (general) */
.animate-pulse {
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
