/* Harschel Portfolio — Warm Editorial Theme */

:root {
    --bg: #F4EFE6;
    --bg-alt: #EBE4D8;
    --surface: #FFFFFF;
    --ink: #141210;
    --ink-muted: #5C5650;
    --ink-faint: #9A9288;
    --accent: #C45C26;
    --accent-soft: #F0D5C4;
    --accent-dark: #8B3D14;
    --forest: #1B4332;
    --forest-soft: #D4E8DC;
    --border: rgba(20, 18, 16, 0.08);
    --shadow: 0 4px 24px rgba(20, 18, 16, 0.06);
    --shadow-lg: 0 20px 60px rgba(20, 18, 16, 0.1);
    --radius: 20px;
    --radius-sm: 12px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --section-py: 60px;
}

@media (min-width: 768px) {
    :root { --section-py: 80px; }
}

@media (min-width: 1024px) {
    :root { --section-py: 100px; }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: white;
}

/* Ambient background */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ambient__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.ambient__blob--1 {
    width: 600px;
    height: 600px;
    background: var(--accent-soft);
    top: -200px;
    right: -100px;
    animation: drift 20s ease-in-out infinite;
}

.ambient__blob--2 {
    width: 500px;
    height: 500px;
    background: var(--forest-soft);
    bottom: 10%;
    left: -150px;
    animation: drift 25s ease-in-out infinite reverse;
}

.ambient__grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

/* Layout */
.wrapper {
    width: 100%;
    max-width: 1200px;
    padding-inline: 20px;
    margin-inline: auto;
}

.wrapper--wide {
    width: 100%;
    max-width: 1400px;
    padding-inline: 20px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .wrapper, .wrapper--wide {
        padding-inline: 32px;
    }
}

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

/* Typography */
.display {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 540px;
    margin: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
}

.nav.is-scrolled {
    padding: 12px 0;
    background: rgba(244, 239, 230, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav__logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav__links {
    display: none;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .nav__links { display: flex; }
}

.nav__link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.25s var(--ease);
}

.nav__link:hover {
    color: var(--ink);
    background: rgba(20, 18, 16, 0.05);
}

.nav__cta {
    display: none;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--ink);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

@media (min-width: 768px) {
    .nav__cta { display: inline-flex; }
}

.nav__cta:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    cursor: pointer;
    color: var(--ink);
}

@media (min-width: 768px) {
    .nav__toggle { display: none; }
}

.nav__mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px 24px 24px;
    background: rgba(244, 239, 230, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
}

.nav__mobile.is-open { 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .nav__mobile { display: none !important; }
}

.nav__mobile a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.nav__mobile a:last-child {
    border: none;
    margin-top: 12px;
    padding: 14px 20px;
    text-align: center;
    background: var(--ink);
    color: white;
    border-radius: 100px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--section-py) + 40px) 0 var(--section-py);
}

.hero__grid {
    display: grid;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    color: var(--ink);
}

.hero__title em {
    font-style: italic;
    color: var(--accent);
}

.hero__role {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--forest);
    min-height: 1.4em;
    margin-bottom: 24px;
}

.hero__role-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero__tagline {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 480px;
    margin: 0 0 36px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn--primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 20px rgba(196, 92, 38, 0.3);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 92, 38, 0.35);
}

.btn--ghost {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.hero__visual {
    position: relative;
    display: block; /* Show on all screens */
}

.hero__card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    max-width: 380px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero__card {
        padding: 32px;
        max-width: none;
        margin: 0;
    }
}

.hero__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--forest));
}

.hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.hero__stat {
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-align: center;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
}

.hero__stat-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 6px;
}

.hero__avatar-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), var(--forest-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    overflow: hidden;
}

.hero__avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About */
.about {
    padding: var(--section-py) 0;
}

.about__grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
    }
}

.about__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .about__cards {
        grid-template-columns: 1fr 1fr;
    }
}

.about__card {
    padding: 24px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

.about__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.about__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.about__card-icon--dev { background: var(--accent-soft); color: var(--accent); }
.about__card-icon--ai { background: var(--forest-soft); color: var(--forest); }

.about__card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--ink);
}

.about__card p {
    font-size: 13px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.5;
}

.about__location {
    grid-column: 1 / -1;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 180px;
    border: 1px solid var(--border);
}

.about__location img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: sepia(20%) saturate(80%);
}

.about__location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,18,16,0.7), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px 24px;
}

.about__location-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.about__location-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
}

.about__text p {
    font-size: 1.0625rem;
    color: var(--ink-muted);
    margin: 0 0 20px;
    line-height: 1.75;
}

/* Marquee */
.marquee-section {
    padding: 40px 0;
    border-block: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee__item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--ink-faint);
    white-space: nowrap;
}

.marquee__item::after {
    content: '✦';
    color: var(--accent);
    font-size: 0.75rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Experience */
.experience {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.experience__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
}

.experience__item {
    display: grid;
    gap: 16px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease);
}

@media (min-width: 768px) {
    .experience__item {
        grid-template-columns: 200px 1fr 1.5fr;
        gap: 40px;
        align-items: start;
        padding: 40px 24px;
        margin: 0 -24px;
        border-radius: var(--radius-sm);
        border-bottom: none;
    }

    .experience__item:hover {
        background: var(--surface);
        box-shadow: var(--shadow);
    }
}

.experience__period {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent);
    text-transform: uppercase;
}

.experience__role {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 4px;
}

.experience__company {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: 0.02em;
}

.experience__desc {
    font-size: 15px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.7;
}

/* Skills */
.skills {
    padding: var(--section-py) 0;
}

.skills__grid {
    display: grid;
    gap: 24px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .skills__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .skills__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skills__category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s var(--ease);
}

.skills__category:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.skills__category-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-item:last-child { margin-bottom: 0; }

.skill-item__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.skill-item__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.skill-item__pct {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.skill-item__bar {
    height: 6px;
    background: var(--bg-alt);
    border-radius: 100px;
    overflow: hidden;
}

.skill-item__fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--accent), var(--forest));
    transition: width 1.2s var(--ease);
    width: 0;
}

.skill-item__fill.is-visible { width: var(--pct); }

/* Projects */
.projects {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}

.projects__grid {
    display: grid;
    gap: 28px;
    margin-top: 48px;
}

@media (min-width: 640px) {
    .projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .projects__grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-card:hover .project-card__image img {
    transform: scale(1.06);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20,18,16,0.6), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__view-btn {
    padding: 10px 20px;
    background: white;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    border: none;
    cursor: pointer;
}

.project-card__body { padding: 24px; }

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.project-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: 100px;
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--ink);
}

.project-card__desc {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact */
.contact {
    padding: var(--section-py) 0;
}

.contact__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact__inner .section-title { margin-bottom: 16px; }

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.btn--whatsapp {
    background: #25D366;
    color: white;
}

.btn--whatsapp:hover { background: #128C7E; }

.btn--instagram {
    background: linear-gradient(135deg, #833AB4, #E1306C);
    color: white;
}

/* Mirrors */
.mirrors {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.mirrors__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .mirrors__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .mirrors__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.mirror-link {
    display: block;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.mirror-link:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mirror-link__status {
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
    margin-bottom: 4px;
}

.mirror-link__domain {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
    word-break: break-all;
    font-family: monospace;
}

.mirror-link:hover .mirror-link__domain { color: var(--accent); }

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer__copy {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
}

.footer__links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__links a:hover { color: var(--accent); }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Modal — dark overlay for simulations */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 18, 16, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal {
    background: #0f1117;
    border-radius: var(--radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal__title-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
    font-family: monospace;
}

.modal__dots {
    display: flex;
    gap: 6px;
}

.modal__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.modal__dot--red { background: #ef4444; }
.modal__dot--yellow { background: #eab308; }
.modal__dot--green { background: #22c55e; }

.modal__close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal__close:hover { color: white; }

.modal__body {
    flex: 1;
    overflow-y: auto;
    min-height: 250px;
    background: #0b0c15;
}

@media (min-width: 640px) {
    .modal__body {
        min-height: 400px;
    }
}

.modal__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 32px;
    text-align: center;
    font-family: monospace;
    color: #38bdf8;
}

.modal__loader-bar {
    width: 240px;
    height: 4px;
    background: #1e293b;
    border-radius: 100px;
    overflow: hidden;
    margin: 16px 0;
}

.modal__loader-fill {
    height: 100%;
    background: #38bdf8;
    transition: width 0.2s;
}

.modal__footer {
    padding: 28px 32px;
    background: #0f1117;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.modal__footer h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin: 0 0 8px;
}

.modal__footer p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.modal__tag {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.06);
    color: #a78bfa;
    border-radius: 100px;
    font-family: monospace;
}

.modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal__actions .btn--primary {
    flex: 1;
    justify-content: center;
    min-width: 160px;
}

.modal__actions .btn--ghost {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.15);
}

[x-cloak] { display: none !important; }

