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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0a0a;
    color: #f0f0f0;
    min-height: 100vh;
    overflow-x: hidden;
    --pointer-x: 50%;
    --pointer-y: 50%;
    --parallax-x: 0px;
    --parallax-y: 0px;
    --grid-shift-x: 0px;
    --grid-shift-y: 0px;
}

.maintenance-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: translate3d(var(--grid-shift-x), var(--grid-shift-y), 0) scale(1.04);
    animation: grid-drift 18s ease-in-out infinite alternate;
    transition: transform 160ms ease-out;
    will-change: transform;
    z-index: 0;
}

.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(74, 222, 128, 0.2) 0%, rgba(34, 197, 94, 0.08) 34%, transparent 72%);
    top: var(--pointer-y);
    left: var(--pointer-x);
    transform: translate3d(calc(-50% + var(--parallax-x)), calc(-50% + var(--parallax-y)), 0);
    animation: glow-breathe 9s ease-in-out infinite alternate;
    transition: top 180ms ease-out, left 180ms ease-out, transform 180ms ease-out;
    filter: blur(10px);
    opacity: 0.95;
    will-change: top, left, transform;
    pointer-events: none;
    z-index: 0;
}

@keyframes grid-drift {
    0% {
        transform: translate3d(calc(var(--grid-shift-x) - 18px), calc(var(--grid-shift-y) - 12px), 0) scale(1.04);
    }

    100% {
        transform: translate3d(calc(var(--grid-shift-x) + 18px), calc(var(--grid-shift-y) + 14px), 0) scale(1.08);
    }
}

@keyframes glow-breathe {
    0% {
        opacity: 0.72;
        filter: blur(16px);
    }

    100% {
        opacity: 1;
        filter: blur(8px);
    }
}

.container {
    position: relative;
    z-index: 1;
    width: min(100%, 1080px);
}

.maintenance-container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: 2rem;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

h1,
h2 {
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #4ade80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.domain {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.description,
.page-description,
.card-text,
.card-list {
    font-size: 1.05rem;
    color: #888;
    line-height: 1.7;
}

.description {
    margin-bottom: 3rem;
}

.coming-soon,
.social-buttons,
.page-nav,
.card-grid,
.page-actions {
    display: flex;
    flex-wrap: wrap;
}

.coming-soon,
.social-buttons,
.page-actions {
    justify-content: center;
}

.coming-soon,
.social-buttons,
.page-nav,
.page-actions {
    gap: 1rem;
}

.coming-soon {
    margin-bottom: 3rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #666;
}

.tag svg {
    opacity: 0.5;
}

.tag-link {
    text-decoration: none;
    transition: transform 0.15s, border-color 0.2s, color 0.2s, background 0.2s;
}

.tag-link:hover,
.tag-link.is-active {
    color: #b8f7cd;
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.08);
    transform: translateY(-1px);
}

.divider {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0 auto 2.5rem;
}

.contact {
    font-size: 0.9rem;
    color: #555;
}

.contact a {
    color: #4ade80;
    text-decoration: none;
    transition: color 0.2s;
}

.contact a:hover {
    color: #86efac;
}

.social-buttons {
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #4ade80;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.btn-telegram {
    background: rgba(38, 169, 224, 0.08);
    border-color: rgba(38, 169, 224, 0.25);
    color: #7dd3fc;
}

.btn-telegram:hover {
    background: rgba(38, 169, 224, 0.16);
}

.btn-github {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.14);
    color: #f3f4f6;
}

.btn-github:hover {
    background: rgba(255,255,255,0.1);
}

.btn-outline {
    color: #f0f0f0;
    border-color: rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.03);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: 2rem;
}

.single-page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.single-page-header {
    width: 100%;
    margin-bottom: 1.5rem;
}

.single-page-header h1 {
    margin-bottom: 0;
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    align-items: start;
}

.sidebar-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 2rem;
    align-self: start;
    height: fit-content;
}

.sidebar-description {
    margin-bottom: 1.5rem;
}

.sidebar-facts {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.sidebar-contact {
    margin-bottom: 1rem;
}

.sidebar-skills {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.sidebar-actions {
    justify-content: flex-start;
    margin-bottom: 0;
}

.single-main {
    gap: 1.5rem;
}

.hero-panel .page-description {
    max-width: none;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.skill-tag {
    color: #d7fbe3;
    border-color: rgba(74, 222, 128, 0.24);
    background: rgba(74, 222, 128, 0.08);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.experience-list {
    display: grid;
    gap: 0.9rem;
}

.experience-item {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.experience-item .timeline-title {
    margin-bottom: 0.45rem;
}

.project-timeline {
    display: grid;
    gap: 0.9rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.timeline-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.timeline-year {
    order: 2;
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-title {
    color: #f3f3f3;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.timeline-text {
    color: #888;
    font-size: 0.96rem;
    line-height: 1.65;
}

.modal-open {
    overflow: hidden;
}

.screenshot-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    padding: 1.5rem;
    background: rgba(5, 8, 7, 0.72);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.screenshot-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.screenshot-modal__panel {
    width: min(100%, 920px);
    max-height: calc(100vh - 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(11, 15, 13, 0.96);
    box-shadow: 0 30px 90px rgba(0,0,0,0.45);
    transform: translateX(56px);
    transition: transform 0.35s ease;
}

.screenshot-modal.is-open .screenshot-modal__panel {
    transform: translateX(0);
}

.screenshot-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.screenshot-modal__badge {
    margin-bottom: 1rem;
}

.screenshot-modal__close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    color: #f0f0f0;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.screenshot-modal__close:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(74, 222, 128, 0.35);
    transform: translateY(-1px);
}

.screenshot-modal__body {
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    padding: 1rem;
}

.screenshot-modal__gallery {
    display: grid;
    gap: 1rem;
}

.screenshot-modal__card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(15, 22, 18, 0.92);
}

.screenshot-modal__caption {
    padding: 0.95rem 1rem 1rem;
    color: #d4e6da;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.screenshot-modal__image {
    width: 100%;
    display: block;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brand-link {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.page-nav {
    justify-content: flex-end;
}

.page-main {
    display: grid;
    gap: 1.5rem;
}

.page-panel,
.info-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.page-panel {
    padding: 2rem;
}

.page-description {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.stats-strip,
.project-gallery {
    display: grid;
    gap: 1rem;
}

.stats-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.75rem;
}

.stat-chip {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.stat-value {
    display: block;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    color: #f7f7f7;
    margin-bottom: 0.35rem;
}

.stat-label {
    color: #7b7b7b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.section-heading {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: #f4f4f4;
    margin-bottom: 0.75rem;
}

.project-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-card {
    min-width: 0;
}

.gallery-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,0.16), transparent 34%),
        linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01)),
        var(--gallery-swatch, linear-gradient(135deg, #1f2937, #111827));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.gallery-frame::before,
.gallery-frame::after {
    content: "";
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.gallery-frame::before {
    width: 72%;
    height: 72%;
    right: -16%;
    bottom: -18%;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    filter: blur(10px);
}

.gallery-frame::after {
    inset: 0;
    background: linear-gradient(180deg, transparent 15%, rgba(10,10,10,0.16) 58%, rgba(10,10,10,0.74) 100%);
}

.gallery-badge,
.gallery-title,
.gallery-note {
    position: absolute;
    z-index: 1;
    left: 1rem;
    right: 1rem;
}

.gallery-badge {
    top: 1rem;
    display: inline-flex;
    width: fit-content;
    padding: 0.38rem 0.65rem;
    border-radius: 999px;
    background: rgba(10,10,10,0.28);
    border: 1px solid rgba(255,255,255,0.18);
    color: #f8fafc;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gallery-title {
    bottom: 2.7rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.gallery-note {
    bottom: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
}

.card-grid {
    gap: 1rem;
}

.info-card {
    flex: 1 1 260px;
    padding: 1.4rem;
}

.card-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4ade80;
    margin-bottom: 0.9rem;
}

.card-title {
    font-size: 1.1rem;
    color: #f3f3f3;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.96rem;
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    font-size: 0.92rem;
}

.card-list li + li {
    margin-top: 0.45rem;
}

.footer-note {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 720px) {
    .page-shell,
    .maintenance-container {
        padding: 1.25rem;
    }

    .screenshot-modal {
        padding: 0.75rem;
    }

    .screenshot-modal__panel {
        width: 100%;
        max-height: calc(100vh - 1.5rem);
        padding: 1rem;
        border-radius: 20px;
    }

    .screenshot-modal__body {
        padding: 0.75rem;
    }

    .screenshot-modal__header {
        align-items: center;
    }

    .single-page-shell {
        min-height: auto;
        display: block;
    }

    .single-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-panel {
        position: static;
    }

    .glow {
        width: 420px;
        height: 420px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-nav {
        justify-content: flex-start;
    }

    .page-panel {
        padding: 1.5rem;
    }

    .timeline-item {
        gap: 0.4rem;
    }

    .stats-strip,
    .project-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1040px) {
    .project-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .stats-strip {
        grid-template-columns: 1fr;
    }
}