/* ═══════════════════════════════════════════
   ⚡ СТИЛИ ДЛЯ САЙТА ТРЕНЛИ
   Фиолетово-чёрно-жёлтая тема
   ═══════════════════════════════════════════ */

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

:root {
    --purple-dark: #0a0012;
    --purple-deep: #12001f;
    --purple-main: #6a0dad;
    --purple-light: #9b30ff;
    --purple-muted: #4a0080;
    --yellow-main: #ffd400;
    --yellow-soft: #ffea00;
    --yellow-glow: rgba(255, 212, 0, 0.15);
    --black: #000000;
    --gray-900: #0d0d0d;
    --gray-800: #1a1a1a;
    --gray-700: #2d2d2d;
    --gray-600: #404040;
    --white: #ffffff;
    --white-soft: #f0f0f0;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html { scroll-behavior: smooth; }

body {
    background: var(--purple-dark);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ─── ФОН ─── */
.bg-gradient {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 20% 20%, rgba(106,13,173,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(106,13,173,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(255,212,0,0.03) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.lightning-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; overflow: hidden;
}

.bolt {
    position: absolute; color: var(--yellow-main); opacity: 0.06;
    animation: bolt-float 8s ease-in-out infinite;
    text-shadow: 0 0 40px var(--yellow-main);
}
.bolt-1 { top: 15%; left: 8%; font-size: 45px; animation-delay: 0s; }
.bolt-2 { top: 45%; left: 88%; font-size: 35px; animation-delay: 2s; }
.bolt-3 { top: 75%; left: 12%; font-size: 40px; animation-delay: 4s; }
.bolt-4 { top: 25%; left: 78%; font-size: 30px; animation-delay: 6s; }

@keyframes bolt-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
    50% { transform: translateY(-20px) rotate(5deg); opacity: 0.08; }
}

/* ─── НАВИГАЦИЯ ─── */
nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(10,0,18,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(106,13,173,0.3);
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 30px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 20px; color: var(--yellow-main); letter-spacing: 2px; text-decoration: none;
}

.logo-icon { width: 24px; height: 24px; color: var(--yellow-main); }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px; color: var(--text-secondary); text-decoration: none;
    font-size: 14px; font-weight: 500; border-radius: 8px;
    transition: all var(--transition-normal);
}

.nav-links a svg { width: 16px; height: 16px; }
.nav-links a:hover { color: var(--yellow-main); background: rgba(255,212,0,0.08); }

section { position: relative; z-index: 1; }

/* ─── ГЕРОЙ ─── */
.hero-section {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 100px 30px 60px; gap: 80px; max-width: 1200px; margin: 0 auto;
}

.hero-content { flex: 1; max-width: 600px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(255,212,0,0.1);
    border: 1px solid rgba(255,212,0,0.3); border-radius: 50px;
    font-size: 13px; font-weight: 600; color: var(--yellow-main);
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 30px;
}

.badge-icon { width: 16px; height: 16px; animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(56px, 10vw, 96px); font-weight: 700;
    line-height: 1; letter-spacing: -2px; margin-bottom: 24px;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--yellow-main) 0%, var(--yellow-soft) 50%, var(--yellow-main) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle {
    font-size: 18px; color: var(--text-secondary);
    letter-spacing: 4px; text-transform: uppercase; margin-bottom: 30px;
}

.hero-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--purple-main), transparent); }
.divider-icon { width: 16px; height: 16px; color: var(--yellow-main); }
.hero-description { font-size: 17px; color: var(--text-secondary); line-height: 1.8; }

.hero-visual { flex-shrink: 0; }

.visual-card {
    position: relative; width: 280px; height: 280px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(106,13,173,0.2) 0%, rgba(106,13,173,0.05) 100%);
    border: 1px solid rgba(106,13,173,0.4); border-radius: 30px;
}

.card-icon-wrapper { position: relative; z-index: 1; }

.card-main-icon {
    width: 80px; height: 80px; color: var(--yellow-main);
    filter: drop-shadow(0 0 30px rgba(255,212,0,0.5));
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.card-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,212,0,0.15) 0%, transparent 70%);
    border-radius: 50%; animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%,-50%) scale(1.1); opacity: 0.8; }
}

/* ─── ЗАГОЛОВКИ СЕКЦИЙ ─── */
.section-header {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; margin-bottom: 20px; padding: 0 30px;
}
.header-line { flex: 1; max-width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--purple-main)); }
.header-line:last-child { background: linear-gradient(90deg, var(--purple-main), transparent); }

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif; font-size: 36px;
    font-weight: 600; color: var(--text-primary); letter-spacing: -1px;
}

.section-subtitle { text-align: center; color: var(--text-muted); font-size: 16px; margin-bottom: 50px; padding: 0 30px; }

/* ─── О СЕБЕ ─── */
.about-section { padding: 60px 30px; max-width: 1000px; margin: 0 auto; }

.about-content {
    display: flex; align-items: flex-start; gap: 60px; padding: 50px;
    background: linear-gradient(135deg, rgba(106,13,173,0.08) 0%, rgba(106,13,173,0.02) 100%);
    border: 1px solid rgba(106,13,173,0.2); border-radius: 24px;
}

.about-avatar { position: relative; flex-shrink: 0; }

.avatar-ring {
    width: 140px; height: 140px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--purple-main) 0%, var(--purple-dark) 100%);
    border-radius: 50%; border: 2px solid rgba(106,13,173,0.5);
    overflow: hidden;
}
.avatar-icon { width: 60px; height: 60px; color: var(--yellow-main); }

.avatar-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}

.avatar-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(106,13,173,0.3) 0%, transparent 70%);
    border-radius: 50%; z-index: -1;
}

.about-info { flex: 1; }
.about-info h3 {
    font-family: 'Space Grotesk', sans-serif; font-size: 28px;
    font-weight: 600; color: var(--text-primary); margin-bottom: 16px;
}
.about-bio { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 30px; }
.about-stats { display: flex; flex-direction: column; gap: 16px; }

.stat-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    background: rgba(0,0,0,0.3); border-radius: 12px;
    border: 1px solid rgba(106,13,173,0.15); transition: all var(--transition-normal);
}
.stat-item:hover { border-color: rgba(255,212,0,0.3); background: rgba(255,212,0,0.05); }

.stat-icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: rgba(106,13,173,0.2); border-radius: 10px;
}
.stat-icon svg { width: 22px; height: 22px; color: var(--yellow-main); }
.stat-info { display: flex; flex-direction: column; align-items: flex-start; }
.stat-value { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ─── СОЦСЕТИ ─── */
.socials-section { padding: 60px 30px; max-width: 800px; margin: 0 auto; }
.socials-grid { display: flex; flex-direction: column; gap: 12px; }

.social-card {
    display: flex; align-items: center; gap: 20px; padding: 20px 24px;
    background: rgba(106,13,173,0.06); border: 1px solid rgba(106,13,173,0.15);
    border-radius: 16px; text-decoration: none; color: var(--text-primary);
    transition: all var(--transition-normal);
}
.social-card:hover {
    background: rgba(106,13,173,0.12);
    border-color: var(--social-color, rgba(106,13,173,0.4));
    transform: translateX(8px);
}

.social-icon {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: rgba(106,13,173,0.15); border-radius: 12px; transition: all var(--transition-normal);
}
.social-card:hover .social-icon { background: var(--social-color, var(--purple-main)); }
.social-icon svg { width: 24px; height: 24px; color: var(--text-secondary); transition: all var(--transition-normal); }
.social-card:hover .social-icon svg { color: var(--white); }

.social-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.social-name { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.social-desc { font-size: 13px; color: var(--text-muted); }

.social-arrow { opacity: 0; transform: translateX(-10px); transition: all var(--transition-normal); }
.social-arrow svg { width: 20px; height: 20px; color: var(--text-secondary); }
.social-card:hover .social-arrow { opacity: 1; transform: translateX(0); }

.social-card[data-color="#0088cc"] { --social-color: #0088cc; }
.social-card[data-color="#5865f2"] { --social-color: #5865f2; }
.social-card[data-color="#ff0000"] { --social-color: #ff0000; }
.social-card[data-color="#9146ff"] { --social-color: #9146ff; }
.social-card[data-color="#66c0f4"] { --social-color: #66c0f4; }

/* ─── ФУТЕР ─── */
footer {
    position: relative; z-index: 1; padding: 60px 30px;
    background: rgba(0,0,0,0.3); border-top: 1px solid rgba(106,13,173,0.2);
}
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Space Grotesk', sans-serif; font-size: 18px;
    font-weight: 700; color: var(--yellow-main); letter-spacing: 2px; margin-bottom: 16px;
}
.footer-logo svg { width: 20px; height: 20px; }
.footer-text { font-size: 15px; color: var(--text-secondary); margin-bottom: 20px; }
.footer-divider { width: 60px; height: 1px; background: var(--purple-main); margin: 0 auto 20px; }
.footer-copyright { font-size: 13px; color: var(--text-muted); }

/* ─── СКРОЛЛБАР ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--purple-dark); }
::-webkit-scrollbar-thumb { background: var(--purple-main); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-light); }

/* ─── ГАЛЕРЕЯ ─── */
.gallery-section { padding: 60px 30px; max-width: 1200px; margin: 0 auto; }

.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px; margin-bottom: 30px;
}

.gallery-item {
    position: relative; border-radius: 12px; overflow: hidden;
    background: var(--gray-800); border: 1px solid rgba(106,13,173,0.2);
    cursor: pointer; transition: all var(--transition-normal);
}
.gallery-item:hover {
    transform: translateY(-5px); border-color: var(--purple-light);
    box-shadow: 0 15px 30px rgba(106,13,173,0.3);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10,0,18,0.8) 100%);
    display: flex; align-items: flex-end; justify-content: flex-end;
    padding: 16px; opacity: 0; transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 24px; height: 24px; color: var(--white); opacity: 0.7; }

.gallery-credit { text-align: center; margin-top: 20px; }
.gallery-credit p { font-size: 13px; color: var(--text-muted); }
.gallery-credit a { color: var(--purple-light); text-decoration: none; transition: color var(--transition-fast); }
.gallery-credit a:hover { color: var(--yellow-main); }

/* ─── ВАШИ РАБОТЫ ─── */
.works-section { padding: 60px 30px; max-width: 1200px; margin: 0 auto; }

.works-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px; margin-bottom: 30px;
}

.works-item {
    position: relative; border-radius: 16px; overflow: hidden;
    background: var(--gray-800); border: 1px solid rgba(255,212,0,0.2);
    cursor: pointer; transition: all var(--transition-normal);
}

.works-item:hover {
    transform: translateY(-5px); border-color: var(--yellow-main);
    box-shadow: 0 15px 30px rgba(255,212,0,0.2);
}

.works-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.works-item:hover img { transform: scale(1.05); }

.works-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10,0,18,0.8) 100%);
    display: flex; align-items: flex-end; justify-content: flex-end;
    gap: 8px; padding: 16px; opacity: 0; transition: opacity var(--transition-normal);
}

.works-item:hover .works-overlay { opacity: 1; }
.works-overlay svg { width: 24px; height: 24px; color: var(--yellow-main); opacity: 0.8; }

.works-author {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(10,0,18,0.9));
    color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 500;
    padding: 20px 16px 10px; letter-spacing: 0.02em; z-index: 1;
}

.icon-inline { vertical-align: middle; width: 28px; height: 28px; color: var(--yellow-main); margin: 0 8px; }

@media (max-width: 600px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .works-section { padding: 60px 20px; }
}

/* ─── ЛАЙТБОКС ─── */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center;
    z-index: 10000; opacity: 0; visibility: hidden; transition: all var(--transition-normal);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 90%; max-height: 90%; object-fit: contain;
    border-radius: 8px; box-shadow: 0 0 60px rgba(106,13,173,0.5);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lightbox img.fade-out {
    opacity: 0;
    transform: scale(0.92);
}

.lightbox img.fade-in {
    opacity: 0;
    transform: scale(0.92);
}

.lightbox img.fade-in.show {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute; top: 20px; right: 20px; width: 50px; height: 50px;
    background: rgba(106,13,173,0.3); border: 1px solid rgba(106,13,173,0.5);
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-normal);
}
.lightbox-close:hover { background: var(--purple-main); border-color: var(--yellow-main); transform: rotate(90deg); }
.lightbox-close svg { width: 24px; height: 24px; color: var(--white); }

.lightbox-prev, .lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
    background: rgba(106,13,173,0.3); border: 1px solid rgba(106,13,173,0.5);
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-normal);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--purple-main); border-color: var(--yellow-main); }
.lightbox-prev svg, .lightbox-next svg { width: 24px; height: 24px; color: var(--white); }

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 100px; gap: 50px; }
    .hero-divider { justify-content: center; }
    .visual-card { width: 200px; height: 200px; }
    .card-main-icon { width: 60px; height: 60px; }
    .about-content { flex-direction: column; align-items: center; text-align: center; padding: 40px 30px; }
    .about-stats { width: 100%; }
    .nav-links a span { display: none; }
}

@media (max-width: 768px) {
    .lightbox-close { width: 40px; height: 40px; top: 15px; right: 15px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox img { max-width: 95%; max-height: 85%; }
}

@media (max-width: 600px) {
    .nav-container { padding: 0 20px; }
    .nav-links a { padding: 10px 12px; }
    .hero-section { padding: 80px 20px 60px; }
    .hero-badge { font-size: 11px; padding: 6px 12px; }
    .hero-subtitle { font-size: 14px; letter-spacing: 2px; }
    .hero-description { font-size: 15px; }
    .section-header h2 { font-size: 28px; }
    .about-section, .socials-section { padding: 60px 20px; }
    .about-content { padding: 30px 20px; }
    .avatar-ring { width: 100px; height: 100px; }
    .avatar-icon { width: 40px; height: 40px; }
    .about-info h3 { font-size: 22px; }
    .social-card { padding: 16px 18px; }
    .social-icon { width: 44px; height: 44px; }
    .social-icon svg { width: 20px; height: 20px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-section { padding: 60px 20px; }
}

::selection { background: var(--purple-main); color: var(--yellow-main); }

/* ─── БУРГЕР-КНОПКА ─── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(106,13,173,0.2);
    border: 1px solid rgba(106,13,173,0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: all var(--transition-normal);
    z-index: 1001;
    position: relative;
}

.burger:hover {
    background: rgba(106,13,173,0.4);
    border-color: var(--yellow-main);
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--yellow-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger.active .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── МОБИЛЬНОЕ МЕНЮ ─── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10,0,18,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(106,13,173,0.3);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.mobile-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-link:hover {
    color: var(--yellow-main);
    background: rgba(255,212,0,0.08);
    border-color: rgba(255,212,0,0.15);
}

body.menu-open {
    overflow: hidden;
}

/* ─── ДОПОЛНИТЕЛЬНАЯ АДАПТИВНОСТЬ ─── */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 0 20px;
    }

    .hero-section {
        padding-top: 85px;
        gap: 25px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(42px, 12vw, 72px);
    }

    .about-content {
        padding: 30px 20px;
        gap: 30px;
    }

    .about-stats {
        gap: 12px;
    }

    .social-card {
        padding: 16px 18px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .social-arrow {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .nav-logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
    }

    .burger {
        width: 36px;
        height: 36px;
        padding: 7px;
        gap: 4px;
    }

    .burger-line {
        height: 2px;
    }

    .burger.active .burger-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .burger.active .burger-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu {
        width: 100%;
        right: -100%;
        padding: 80px 20px 20px;
    }

    .mobile-link {
        padding: 14px 16px;
        font-size: 15px;
    }

    section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-section {
        padding-top: 70px;
        padding-bottom: 30px;
        gap: 15px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 10px;
        padding: 5px 10px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: clamp(32px, 15vw, 48px);
        letter-spacing: -1px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-divider {
        gap: 10px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .visual-card {
        width: 160px;
        height: 160px;
        border-radius: 20px;
    }

    .card-main-icon {
        width: 50px;
        height: 50px;
    }

    .card-glow {
        width: 140px;
        height: 140px;
    }

    .section-header {
        gap: 12px;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 24px;
        white-space: nowrap;
    }

    .header-line {
        max-width: 60px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .about-section {
        padding: 40px 15px;
    }

    .about-content {
        padding: 25px 18px;
        gap: 25px;
        border-radius: 18px;
    }

    .avatar-ring {
        width: 90px;
        height: 90px;
    }

    .avatar-glow {
        width: 130px;
        height: 130px;
    }

    .about-info h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .about-bio {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .stat-value {
        font-size: 13px;
    }

    .stat-label {
        font-size: 12px;
    }

    .socials-section {
        padding: 40px 15px;
    }

    .social-card {
        padding: 14px 16px;
        gap: 14px;
        border-radius: 14px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .social-name {
        font-size: 14px;
    }

    .social-desc {
        font-size: 12px;
    }

    .gallery-section {
        padding: 40px 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-credit p {
        font-size: 11px;
    }

    .works-section {
        padding: 40px 15px;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .works-item {
        border-radius: 12px;
    }

    .works-author {
        font-size: 0.65rem;
        padding: 16px 12px 8px;
    }

    .icon-inline {
        width: 22px;
        height: 22px;
        margin: 0 5px;
    }

    footer {
        padding: 40px 15px;
    }

    .footer-logo {
        font-size: 16px;
    }

    .footer-text {
        font-size: 13px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .lightbox-close {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox img {
        max-width: 98%;
        max-height: 80%;
        border-radius: 6px;
    }

    .lightbox-close svg,
    .lightbox-prev svg,
    .lightbox-next svg {
        width: 18px;
        height: 18px;
    }

    /* затемнение при открытом меню */
    .mobile-menu.open ~ .bg-gradient {
        filter: blur(4px);
    }

    /* ─── МОЛНИИ НА ТЕЛЕФОНЕ ─── */
    .bolt {
        font-size: 20px !important;
        opacity: 0.04 !important;
    }
    .bolt-1 { top: 10% !important; left: 5% !important; }
    .bolt-2 { top: 40% !important; left: 92% !important; }
    .bolt-3 { top: 70% !important; left: 8% !important; }
    .bolt-4 { top: 20% !important; left: 82% !important; }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu {
        padding: 70px 15px 20px;
    }

    .mobile-link {
        padding: 12px 14px;
        font-size: 14px;
    }
}
