/* ==========================================================================
   LOST ARK PERFORMANCE DashBOARD DESIGN SYSTEM
   ========================================================================== */

/* Google Fonts imported in index.html */
:root {
    /* Colors */
    --bg-dark: #07080e;
    --bg-darker: #040508;
    --card-bg: rgba(13, 16, 29, 0.55);
    --card-bg-hover: rgba(20, 24, 43, 0.75);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(255, 255, 255, 0.18);
    
    --text-main: #f3f4f6;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    
    /* Accents & Specialties */
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-emerald: #10b981;
    --accent-red: #f43f5e;
    --accent-gold: #fbbf24;
    
    /* Neon Glows */
    --glow-purple: rgba(168, 85, 247, 0.25);
    --glow-blue: rgba(59, 130, 246, 0.25);
    --glow-emerald: rgba(16, 185, 129, 0.25);
    --glow-red: rgba(244, 63, 94, 0.25);
    --glow-gold: rgba(251, 191, 36, 0.25);

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Glows */
.bg-glow {
    position: fixed;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    filter: blur(120px);
    mix-blend-mode: screen;
}

.bg-glow-1 {
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
    animation: floatGlow1 25s infinite alternate ease-in-out;
}

.bg-glow-2 {
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    bottom: -15vw;
    left: -10vw;
    animation: floatGlow2 30s infinite alternate ease-in-out;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 80px) scale(1.1); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(80px, -80px) scale(0.9); }
}

/* App Layout Container */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
}

/* Header */
.app-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #ffffff 30%, #a855f7 65%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-normal), 
                border-color var(--transition-normal), 
                box-shadow var(--transition-normal),
                background var(--transition-normal);
}

.glass-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 
                0 0 15px 0 rgba(255, 255, 255, 0.02);
}

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

/* Filter Panel styling */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

select {
    width: 100%;
    background-color: rgba(9, 11, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-main);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
}

select:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

select:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25);
}

.filter-info-bar {
    padding-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Target Slots section styling */
.slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.slots-header .section-title {
    margin-bottom: 0;
}

.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Single Target Slot Card */
.slot-card {
    background: rgba(18, 22, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}

.slot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-purple);
    opacity: 0.4;
    transition: opacity var(--transition-normal);
}

/* Colors for Slot items based on index */
.slot-card:nth-child(1)::before { background: var(--accent-purple); opacity: 1; }
.slot-card:nth-child(2)::before { background: var(--accent-blue); opacity: 1; }
.slot-card:nth-child(3)::before { background: var(--accent-emerald); opacity: 1; }
.slot-card:nth-child(4)::before { background: var(--accent-gold); opacity: 1; }

.slot-card:nth-child(1) { box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.03); }
.slot-card:nth-child(2) { box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.03); }
.slot-card:nth-child(3) { box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.03); }
.slot-card:nth-child(4) { box-shadow: inset 0 0 10px rgba(251, 191, 36, 0.03); }

.slot-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.slot-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slot-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.slot-card:nth-child(1) .slot-number { color: var(--accent-purple); }
.slot-card:nth-child(2) .slot-number { color: var(--accent-blue); }
.slot-card:nth-child(3) .slot-number { color: var(--accent-emerald); }
.slot-card:nth-child(4) .slot-number { color: var(--accent-gold); }

/* Slot Level Filters Stack */
.slot-filters-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.slot-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.slot-filter-field label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.slot-target-field {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.85rem;
    margin-top: 0.25rem;
}

.slot-target-field label {
    font-weight: 600;
}

.slot-card:nth-child(1) .slot-target-field label { color: var(--accent-purple); }
.slot-card:nth-child(2) .slot-target-field label { color: var(--accent-blue); }
.slot-card:nth-child(3) .slot-target-field label { color: var(--accent-emerald); }
.slot-card:nth-child(4) .slot-target-field label { color: var(--accent-gold); }

/* Buttons styling */
.btn {
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform var(--transition-fast), 
                box-shadow var(--transition-fast), 
                background var(--transition-fast);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #7e22ce 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b55fe6 0%, #6b21a8 100%);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: #f43f5e;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

.btn-danger:hover {
    background: rgba(244, 63, 94, 0.3);
    border-color: rgba(244, 63, 94, 0.5);
    color: #ffffff;
}

.slot-selection-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    word-break: break-all;
}

.slot-selection-info strong {
    color: var(--text-main);
}

/* Results Layout grid */
.results-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .results-layout {
        grid-template-columns: 1fr 380px;
    }
}

/* Metrics Cards 2x2 grid */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.metric-card {
    position: relative;
    overflow: hidden;
}

.metric-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--glow-color, rgba(255,255,255,0.02)) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

#card-ndps { --glow-color: rgba(168, 85, 247, 0.08); }
#card-dps { --glow-color: rgba(59, 130, 246, 0.08); }
#card-rdps { --glow-color: rgba(16, 185, 129, 0.08); }
#card-udps { --glow-color: rgba(244, 63, 94, 0.08); }

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.metric-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.badge {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid currentColor;
}

.badge-purple { color: var(--accent-purple); background: rgba(168, 85, 247, 0.1); }
.badge-blue { color: var(--accent-blue); background: rgba(59, 130, 246, 0.1); }
.badge-emerald { color: var(--accent-emerald); background: rgba(16, 185, 129, 0.1); }
.badge-red { color: var(--accent-red); background: rgba(244, 63, 94, 0.1); }

/* SVG Chart styling */
.chart-container {
    height: 180px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-bar-bg {
    fill: rgba(255, 255, 255, 0.03);
    rx: 6px;
}

.chart-bar {
    rx: 6px;
    transition: width var(--transition-slow);
}

.chart-bar-0 { fill: var(--accent-purple); filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4)); }
.chart-bar-1 { fill: var(--accent-blue); filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.4)); }
.chart-bar-2 { fill: var(--accent-emerald); filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4)); }
.chart-bar-3 { fill: var(--accent-gold); filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4)); }

.chart-text-name {
    fill: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
}

.chart-text-val {
    fill: var(--text-main);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
}

/* Tables styling */
.metric-table-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 1;
}

.metric-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.metric-table th {
    background: rgba(9, 11, 20, 0.6);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-table td {
    padding: 0.75rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.metric-table tbody tr:last-child td {
    border-bottom: none;
}

.metric-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.015);
    color: #ffffff;
}

.row-slot-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.color-dot-0 { background-color: var(--accent-purple); box-shadow: 0 0 5px var(--accent-purple); }
.color-dot-1 { background-color: var(--accent-blue); box-shadow: 0 0 5px var(--accent-blue); }
.color-dot-2 { background-color: var(--accent-emerald); box-shadow: 0 0 5px var(--accent-emerald); }
.color-dot-3 { background-color: var(--accent-gold); box-shadow: 0 0 5px var(--accent-gold); }

.cell-val {
    font-family: var(--font-heading);
    font-weight: 600;
}

.cell-multiplier {
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: right;
    font-size: 0.9rem;
}

.multiplier-up { color: var(--accent-emerald); }
.multiplier-down { color: var(--accent-red); }
.multiplier-base { color: var(--text-muted); }

/* Sidebar styling */
.summary-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.matrix-select-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.matrix-select-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.matrix-select-group select {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
}

/* Cross matrix layout */
.matrix-container {
    width: 100%;
    overflow-x: auto;
}

.matrix-table-cross {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.matrix-table-cross th, .matrix-table-cross td {
    padding: 0.7rem 0.6rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.matrix-table-cross th {
    background: rgba(9, 11, 20, 0.5);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
}

.matrix-label-cell {
    font-weight: 600;
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matrix-val-cell {
    font-family: var(--font-heading);
    font-weight: 700;
    transition: background-color var(--transition-fast);
}

.matrix-val-self {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    font-weight: 400;
}

.matrix-val-higher {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--accent-emerald);
}

.matrix-val-lower {
    background-color: rgba(244, 63, 94, 0.08);
    color: var(--accent-red);
}

.matrix-legend {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.matrix-legend-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Analysis Card styling */
.analysis-content {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.analysis-p {
    margin-bottom: 0.8rem;
}

.analysis-p:last-child {
    margin-bottom: 0;
}

.analysis-highlight {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
}

.analysis-diff-up {
    color: var(--accent-emerald);
    font-weight: 700;
}

.analysis-diff-down {
    color: var(--accent-red);
    font-weight: 700;
}

/* App Footer Bar */
.app-footer-bar {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .app-container {
        padding: 1.5rem 1rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .glass-card {
        padding: 1.25rem;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .slots-container {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Page View Transitions */
.page-view {
    animation: fadeIn var(--transition-normal) ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    opacity: 1;
    transition: opacity var(--transition-normal) ease-in-out, visibility var(--transition-normal);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-top: 4px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
}

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

/* Navigation Tabs Styling */
.app-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.2rem;
    position: relative;
    z-index: 10;
}

.nav-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.nav-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-tab.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(59, 130, 246, 0.15));
    border-color: var(--accent-purple);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Rankings Table Styling */
.rankings-table {
    width: 100%;
    margin-top: 1rem;
    border-collapse: collapse;
}

.rankings-table th {
    padding: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rankings-table td {
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-fast);
}

.rankings-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.rankings-table tr.rank-1 td {
    color: var(--accent-gold);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.2);
}

.rankings-table tr.rank-2 td {
    color: #cbd5e1; /* Silver */
    font-weight: 600;
}

.rankings-table tr.rank-3 td {
    color: #d97706; /* Bronze */
    font-weight: 600;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #fef08a, #fbbf24);
    color: #1e1b4b;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #f1f5f9, #cbd5e1);
    color: #0f172a;
    box-shadow: 0 0 8px rgba(203, 213, 225, 0.4);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #fed7aa, #ea580c);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(234, 88, 12, 0.4);
}

