/**
 * Альтернативный способ загрузки тем через статический CSS
 * Используется если themes.php недоступен
 */

/* iOS Theme */
.theme-ios {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f9f9f9;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #86868b;
    --accent-primary: #007aff;
    --accent-secondary: #34c759;
    --accent-danger: #ff3b30;
    --accent-warning: #ff9500;
    --border-color: #d2d2d7;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
}

/* Hacker Theme */
.theme-hacker {
    --bg-primary: #0a0a0a;
    --bg-secondary: #000000;
    --bg-tertiary: #0f0f0f;
    --bg-card: #0a0a0a;
    --bg-hover: #1a1a1a;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --text-muted: #008800;
    --accent-primary: #00ff00;
    --accent-secondary: #00ff88;
    --accent-danger: #ff0000;
    --accent-warning: #ffff00;
    --border-color: #003300;
    --border-radius: 0px;
    --border-radius-sm: 0px;
    --shadow-sm: 0 0 10px rgba(0,255,0,0.2);
    --shadow-md: 0 0 20px rgba(0,255,0,0.3);
    --shadow-lg: 0 0 30px rgba(0,255,0,0.4);
    --font-family: "Courier New", "Monaco", "Menlo", monospace;
}

/* Dark Green Theme */
.theme-dark-green {
    --bg-primary: #0a140a;
    --bg-secondary: #151f15;
    --bg-tertiary: #1f2a1f;
    --bg-card: #1a251a;
    --bg-hover: #253025;
    --text-primary: #e0f0e0;
    --text-secondary: #b0d0b0;
    --text-muted: #809080;
    --accent-primary: #4ade80;
    --accent-secondary: #22c55e;
    --accent-danger: #ef4444;
    --accent-warning: #f59e0b;
    --border-color: #2a3a2a;
}

/* Material Theme */
.theme-material {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --bg-card: #1e1e1e;
    --bg-hover: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --accent-primary: #6200ee;
    --accent-secondary: #03dac6;
    --accent-danger: #b00020;
    --accent-warning: #ffab00;
    --border-color: #333333;
    --border-radius: 4px;
    --border-radius-sm: 4px;
}

/* Neon Theme */
.theme-neon {
    --bg-primary: #0a0a0f;
    --bg-secondary: #151520;
    --bg-tertiary: #1a1a2e;
    --bg-card: #16213e;
    --bg-hover: #1f2a4a;
    --text-primary: #e0e0ff;
    --text-secondary: #b0b0ff;
    --text-muted: #8080cc;
    --accent-primary: #00f0ff;
    --accent-secondary: #ff00ff;
    --accent-danger: #ff0066;
    --accent-warning: #ffaa00;
    --border-color: #2a2a4a;
    --shadow-sm: 0 0 10px rgba(0,240,255,0.3);
    --shadow-md: 0 0 20px rgba(0,240,255,0.4);
    --shadow-lg: 0 0 30px rgba(0,240,255,0.5);
}

/* Minimal Theme */
.theme-minimal {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-muted: #9e9e9e;
    --accent-primary: #212121;
    --accent-secondary: #4caf50;
    --accent-danger: #f44336;
    --accent-warning: #ff9800;
    --border-color: #e0e0e0;
    --border-radius: 0px;
    --border-radius-sm: 0px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.16);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.2);
}

/* Специфичные стили для iOS */
.theme-ios body {
    font-weight: 400;
    letter-spacing: -0.01em;
}

.theme-ios .key-card,
.theme-ios .stat-card,
.theme-ios .subscription-card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.theme-ios .btn {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Специфичные стили для Hacker */
.theme-hacker body {
    text-shadow: 0 0 5px rgba(0,255,0,0.5);
}

.theme-hacker .key-card,
.theme-hacker .stat-card {
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0,255,0,0.2);
}

.theme-hacker .key-card:hover {
    box-shadow: 0 0 20px rgba(0,255,0,0.4);
    border-color: var(--accent-secondary);
}

.theme-hacker .status-dot {
    box-shadow: 0 0 10px currentColor;
}

/* Специфичные стили для Dark Green */
.theme-dark-green .key-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.theme-dark-green .btn-primary:hover {
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

/* Специфичные стили для Material */
.theme-material .key-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}

.theme-material .key-card:hover {
    transform: translateY(-2px);
}

.theme-material .btn {
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Специфичные стили для Neon */
.theme-neon .key-card,
.theme-neon .stat-card {
    border: 1px solid var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.theme-neon .key-card:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    border-color: var(--accent-secondary);
}

.theme-neon .status-dot {
    box-shadow: 0 0 10px currentColor;
}

.theme-neon .btn-primary {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.theme-neon .btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

/* Специфичные стили для Minimal */
.theme-minimal .key-card,
.theme-minimal .stat-card {
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.theme-minimal .key-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.theme-minimal .btn {
    border: 1px solid var(--border-color);
    background: transparent;
}

.theme-minimal .btn-primary {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

