:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --accent-primary: #ff69b4;
    --accent-secondary: #ff1493;
    --accent-tertiary: #ffc0cb;
    --shadow-color: rgba(255, 105, 180, 0.3);
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #ff69b4, #ff1493);
    --gradient-secondary: linear-gradient(135deg, #ffc0cb, #ff69b4);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --accent-primary: #e91e63;
    --accent-secondary: #c2185b;
    --accent-tertiary: #f8bbd9;
    --shadow-color: rgba(233, 30, 99, 0.3);
    --border-color: #dee2e6;
    --gradient-primary: linear-gradient(135deg, #e91e63, #c2185b);
    --gradient-secondary: linear-gradient(135deg, #f8bbd9, #e91e63);
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 10px var(--shadow-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
    box-shadow: 0 0 15px var(--shadow-color);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

.theme-toggle {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(180deg);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.theme-toggle:hover::before {
    left: 100%;
}
