/* Theme Picker */
.theme-picker {
    position: fixed;
    top: 20px;
    right: 80px;
    z-index: 100;
}
.theme-picker-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.theme-picker-btn:hover {
    border-color: var(--accent);
}
.theme-picker-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 160px;
    box-shadow: 0 8px 30px var(--accent-glow);
}
.theme-picker-dropdown.open {
    display: flex;
}
.theme-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}
.theme-option:hover {
    transform: scale(1.2);
    border-color: var(--accent);
}
.theme-option.active {
    border-color: var(--accent);
}

/* Accent color CSS variables */
:root[data-accent="purple"],
body[data-accent="purple"] {
    --accent: #a855f7;
    --accent-glow: rgba(168, 85, 247, 0.4);
}
:root[data-accent="green"],
body[data-accent="green"] {
    --accent: #22c55e;
    --accent-glow: rgba(34, 197, 94, 0.4);
}
:root[data-accent="fire"],
body[data-accent="fire"] {
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.4);
}

/* Light mode accent overrides */
body.light-mode[data-accent="purple"] {
    --accent: #9333ea;
    --accent-glow: rgba(147, 51, 234, 0.3);
}
body.light-mode[data-accent="green"] {
    --accent: #16a34a;
    --accent-glow: rgba(22, 163, 74, 0.3);
}
body.light-mode[data-accent="fire"] {
    --accent: #ea580c;
    --accent-glow: rgba(234, 88, 12, 0.3);
}

/* Header accent colors */
:root[data-accent="purple"] header h1,
body[data-accent="purple"] header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulsePurple 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
}
:root[data-accent="green"] header h1,
body[data-accent="green"] header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #22c55e 50%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulseGreen 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.6));
}
:root[data-accent="fire"] header h1,
body[data-accent="fire"] header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f97316 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulseFire 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6));
}

/* Light mode header accents */
body.light-mode[data-accent="purple"] header h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #9333ea 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulsePurple 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.5));
}
body.light-mode[data-accent="green"] header h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16a34a 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulseGreen 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(22, 163, 74, 0.5));
}
body.light-mode[data-accent="fire"] header h1 {
    background: linear-gradient(135deg, #1a1a2e 0%, #ea580c 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titlePulseFire 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(234, 88, 12, 0.5));
}

/* Title pulse keyframes */
@keyframes titlePulsePurple {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6)); }
    50% { filter: drop-shadow(0 0 35px rgba(192, 132, 252, 0.9)); }
}
@keyframes titlePulseGreen {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.6)); }
    50% { filter: drop-shadow(0 0 35px rgba(74, 222, 128, 0.9)); }
}
@keyframes titlePulseFire {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.6)); }
    50% { filter: drop-shadow(0 0 35px rgba(251, 146, 60, 0.9)); }
}

/* Card glow on hover */
.server-card:hover {
    box-shadow: 0 0 25px var(--accent), 0 12px 40px var(--accent-glow);
}
