:root {
    --neon-cyan: #00f0ff;
    --neon-purple: #b300ff;
    --neon-pink: #ff00ea;
    --neon-orange: #ffaa00;
    --neon-red: #ff3333;
    --neon-green: #00ff66;
    
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Exo 2', sans-serif;
    
    --rad: 20px;
    --border-w: 2px;
    --card-w: 1920px;
    --card-h: 1080px;
    --bg-dark: #0a0a0f;
    --card-border-style: solid;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { background: #050508; font-family: var(--font-body); line-height: 1.2; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 15px 0; color: #eee; overflow-x: hidden; transition: background 0.3s; }

.panel { background: rgba(18, 18, 30, 0.95); backdrop-filter: blur(20px); border: 1px solid var(--neon-cyan); border-radius: var(--rad); padding: 20px 30px; width: 90%; max-width: 1000px; margin-bottom: 15px; box-shadow: 0 0 40px rgba(0, 0, 0, 0.5); z-index: 10; text-align: center; }
.panel h1 { font-family: var(--font-head); font-size: 2rem; letter-spacing: 3px; margin-bottom: 1rem; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.theme-selector { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 15px; }
.theme-btn { background: rgba(0,0,0,0.5); border: 1px solid var(--neon-cyan); color: #fff; padding: 6px 15px; border-radius: 5px; cursor: pointer; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; text-transform: uppercase; transition: 0.3s; }
.theme-btn.active, .theme-btn:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 15px var(--neon-cyan); font-weight: bold; }

.input-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }
input[type="text"] { background: #0b0b10; border: 2px solid #333; color: #fff; padding: 10px 18px; border-radius: 8px; font-size: 0.9rem; outline: none; flex: 1 1 200px; transition: 0.3s; }
input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan); }

button#generateBtn { background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan)); border: none; border-radius: 8px; padding: 10px 25px; font-size: 0.9rem; font-family: 'Orbitron', sans-serif; font-weight: 700; letter-spacing: 1px; cursor: pointer; color: #fff; text-transform: uppercase; transition: 0.3s; }
button#generateBtn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.2); }
button:disabled { opacity: 0.5; cursor: not-allowed; }

.progress { display: none; margin: 10px 0; color: var(--neon-cyan); font-family: 'Orbitron'; justify-content: center; align-items: center; gap: 10px;}
.spinner { width: 24px; height: 24px; border: 3px solid rgba(255,255,255,0.2); border-top-color: var(--neon-cyan); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.error { color: #ff3333; display: none; margin-top: 10px; font-weight: bold; }
.download-btn { display: none; margin: 10px auto 0; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green)); color: #000; padding: 10px 25px; border: none; border-radius: 8px; cursor: pointer; font-family: 'Orbitron'; font-weight: 900;}

.viewport { display: none; width: calc(var(--card-w) * 0.98); height: calc(var(--card-h) * 0.98); max-width: 95vw; aspect-ratio: 16 / 9; position: relative; background: #000; border-radius: var(--rad); box-shadow: 0 0 80px rgba(0, 0, 0, 0.5); overflow: hidden; }

/* === ОСНОВА КАРТОЧКИ === */
.steam-card { width: var(--card-w); height: var(--card-h); position: absolute; top: 0; left: 0; transform-origin: top left; font-family: var(--font-body); border: var(--border-w) var(--card-border-style) var(--neon-cyan); box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.95); padding: 20px 50px; overflow: hidden; background-color: var(--bg-dark); }

.card-bg-layer { position: absolute; inset: -50px; background-size: cover; background-position: center; filter: blur(25px) saturate(1.5); opacity: 0.5; z-index: 0; pointer-events: none; }
.card-bg-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(10, 8, 15, 0.7) 0%, rgba(5, 5, 8, 0.98) 100%); z-index: 1; pointer-events: none; }

.grid-bg { position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M60 0L0 0L0 60" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>'); z-index: 2; pointer-events: none; }

.steam-card::before { content: ''; position: absolute; top: -200px; left: -200px; width: 800px; height: 800px; background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%); opacity: 0.2; z-index: 2; pointer-events: none; }
.steam-card::after { content: ''; position: absolute; bottom: -200px; right: -200px; width: 800px; height: 800px; background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); opacity: 0.15; z-index: 2; pointer-events: none; }

.card-inner { position: relative; z-index: 3; display: grid; grid-template-columns: 380px 1fr 480px; gap: 35px; height: 100%; max-height: 100%; }

.orbitron { font-family: var(--font-head); }

.neon-orange { color: var(--neon-orange); text-shadow: 0 0 10px var(--neon-orange); }
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.neon-purple { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple); }
.neon-green { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green); }
.neon-red { color: var(--neon-red); text-shadow: 0 0 10px var(--neon-red); }
.neon-pink { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink); }

.col-left { display: flex; flex-direction: column; gap: 15px; height: 100%; }
.col-center { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-start;}
.col-right { display: flex; flex-direction: column; gap: 15px; height: 98%;}

.game-wrapper { border-radius: var(--rad); padding: 10px 20px; text-align: center; position: relative; }
.main-game { border: var(--border-w) var(--card-border-style) var(--neon-purple); background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.sec-game { border: var(--border-w) var(--card-border-style) var(--neon-red); background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%); box-shadow: 0 0 20px rgba(0,0,0,0.5); } /* margin-bottom: auto убран */

/* НОВЫЙ БЛОК: Артефакт */
.artifact-box { background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%); padding: 10px 15px; border-radius: calc(var(--rad)/2); border-left: 3px solid var(--neon-orange); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); margin-bottom: auto; }
.artifact-title { font-size: 0.8rem; font-weight: 800; color: var(--neon-orange); font-family: var(--font-head); letter-spacing: 1px;}
.artifact-text { font-size: 0.85rem; color: #ddd; font-style: italic; line-height: 1.2; text-align: left; }

.title-tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #fff; padding: 5px 20px; border-radius: var(--rad); font-size: 1rem; font-weight: 700; white-space: nowrap; z-index: 5; line-height: 1; }
.main-game .title-tag { background: var(--neon-purple); box-shadow: 0 0 15px var(--neon-purple); }
.sec-game .title-tag { background: var(--neon-red); box-shadow: 0 0 15px var(--neon-red); }

.game-poster { object-fit: cover; border-radius: calc(var(--rad)/2); margin-top: 10px; border: 1px solid rgba(255,255,255,0.2); }
.main-game .game-poster { max-height: 340px; aspect-ratio: 2 / 3; }
.sec-game .game-poster { width: 85%;}

.game-name { font-size: 1.3rem; font-weight: 900; margin: 10px 0; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;}
.sec-game .game-name { font-size: 1.1rem; margin: 8px 0;}

.stats-row { display: flex; justify-content: center; gap: 8px; width: 100%;}
.stat-box { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.1); border-radius: calc(var(--rad)/2); padding: 6px; flex: 1; min-width: 0;}
.stat-box .val { font-size: 1rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1;}
.stat-box .lbl { font-size: 0.6rem; color: #aaa; text-transform: uppercase; margin-top: 2px;}

.game-quote { margin-top: 10px; font-style: italic; font-size: 0.8rem; color: #ccc; padding: 8px; background: rgba(0,0,0,0.5); border-radius: calc(var(--rad)/2); }
.main-game .game-quote { border-left: 3px solid var(--neon-purple); }
.sec-game .game-quote { border-left: 3px solid var(--neon-red); }

.profile-header { display: flex; align-items: center; gap: 25px; width: 100%; background: rgba(0,0,0,0.5); padding: 20px; border-radius: var(--rad); border: var(--border-w) var(--card-border-style) var(--neon-cyan);}
.avatar-container { position: relative; width: 140px; height: 140px; flex-shrink: 0;}
.avatar-container img { width: 100%; height: 100%; border-radius: calc(var(--rad)*1.2); border: 3px solid var(--neon-cyan); box-shadow: 0 0 20px var(--neon-cyan); object-fit: cover; }
.level-badge { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); background: #000; border: 2px solid var(--neon-cyan); padding: 5px 20px; border-radius: 15px; font-weight: 900; font-size: 1.1rem; color: var(--neon-cyan); white-space: nowrap; line-height: 1;}
.profile-info { flex: 1; display: flex; flex-direction: column; gap: 8px;}
.profile-nick { font-size: 2.2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 15px var(--neon-cyan); color: #fff; line-height: 1;}
.profile-title { font-size: 1.5rem; color: var(--neon-orange); font-weight: 800; letter-spacing: 1px; line-height: 1;}

/* НОВЫЙ БЛОК: Кредо */
.profile-credo { font-size: 0.85rem; color: #aaa; font-style: italic; line-height: 1.2; border-left: 2px solid var(--neon-purple); padding-left: 8px; margin: 2px 0; text-align: left; }

.account-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.acc-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 8px; font-size: 0.8rem; color: #ddd; font-weight: bold;}

.badges-section { width: 100%; margin-top: 10px; margin-bottom: 5px;}
.badges-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; width: 100%; }
.hero-badge { background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%); border: 1px solid rgba(255,255,255,0.15); border-left: 3px solid var(--neon-cyan); border-radius: calc(var(--rad)/2); padding: 3px 15px; display: flex; align-items: center; gap: 12px; }
.hero-badge .icon { font-size: 2.2rem; filter: drop-shadow(0 0 10px var(--neon-cyan)); }
.hero-badge .title { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; line-height: 1.1;}
.hero-badge .desc { font-size: 0.75rem; color: #aaa; margin-top: 2px; line-height: 1.2;}

.loot-section { width: 100%; text-align: center; margin-top: 10px; display: flex; flex-direction: column; align-items: center;}
.loot-cards { display: flex; justify-content: center; align-items: center; height: 190px; position: relative; width: 100%;}
.loot-text-gold { font-size: 1.1rem; font-weight: 900; letter-spacing: 4px; background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; z-index: 10; position: absolute; margin-top: 260px; }
.loot-card-wrapper { position: absolute; transition: 0.3s; display: flex; flex-direction: column; align-items: center;}
.loot-card { width: 115px; height: 160px; border-radius: calc(var(--rad)/2); object-fit: cover; border: 2px solid; background: #000; }
.loot-hours { font-size: 0.75rem; background: rgba(0,0,0,0.95); border: 1px solid; padding: 4px 10px; border-radius: 12px; margin-top: -15px; position: relative; z-index: 10; font-weight: 800; }

.rarity-common { border-color: #888; box-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.rarity-rare { border-color: var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan); }
.rarity-epic { border-color: var(--neon-purple); box-shadow: 0 0 15px var(--neon-purple); }
.rarity-legendary { border-color: var(--neon-orange); box-shadow: 0 0 20px var(--neon-orange); }

.loot-card-wrapper:nth-child(1) { transform: rotate(-20deg) translateX(-180px) translateY(2px); z-index: 1; filter: brightness(0.7); }
.loot-card-wrapper:nth-child(2) { transform: rotate(-12deg) translateX(-90px) translateY(5px); z-index: 2; filter: brightness(0.85); }
.loot-card-wrapper:nth-child(3) { transform: rotate(0deg) scale(1.1); z-index: 4; }
.loot-card-wrapper:nth-child(4) { transform: rotate(12deg) translateX(90px) translateY(5px); z-index: 3; filter: brightness(0.85); }
.loot-card-wrapper:nth-child(5) { transform: rotate(20deg) translateX(180px) translateY(2px); z-index: 1; filter: brightness(0.7); }

.radar-container { width: 600px; height: 390px; position: relative; display: flex; justify-content: center; align-items: center; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%); border-radius: var(--rad); border: 1px solid rgba(255,255,255,0.15); padding: 55px; margin-top: 115px; }
.radar-title { position: absolute; top: -12px; font-weight: 800; letter-spacing: 3px; background: rgba(0,0,0,0.8); padding: 0 15px; border-radius: 5px; z-index: 10; border: 1px solid var(--neon-cyan); color: var(--neon-cyan); }
.chart-wrapper {
    position: relative;
    width: 450px;
    height: 280px;
    z-index: 2;
    bottom: 25px; /* Сдвигаем график визуально, чтобы он не налезал на слабости */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
}
.chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* НОВЫЙ БЛОК: Облако слабостей */
.kryptonite-cloud { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0 13px; z-index: 10; }
.kryptonite-tag { background: rgba(0,0,0,0.8); border: 1px solid var(--neon-red); color: #fff; font-size: 0.65rem; padding: 3px 8px; border-radius: 12px; text-transform: uppercase; font-weight: bold; box-shadow: 0 0 5px rgba(255,51,51,0.3); }

.float-stat { position: absolute; background: rgba(0,0,0,0.85); border: 1px solid; padding: 6px 12px; border-radius: calc(var(--rad)/2); text-align: center; z-index: 3; box-shadow: 0 5px 15px rgba(0,0,0,0.6);}
.fs-tl { top: -15px; left: -10px; border-color: var(--neon-cyan); }
.fs-tr { top: -15px; right: -10px; border-color: var(--neon-orange); }
.fs-bl { bottom: -15px; left: -10px; border-color: var(--neon-pink); }
.fs-br { bottom: -15px; right: -10px; border-color: var(--neon-purple); }

.section-title { font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; line-height: 1;}
.section-title::before { content: ''; display: block; width: 20px; height: 3px; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan);}

.specs-list { display: flex; flex-direction: column; gap: 6px; }
.spec-item { background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%); padding: 8px 12px; border-radius: calc(var(--rad)/2); border-left: 3px solid var(--neon-cyan); display: flex; flex-direction: column; gap: 6px; }
.spec-header { display: flex; justify-content: space-between; align-items: center; }
.spec-name { font-size: 0.9rem; font-weight: 800; color: #fff; text-transform: uppercase;}
.spec-val { font-size: 0.8rem; font-weight: 900; color: var(--neon-cyan); }
.spec-games img { width: auto; height: 42px; border-radius: 4px; object-fit: cover; border: 1px solid rgba(255,255,255,0.1); margin-right: 5px;}

.secret-branch { border: var(--border-w) var(--card-border-style) var(--neon-pink); border-radius: var(--rad); padding: 9px; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%); flex: 1; margin-bottom: auto; }
.secret-branch .section-title::before { background: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink);}
.secret-list { display: flex; flex-direction: column; gap: 2px; margin-top: 5px;}
.secret-item { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: calc(var(--rad)/2); padding: 6px 12px; display: flex; flex-direction: column; gap: 1px; }
.secret-title { font-size: 0.7rem; color: var(--neon-pink); font-weight: bold; text-transform: uppercase;}
.secret-game { font-size: 0.85rem; font-weight: 700; color: #fff; display: flex; justify-content: space-between;}
.secret-desc { font-size: 0.74rem; color: #aaa; font-style: italic; overflow: hidden; text-overflow: ellipsis;}

#hidden4K { position: absolute; left: -9999px; top: -9999px; }


/* ==============================================================
   СИСТЕМА ТЕМ (НАЛОЖЕНИЕ ПОВЕРХ БАЗЫ БЕЗ СДВИГА ВЕРСТКИ)
============================================================== */

/* 1. БАЗОВАЯ ТЕМА (По умолчанию) */
.theme-base { }

/* 2. ФЭНТЕЗИ / СРЕДНЕВЕКОВЬЕ */
.theme-fantasy {
    --neon-cyan: #d4af37; /* Золото */
    --neon-purple: #8b0000; /* Темно-красный */
    --neon-pink: #d2691e; /* Медь */
    --neon-orange: #ff8c00;
    --neon-red: #b22222;
    --neon-green: #2e8b57;
}
.theme-fantasy .neon-cyan, .theme-fantasy .neon-purple, .theme-fantasy .neon-pink, .theme-fantasy .neon-orange, .theme-fantasy .neon-red, .theme-fantasy .neon-green { text-shadow: 2px 2px 4px rgba(0,0,0,0.9); }
.theme-fantasy .grid-bg { background: radial-gradient(circle, rgba(212,175,55,0.05) 2px, transparent 2px); background-size: 20px 20px; opacity: 0.5; }
.theme-fantasy .card-bg-overlay { background: radial-gradient(circle at 50% 50%, rgba(40, 20, 10, 0.7) 0%, rgba(10, 5, 0, 0.98) 100%); }
.theme-fantasy .steam-card { box-shadow: inset 0 0 150px rgba(139,0,0,0.3), inset 0 0 20px #d4af37; }
.theme-fantasy .game-wrapper, .theme-fantasy .profile-header, .theme-fantasy .secret-branch { background: rgba(30, 10, 0, 0.8); box-shadow: inset 0 0 20px rgba(212,175,55,0.1), 0 10px 20px rgba(0,0,0,0.8); }
.theme-fantasy .title-tag { background: linear-gradient(to right, #8b0000, #4a0000); border: 1px solid #d4af37; box-shadow: 0 5px 15px rgba(0,0,0,0.8); }

/* 3. КИБЕРПАНК (Cyberpunk 2077 Style) */
.theme-cyber {
    --neon-cyan: #00f0ff;
    --neon-purple: #fcee0a; /* Cyberpunk Yellow */
    --neon-pink: #ff003c;
    --neon-orange: #ff8200;
    --neon-red: #ff003c;
    --neon-green: #00ffaa;
}
/* Убираем все скругления для интерфейса в стиле имплантов, добавляем наши новые классы */
.theme-cyber .steam-card, .theme-cyber .game-wrapper, .theme-cyber .stat-box, .theme-cyber .title-tag, .theme-cyber .profile-header, .theme-cyber .avatar-container img, .theme-cyber .acc-badge, .theme-cyber .hero-badge, .theme-cyber .loot-card, .theme-cyber .loot-hours, .theme-cyber .radar-container, .theme-cyber .float-stat, .theme-cyber .spec-item, .theme-cyber .spec-games img, .theme-cyber .secret-branch, .theme-cyber .secret-item, .theme-cyber .artifact-box, .theme-cyber .kryptonite-tag { border-radius: 0 !important; }
.theme-cyber .neon-cyan, .theme-cyber .neon-purple, .theme-cyber .neon-pink, .theme-cyber .neon-orange, .theme-cyber .neon-red, .theme-cyber .neon-green { text-shadow: 2px 2px 0px #000; }
.theme-cyber .card-bg-overlay { background: rgba(11, 12, 16, 0.95); }
.theme-cyber .grid-bg { background: linear-gradient(transparent 95%, rgba(0, 240, 255, 0.15) 95%), linear-gradient(90deg, transparent 95%, rgba(0, 240, 255, 0.15) 95%); background-size: 30px 30px; opacity: 1; }
.theme-cyber .game-wrapper, .theme-cyber .profile-header, .theme-cyber .secret-branch { background: rgba(0, 0, 0, 0.8); box-shadow: 4px 4px 0px var(--neon-cyan); }
.theme-cyber .main-game { box-shadow: 4px 4px 0px var(--neon-purple); }
.theme-cyber .sec-game { box-shadow: 4px 4px 0px var(--neon-red); }
.theme-cyber .title-tag { color: #000; font-weight: 900; box-shadow: none; border: 1px solid #000; }
.theme-cyber .steam-card { box-shadow: inset -5px 0 0 rgba(0, 240, 255, 0.8), inset 0 5px 0 rgba(255, 0, 60, 0.8), inset 0 0 150px rgba(0,0,0,0.9); }

/* 4. FALLOUT / ТЕРМИНАЛ */
.theme-fallout {
    --neon-cyan: #1aff80;
    --neon-purple: #1aff80;
    --neon-pink: #1aff80;
    --neon-orange: #1aff80;
    --neon-red: #1aff80;
    --neon-green: #1aff80;
}
.theme-fallout .steam-card { box-shadow: none; }
.theme-fallout .card-bg-overlay { background: rgba(0, 15, 0, 0.95); }
.theme-fallout .grid-bg { background: repeating-linear-gradient(transparent, transparent 2px, rgba(26,255,128,0.1) 2px, rgba(26,255,128,0.1) 4px); opacity: 1; }
.theme-fallout img { filter: grayscale(100%) sepia(100%) hue-rotate(80deg) brightness(0.8) contrast(1.2); } 

/* 5. СИНТВЕЙВ (80-е) */
.theme-synth {
    --neon-cyan: #00ffff;
    --neon-purple: #ff00ff;
    --neon-pink: #ff007f;
    --neon-orange: #ff9900;
}
.theme-synth .card-bg-overlay { background: linear-gradient(180deg, rgba(10,0,30,0.8) 0%, rgba(60,0,60,0.95) 100%); }
.theme-synth .profile-nick, .theme-synth h1, .theme-synth .title-tag { text-shadow: 3px 3px 0px var(--neon-purple), -3px -3px 0px var(--neon-cyan); color: #fff; }
.theme-synth .grid-bg { top: 50%; height: 50%; background: repeating-linear-gradient(0deg, var(--neon-purple), var(--neon-purple) 2px, transparent 2px, transparent 40px), repeating-linear-gradient(90deg, var(--neon-purple), var(--neon-purple) 2px, transparent 2px, transparent 40px); transform: perspective(600px) rotateX(60deg); transform-origin: top; opacity: 0.6; }
.theme-synth .game-wrapper, .theme-synth .profile-header { background: rgba(20, 0, 40, 0.8); }

/* 6. ГОЛОГРАММА / КОСМОС */
.theme-holo {
    --neon-cyan: #aae0ff;
    --neon-purple: #0055ff;
    --neon-pink: #00aaff;
    --neon-orange: #44ccff;
}
.theme-holo .card-bg-overlay { background: rgba(0, 10, 25, 0.85); }
.theme-holo .grid-bg { background: radial-gradient(var(--neon-cyan) 1px, transparent 1px); background-size: 20px 20px; opacity: 0.15; }
.theme-holo .game-wrapper, .theme-holo .profile-header, .theme-holo .secret-branch { background: rgba(0, 85, 255, 0.05); box-shadow: inset 0 0 30px rgba(0,170,255,0.1); border-style: dashed; border-width: 2px;}
.theme-holo .steam-card { border-style: dashed; }
.kryptonite-title {
    width: 100%;
    text-align: center; /* Если блок в правой колонке, можешь поменять на left */
    color: var(--neon-red);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--neon-red);
}

.kryptonite-cont {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    bottom: 30px;
}

.panel {
    position: relative; /* Убеждаемся, что плашка служит якорем */
}

.nav-side-btn {
    position: absolute;
    top: 25px;
    display: flex;
    align-items: center;
    height: 46px;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

/* Вкладка на главной (справа) */
.nav-right, .nav-right2, .nav-right3 {
    background: rgba(18, 18, 30, 0.95);
    backdrop-filter: blur(10px);
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 1px;
    right: -46px; /* Ширина свернутой иконки */
    width: 46px;
    border: 1px solid var(--neon-cyan);
    border-left: none; /* Убираем левую границу */
    border-radius: 0 12px 12px 0;
    box-shadow: 5px 0 15px rgba(0, 240, 255, 0.2);
    flex-direction: row; /* Иконка слева, текст справа */
}

/* Сдвигаем вторую плашку (Чек) ниже первой */
.nav-right2 {
    top: 80px; 
}

.nav-right3
{
    top: 135px; 
}
.nav-right:hover, .nav-right2:hover , .nav-right3:hover{
    width: 190px;
    right: -190px; /* Выдвигаем на ширину текста */
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 5px 0 20px var(--neon-cyan);
    border-color: #fff;
}

.nav-icon {
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.nav-text {
    opacity: 0;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.nav-side-btn:hover .nav-text {
    opacity: 1;
    transition-delay: 0.1s; /* Текст появляется чуть позже начала выезда */
}

/* ==============================================================
   ОБЕРТКА И БЛОК ДОНАТОВ (ИСПРАВЛЕННЫЙ АДАПТИВ И ПОЗИЦИЯ)
============================================================== */
/* ── ФУТЕР с донатом и ссылкой DTF ── */
.site-footer {
    width: 90%;
    max-width: 1000px;          /* та же ширина, что у основной плашки */
    margin: 30px auto 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Плашка доната в футере: текст слева, QR + кнопка справа */
.donation-panel {
    width: 100%;                /* по ширине футера = по ширине основной плашки */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;        /* текст и QR в ряд */
    align-items: center;
    gap: 30px;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255,51,51,0.08), transparent 60%),
        rgba(18, 18, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--neon-red);
    border-radius: var(--rad);
    padding: 12px 28px;
    box-shadow: 0 0 35px rgba(255, 51, 51, 0.25), inset 0 0 30px rgba(255,51,51,0.05);
    color: #eee;
}

.donation-text {
    flex: 1 1 auto;             /* текст занимает всё свободное место слева */
    text-align: left;
}

/* Правая колонка: QR над кнопкой */
.donation-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 170px;
}

/* DTF-ссылка под донатом */
.dtf-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 10px 22px;
    border-radius: 12px;
    transition: 0.3s;
}

/* На узких экранах — донат в столбик (текст сверху, QR снизу) */
@media (max-width: 700px) {
    .donation-panel {
        flex-direction: column;
        gap: 18px;
    }
    .donation-side {
        width: 100%;
    }
}


/* ==============================================================
   ДИНАМИЧЕСКИЙ ТЕКСТ И QR-КОД (ЧТОБЫ НИЧЕГО НЕ ЛОМАЛОСЬ)
============================================================== */

.donation-panel{
margin-top: 40px;}
.donation-panel h2 {
    font-family: var(--font-head);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--neon-red);
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
}

.donation-text p {
    font-size: clamp(0.72rem, 1.1vw, 0.85rem);
    margin-bottom: 4px;
    line-height: 1.4;
    color: #ddd;
    text-align: left;
}

.donation-text p:last-of-type {
    margin-bottom: 0;
}

.donation-text .highlight {
    font-family: var(--font-head);
    color: var(--neon-orange);
    text-align: left;
    font-weight: bold;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.4);
}

/* QR-код в правой колонке */
.donation-panel .qr-code {
    width: 90px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0;
    display: block;
    border-radius: 12px;
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
}

.donate-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--neon-red), #aa0000);
    color: #fff;
    text-decoration: none;
    padding: 6px;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: bold;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.2);
    transition: 0.3s;
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 51, 51, 0.6);
    background: linear-gradient(135deg, #ff4444, var(--neon-red));
}