:root {
    --bg: #0d0d0f;
    --surface: #141418;
    --surface2: #1c1c22;
    --accent1: #ff6b6b;
    --accent2: #ffd93d;
    --accent3: #6bcbff;
    --accent4: #a78bfa;
    --text: #f0ede8;
    --muted: #7a7880;
    --border: rgba(255, 255, 255, 0.07);
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow: hidden;
    cursor: none;
}

/* Custom cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--accent2);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 217, 61, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transition: border-color 0.2s ease, border-width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.cursor {
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
}

.cursor.hover {
    opacity: 0;
    width: 0;
    height: 0;
}

.cursor-ring.hover {
    border-width: 2px;
    border-color: rgba(255, 217, 61, 1);
    background: rgba(255, 217, 61, 0.08);
}

/* Blobs */
.blobs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: blobFloat linear infinite;
}

.blob1 {
    width: 500px;
    height: 500px;
    background: var(--accent1);
    top: -100px;
    left: -150px;
    animation-duration: 22s;
}

.blob2 {
    width: 400px;
    height: 400px;
    background: var(--accent3);
    bottom: -100px;
    right: -100px;
    animation-duration: 28s;
    animation-delay: -8s;
}

.blob3 {
    width: 300px;
    height: 300px;
    background: var(--accent4);
    top: 40%;
    left: 30%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.blob4 {
    width: 250px;
    height: 250px;
    background: var(--accent2);
    bottom: 20%;
    left: 10%;
    animation-duration: 24s;
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 40px) scale(0.95);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Grain */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    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)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* HERO */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.hero-avatar-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 28px;
}

.hero-avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent1), var(--accent2), var(--accent3), var(--accent4), var(--accent1));
    animation: spin 4s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-avatar-inner {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--bg);
}

.hero-avatar {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    object-fit: cover;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
}

.hero-avatar-fallback {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent4), var(--accent1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', cursive;
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.commission-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(107, 203, 255, 0.12);
    border: 1px solid rgba(107, 203, 255, 0.3);
    color: var(--accent3);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.commission-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

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

.hero h1 {
    font-family: 'Caveat', cursive;
    font-size: clamp(52px, 10vw, 96px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent2) 50%, var(--accent1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 380px;
    line-height: 1.6;
    margin-bottom: 44px;
}

/* NAV BUTTONS on hero */
.hero-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 100px;
    font-family: 'Caveat', cursive;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    cursor: none;
    transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
    letter-spacing: 0.02em;
}

.nav-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.nav-btn.primary {
    background: var(--accent1);
    color: #0d0d0f;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.3);
}

.nav-btn.primary:hover {
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.45);
}

/* MODAL OVERLAY */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    scrollbar-width: thin;
    scrollbar-color: var(--surface2) transparent;
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--accent1);
    color: #0d0d0f;
}

.modal-label {
    font-family: 'Caveat', cursive;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 8px;
}

.modal-title {
    font-family: 'Caveat', cursive;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 6px;
}

.modal-divider {
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    margin: 16px 0 28px;
}

/* ABOUT modal */
.about-text {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.85;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: none;
    background: var(--surface2);
    border: 1px solid var(--border);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-expand {
    font-family: 'Caveat', cursive;
    font-size: 16px;
    color: white;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, var(--surface2), var(--surface));
}

/* COMMISSIONS */
.commissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.commission-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}

.commission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.commission-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.commission-card:hover::before {
    transform: scaleX(1);
}

.commission-type {
    font-family: 'Caveat', cursive;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.commission-price {
    font-size: 26px;
    font-weight: 500;
    color: var(--accent2);
}

.commission-price span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 300;
}

.payment-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-label {
    font-size: 13px;
    color: var(--muted);
}

.payment-chip {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
}

/* SOCIALS */
.socials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.social-icon>img {
    width: 20px;
    height: 20px;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 20px;
    font-family: 'Caveat', cursive;
    font-size: 19px;
    font-weight: 600;
    cursor: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}

.faq-q:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--accent1);
    color: #0d0d0f;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding: 0 20px 16px;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(24px);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: var(--accent1);
}

@media (max-width: 520px) {
    .modal {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .nav-btn {
        font-size: 16px;
        padding: 9px 18px;
    }
}