body {
    background:
        radial-gradient(circle at top, rgba(255, 136, 196, 0.18) 0%, rgba(255, 136, 196, 0.05) 18%, transparent 42%),
        radial-gradient(circle at bottom left, rgba(255, 176, 120, 0.12) 0%, rgba(255, 176, 120, 0.03) 20%, transparent 38%),
        radial-gradient(circle at right, rgba(166, 130, 255, 0.12) 0%, rgba(166, 130, 255, 0.03) 18%, transparent 34%),
        linear-gradient(160deg, #301826 0%, #180d16 42%, #09050a 100%);
    color: #ffffff;
    font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 32px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.page-box {
    width: min(680px, 100%);
    min-height: min(560px, calc(100vh - 64px));
    background:
        linear-gradient(180deg, rgba(255, 181, 214, 0.16), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, rgba(255, 195, 120, 0.06), transparent 35%),
        linear-gradient(315deg, rgba(167, 132, 255, 0.08), transparent 40%),
        linear-gradient(135deg, rgba(49, 17, 34, 0.9), rgba(19, 8, 15, 0.88));
    border: 1px solid rgba(255, 179, 212, 0.2);
    border-radius: 30px;
    padding: 20px;
    box-shadow:
        0 30px 80px rgba(2, 6, 14, 0.48),
        0 10px 30px rgba(2, 6, 14, 0.28),
        inset 0 1px 0 rgba(255, 204, 226, 0.26),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    overflow: hidden;
}

.page-box::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 196, 221, 0.1);
    pointer-events: none;
}

.page-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 154, 206, 0.2), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(255, 197, 122, 0.12), transparent 24%),
        radial-gradient(circle at bottom right, rgba(168, 126, 255, 0.12), transparent 30%);
    opacity: 0.9;
    pointer-events: none;
}

main {
    flex: 1;
    display: grid;
    align-items: stretch;
    padding-top: 14px;
    position: relative;
}

header {
    text-align: center;
    padding: 4px 4px 14px;
    border-bottom: 1px solid rgba(255, 177, 213, 0.12);
    position: relative;
    z-index: 1;
}

.profile-picture {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 12px;
    border: 1px solid rgba(255, 230, 240, 0.55);
    box-shadow:
        0 12px 24px rgba(2, 6, 14, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 0 0 6px rgba(255, 255, 255, 0.04);
}

h1 {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 700;
    font-family: "Parisienne", "Snell Roundhand", "Apple Chancery", cursive;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

h1::before,
h1::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
    flex: 0 0 auto;
}

header p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: rgba(255, 214, 231, 0.72);
    margin: 0 0 14px;
}

.section-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-button {
    font: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 229, 239, 0.88);
    background:
        linear-gradient(135deg, rgba(214, 90, 154, 0.12), rgba(255, 184, 120, 0.08));
    border: 1px solid rgba(255, 172, 210, 0.16);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 206, 227, 0.14),
        0 8px 18px rgba(2, 6, 14, 0.18);
}

.nav-button:hover,
.nav-button:focus-visible {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(235, 111, 173, 0.22), rgba(255, 183, 94, 0.16));
    border-color: rgba(255, 190, 220, 0.28);
    transform: scale(1.08);
}

.nav-button.active {
    color: #eef5ff;
    background:
        linear-gradient(135deg, rgba(244, 115, 178, 0.95), rgba(255, 174, 92, 0.88) 52%, rgba(166, 110, 255, 0.82));
    border-color: rgba(255, 194, 223, 0.38);
    box-shadow:
        0 12px 26px rgba(176, 39, 110, 0.34),
        0 0 0 3px rgba(255, 160, 206, 0.08),
        inset 0 1px 0 rgba(255, 223, 236, 0.42);
}

.nav-button:active {
    transform: scale(1.18);
}

.content-panel {
    grid-area: 1 / 1;
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255, 160, 208, 0.1), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(255, 181, 108, 0.04), transparent 38%),
        linear-gradient(315deg, rgba(149, 122, 255, 0.06), transparent 42%),
        rgba(25, 10, 20, 0.44);
    border: 1px solid rgba(255, 175, 215, 0.12);
    border-radius: 24px;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    box-shadow:
        inset 0 1px 0 rgba(255, 206, 227, 0.14),
        0 18px 30px rgba(2, 6, 14, 0.24);
    position: relative;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.975);
    filter: blur(10px);
    transition:
        opacity 0.35s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.35s ease,
        visibility 0.35s ease;
    will-change: opacity, transform, filter;
}

.content-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #ffd7e8;
    text-shadow: 0 0 18px rgba(255, 120, 188, 0.12);
    text-align: center;
}

h3 {
    margin: 22px 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffe7f1;
    text-align: center;
}

h3:first-of-type {
    margin-top: 0;
}

p,
li {
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.01em;
    color: rgba(255, 229, 238, 0.84);
}

.inline-robux {
    width: 1em;
    height: 1em;
    object-fit: contain;
    vertical-align: -0.12em;
    margin: 0 0.05em 0 -0.38em;
}

.content-panel b,
.content-panel strong {
    font-weight: 800;
    color: #fff7fb;
    letter-spacing: -0.02em;
    text-shadow: 0 0 14px rgba(255, 158, 206, 0.18);
}

#about p {
    text-align: justify;
    text-align-last: center;
}

#contact h3,
#contact p {
    text-align: center;
}

.contact-badge-link {
    display: inline-block;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.contact-badge-link:hover,
.contact-badge-link:focus-visible {
    transform: scale(1.05);
    filter: brightness(1.05);
}

.contact-badge {
    width: 120px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

ul {
    margin: 0;
    padding-left: 22px;
}

#services ul {
    padding-left: 0;
    list-style: none;
}

#services li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
}

.work-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.work-card:hover,
.work-card:focus-visible {
    transform: scale(1.04);
    box-shadow: 0 18px 34px rgba(2, 6, 14, 0.28);
}

.gallery img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    border: 1px solid rgba(255, 177, 214, 0.14);
    border-radius: 14px;
    background-color: #111111;
    box-shadow:
        0 14px 28px rgba(2, 6, 14, 0.24),
        inset 0 1px 0 rgba(255, 211, 230, 0.12);
    display: block;
}

.work-card:nth-child(3n + 1) img {
    border-color: rgba(255, 177, 214, 0.22);
}

.work-card:nth-child(3n + 2) img {
    border-color: rgba(255, 191, 128, 0.22);
}

.work-card:nth-child(3n) img {
    border-color: rgba(173, 146, 255, 0.22);
}

@media (max-width: 700px) {
    body {
        padding: 12px;
        align-items: stretch;
    }

    .page-box {
        min-height: calc(100vh - 24px);
        padding: 16px;
        border-radius: 24px;
        width: 100%;
    }

    .content-panel {
        padding: 18px;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 420px;
    }

    .nav-button {
        width: 100%;
    }

    p,
    li,
    header p {
        font-size: 0.92rem;
    }
}
