/* Light Theme Variables */
:root.light-theme,
body.light-theme {
    /* Core Colors - Bronze and Gold Scheme */
    --primary-color: #cd9c48; /* Bronze primary color */
    --primary-hover: #d9b36c;
    --secondary-color: #ffcc33; /* Gold secondary color */
    --secondary-hover: #e6b800;
    --accent-color: #ff7e5f; /* Warm accent for contrast */
    
    /* Neutrals - Light and airy tones */
    --bg-color: #f5f5f5; /* Light background */
    --bg-surface: #ffffff; /* White surface */
    --bg-elevated: #eaeaea; /* Light elevated elements */
    --bg-highlight: rgba(205, 156, 72, 0.15); /* Bronze highlight */
    
    /* Text Colors - Dark and gold tones */
    --text-primary: #333333; /* Dark for primary text */
    --text-secondary: #cd9c48; /* Gold for secondary/highlighted text */
    --text-muted: #777777; /* Muted text */
    
    /* Status Colors - Rich jewel tones */
    --success: #43b581;
    --warning: #faa61a;
    --error: #f04747;
    --info: #5865f2;
    
    /* Borders - Light with gold accents */
    --border-thin: #e0e0e0;
    --border-thick: #d0d0d0;
    --border-gold: rgba(205, 156, 72, 0.3);
    
    /* Effects - Softer lighting */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(205, 156, 72, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 0 15px rgba(255, 204, 51, 0.2);
}

/* Light Theme Background */
:root.light-theme::before,
body.light-theme::before {
    background: #f5f5f5;
}

/* Light Theme Grid Pattern */
:root.light-theme::after,
body.light-theme::after {
    display: none;
}

/* Header in Light Theme */
:root.light-theme .main-header,
body.light-theme .main-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-thin);
}

/* Navigation in Light Theme */
:root.light-theme .nav-links a,
body.light-theme .nav-links a {
    color: var(--text-primary);
}

:root.light-theme .nav-links a:hover,
:root.light-theme .nav-links a.active,
body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
    color: var(--primary-color);
}

:root.light-theme .dropdown-menu,
body.light-theme .dropdown-menu {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-thin);
    box-shadow: var(--shadow-md);
}

/* Boxes in Light Theme */
:root.light-theme .center_box,
:root.light-theme .left_box,
:root.light-theme .right_box,
body.light-theme .center_box,
body.light-theme .left_box,
body.light-theme .right_box {
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-sm);
}

:root.light-theme .box-header,
body.light-theme .box-header {
    background-color: var(--bg-elevated);
    border-bottom: 1px solid var(--border-thin);
}

:root.light-theme .box-header h3,
body.light-theme .box-header h3 {
    color: var(--text-secondary);
}

/* Footer in Light Theme */
:root.light-theme .main-footer,
body.light-theme .main-footer {
    background-color: #f0f0f0;
}

/* Status Card in Light Theme */
:root.light-theme .server-status-card,
body.light-theme .server-status-card {
    background-color: var(--bg-elevated);
}

/* Player Row in Light Theme */
:root.light-theme .player-row,
body.light-theme .player-row {
    background-color: var(--bg-elevated);
}

:root.light-theme .player-row:hover,
body.light-theme .player-row:hover {
    background-color: var(--bg-highlight);
}

:root.light-theme .rank-number,
body.light-theme .rank-number {
    background-color: var(--bg-color);
    color: var(--text-muted);
}

/* Form Elements in Light Theme */
:root.light-theme input,
:root.light-theme select,
body.light-theme input,
body.light-theme select {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-thin);
    color: var(--text-primary);
}

:root.light-theme input:focus,
:root.light-theme select:focus,
body.light-theme input:focus,
body.light-theme select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(205, 156, 72, 0.2);
}

/* Theme Toggle in Light Theme */
:root.light-theme .theme-toggle,
body.light-theme .theme-toggle {
    color: var(--text-primary);
}

:root.light-theme .theme-toggle::before,
body.light-theme .theme-toggle::before {
    background: rgba(205, 156, 72, 0.1);
}

/* Discord Widget in Light Theme */
:root.light-theme .discord-widget-content,
body.light-theme .discord-widget-content {
    background-color: #f0f0f0;
}

:root.light-theme .discord-tagline,
body.light-theme .discord-tagline {
    color: #555555;
}

/* Twitch Widget in Light Theme */
:root.light-theme .twitch-widget-content,
body.light-theme .twitch-widget-content {
    background-color: #f8f9fa;
}

:root.light-theme .twitch-tagline,
body.light-theme .twitch-tagline {
    color: #555555;
}

/* Twitch Widget Streams in Light Theme */
:root.light-theme .twitch-stream-item,
body.light-theme .twitch-stream-item {
    border-bottom: 1px solid rgba(145, 70, 255, 0.2);
}

:root.light-theme .twitch-stream-item:hover,
body.light-theme .twitch-stream-item:hover {
    background-color: rgba(145, 70, 255, 0.1);
}

:root.light-theme .streamer-avatar-small img,
body.light-theme .streamer-avatar-small img {
    border: 2px solid #9146ff;
}

:root.light-theme .streamer-name-small,
body.light-theme .streamer-name-small {
    color: var(--text-primary);
}

:root.light-theme .viewer-count-small,
body.light-theme .viewer-count-small {
    color: var(--text-secondary);
}

:root.light-theme .stream-link-small,
body.light-theme .stream-link-small {
    color: #9146ff;
}

:root.light-theme .stream-link-small:hover,
body.light-theme .stream-link-small:hover {
    background-color: rgba(145, 70, 255, 0.15);
    color: #7c3aed;
}

:root.light-theme .no-streams-widget,
body.light-theme .no-streams-widget {
    color: var(--text-secondary);
}

/* Scrollbar in Light Theme */
:root.light-theme::-webkit-scrollbar,
body.light-theme::-webkit-scrollbar {
    background-color: var(--bg-color);
}

:root.light-theme::-webkit-scrollbar-track,
body.light-theme::-webkit-scrollbar-track {
    background-color: var(--bg-surface);
}

:root.light-theme::-webkit-scrollbar-thumb,
body.light-theme::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
}

:root.light-theme::-webkit-scrollbar-thumb:hover,
body.light-theme::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

/* News Items in Light Theme */
:root.light-theme .news-features,
body.light-theme .news-features {
    background-color: var(--bg-elevated);
}

:root.light-theme .news-features li,
body.light-theme .news-features li {
    border-bottom: 1px solid var(--border-thin);
}

:root.light-theme .read-more,
body.light-theme .read-more {
    background-color: var(--bg-elevated);
}

:root.light-theme .read-more:hover,
body.light-theme .read-more:hover {
    background-color: var(--bg-highlight);
}

/* Table in Light Theme */
:root.light-theme tr:nth-child(2n+1),
body.light-theme tr:nth-child(2n+1) {
    background-color: var(--bg-elevated);
}

:root.light-theme tr:hover,
body.light-theme tr:hover {
    background-color: var(--bg-highlight);
}

:root.light-theme td,
body.light-theme td {
    border-bottom: 1px solid var(--border-thin);
}

/* Login Page in Light Theme */
:root.light-theme .login-box,
body.light-theme .login-box {
    background-color: var(--bg-surface);
}

:root.light-theme .login-header,
body.light-theme .login-header {
    background-color: var(--bg-elevated);
}

:root.light-theme .login-form input,
body.light-theme .login-form input {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-thin);
}

/* Search Components in Light Theme */
:root.light-theme .full-width-input,
body.light-theme .full-width-input {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-thin);
    color: var(--text-primary);
}

:root.light-theme .search-button,
body.light-theme .search-button {
    background: var(--gradient-primary);
    color: #000;
} 

/* Login Form in Light Theme */
:root.light-theme .loginForm input,
body.light-theme .loginForm input {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-thin);
    color: var(--text-primary);
}

:root.light-theme .loginForm input:focus,
body.light-theme .loginForm input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(205, 156, 72, 0.2);
}

:root.light-theme .loginForm .login-button,
body.light-theme .loginForm .login-button {
    background: var(--gradient-primary);
    color: #000;
}

:root.light-theme .loginForm .form-links a,
body.light-theme .loginForm .form-links a {
    color: var(--text-primary);
}

:root.light-theme .loginForm .form-links a:hover,
body.light-theme .loginForm .form-links a:hover {
    color: var(--primary-color);
} 