/* ===== ПЕРЕМЕННЫЕ (фиолетовая тема по умолчанию) ===== */
:root,
[data-theme="purple"] {
    --bg-primary: #0a0515;
    --bg-secondary: #150a2a;
    --bg-glass: rgba(20, 15, 40, 0.70);
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(0, 0, 0, 0.4);
    --bg-modal: rgba(14, 10, 30, 0.92);
    --text-primary: #e8d5ff;
    --text-secondary: #b89fd4;
    --text-muted: #6a5080;
    --border-color: rgba(139, 92, 246, 0.20);
    --border-hover: rgba(139, 92, 246, 0.40);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --gradient-start: #8b5cf6;
    --gradient-end: #6366f1;
    --glow-1: rgba(139, 92, 246, 0.25);
    --glow-2: rgba(99, 102, 241, 0.20);
    --glow-3: rgba(139, 92, 246, 0.15);
    --glow-4: rgba(99, 102, 241, 0.10);
    --glow-5: rgba(139, 92, 246, 0.30);
    --glow-6: rgba(99, 102, 241, 0.12);
    --ring-color: rgba(139, 92, 246, 0.08);
    --bg-gradient-start: #2a1a5a;
    --bg-gradient-end: #1a2a6a;
    --card-shadow: 0 8px 32px rgba(0,0,0,0.4);
    --border-radius: 24px;
    --border-radius-sm: 12px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
}

/* ===== ОРАНЖЕВАЯ ТЕМА ===== */
[data-theme="orange"] {
    --bg-primary: #0a0500;
    --bg-secondary: #1a0f00;
    --bg-glass: rgba(30, 20, 0, 0.7);
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(0, 0, 0, 0.4);
    --bg-modal: rgba(20, 10, 0, 0.92);
    --text-primary: #ffedd5;
    --text-secondary: #d4b896;
    --text-muted: #806040;
    --border-color: rgba(255, 107, 0, 0.20);
    --border-hover: rgba(255, 107, 0, 0.40);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --gradient-start: #ff6b00;
    --gradient-end: #ff9a00;
    --glow-1: rgba(255, 107, 0, 0.25);
    --glow-2: rgba(255, 154, 0, 0.20);
    --glow-3: rgba(255, 107, 0, 0.15);
    --glow-4: rgba(255, 154, 0, 0.10);
    --glow-5: rgba(255, 107, 0, 0.30);
    --glow-6: rgba(255, 154, 0, 0.12);
    --ring-color: rgba(255, 107, 0, 0.08);
    --bg-gradient-start: #3a1a00;
    --bg-gradient-end: #2a0a00;
    --card-shadow: 0 8px 32px rgba(255,107,0,0.15);
    --border-radius: 20px;
    --border-radius-sm: 10px;
}

/* ===== ЗЕЛЁНАЯ ТЕМА ===== */
[data-theme="green"] {
    --bg-primary: #000a05;
    --bg-secondary: #001a0f;
    --bg-glass: rgba(0, 30, 15, 0.7);
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(0, 0, 0, 0.4);
    --bg-modal: rgba(0, 15, 10, 0.92);
    --text-primary: #d5ffea;
    --text-secondary: #96d4b8;
    --text-muted: #408060;
    --border-color: rgba(0, 204, 102, 0.20);
    --border-hover: rgba(0, 204, 102, 0.40);
    --shadow-color: rgba(0, 0, 0, 0.6);
    --gradient-start: #00cc66;
    --gradient-end: #33ff88;
    --glow-1: rgba(0, 204, 102, 0.25);
    --glow-2: rgba(51, 255, 136, 0.20);
    --glow-3: rgba(0, 204, 102, 0.15);
    --glow-4: rgba(51, 255, 136, 0.10);
    --glow-5: rgba(0, 204, 102, 0.30);
    --glow-6: rgba(51, 255, 136, 0.12);
    --ring-color: rgba(0, 204, 102, 0.08);
    --bg-gradient-start: #003a1a;
    --bg-gradient-end: #002a10;
    --card-shadow: 0 8px 32px rgba(0,204,102,0.15);
    --border-radius: 20px;
    --border-radius-sm: 10px;
}

/* ===== БАЗА ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* ===== ФОН ===== */
#bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, var(--bg-gradient-start), transparent 60%),
                radial-gradient(ellipse at 80% 70%, var(--bg-gradient-end), transparent 60%);
    animation: bgShift 25s infinite alternate ease-in-out;
    transition: background 1s ease;
}
@keyframes bgShift {
    0% { opacity: 0.8; }
    50% { opacity: 0.9; }
    100% { opacity: 0.8; }
}

.glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--ring-color);
    animation: rotateRing 40s linear infinite;
    pointer-events: none;
    transition: border-color 0.8s;
}
.ring-1 { width: 500px; height: 500px; top: -100px; left: -100px; animation-duration: 30s; }
.ring-2 { width: 700px; height: 700px; bottom: -200px; right: -200px; animation-duration: 45s; animation-direction: reverse; }
@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatGlow 25s infinite alternate ease-in-out;
    will-change: transform, opacity;
    transition: background 0.8s;
}
.s1 { width: 400px; height: 400px; top: 5%; left: 10%; animation-delay: 0s; --tx: 80px; --ty: -60px; --dur: 20s; background: radial-gradient(circle, var(--glow-1), transparent 70%); }
.s2 { width: 350px; height: 350px; top: 70%; left: 80%; animation-delay: 2s; --tx: -100px; --ty: 70px; --dur: 25s; background: radial-gradient(circle, var(--glow-2), transparent 70%); }
.s3 { width: 280px; height: 280px; top: 30%; left: 70%; animation-delay: 4s; --tx: 120px; --ty: 40px; --dur: 22s; background: radial-gradient(circle, var(--glow-3), transparent 70%); }
.s4 { width: 450px; height: 450px; top: 80%; left: 15%; animation-delay: 1s; --tx: -70px; --ty: -90px; --dur: 28s; background: radial-gradient(circle, var(--glow-4), transparent 70%); }
.s5 { width: 220px; height: 220px; top: 45%; left: 40%; animation-delay: 3s; --tx: 150px; --ty: -50px; --dur: 18s; background: radial-gradient(circle, var(--glow-5), transparent 70%); }
.s6 { width: 300px; height: 300px; top: 15%; left: 55%; animation-delay: 5s; --tx: -130px; --ty: 80px; --dur: 26s; background: radial-gradient(circle, var(--glow-6), transparent 70%); }

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(var(--tx), var(--ty)) scale(1.3); opacity: 0.5; }
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
#app {
    max-width: 1300px;
    width: 100%;
    min-height: 90vh;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--border-radius);
    padding: 28px 32px;
    box-shadow: 0 30px 80px var(--shadow-color), 0 0 0 1px var(--border-color);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed) ease;
}
#app::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%, rgba(255,255,255,0.01) 100%);
    pointer-events: none;
    z-index: 0;
}
header, main, footer { position: relative; z-index: 1; }

/* ===== ШАПКА ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}
.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo .glitch {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo span:last-child {
    color: var(--text-primary);
    font-weight: 400;
}
.logo .badge-premium {
    font-size: 9px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10;
}
.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 4px;
    transition: 0.3s;
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.25s;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}
nav a i { font-size: 14px; }
nav a:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color);
    color: var(--text-primary);
}
nav a.active {
    background: rgba(139,92,246,0.12);
    border-color: rgba(139,92,246,0.2);
    color: var(--text-primary);
}

.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
#user-info {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
#user-info i { color: var(--text-muted); }

/* ===== КНОПКИ ===== */
.btn-login {
    position: relative;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(74, 124, 247, 0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(74, 124, 247, 0.3);
}
.btn-login.btn-register {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.btn-login.btn-register:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}
#logout-btn {
    background: rgba(255, 70, 70, 0.08);
    border: 1px solid rgba(255, 70, 70, 0.15);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.25s;
}
#logout-btn:hover {
    background: rgba(255, 70, 70, 0.15);
    border-color: #ff5555;
    color: #ff8888;
}

.buy-key, .btn-beta, .toggle-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(74, 124, 247, 0.15);
}
.buy-key:hover, .btn-beta:hover, .toggle-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(74, 124, 247, 0.25);
}

/* ===== СТАТУС-БАР ===== */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 8px;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.6); opacity: 0.5; }
}
#statusBarText {
    color: var(--text-secondary);
    font-weight: 500;
}
#statusBarInfo {
    color: var(--text-muted);
    font-size: 12px;
}

/* ===== ПЛАВАЮЩАЯ КНОПКА ВЫБОРА ТЕМ ===== */
.theme-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.theme-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-float-btn:hover {
    transform: scale(1.1);
    border-color: var(--gradient-start);
    box-shadow: 0 0 30px var(--shadow-color), 0 0 20px var(--gradient-start);
}
.theme-float-menu {
    display: none;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.3s;
}
.theme-float-menu.open {
    display: flex;
}
.theme-option {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.theme-option:hover {
    transform: scale(1.15);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.theme-option.active {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

/* ===== МОДАЛЬНЫЕ ОКНА (С АНИМАЦИЕЙ) ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal.show {
    display: flex;
}
.modal-content {
    background: var(--bg-modal);
    backdrop-filter: blur(16px);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    max-width: 420px;
    width: 92%;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 40px 80px var(--shadow-color);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}
.modal.show .modal-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.modal.closing .modal-content {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}
.close {
    position: absolute;
    top: 12px;
    right: 22px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.2s;
}
.close:hover { color: var(--text-primary); transform: rotate(90deg); }
.modal-content h2 {
    margin-bottom: 20px;
    color: var(--text-primary);
}
.modal-input {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    font-size: 16px;
}
.modal-input:focus {
    outline: none;
    border-color: var(--gradient-start);
    box-shadow: 0 0 15px rgba(130,70,255,0.3);
}
.modal-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    width: 100%;
    margin-top: 8px;
}
.modal-btn:hover {
    box-shadow: 0 0 30px rgba(130,70,255,0.5);
}
.modal-hint {
    margin-top: 16px;
    color: var(--text-muted);
}
.modal-hint a {
    color: var(--gradient-start);
    cursor: pointer;
    text-decoration: underline;
}
.modal-hint a:hover {
    color: var(--text-primary);
}

/* ===== КНОПКА DISCORD ===== */
.social-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}
.social-divider span {
    padding: 0 12px;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5865F2;
    border: none;
    color: #fff;
    padding: 12px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    width: 100%;
    margin-top: 8px;
}
.social-btn:hover {
    background: #4752c4;
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}
.social-btn i {
    font-size: 20px;
}

/* ===== КОНТЕНТ СТРАНИЦ ===== */
main { flex: 1; display: flex; flex-direction: column; }
.page {
    padding: 30px 0 10px 0;
    animation: fadeUp 0.6s ease;
    flex: 1;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2, h3 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}
h1 { font-size: 2.6rem; margin-bottom: 6px; }
h1 .highlight { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { font-size: 1.2rem; color: var(--text-muted); }
.subtitle .accent { color: var(--text-secondary); }
h2 { font-size: 2rem; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
h2 i { color: var(--gradient-start); }
h3 { font-size: 1.4rem; margin-bottom: 14px; }

.hero { margin-bottom: 30px; }
.hero-badge {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge i { color: var(--gradient-start); }

.stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 25px 0;
}
.stat-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 16px 28px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.3s;
    box-shadow: var(--card-shadow);
    color: var(--text-primary);
}
.stat-item i {
    color: var(--gradient-start);
    font-size: 22px;
}
.stat-item .stat-label {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-muted);
}
.stat-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.beta-status {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}
.status-item i { color: var(--gradient-start); font-size: 18px; }

.mod-description {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px 25px;
    margin: 20px 0;
    color: var(--text-secondary);
    line-height: 1.7;
}
.mod-description h3 {
    color: var(--text-primary);
    margin-top: 18px;
    margin-bottom: 10px;
}
.mod-description ul {
    padding-left: 22px;
}
.mod-description li {
    margin-bottom: 8px;
}
.mod-description strong {
    color: var(--text-primary);
}
.mod-description em {
    color: var(--text-muted);
}

/* Сетка GIF */
.gif-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 30px 0;
}
.gif-item {
    flex: 1 1 200px;
    max-width: 280px;
    height: 180px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gif-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.gif-item:hover {
    transform: scale(1.04);
    border-color: var(--border-hover);
    box-shadow: 0 0 40px var(--shadow-color);
}

/* Магазин */
#shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 30px 0;
}
.shop-item {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    box-shadow: var(--card-shadow);
    position: relative;
}
.shop-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.shop-item .shop-icon {
    font-size: 32px;
    color: var(--gradient-start);
    margin-bottom: 10px;
}
.shop-item h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.shop-item .price {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 10px 0;
}
.shop-item.featured {
    border-color: var(--gradient-start);
    box-shadow: 0 0 40px var(--shadow-color), 0 0 20px var(--gradient-start);
}
.shop-item .featured-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#beta-apply-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 30px;
}
#beta-text {
    width: 100%;
    height: 80px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    transition: 0.2s;
}
#beta-text:focus {
    outline: none;
    border-color: var(--gradient-start);
}

/* Инвентарь */
#inventory-list {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin: 16px 0;
}

/* Админка */
.admin-controls {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}
.admin-controls div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 15px 0;
}
.admin-controls label {
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-controls hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

/* Уведомления */
#notifications {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}
.notification {
    background: var(--bg-modal);
    backdrop-filter: blur(12px);
    border-left: 4px solid var(--gradient-start);
    padding: 16px 22px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 12px 40px var(--shadow-color);
    animation: slideIn 0.5s ease;
    color: var(--text-primary);
    font-weight: 500;
}
@keyframes slideIn {
    from { transform: translateX(60px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.notification.error { border-left-color: #ef4444; }
.notification.success { border-left-color: #22c55e; }

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    #app { padding: 24px; min-height: 85vh; }
    h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .burger { display: flex; }
    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--bg-glass);
        backdrop-filter: blur(16px);
        padding: 20px;
        border-radius: var(--border-radius);
        margin-top: 12px;
        border: 1px solid var(--border-color);
    }
    nav.open { display: flex; }
    nav a { width: 100%; justify-content: center; padding: 12px 0; }
    .user-area { margin-left: auto; }
    #user-info { font-size: 13px; }
    .stats { flex-direction: column; gap: 12px; }
    .stat-item { padding: 14px 20px; font-size: 16px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    #shop-items { grid-template-columns: 1fr 1fr; }
    .modal-content { padding: 25px 20px; }
    #app { padding: 16px; min-height: 75vh; }
    .gif-item { flex: 1 1 100%; max-width: 100%; height: auto; min-height: 150px; }
    .theme-float { bottom: 20px; right: 20px; }
    .theme-float-btn { width: 48px; height: 48px; font-size: 20px; }
    .theme-option { width: 38px; height: 38px; font-size: 16px; }
}
@media (max-width: 480px) {
    body { padding: 10px; }
    #app { padding: 14px; border-radius: var(--border-radius-sm); min-height: 70vh; }
    .logo { font-size: 22px; }
    .btn-login { font-size: 13px; padding: 8px 16px; }
    #shop-items { grid-template-columns: 1fr; }
    .admin-controls div { flex-direction: column; align-items: stretch; }
    h1 { font-size: 1.6rem; }
    .hero-badge { gap: 8px; }
    .badge { font-size: 12px; padding: 4px 12px; }
    .theme-float { bottom: 15px; right: 15px; }
    .theme-float-btn { width: 44px; height: 44px; font-size: 18px; }
    .theme-option { width: 34px; height: 34px; font-size: 14px; }
}