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

:root {
    --primary: #c026d3;
    --primary-light: #d946ef;
    --accent: #f59e0b;
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;
    --flame: #e84430;
    --bg: #0c0510;
    --bg-alt: #120a18;
    --card: #1a0e24;
    --card-hover: #241432;
    --border: rgba(255,255,255,.07);
    --text: #f5f0fa;
    --text-muted: #a89bb8;
    --text-dim: #6e5a80;
    --radius: 16px;
    --max-w: 1200px;
    --gradient-brand: linear-gradient(135deg, #f59e0b, #e84430, #c026d3, #7c3aed);
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ═══════ NAV ═══════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(3,7,18,.8); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform .4s cubic-bezier(.4,0,.2,1), border-color .3s;
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem;
    display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { border-radius: 6px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-size: .9rem; color: var(--text-muted); transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: var(--flame) !important; color: #fff !important;
    padding: .5rem 1.25rem !important; border-radius: 8px;
    font-weight: 600 !important; transition: all .2s !important;
}
.nav-cta:hover { background: #f05a3e !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* ═══════ HERO ═══════ */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding: 6rem 1.5rem 4rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232,68,48,.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(192,38,211,.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 80% 60%, rgba(245,158,11,.06) 0%, transparent 50%);
}
.hero-content { position: relative; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-block; padding: .35rem 1rem; border-radius: 100px;
    background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.3);
    color: var(--green); font-size: .8rem; font-weight: 600;
    margin-bottom: 1.5rem; letter-spacing: .03em;
}
.hero-badge.founder-badge {
    background: rgba(232,68,48,.08); color: var(--flame); cursor: pointer;
    border: 1px solid transparent; position: relative; overflow: hidden;
    background-clip: padding-box;
    transition: transform .3s, box-shadow .3s;
}
.hero-badge.founder-badge::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
    background: linear-gradient(135deg, #f59e0b, #e84430, #c026d3, #7c3aed, #e84430, #f59e0b);
    background-size: 300% 300%;
    animation: badgeBorder 3s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none;
}
.hero-badge.founder-badge::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    animation: badgeShimmer 4s ease-in-out infinite 1.5s;
    pointer-events: none;
}
@keyframes badgeBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes badgeShimmer {
    0%,100% { left: -100%; }
    40%,60% { left: 150%; }
}
.hero-badge.founder-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232,68,48,.25);
}
/* Hero logo image */
.hero-logo-wrap {
    display: inline-block;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: transform .3s, filter .3s;
    border-radius: 50%;
    padding: 6px;
    background: rgba(232,68,48,.06);
    border: 1px solid rgba(232,68,48,.15);
}
.hero-logo-wrap:hover {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 8px 24px rgba(232,68,48,.3));
    border-color: rgba(232,68,48,.4);
}
.hero-logo-img {
    display: block;
    border-radius: 50%;
    width: 120px; height: 120px;
    object-fit: cover;
}
.tap-hint {
    font-size: .65rem; color: var(--text-dim); opacity: .4;
    margin-bottom: 1rem; letter-spacing: .05em;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
    letter-spacing: -.03em; line-height: 1.1; margin-bottom: .75rem;
    background: linear-gradient(135deg, #fff 20%, #f59e0b 50%, #e84430 70%, #c026d3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem); color: var(--text-muted);
    font-weight: 500; margin-bottom: 1rem;
}
.hero-desc {
    font-size: 1rem; color: var(--text-dim); max-width: 600px; margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-stats {
    display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.stat { text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--flame); display: inline; }
.stat-plus { font-size: 1.5rem; font-weight: 700; color: var(--flame); }
.stat-label { display: block; font-size: .75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; margin-top: .2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; }

.btn {
    padding: .75rem 2rem; border-radius: 10px; font-size: .95rem;
    font-weight: 600; cursor: pointer; transition: all .2s; display: inline-block; border: none;
}
.btn-primary { background: var(--flame); color: #fff; }
.btn-primary:hover { background: #f05a3e; transform: translateY(-1px); }
.btn-outline { background: none; border: 1px solid var(--border); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--text-muted); color: var(--text); }

.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .5rem; cursor: pointer;
}
.hero-scroll span { font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--text-dim); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-dim), transparent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ═══════ SECTIONS ═══════ */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
    display: inline-block; font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .15em; color: var(--flame);
    margin-bottom: .75rem;
}
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .5rem; }
.section-header p { color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ═══════ PROJECT FILTERS ═══════ */
.project-filters { display: flex; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
    padding: .4rem 1.2rem; border-radius: 100px; border: 1px solid var(--border);
    background: none; color: var(--text-muted); font-size: .85rem; font-weight: 500;
    cursor: pointer; transition: all .2s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--flame); color: var(--text); }
.filter-btn.active { background: var(--flame); border-color: var(--flame); color: #fff; }

/* ═══════ ECOSYSTEM BLOCK ═══════ */
.project-ecosystem {
    border: 1px solid rgba(232,68,48,.2); border-radius: calc(var(--radius) + 4px);
    padding: 1.5rem; margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(232,68,48,.03), rgba(192,38,211,.02));
}
.ecosystem-header {
    text-align: center; margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.ecosystem-badge {
    display: inline-block; padding: .2rem .8rem; border-radius: 100px;
    background: rgba(232,68,48,.12); color: var(--flame);
    font-size: .7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; margin-bottom: .5rem;
}
.ecosystem-header h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .25rem; }
.ecosystem-header p { color: var(--text-muted); font-size: .85rem; }
.project-ecosystem .project-card { margin-bottom: 1rem; }
.project-ecosystem .project-card:last-child { margin-bottom: 0; }

/* ═══════ PROJECT CARDS ═══════ */
.project-card {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 1.5rem; transition: border-color .3s, transform .3s;
}
.project-card:hover { border-color: rgba(192,38,211,.3); transform: translateY(-2px); }
.project-card.featured { border-color: rgba(192,38,211,.2); }

.project-media {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a0e24, #120a18);
    aspect-ratio: 16 / 10;
}
.project-media.no-img {
    display: flex; align-items: center; justify-content: center;
}
.project-media.no-img::after {
    content: 'Screenshot coming soon';
    color: var(--text-dim); font-size: .85rem;
}
.project-media > img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    background: linear-gradient(135deg, #1a0e24, #120a18);
}
.project-media > video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.project-media .play-overlay {
    position: absolute; top: 50%; left: 50%; z-index: 3;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(232,68,48,.85); color: #fff;
    font-size: 1.4rem; padding-left: 4px; cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    transition: transform .2s, background .2s;
}
.project-media .play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(232,68,48,1);
}
.project-overlay { position: absolute; top: 1rem; right: 1rem; z-index: 4; }
.project-status {
    padding: .25rem .75rem; border-radius: 6px; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
}
.project-status.released { background: rgba(16,185,129,.15); color: var(--green); }
.project-status.live { background: rgba(245,158,11,.15); color: var(--amber); }
.project-status.wip { background: rgba(245,158,11,.15); color: var(--amber); }

/* ═══════ MEDIA GALLERY (thumbnails) ═══════ */
.media-thumbs {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    display: flex; gap: 3px; padding: 6px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.media-thumbs img {
    width: 60px; height: 44px; object-fit: cover; cursor: pointer;
    border-radius: 4px; border: 2px solid transparent;
    opacity: .7; transition: opacity .2s, border-color .2s;
    position: relative; z-index: 5;
}
.media-thumbs img:hover { opacity: 1; border-color: var(--flame); }

.project-info { padding: 1.75rem; display: flex; flex-direction: column; }
.project-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .75rem; gap: .5rem; }
.project-info h3 { font-size: 1.15rem; font-weight: 700; }
.project-info h3 a { transition: color .2s; }
.project-info h3 a:hover { color: var(--flame); }
.project-year { font-size: .8rem; color: var(--text-dim); white-space: nowrap; }
.project-info > p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; flex: 1; }

.project-tech { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.project-tech span {
    padding: .2rem .6rem; border-radius: 4px; font-size: .7rem; font-weight: 500;
    background: rgba(192,38,211,.08); color: var(--primary-light); border: 1px solid rgba(192,38,211,.15);
}

.project-highlights { display: flex; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.highlight {
    font-size: .75rem; color: var(--text-muted);
    padding: .3rem .6rem; background: rgba(255,255,255,.03); border-radius: 6px;
}
.highlight strong { color: var(--flame); }

.project-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.project-link {
    padding: .3rem .8rem; border-radius: 6px; font-size: .8rem; font-weight: 600;
    background: rgba(255,255,255,.05); color: var(--text-muted); transition: all .2s;
}
.project-link:hover { background: var(--flame); color: #fff; }

/* ═══════ VIDEO CLIPS (GIF-like) ═══════ */
.project-clips {
    position: relative;
    display: flex; gap: 4px; margin-bottom: .75rem;
    flex-wrap: wrap;
}
.project-clips video {
    width: 64px; height: 48px; object-fit: cover;
    border-radius: 6px; cursor: pointer;
    border: 1px solid var(--border); transition: border-color .2s;
    flex-shrink: 0; background: #000;
}
.project-clips video:hover { border-color: var(--flame); }
.project-clips video.playing { border-color: var(--amber); }
.clip-preview {
    position: fixed; z-index: 200; pointer-events: none;
    width: 240px; border-radius: 10px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.6); border: 2px solid var(--flame);
    display: none;
}
.clip-preview video {
    width: 100%; display: block;
}
.clip-preview.active { display: block; }

/* ═══════ VIDEO BUTTON ═══════ */
.project-video-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .45rem 1rem; border-radius: 8px;
    background: rgba(99,102,241,.1); border: 1px solid rgba(99,102,241,.25);
    color: var(--primary-light); font-size: .8rem; font-weight: 600;
    cursor: pointer; transition: all .2s; align-self: flex-start;
}
.project-video-btn:hover {
    background: rgba(99,102,241,.2); border-color: var(--primary);
    transform: translateY(-1px);
}
.play-icon { font-size: 1rem; }

/* ═══════ VIDEO MODAL ═══════ */
.video-modal {
    display: none; position: fixed; inset: 0; z-index: 1000;
    align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.9); backdrop-filter: blur(8px);
}
.video-modal-content {
    position: relative; width: 90%; max-width: 960px; z-index: 1;
}
.video-modal-content video {
    width: 100%; border-radius: var(--radius);
    background: #000; max-height: 80vh;
}
.video-modal-close {
    position: absolute; top: -2.5rem; right: 0;
    background: none; border: none; color: var(--text);
    font-size: 2rem; cursor: pointer; transition: color .2s;
    line-height: 1; padding: .25rem .5rem;
}
.video-modal-close:hover { color: var(--flame); }

/* ═══════ TIMELINE ═══════ */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 2rem; }
.timeline::before {
    content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
    width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
    position: absolute; left: -2rem; top: 6px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--card); border: 2px solid var(--text-dim);
    z-index: 1;
}
.timeline-dot.active { border-color: var(--flame); background: var(--flame); box-shadow: 0 0 12px rgba(232,68,48,.4); }
.timeline-content {
    background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
}
.timeline-header { margin-bottom: .75rem; }
.timeline-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.timeline-company { color: var(--flame); font-weight: 600; font-size: .9rem; margin-right: .75rem; }
.timeline-period { color: var(--text-dim); font-size: .8rem; }
.timeline-content > p { color: var(--text-muted); font-size: .9rem; }

/* ═══════ SKILLS GRID ═══════ */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.skill-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; transition: border-color .3s;
}
.skill-card:hover { border-color: rgba(192,38,211,.3); }
.skill-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(232,68,48,.1); color: var(--flame);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .8rem; font-family: 'JetBrains Mono', monospace;
    margin-bottom: .75rem;
}
.skill-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.skill-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ═══════ CONTACT ═══════ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 800px; margin: 0 auto; }
.contact-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; text-align: center; transition: all .3s; display: block;
}
.contact-card:hover { border-color: var(--flame); transform: translateY(-3px); }
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(232,68,48,.1); color: var(--flame);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.1rem; font-family: 'JetBrains Mono', monospace;
    margin: 0 auto .75rem;
}
.contact-card h4 { font-size: .9rem; margin-bottom: .2rem; }
.contact-card span { color: var(--text-muted); font-size: .85rem; }

/* ═══════ FOOTER ═══════ */
.footer { padding: 2rem 0; text-align: center; border-top: 1px solid var(--border); }
.footer p { color: var(--text-dim); font-size: .8rem; }

/* ═══════ VIZITKA CARD ═══════ */
.vizitka-overlay {
    display: none; position: fixed; inset: 0; z-index: 1100;
    align-items: center; justify-content: center;
}
.vizitka-overlay.active { display: flex; }
.vizitka-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.85); backdrop-filter: blur(12px);
    cursor: pointer;
}
.vizitka-scene {
    perspective: 1000px; z-index: 1;
}
.vizitka-card {
    width: 340px; height: 520px; position: relative;
    transform-style: preserve-3d;
    animation: vizitkEntry .8s cubic-bezier(.23,1,.32,1) forwards;
}
.vizitka-overlay.flipping .vizitka-card {
    animation: vizitkFlip .8s cubic-bezier(.23,1,.32,1) forwards;
}
.vizitka-overlay.flipping-back .vizitka-card {
    animation: vizitkFlipBack .8s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes vizitkEntry {
    from { transform: rotateY(-90deg) scale(.7); opacity: 0; }
    to { transform: rotateY(0deg) scale(1); opacity: 1; }
}
@keyframes vizitkFlip {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(180deg); }
}
@keyframes vizitkFlipBack {
    from { transform: rotateY(180deg); }
    to { transform: rotateY(360deg); }
}
.vizitka-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(160deg, #1a0a2e 0%, #0d0518 40%, #1a0820 70%, #2a0a1a 100%);
    border: 1px solid rgba(232,68,48,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(232,68,48,.08);
}
.vizitka-circuits {
    position: absolute; inset: 0; pointer-events: none; opacity: .12;
    background:
        linear-gradient(0deg, transparent 48%, rgba(232,68,48,.4) 49%, rgba(232,68,48,.4) 51%, transparent 52%) top left / 100% 60px,
        linear-gradient(90deg, transparent 48%, rgba(192,38,211,.3) 49%, rgba(192,38,211,.3) 51%, transparent 52%) top left / 80px 100%;
    mask-image: radial-gradient(ellipse at 20% 15%, black 0%, transparent 40%),
                radial-gradient(ellipse at 80% 15%, black 0%, transparent 40%),
                radial-gradient(ellipse at 80% 85%, black 0%, transparent 40%),
                radial-gradient(ellipse at 20% 85%, black 0%, transparent 40%);
    -webkit-mask-image: radial-gradient(ellipse at 20% 15%, black 0%, transparent 40%),
                        radial-gradient(ellipse at 80% 15%, black 0%, transparent 40%),
                        radial-gradient(ellipse at 80% 85%, black 0%, transparent 40%),
                        radial-gradient(ellipse at 20% 85%, black 0%, transparent 40%);
    mask-composite: add; -webkit-mask-composite: source-over;
}
.vizitka-back { transform: rotateY(180deg); }
.vizitka-logo {
    width: 72px; height: 72px; border-radius: 12px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 12px rgba(232,68,48,.3));
}
.vizitka-company {
    font-size: .85rem; letter-spacing: .25em; color: var(--text-muted);
    font-weight: 600; margin-bottom: 2rem;
}
.vizitka-name {
    font-size: 1.8rem; font-weight: 900; text-align: center;
    line-height: 1.2; letter-spacing: .04em;
    background: linear-gradient(135deg, #fff 30%, #f59e0b 60%, #e84430);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: .75rem;
}
.vizitka-title {
    font-size: 1rem; color: var(--flame); font-weight: 600;
    letter-spacing: .05em;
}
.vizitka-slogan {
    font-size: 2rem; font-weight: 900; text-align: center;
    line-height: 1.3; letter-spacing: .12em;
    color: var(--text); margin-bottom: 2.5rem;
}
.vizitka-contacts {
    display: flex; flex-direction: column; gap: .75rem;
    align-items: flex-start; width: 100%;
}
.vizitka-contacts a {
    color: var(--text-muted); font-size: .9rem; font-weight: 500;
    transition: color .2s; padding-left: .5rem;
    border-left: 2px solid var(--flame);
}
.vizitka-contacts a:hover { color: var(--flame); }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(3,7,18,.95); backdrop-filter: blur(20px); flex-direction: column; padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .hero-stats { gap: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .project-card { grid-template-columns: 1fr; }
    .project-media { aspect-ratio: 16 / 9; }
    .project-ecosystem { padding: 1rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .media-thumbs { height: 48px; }
    .media-thumbs img { height: 48px; }
    .project-clips video { width: 60px; height: 60px; }
    .vizitka-card { width: 280px; height: 440px; }
    .vizitka-name { font-size: 1.4rem; }
    .vizitka-slogan { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .stat-num { font-size: 1.6rem; }
}

/* ═══════ ANIMATIONS ═══════ */
.project-card, .skill-card, .timeline-item, .contact-card, .project-ecosystem {
    opacity: 0; transform: translate3d(0, 24px, 0);
    transition: opacity .8s cubic-bezier(.25,.46,.45,.94), transform .8s cubic-bezier(.25,.46,.45,.94), border-color .3s;
    will-change: transform, opacity;
}
.project-card.visible, .skill-card.visible, .timeline-item.visible, .contact-card.visible, .project-ecosystem.visible {
    opacity: 1; transform: translate3d(0, 0, 0);
}
