/* MBE PIG POINTS - Consolidated Styles */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

/* Mystery Box Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4); }
}

@keyframes confetti {
    0% { transform: translateY(-100px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}

/* ==============================================
   RESET & BASE STYLES
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3, #fbcfe8);
    margin: 0;
    padding: 0;
    padding-bottom: 60px; /* Space for floating status bar */
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layout */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #FF69B4, #FF1493, #DA70D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(255, 105, 180, 0.3);
    margin-bottom: 10px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

.subtitle {
    font-size: 1.5rem;
    color: #8B008B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(255, 105, 180, 0.4);
    min-height: 2.5rem;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pig-emoji {
    font-size: 4rem;
    display: inline-block;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Cards */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.9));
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    border: 2px solid rgba(255, 105, 180, 0.3);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 2rem;
    background: linear-gradient(45deg, #FF1493, #DA70D6, #8B008B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(255, 105, 180, 0.3);
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.1));
}

/* Login Section */
.login-section {
    text-align: center;
}

/* Status and Welcome Messages */
.status-message {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid #4CAF50;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
    color: #2E7D32;
}

.welcome-message {
    background: rgba(33, 150, 243, 0.1);
    border: 2px solid #2196F3;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    font-weight: bold;
    color: #1976D2;
}

/* Player Controls */
.player-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.player-info {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #FFC107;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #F57C00;
}

/* Form Groups */
.form-group {
    margin: 15px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

#loadingIndicator {
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    color: #666;
}

/* ==============================================
   ANIMATIONS & EFFECTS
   ============================================== */
/* Beer Bubbles Animation */
.beer-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Danger Zone Pulse Animation */
@keyframes dangerPulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Danger Zone Flash Animation */
@keyframes dangerFlash {
    0%, 50%, 100% { background-color: #ff0000; }
    25%, 75% { background-color: #ff4500; }
}

/* ==============================================
   NAVIGATION & BUTTONS
   ============================================== */
/* Navigation Buttons - CONSISTENT STYLE */
.nav-btn, .nav-link, .nav-tab {
    background: linear-gradient(45deg, #FF69B4, #FF1493, #DA70D6) !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    text-decoration: none !important;
    color: white !important;
    display: inline-block !important;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.nav-btn:hover, .nav-link:hover, .nav-tab:hover {
    background: linear-gradient(45deg, #E91E63, #C2185B, #9C27B0) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.nav-btn.active, .nav-link.active, .nav-tab.active {
    background: linear-gradient(45deg, #8B008B, #4B0082, #663399) !important;
    color: #FFD700 !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    box-shadow: 0 4px 15px rgba(139,0,139,0.4) !important;
}

/* Login and Main Action Buttons */
.login-btn, .god-btn, .transfer-btn, .action-btn, .player-login-btn {
    background: linear-gradient(45deg, #daa520, #f0e68c);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.login-btn:hover, .god-btn:hover, .transfer-btn:hover, .action-btn:hover, .player-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Special Player Login Button - Extra Pig Theme */
.player-login-btn {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    animation: pigBounce 3s infinite ease-in-out;
}

.player-login-btn:hover {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

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

.god-btn {
    background: linear-gradient(45deg, #9370db, #dda0dd);
    color: white;
}

/* Special Buttons */
.hogwash-btn {
    background: linear-gradient(45deg, #FF69B4, #FF1493, #DA70D6);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
    animation: pigPulse 2s infinite;
    margin: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hogwash-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 30px rgba(255, 105, 180, 0.8);
    background: linear-gradient(45deg, #FF1493, #DA70D6, #8B008B);
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(255, 107, 107, 0.8); }
    100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }
}

@keyframes pigPulse {
    0% { 
        box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 8px 30px rgba(255, 105, 180, 0.8);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 5px 20px rgba(255, 105, 180, 0.5);
        transform: scale(1);
    }
}

@keyframes crownGlow {
    0% { 
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
        border-color: #FFD700;
    }
    50% { 
        box-shadow: 0 6px 25px rgba(255, 215, 0, 0.9);
        border-color: #FFA500;
    }
    100% { 
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
        border-color: #FFD700;
    }
}

/* ==============================================
   MODALS & OVERLAYS
   ============================================== */
/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2147483646; /* Second highest z-index (Danger Zone gets the max) */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
}

.close:hover {
    color: #000;
}

/* ==============================================
   LEADERBOARD & TABLES
   ============================================== */
.leaderboard {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.9));
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 105, 180, 0.3);
}

.leaderboard h1 {
    text-align: center;
    color: #8B4513;
    margin-bottom: 25px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Leaderboard Players */
.player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin: 8px 0;
    background: linear-gradient(90deg, #FF69B4, #FF1493, #DA70D6);
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(255, 105, 180, 0.3);
    transition: transform 0.2s ease;
    list-style: none;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.player:hover {
    transform: translateY(-2px);
}

.player.pig {
    background: linear-gradient(90deg, #8B008B, #4B0082, #663399);
    box-shadow: 0 3px 10px rgba(139, 0, 139, 0.4);
}

.player.leader {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00);
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
    animation: crownGlow 2s infinite ease-in-out;
}

.player.god-player {
    background: linear-gradient(90deg, #ffd700, #fff8dc, #ffd700);
    border: 2px solid #daa520;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Generic player-row for other pages */
.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin: 10px 0;
    background: linear-gradient(45deg, #fff, #f9f9f9);
    border-radius: 10px;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.player-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.player-name {
    font-weight: bold;
    font-size: 1.3rem;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* For other pages that might use player-name differently */
.player-row .player-name {
    font-size: 1.3rem;
}

.pig-insult {
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
    font-style: italic;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Points styling for leaderboard */
.points {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Player score for other pages */
.player-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

/* Edit score button */
.edit-score-btn {
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.edit-score-btn:hover {
    background: #1976D2;
    transform: scale(1.1);
}

/* ==============================================
   ACTIVITY FEED
   ============================================== */
.activity-feed {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.9));
    border-radius: 15px;
    padding: 25px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 105, 180, 0.3);
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: linear-gradient(45deg, #fff, #f9f9f9);
    border-radius: 10px;
    border-left: 4px solid #2196F3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.activity-time {
    font-size: 0.9rem;
    color: #666;
    margin-right: 15px;
    min-width: 60px;
}

.activity-text {
    flex: 1;
    font-size: 1rem;
}

.activity-emoji {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Clickable proof activities */
.clickable-proof {
    cursor: pointer;
    border-left-color: #FF9800 !important;
}

.clickable-proof:hover {
    background: linear-gradient(45deg, #fff8e1, #ffecb3) !important;
}

.view-proof-hint {
    color: #2196F3;
    font-size: 0.9em;
    margin-left: 8px;
}

/* ==============================================
   STATUS BAR & FLOATING ELEMENTS
   ============================================== */
.floating-status {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(76, 175, 80, 0.95);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    font-size: 0.9rem;
}

/* ==============================================
   FORMS & INPUTS
   ============================================== */
input[type="text"], input[type="number"], textarea, select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    margin: 8px 0;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="number"]:focus, textarea:focus, select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* ==============================================
   SPECIAL MODALS & ALERTS
   ============================================== */

/* DANGER ZONE ALERT - MAXIMUM PRIORITY STYLING */
#dangerZoneAlert {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 2147483647 !important; /* Maximum possible z-index */
    justify-content: center !important;
    align-items: center !important;
    backdrop-filter: blur(5px) !important;
    animation: none !important;
}

#dangerZoneAlert .modal-content {
    background: linear-gradient(45deg, #ff0000, #ff4500, #ff0000) !important;
    color: white !important;
    text-align: center !important;
    border: 5px solid #ff0000 !important;
    animation: dangerPulse 0.5s infinite alternate !important;
    box-shadow: 0 0 50px #ff0000, 0 0 100px #ff0000 !important;
    border-radius: 15px !important;
    padding: 40px !important;
    max-width: 600px !important;
    width: 90% !important;
    position: relative !important;
    transform: none !important;
}

#dangerZoneAlert h1 {
    font-size: 4rem !important;
    margin: 20px 0 !important;
    text-shadow: 3px 3px 0px #000, 0 0 20px #fff !important;
    font-weight: bold !important;
    letter-spacing: 3px !important;
    animation: dangerFlash 1s infinite !important;
}

#dangerZoneAlert h2 {
    font-size: 2rem !important;
    margin: 15px 0 !important;
    text-shadow: 2px 2px 0px #000 !important;
    color: #ffff00 !important;
}

#dangerZoneAlert p {
    font-size: 1.5rem !important;
    margin: 10px 0 !important;
    text-shadow: 1px 1px 0px #000 !important;
    font-weight: bold !important;
}

/* Ensure Danger Zone alert is above everything else */
#dangerZoneAlert * {
    pointer-events: auto !important;
    user-select: none !important;
}
/* Upload Proof Modal Styles */
#uploadProofModal .modal-content {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Upload Moment Modal Styles */
#uploadMomentModal .modal-content {
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Mobile optimizations for upload moment modal */
@media (max-width: 768px) {
    #uploadMomentModal .modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    /* Reduce image size on mobile for upload moment */
    #uploadMomentModal #momentCameraPreview,
    #uploadMomentModal #momentPhotoPreview {
        max-width: 250px !important;
    }
}

#proofViewerModal {
    display: none;
}

#proofViewerModal.show {
    display: flex !important;
}

#proofViewerModal .modal-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    margin: 20px;
}

/* Drink Assignment Alert Styles */
.drink-assignment-alert {
    background: linear-gradient(45deg, #4CAF50, #45a049) !important;
    color: white !important;
    border: 3px solid #2E7D32 !important;
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5) !important;
}

.drink-assignment-alert h2 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

/* ==============================================
   FLOATING STATUS BAR
   ============================================== */
/* Floating Status Bar */
.status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(45deg, #FF69B4, #FF1493, #DA70D6);
    color: #4B0082;
    padding: 10px 20px;
    display: none; /* Hidden by default */
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
    font-weight: bold;
}

.status-bar.visible {
    display: flex !important;
}

.status-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-points {
    font-weight: bold;
    color: #2E0854;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

.status-logout {
    background: rgba(75,0,130,0.8);
    border: 2px solid #4B0082;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s ease;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif;
}

.status-logout:hover {
    background: rgba(255,255,255,0.3);
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .title {
        font-size: 2rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
        min-height: 2rem;
        line-height: 1.25;
    }
    
    .pig-emoji {
        font-size: 3rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        padding: 15px;
    }
    
    .card-title {
        font-size: 1.5rem;
    }
    
    .leaderboard, .activity-feed {
        padding: 15px;
        margin: 10px auto;
    }
    
    .leaderboard h1 {
        font-size: 2rem;
    }
    
    .player {
        padding: 8px 10px;
        font-size: 0.95rem;
    }
    
    /* Status Bar Mobile */
    .status-bar {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .status-logout {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .player-row {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .points {
        font-size: 1.2rem;
    }
    
    .nav-btn, .nav-link, .nav-tab {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        margin: 5px !important;
    }
    
    .transfer-btn, .action-btn {
        padding: 12px 24px;
        font-size: 1rem;
        margin: 8px 3px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .pig-emoji {
        font-size: 3rem;
    }
    
    #uploadProofModal .modal-content {
        margin: 10px;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
    }
    
    .floating-status {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        text-align: center;
        font-size: 0.8rem;
        padding: 10px 15px;
    }
    
    /* DANGER ZONE ALERT - MOBILE OPTIMIZATION */
    #dangerZoneAlert .modal-content {
        padding: 20px !important;
        margin: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
    }
    
    #dangerZoneAlert h1 {
        font-size: 2.5rem !important;
        margin: 15px 0 !important;
        line-height: 1.2 !important;
    }
    
    #dangerZoneAlert h2 {
        font-size: 1.5rem !important;
        margin: 10px 0 !important;
    }
    
    #dangerZoneAlert p {
        font-size: 1.2rem !important;
        margin: 8px 0 !important;
    }
    
    /* Mobile pig insult styling */
    .pig-insult {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .player-name {
        font-size: 1.1rem;
    }
    
    /* Mobile jukebox button */
    .jukebox-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem !important;
    }
    
    .jukebox-btn img {
        width: 18px !important;
        height: 18px !important;
        margin-right: 6px !important;
    }
}

/* ==============================================
   HOGWASH WHEEL ANIMATIONS
   ============================================== */
@keyframes wheelGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 50px rgba(255, 215, 0, 0.8), 0 0 70px rgba(255, 215, 0, 0.4); }
}

@keyframes pointerBounce {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spinButtonExcite {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wheel-spinning #wheelPointer {
    animation: pointerBounce 0.3s infinite;
}

.wheel-ready #hogwashWheel {
    animation: wheelGlow 2s infinite;
}

.spin-button-ready {
    animation: spinButtonExcite 2s infinite !important;
}

/* HOGWASH Slot Machine Animations */
@keyframes slotSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

@keyframes slotLightsFlash {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes slotWinnerGlow {
    0%, 100% { 
        box-shadow: 0 0 10px #FFD700;
        background: #FFD700;
    }
    50% { 
        box-shadow: 0 0 20px #FFD700, 0 0 30px #FFD700;
        background: #FFFF00;
    }
}

@keyframes slotButtonExcite {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    25% { 
        transform: scale(1.1) rotate(-2deg);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
    75% { 
        transform: scale(1.1) rotate(2deg);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    }
}

@keyframes slotReelSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-70px); }
}

.slot-machine-spinning .slot-lights-left,
.slot-machine-spinning .slot-lights-right {
    animation: slotLightsFlash 0.3s ease-in-out infinite;
}

.slot-machine-spinning .winner-line {
    animation: slotWinnerGlow 0.5s ease-in-out infinite;
}

.slot-spin-btn-ready {
    animation: slotButtonExcite 2s ease-in-out infinite !important;
}

.slot-reel {
    transition: transform 0.1s ease-out;
}

.slot-reel.spinning {
    transition: none;
}

.slot-option {
    /* Height is now set dynamically based on weight */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.slot-option.winner {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #8B4513 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: slotWinnerGlow 1s ease-in-out infinite;
}

/* Pig-Themed Animations for Maximum Silliness! 🐷 */
@keyframes pigSweat {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: scale(1.1) rotate(-2deg);
        filter: hue-rotate(10deg);
    }
    50% { 
        transform: scale(0.95) rotate(2deg);
        filter: hue-rotate(-10deg);
    }
    75% { 
        transform: scale(1.05) rotate(-1deg);
        filter: hue-rotate(5deg);
    }
}

@keyframes pigTremble {
    0%, 100% { 
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateX(-2px) scale(1.05);
        opacity: 0.9;
    }
    50% { 
        transform: translateX(2px) scale(0.95);
        opacity: 1;
    }
    75% { 
        transform: translateX(-1px) scale(1.02);
        opacity: 0.95;
    }
}

@keyframes pigPanic {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        color: #FFD700;
    }
    20% { 
        transform: scale(1.2) rotate(-5deg);
        color: #FF6B6B;
    }
    40% { 
        transform: scale(0.8) rotate(5deg);
        color: #4ECDC4;
    }
    60% { 
        transform: scale(1.1) rotate(-3deg);
        color: #45B7D1;
    }
    80% { 
        transform: scale(0.9) rotate(3deg);
        color: #96CEB4;
    }
}

/* Removed the chaotic slot machine shaking - too much! 😅 */

/* ==============================================
   UTILITY CLASSES
   ============================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.hidden { display: none !important; }
.visible { display: block !important; }

.success { color: #4CAF50; }
.error { color: #f44336; }
.warning { color: #FF9800; }
.info { color: #2196F3; }

/* ==============================================
   JUKEBOX BUTTON STYLING
   ============================================== */
.jukebox-btn {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    margin: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: pulse 2s infinite !important;
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', sans-serif !important;
}

.jukebox-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
    background: linear-gradient(45deg, #218838, #1e7e34) !important;
}