/* Theme Switcher Component */
.theme-switcher {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

.theme-switcher-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white, #fff);
    border: var(--border-width, 3px) solid var(--color-black, #000);
    box-shadow: var(--shadow-offset, 6px) var(--shadow-offset, 6px) 0 var(--color-black, #000);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.15s ease;
    position: relative;
}

.theme-switcher-toggle:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--color-black, #000);
}

.theme-switcher-toggle:active {
    transform: translate(var(--shadow-offset, 6px), var(--shadow-offset, 6px));
    box-shadow: 0 0 0 var(--color-black, #000);
}

.theme-switcher-menu {
    position: absolute;
    bottom: 80px;
    left: 0;
    background: var(--color-white, #fff);
    border: var(--border-width, 3px) solid var(--color-black, #000);
    border-radius: var(--radius-default, 4px);
    box-shadow: var(--shadow-offset, 6px) var(--shadow-offset, 6px) 0 var(--color-black, #000);
    padding: 1rem;
    min-width: 200px;
    display: none;
    animation: slideUp 0.3s ease;
}

.theme-switcher-menu.active {
    display: block;
}

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

.theme-switcher-menu h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black, #000);
}

.theme-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.theme-option {
    padding: 0.75rem 1rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: var(--radius-default, 4px);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.15s ease;
    position: relative;
}

.theme-option:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--color-black, #000);
}

.theme-option.active {
    background: var(--color-cyan, #00FFFF);
    border-color: var(--color-black, #000);
}

.theme-option.active::after {
    content: '✓';
    position: absolute;
    right: 1rem;
    font-weight: bold;
}

/* Theme-specific preview colors */
.theme-option[data-theme="default"] {
    background: linear-gradient(90deg, #FF0080 0%, #00FFFF 50%, #FFEB3B 100%);
    color: white;
}

.theme-option[data-theme="bubblegum"] {
    background: linear-gradient(90deg, #ff6fb5 0%, #78e3ff 100%);
    color: white;
}

.theme-option[data-theme="nebula"] {
    background: linear-gradient(90deg, #FF69B4 0%, #9370DB 50%, #00BFFF 100%);
    color: white;
}

.theme-option[data-theme="nordic"] {
    background: linear-gradient(90deg, #88C0D0 0%, #5E81AC 100%);
    color: white;
}

.theme-option[data-theme="voltage"] {
    background: linear-gradient(90deg, #00f0ff 0%, #ff0080 50%, #39ff14 100%);
    color: white;
}

.theme-option[data-theme="cottoncandy"] {
    background: linear-gradient(90deg, #FF99C8 0%, #8EC5FC 50%, #FFE066 100%);
    color: white;
}

.theme-option[data-theme="immersive"] {
    background: linear-gradient(90deg, #333 0%, #666 50%, #999 100%);
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .theme-switcher {
        bottom: 1rem;
        left: 1rem;
    }

    .theme-switcher-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .theme-switcher-menu {
        min-width: 180px;
    }
}

