@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #8888a0;
    --text-dim: #555570;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.4);
    --youtube: #ff0000;
    --kick: #53fc18;
    --tiktok: #fe2c55;
    --instagram: #e1306c;
    --twitch: #9146ff;
    --twitter: #ffffff;
    --discord: #5865f2;
}

html {
    scroll-behavior: auto;
    top: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.bg-orbs {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
    top: -100px; right: -100px;
    animation-duration: 18s;
}

.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    bottom: -100px; left: -100px;
    animation-delay: -5s;
    animation-duration: 20s;
}

.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.05); }
}

.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: rgba(124, 58, 237, 0.6);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    width: 100%;
    max-width: 700px;
    animation: containerFadeIn 1s ease-out;
}

@keyframes containerFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.avatar-wrapper {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
}


.avatar-ring {
    width: 140px; height: 140px;
    border-radius: 50%;
    padding: 4px;
    background: conic-gradient(from 0deg, #7c3aed, #3b82f6, #06b6d4, #8b5cf6, #ec4899, #7c3aed);
    animation: ringRotate 4s linear infinite;
    position: relative;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #7c3aed, #3b82f6, #06b6d4, #8b5cf6, #ec4899, #7c3aed);
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
    animation: ringRotate 4s linear infinite;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.avatar-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.15), transparent 60%);
}

.avatar-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-info {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
}


.username {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    color: #a78bfa;
}

.status-dot {
    width: 8px; height: 8px;
    background: #53fc18;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(83, 252, 24, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(83, 252, 24, 0); }
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 460px;
    margin-bottom: 30px;
    opacity: 0;
}


.social-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100px; height: 100px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    cursor: pointer;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::after { left: 100%; }

.social-link:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-link .icon {
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.social-link .label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    transition: color 0.4s ease;
    position: relative;
    z-index: 1;
}

.social-link.youtube:hover { border-color: rgba(255, 0, 0, 0.3); box-shadow: 0 10px 40px rgba(255, 0, 0, 0.15), inset 0 0 30px rgba(255, 0, 0, 0.05); }
.social-link.youtube:hover .icon { color: var(--youtube); text-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
.social-link.youtube:hover .label { color: var(--youtube); }
.social-link.youtube::before { background: radial-gradient(circle at center, rgba(255, 0, 0, 0.08), transparent 70%); }
.social-link.youtube:hover::before { opacity: 1; }

.social-link.kick:hover { border-color: rgba(83, 252, 24, 0.3); box-shadow: 0 10px 40px rgba(83, 252, 24, 0.15), inset 0 0 30px rgba(83, 252, 24, 0.05); }
.social-link.kick:hover .icon { color: var(--kick); text-shadow: 0 0 20px rgba(83, 252, 24, 0.5); }
.social-link.kick:hover .label { color: var(--kick); }
.social-link.kick::before { background: radial-gradient(circle at center, rgba(83, 252, 24, 0.08), transparent 70%); }
.social-link.kick:hover::before { opacity: 1; }

.social-link.tiktok:hover { border-color: rgba(254, 44, 85, 0.3); box-shadow: 0 10px 40px rgba(254, 44, 85, 0.15), inset 0 0 30px rgba(254, 44, 85, 0.05); }
.social-link.tiktok:hover .icon { color: var(--tiktok); text-shadow: 0 0 20px rgba(254, 44, 85, 0.5); }
.social-link.tiktok:hover .label { color: var(--tiktok); }
.social-link.tiktok::before { background: radial-gradient(circle at center, rgba(254, 44, 85, 0.08), transparent 70%); }
.social-link.tiktok:hover::before { opacity: 1; }

.social-link.instagram:hover { border-color: rgba(225, 48, 108, 0.3); box-shadow: 0 10px 40px rgba(225, 48, 108, 0.15), inset 0 0 30px rgba(225, 48, 108, 0.05); }
.social-link.instagram:hover .icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 0 10px rgba(225, 48, 108, 0.5)); }
.social-link.instagram:hover .label { color: var(--instagram); }
.social-link.instagram::before { background: radial-gradient(circle at center, rgba(225, 48, 108, 0.08), transparent 70%); }
.social-link.instagram:hover::before { opacity: 1; }

.social-link.twitch:hover { border-color: rgba(145, 70, 255, 0.3); box-shadow: 0 10px 40px rgba(145, 70, 255, 0.15), inset 0 0 30px rgba(145, 70, 255, 0.05); }
.social-link.twitch:hover .icon { color: var(--twitch); text-shadow: 0 0 20px rgba(145, 70, 255, 0.5); }
.social-link.twitch:hover .label { color: var(--twitch); }
.social-link.twitch::before { background: radial-gradient(circle at center, rgba(145, 70, 255, 0.08), transparent 70%); }
.social-link.twitch:hover::before { opacity: 1; }

.social-link.twitter:hover { border-color: rgba(255, 255, 255, 0.3); box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1), inset 0 0 30px rgba(255, 255, 255, 0.03); }
.social-link.twitter:hover .icon { color: var(--twitter); text-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
.social-link.twitter:hover .label { color: var(--twitter); }
.social-link.twitter::before { background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%); }
.social-link.twitter:hover::before { opacity: 1; }

.social-link.discord:hover { border-color: rgba(88, 101, 242, 0.3); box-shadow: 0 10px 40px rgba(88, 101, 242, 0.15), inset 0 0 30px rgba(88, 101, 242, 0.05); }
.social-link.discord:hover .icon { color: var(--discord); text-shadow: 0 0 20px rgba(88, 101, 242, 0.5); }
.social-link.discord:hover .label { color: var(--discord); }
.social-link.discord::before { background: radial-gradient(circle at center, rgba(88, 101, 242, 0.08), transparent 70%); }
.social-link.discord:hover::before { opacity: 1; }

.social-link:nth-child(1) { opacity: 0; }
.social-link:nth-child(2) { opacity: 0; }
.social-link:nth-child(3) { opacity: 0; }
.social-link:nth-child(4) { opacity: 0; }
.social-link:nth-child(5) { opacity: 0; }
.social-link:nth-child(6) { opacity: 0; }
.social-link:nth-child(7) { opacity: 0; }

.munkaim-row {
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    opacity: 0;
}

.munkaim-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: calc(4 * 100px + 3 * 16px);
    height: 86px;
    padding: 0 20px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
}

.munkaim-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.munkaim-btn:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.18), inset 0 0 25px rgba(124, 58, 237, 0.06);
}

.munkaim-btn:hover::before { opacity: 1; }

.munkaim-icon {
    font-size: 1.85rem;
    color: var(--accent);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.munkaim-btn:hover .munkaim-icon {
    color: #a78bfa;
    text-shadow: 0 0 18px rgba(124, 58, 237, 0.45);
}

.munkaim-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: calc(0.95rem * 0.95);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.munkaim-btn:hover .munkaim-label { color: var(--text-primary); }

.munkaim-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    text-align: center;
}

.munkaim-subtitle {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.munkaim-btn:hover .munkaim-subtitle { color: var(--text-secondary); }

.munkaim-animation {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: 20px;
    opacity: 0.15;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 10, 30, 0.1), rgba(30, 10, 50, 0.05));
    font-family: 'Courier New', monospace;
}

.code-lines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    font-size: 10px;
    line-height: 1.6;
    color: rgba(150, 200, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
}

.code-line {
    display: block;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: codeLineAppear 10s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(100, 150, 255, 0.5);
}

.line-1 { animation-delay: 0s; color: rgba(188, 220, 255, 0.7); }
.line-2 { animation-delay: 0.8s; color: rgba(200, 180, 255, 0.7); }
.line-3 { animation-delay: 1.6s; color: rgba(180, 200, 255, 0.7); }
.line-4 { animation-delay: 2.4s; color: rgba(200, 180, 255, 0.7); }
.line-5 { animation-delay: 3.2s; color: rgba(188, 220, 255, 0.7); }
.line-6 { animation-delay: 4s; color: rgba(188, 220, 255, 0.7); }

.code-var {
    color: rgba(167, 139, 250, 0.8);
    font-weight: bold;
}

.code-str {
    color: rgba(140, 210, 150, 0.8);
}

.code-arr {
    color: rgba(250, 180, 100, 0.8);
    font-weight: bold;
}

.cursor {
    position: absolute;
    width: 1px;
    height: 12px;
    background: rgba(100, 200, 255, 0.9);
    bottom: 20%;
    left: 15px;
    animation: cursorBlink 0.8s ease-in-out infinite, cursorMove 10s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(100, 200, 255, 0.6);
}

@keyframes codeLineAppear {
    0% { opacity: 0; transform: translateX(-10px); }
    5% { opacity: 1; transform: translateX(0); }
    85% { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(10px); }
}

@keyframes cursorBlink {
    0%, 49%, 100% { opacity: 1; }
    50%, 99% { opacity: 0; }
}

@keyframes cursorMove {
    0% { left: 15px; }
    10% { left: 15px; }
    40% { left: 60%; }
    60% { left: 70%; }
    85% { left: 85%; }
    100% { left: 15px; }
}

.works-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 5, 12, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.works-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.works-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: min(88vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(22, 22, 38, 0.98), rgba(14, 14, 22, 0.99));
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 24px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 60px rgba(124, 58, 237, 0.12);
    transform: scale(0.94) translateY(24px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.works-overlay.is-open .works-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.works-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.works-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #c4b5fd 55%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.works-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.works-close:hover {
    background: rgba(124, 58, 237, 0.25);
    color: #fff;
    transform: rotate(90deg);
}

.works-modal-body {
    position: relative;
    padding: 20px 22px 24px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.works-view {
    display: none;
    animation: worksViewEnter 0.45s ease both;
}

.works-view.is-active {
    display: block;
}

@keyframes worksViewEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.works-home-intro {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.works-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.works-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 120px;
    padding: 20px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(26, 26, 46, 0.5);
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.works-choice i {
    font-size: 2rem;
    transition: transform 0.35s ease;
}

.works-choice span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.works-choice--gallery:hover {
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.12);
    transform: translateY(-4px);
}

.works-choice--gallery:hover i { color: #ec4899; transform: scale(1.08); }

.works-choice--code:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
    transform: translateY(-4px);
}

.works-choice--code:hover i { color: #3b82f6; transform: scale(1.08); }

.works-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.works-back:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.35);
    color: var(--text-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-secondary);
    animation: worksViewEnter 0.5s ease both;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item--error {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.08);
    border: 1px dashed rgba(239, 68, 68, 0.35);
    font-size: 0.7rem;
    color: #fca5a5;
    padding: 8px;
    text-align: center;
}

.gallery-empty {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    padding: 12px 4px;
    text-align: center;
}

.gallery-empty code {
    font-size: 0.8rem;
    color: #a78bfa;
    background: rgba(124, 58, 237, 0.12);
    padding: 2px 6px;
    border-radius: 6px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 10, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-stage {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1400px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.97);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox.is-open .lightbox-stage {
    transform: scale(1);
    opacity: 1;
}

.lightbox-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 88vh;
    line-height: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-img {
    display: block;
    max-width: min(92vw, 1400px);
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.lightbox-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(124, 58, 237, 0.45);
    transform: scale(1.05);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(124, 58, 237, 0.5);
    transform: translateY(-50%) scale(1.06);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 600px) {
    .lightbox { padding: 52px 12px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}

@media print {
    .lightbox { display: none !important; }
}

body.lightbox-open {
    overflow: hidden;
}

.code-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-card {
    position: relative;
    padding: 18px 18px 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.35), rgba(26, 26, 46, 0.7));
    overflow: hidden;
    animation: worksViewEnter 0.5s ease both;
}

.code-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #7c3aed);
    border-radius: 3px 0 0 3px;
}

.code-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.code-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 12px;
}

.code-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.code-tags span {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

body.works-modal-open {
    overflow: hidden;
}

        .what-i-use-section {
            width: 100%;
            max-width: 1100px;
            margin: 60px auto 50px;
            padding: 0 20px;
            opacity: 0;
        }

        .what-i-use-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.85rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            text-align: center;
            margin-bottom: 40px;
            background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 50%, #7c3aed 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .what-i-use-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .use-card {
            position: relative;
            padding: 28px 24px;
            border-radius: 20px;
            background: rgba(26, 26, 46, 0.6);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.08);
            overflow: hidden;
            animation: slideFromTop 0.7s ease-out both;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-align: center;
        }

        .use-card:nth-child(1) { }
        .use-card:nth-child(2) { }
        .use-card:nth-child(3) { }
        .use-card:nth-child(4) { }

        .use-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            background: radial-gradient(circle at center, rgba(124, 58, 237, 0.1), transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .use-card:hover {
            transform: translateY(-8px) scale(1.02);
            border-color: rgba(124, 58, 237, 0.35);
            box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15), inset 0 0 25px rgba(124, 58, 237, 0.06);
        }

        .use-card:hover::before {
            opacity: 1;
        }

        .use-card-icon {
            font-size: 2.5rem;
            color: var(--accent);
            margin-bottom: 16px;
            transition: all 0.4s ease;
            position: relative;
            display: flex;
            justify-content: center;
            z-index: 1;
        }

        .use-card:hover .use-card-icon {
            color: #a78bfa;
            text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
            transform: scale(1.1);
        }

        .use-card-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.15rem;
            font-weight: 700;
            margin-bottom: 16px;
            color: var(--text-primary);
            position: relative;
            z-index: 1;
        }

        .use-card-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .use-card-list li {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.4;
            transition: color 0.3s ease;
        }

        .use-card:hover .use-card-list li {
            color: #ddd;
        }

        .use-label {
            color: #a78bfa;
            font-weight: 600;
            margin-right: 6px;
        }

        @media (max-width: 600px) {\n            .what-i-use-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .what-i-use-title {
                font-size: 1.5rem;
                margin-bottom: 30px;
            }

            .use-card {
                padding: 24px 20px;
            }

            .use-card-icon {
                font-size: 2rem;
            }

            .use-card-title {
                font-size: 1rem;
            }
        }
    to { opacity: 1; transform: scale(1) translateY(0); }

.kick-icon {
    width: 32px; height: 32px;
    fill: currentColor;
    transition: all 0.4s ease;
}

.social-link .tooltip {
    position: absolute;
    top: -35px; left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-button {
    position: relative;
    display: block;
    width: 100%;
    max-width: 460px;
    padding: 22px 28px;
    margin-bottom: 35px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.product-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-button:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 15px 50px rgba(124, 58, 237, 0.2), inset 0 0 30px rgba(124, 58, 237, 0.05);
}

.product-button:hover::before {
    opacity: 1;
}

.product-button-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.product-button:hover .product-button-shine {
    left: 100%;
}

.product-button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-button-content > i:first-child {
    font-size: 1.8rem;
    color: var(--accent);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.product-button:hover .product-button-content > i:first-child {
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    transform: scale(1.1);
}

.product-button-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.product-button-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.product-button-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.product-button-arrow {
    font-size: 1rem;
    color: var(--text-dim);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.product-button:hover .product-button-arrow {
    color: var(--accent);
    transform: translateX(5px);
}

.footer {
    text-align: center;
    opacity: 0;
}


.footer-line {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.footer p {
    font-size: 0.75rem;
    color: rgba(136, 136, 160, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer p span { color: var(--accent); }

.noise {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.cursor-glow {
    position: fixed;
    width: 300px; height: 300px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06), transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

@media (hover: hover) { .cursor-glow { opacity: 1; } }

@media (max-width: 500px) {
    .munkaim-btn {
        width: calc(3 * 85px + 2 * 12px);
        height: 85px;
        gap: 10px;
    }
    .munkaim-icon { font-size: 1.55rem; }
    .munkaim-label { font-size: calc(0.82rem * 0.95); }
    .works-choice-grid { grid-template-columns: 1fr; }
    .social-link { width: 85px; height: 85px; gap: 6px; border-radius: 16px; }
    .social-grid { gap: 12px; }
    .social-link .icon { font-size: 1.6rem; }
    .kick-icon { width: 26px; height: 26px; }
    .username { font-size: 2rem; }
    .avatar-ring { width: 110px; height: 110px; }
    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 200px; height: 200px; }
    .orb-3 { width: 180px; height: 180px; }
    .product-button { padding: 18px 20px; }
    .product-button-content > i:first-child { font-size: 1.5rem; }
    .product-button-title { font-size: 1rem; }
}

@media (max-width: 360px) {
    .munkaim-btn {
        width: calc(3 * 75px + 2 * 10px);
        height: 75px;
    }
    .munkaim-label { font-size: calc(0.72rem * 0.95); letter-spacing: 0.08em; }
    .social-link { width: 75px; height: 75px; gap: 4px; border-radius: 14px; }
    .social-grid { gap: 10px; }
    .social-link .icon { font-size: 1.4rem; }
    .kick-icon { width: 22px; height: 22px; }
    .social-link .label { font-size: 0.6rem; }
    .username { font-size: 1.6rem; }
}

@media (min-width: 768px) {
    .social-link:hover { transform: translateY(-10px) scale(1.08); }
    .munkaim-btn:hover { transform: translateY(-10px) scale(1.05); }
}
