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

:root {
    --bg-primary: #0a0f14;
    --bg-secondary: #0e151c;
    --neon-green: #00e5a0;
    --neon-blue: #00b4ff;
    --neon-cyan: #00d2ff;
    --text-primary: #ffffff;
    --text-secondary: #8a9bae;
    --card-bg: rgba(0, 229, 160, 0.03);
    --card-border: rgba(0, 229, 160, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 600px 600px at 10% 20%, rgba(0,180,255,0.35) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 90% 15%, rgba(0,229,160,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 700px 700px at 50% 80%, rgba(0,180,255,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 5% 85%, rgba(0,210,255,0.2) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 95% 75%, rgba(0,229,160,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 800px 400px at 50% 10%, rgba(0,180,255,0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ===== ФОН ===== */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background:
        radial-gradient(ellipse 600px 600px at 10% 20%, rgba(0,180,255,0.4) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 90% 15%, rgba(0,229,160,0.3) 0%, transparent 70%),
        radial-gradient(ellipse 700px 700px at 50% 80%, rgba(0,180,255,0.35) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 5% 85%, rgba(0,210,255,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 95% 75%, rgba(0,229,160,0.2) 0%, transparent 70%),
        radial-gradient(ellipse 800px 400px at 50% 10%, rgba(0,180,255,0.2) 0%, transparent 70%);
    animation: bgMove 20s ease-in-out infinite alternate;
}

@keyframes bgMove {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    100% { transform: translate(-3%, -3%) rotate(2deg) scale(1.05); }
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 180, 255, 0.9);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.8), 0 0 20px rgba(0, 180, 255, 0.5), 0 0 40px rgba(0, 180, 255, 0.3);
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ===== КАРТОЧКА ===== */
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 6rem;
    overflow: visible;
}

.card {
    background: rgba(10, 15, 20, 0.75);
    border: 2px solid var(--neon-blue);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 12px rgba(0, 180, 255, 0.4),
                0 0 25px rgba(0, 180, 255, 0.4),
                0 0 50px rgba(0, 180, 255, 0.3),
                inset 0 0 12px rgba(0, 180, 255, 0.05);
    animation: cardAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
               neonPulse 3s ease-in-out infinite alternate;
    transform: translateY(30px);
    opacity: 0;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 24px;
    background: url('https://i.pinimg.com/originals/c8/62/0a/c8620a4890206f7ccc617468d821eb07.jpg') center top / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    animation: bgImagePulse 4s ease-in-out infinite alternate;
}

@keyframes bgImagePulse {
    0% { opacity: 0.08; }
    100% { opacity: 0.18; }
}

.card > * {
    position: relative;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.06), transparent);
    animation: shimmer 3s infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes cardAppear {
    to { transform: translateY(0); opacity: 1; }
}

@keyframes neonPulse {
    0% { box-shadow: 0 0 12px rgba(0,180,255,0.4), 0 0 25px rgba(0,180,255,0.4), 0 0 50px rgba(0,180,255,0.3), inset 0 0 12px rgba(0,180,255,0.05); }
    100% { box-shadow: 0 0 20px rgba(0,180,255,0.6), 0 0 40px rgba(0,180,255,0.5), 0 0 70px rgba(0,180,255,0.4), inset 0 0 20px rgba(0,180,255,0.08); }
}

/* ===== АВАТАР ===== */
.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.avatar-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--neon-green);
    border-right-color: var(--neon-blue);
    animation: ringRotate 3s linear infinite;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.avatar {
    position: absolute;
    top: 6px;
    left: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.avatar-placeholder {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== ИМЯ ===== */
.name {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Печатная машинка */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--neon-blue);
    white-space: nowrap;
    width: 0;
    animation: typeWriter 2s steps(15, end) 0.5s forwards,
               blinkCursor 0.7s step-end 0.5s 4,
               removeCursor 0.01s 3.5s forwards;
    display: inline-block;
    max-width: 100%;
}

@keyframes typeWriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-blue); }
}

@keyframes removeCursor {
    to { border-color: transparent; }
}

.name .typewriter-wrapper {
    display: block;
    text-align: center;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== СОЦИАЛЬНЫЕ ССЫЛКИ ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 229, 160, 0.06);
    border: 1px solid rgba(0, 229, 160, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: rgba(0, 229, 160, 0.2);
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 229, 160, 0.3),
                0 0 30px rgba(0, 229, 160, 0.15);
}

/* ===== СЕКЦИИ ===== */
.section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-green);
    margin-bottom: 1rem;
    text-align: center;
}

/* ===== ТЕГИ ===== */
.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 160, 0.08);
    border: 1px solid rgba(0, 229, 160, 0.25);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--neon-green);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 229, 160, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 229, 160, 0.25);
}

.tag-link {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ===== МУЗЫКА ===== */
.music-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-radius: 16px;
}

.music-note {
    font-size: 1.5rem;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.music-text {
    display: flex;
    flex-direction: column;
}

.music-genre {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.music-artist {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

/* ===== КНОПКА ===== */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
    border: none;
    border-radius: 12px;
    color: #0a0f14;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease 0.5s both;
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 229, 160, 0.4),
                0 0 40px rgba(0, 180, 255, 0.3);
}

.contact-button svg {
    width: 20px;
    height: 20px;
}

/* ===== ПАУТИНА ===== */
.web-left,
.web-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 140px;
    z-index: 3;
    pointer-events: none;
    animation: webPulse 3s ease-in-out infinite alternate;
}

.web-left {
    left: -120px;
}

.web-right {
    right: -120px;
}

@keyframes webPulse {
    0% { opacity: 0.5; filter: drop-shadow(0 0 3px rgba(0,180,255,0.3)) drop-shadow(0 0 6px rgba(0,180,255,0.2)); }
    100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(0,180,255,0.7)) drop-shadow(0 0 14px rgba(0,180,255,0.5)) drop-shadow(0 0 25px rgba(0,180,255,0.25)); }
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ ===== */
/* ===== ДОПОЛНИТЕЛЬНЫЕ КНОПКИ ===== */
.extra-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.qr-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 255, 0.3);
    background: rgba(0, 180, 255, 0.08);
    color: var(--neon-blue);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
.qr-btn:hover {
    border-color: var(--neon-green);
    background: rgba(0, 229, 160, 0.1);
    color: var(--neon-green);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.2);
    transform: translateY(-2px);
}
.qr-btn svg { width: 16px; height: 16px; }

.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 255, 0.3);
    background: rgba(0, 180, 255, 0.08);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.theme-toggle:hover {
    border-color: var(--neon-green);
    background: rgba(0, 229, 160, 0.1);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.2);
    transform: translateY(-2px);
}

body.light .qr-btn {
    background: rgba(0, 153, 204, 0.08);
    border-color: rgba(0, 153, 204, 0.3);
    color: #0099cc;
}
body.light .theme-toggle {
    background: rgba(0, 153, 204, 0.08);
    border-color: rgba(0, 153, 204, 0.3);
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ ===== */

/* ===== СВЕТЛАЯ ТЕМА ===== */
body.light {
    background: #f0f2f5;
    color: #1a1a2e;
}

body.light .card {
    background: rgba(255, 255, 255, 0.9);
    border-color: #0099cc;
    box-shadow: 0 0 15px rgba(0, 153, 204, 0.3),
                0 25px 50px rgba(0, 0, 0, 0.1);
}

body.light .name {
    background: linear-gradient(135deg, #0066cc, #00aadd, #0088bb);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light .tagline { color: #666; }
body.light .section-title { color: #0099cc; }

body.light .tag {
    background: rgba(0, 153, 204, 0.08);
    border-color: rgba(0, 153, 204, 0.2);
    color: #0099cc;
}
body.light .tag:hover {
    background: rgba(0, 153, 204, 0.15);
    box-shadow: 0 5px 15px rgba(0, 153, 204, 0.15);
}

body.light .social-link {
    background: rgba(0, 153, 204, 0.05);
    border-color: rgba(0, 153, 204, 0.15);
    color: #666;
}
body.light .social-link:hover {
    background: rgba(0, 153, 204, 0.1);
    border-color: #0099cc;
    color: #0099cc;
    box-shadow: 0 0 15px rgba(0, 153, 204, 0.2);
}

body.light .contact-button {
    background: linear-gradient(135deg, #0099cc, #00bbdd);
}
body.light .contact-button:hover {
    box-shadow: 0 15px 30px rgba(0, 153, 204, 0.3);
}

body.light .music-player {
    background: rgba(0, 153, 204, 0.05);
    border-color: rgba(0, 153, 204, 0.15);
}

body.light .music-artist { color: #0099cc; }
body.light .music-genre { color: #666; }

body.light .back {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 153, 204, 0.2);
    color: #666;
}
body.light .back:hover {
    background: rgba(0, 153, 204, 0.1);
    border-color: #0099cc;
    color: #0099cc;
}

body.light .particle { background: rgba(0, 153, 204, 0.5); }
body.light .bg-gradient { opacity: 0.3; }
body.light body::before { opacity: 0.3; }

body.light .web-left, body.light .web-right { filter: brightness(0.7) drop-shadow(0 0 4px rgba(0,153,204,0.3)); }
body.light .card::after { opacity: 0.08; }

body.light .theme-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 153, 204, 0.3);
}
body.light .music-toggle {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 153, 204, 0.3);
}

body.light .cursor-dot { background: #0099cc; box-shadow: 0 0 6px #0099cc, 0 0 12px #0099cc; }
body.light .cursor-ring { border-color: rgba(0,153,204,0.6); box-shadow: 0 0 8px rgba(0,153,204,0.3); }
body.light .cursor-dot.hover { background: #00aa66; box-shadow: 0 0 8px #00aa66, 0 0 16px #00aa66; }
body.light .cursor-ring.hover { border-color: #00aa66; box-shadow: 0 0 12px rgba(0,170,102,0.5); }

body.light .avatar {
    background: linear-gradient(135deg, #0099cc, #00bbdd);
}

body.light .avatar-ring {
    border-top-color: #0099cc;
    border-right-color: #00aadd;
}

body.light .stats-button {
    background: rgba(0, 153, 204, 0.1);
    border-color: rgba(0, 153, 204, 0.3);
    color: #0099cc;
}
body.light .stats-button:hover {
    background: rgba(0, 153, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 153, 204, 0.2);
}

body.light .card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 153, 204, 0.04), transparent);
}

/* ===== КНОПКА СТАТИСТИКИ ===== */
.stats-button {
    display: block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 180, 255, 0.3);
    background: rgba(0, 180, 255, 0.08);
    color: var(--neon-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.6s both;
}
.stats-button:hover {
    background: rgba(0, 180, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 180, 255, 0.25);
    transform: translateY(-2px);
}

/* ===== МИНИ-ПЛЕЕР ===== */
.mini-player {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9999;
}

.mini-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 160, 0.4);
    background: rgba(10, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.2);
    user-select: none;
    -webkit-user-select: none;
}

.mini-toggle:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 229, 160, 0.4);
    transform: scale(1.1);
}

.mini-toggle.active {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 229, 160, 0.5);
}

.mini-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 260px;
    background: #121820;
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 16px;
    padding: 0.75rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0,229,160,0.15);
    animation: miniMenuPop 0.2s ease;
}

.mini-menu.open { display: block; }

@keyframes miniMenuPop {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mini-menu-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.mini-track {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mini-track:hover {
    background: rgba(0, 229, 160, 0.1);
}

.mini-track-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,229,160,0.15), rgba(0,180,255,0.15));
    border: 1px solid rgba(0,229,160,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mini-track-info { flex: 1; }
.mini-track-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.mini-track-sub { font-size: 0.7rem; color: var(--text-secondary); }

.mini-play {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--neon-green);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.mini-track:hover .mini-play {
    opacity: 1;
    transform: scale(1);
}

body.light .mini-toggle {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,153,204,0.3);
}

body.light .mini-menu {
    background: #fff;
    border-color: rgba(0,153,204,0.2);
}

.mini-stop {
    display: block;
    text-align: center;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,77,106,0.3);
    background: rgba(255,77,106,0.08);
    color: #ff4d6a;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mini-stop:hover {
    background: rgba(255,77,106,0.2);
    border-color: #ff4d6a;
}

.mini-toggle.playing {
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 229, 160, 0.5);
    animation: miniPulse 2s ease-in-out infinite alternate;
}

@keyframes miniPulse {
    0% { box-shadow: 0 0 10px rgba(0,229,160,0.3); }
    100% { box-shadow: 0 0 25px rgba(0,229,160,0.6); }
}

/* ===== QR-КОД ===== */
.qr-btn {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 255, 0.3);
    background: rgba(10, 15, 20, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    user-select: none;
}
.qr-btn:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 12px rgba(0, 229, 160, 0.25);
}
.qr-btn svg { width: 16px; height: 16px; }

.qr-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
.qr-modal.active { display: flex; }

.qr-card {
    background: #121820;
    border: 2px solid var(--neon-green);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 360px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(0,229,160,0.3);
    animation: launchPop 0.3s ease;
}
.qr-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.qr-close:hover { border-color: #ff4d6a; background: rgba(255,77,106,0.2); }

.qr-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
}
.qr-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid rgba(0,229,160,0.3);
    margin: 0 auto 1rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qr-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

body.light .qr-btn {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0,153,204,0.3);
}
body.light .qr-card { background: #fff; border-color: #0099cc; }
body.light .qr-title { color: #0099cc; }
body.light .qr-subtitle { color: #666; }
body.light .qr-close { background: #f0f0f0; border-color: #ccc; color: #333; }

/* ===== QR КНОПКА СВЕРХУ ===== */
.qr-btn-top {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 180, 255, 0.4);
    background: rgba(10, 15, 20, 0.9);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 180, 255, 0.2);
    user-select: none;
}
.qr-btn-top:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 229, 160, 0.3);
    transform: translateX(-50%) translateY(-2px);
}

body.light .qr-btn-top {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 153, 204, 0.3);
    color: #666;
}
body.light .qr-btn-top:hover {
    border-color: #0099cc;
    color: #0099cc;
}

/* ===== QR МОДАЛКА ===== */
.qr-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10000;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}
.qr-modal.active { display: flex; }
.qr-card {
    background: #121820;
    border: 2px solid var(--neon-green);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    max-width: 360px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(0,229,160,0.3);
    animation: qrPop 0.3s ease;
}
@keyframes qrPop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qr-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: #fff; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.qr-close:hover { border-color: #ff4d6a; background: rgba(255,77,106,0.2); }
.qr-title { font-size: 1.2rem; font-weight: 700; color: var(--neon-green); margin-bottom: 0.5rem; }
.qr-subtitle { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.qr-image {
    width: 200px; height: 200px;
    border-radius: 12px; border: 2px solid rgba(0,229,160,0.3);
    margin: 0 auto 1rem; background: #fff;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.qr-image img { width: 100%; height: 100%; object-fit: contain; }
.qr-hint { font-size: 0.75rem; color: var(--text-secondary); opacity: 0.6; }

body.light .qr-card { background: #fff; border-color: #0099cc; }
body.light .qr-title { color: #0099cc; }
body.light .qr-subtitle { color: #666; }
body.light .qr-close { background: #f0f0f0; border-color: #ccc; color: #333; }

/* ===== АДАПТИВ ===== */
@media (max-width: 480px) {
    .card-container {
        padding: 2rem 1rem;
    }
    .card {
        padding: 2rem 1.5rem;
    }
    .web-left {
        width: 80px;
        left: -70px;
    }
    .web-right {
        width: 80px;
        right: -70px;
    }
    .name {
        font-size: 2rem;
    }
    .social-link {
        width: 44px;
        height: 44px;
    }
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}