:root {
    --bg: #080b10;
    --panel: #111722;
    --panel-light: #172131;
    --text: #eef4ff;
    --muted: #9aa8bb;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #58d4ff;
    --accent-2: #a77dff;
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: radial-gradient(circle at top left, rgba(88, 212, 255, 0.18), transparent 32%),
                radial-gradient(circle at top right, rgba(167, 125, 255, 0.16), transparent 28%),
                var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 72px);
    backdrop-filter: blur(18px);
    background: rgba(8, 11, 16, 0.78);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--muted);
}

.nav a:hover {
    color: var(--text);
}

.section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 42px;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 800;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(46px, 9vw, 92px);
    line-height: 0.92;
    letter-spacing: -0.08em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -0.06em;
    margin-bottom: 22px;
}

h3 {
    font-size: 22px;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.hero-subtitle {
    max-width: 720px;
    color: #cbd6e6;
    font-size: clamp(18px, 2.2vw, 24px);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 34px;
}

.hero-tags span,
.status-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    border-radius: 999px;
    padding: 9px 13px;
    color: #d9e6f7;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
}

.button.primary {
    color: #061018;
    background: linear-gradient(135deg, var(--accent), #90ffdf);
}

.button.secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
}

.hero-card {
    display: grid;
    gap: 16px;
}

.photo-placeholder,
.project-image,
.gallery-grid div,
.video-placeholder {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(88, 212, 255, 0.14), rgba(167, 125, 255, 0.12)), var(--panel);
    border-radius: var(--radius);
    color: var(--muted);
}

.photo-placeholder {
    min-height: 420px;
    display: grid;
    place-items: center;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.status-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #52ff9a;
    box-shadow: 0 0 18px #52ff9a;
}

.about {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-label {
    color: var(--muted);
    font-weight: 700;
}

.about p,
.muted,
.skills p,
.project-card p,
.contact p {
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.project-grid,
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.project-card,
.skills-grid > div,
.contact {
    border: 1px solid var(--line);
    background: rgba(17, 23, 34, 0.82);
    border-radius: var(--radius);
    overflow: hidden;
}

.project-image {
    height: 220px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
}

.project-body,
.skills-grid > div {
    padding: 26px;
}

.project-card ul {
    padding-left: 18px;
    color: #cbd6e6;
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-grid div {
    min-height: 190px;
    display: grid;
    place-items: center;
}

.video-placeholder {
    min-height: 320px;
    display: grid;
    place-items: center;
}

.contact {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 34px;
}

.contact-links {
    display: grid;
    gap: 12px;
}

.contact-links a {
    min-width: 220px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--panel-light);
    color: #dfeaff;
}

.site-footer {
    padding: 32px 20px;
    text-align: center;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        gap: 14px;
        flex-direction: column;
    }

    .nav {
        gap: 14px;
        flex-wrap: wrap;
    }

    .hero,
    .about,
    .contact {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 64px 0;
    }

    .photo-placeholder {
        min-height: 300px;
    }
}
