:root {
    --glow: rgba(120, 200, 255, 0.35);
    --glow-soft: rgba(120, 200, 255, 0.15);

    --content-width: calc(90% * 0.65);
    --content-max: calc(1200px * 0.65);
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Outfit", "Segoe UI", sans-serif;
    background: #020611;
    color: white;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    z-index: 0;
}

.frost {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(3px) brightness(1.1) saturate(1.2);
    background: rgba(20, 50, 80, 0.08);
    z-index: 1;
    pointer-events: none;
}

.vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 120px 220px -60px rgba(0, 0, 0, 0.7),
    inset 0 -120px 220px -60px rgba(0, 0, 0, 0.7);
}

.header {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    z-index: 3;
    position: relative;
}

.banner {
    z-index: 3;
    width: 90%;
    max-width: 1200px;

    border: 4px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);

    position: relative;
    overflow: visible;

    box-shadow: 0 0 12px var(--glow-soft), 0 0 24px rgba(120, 200, 255, 0.08);
}

.header .banner {
    height: 120px;
}

.inner-rect {
    position: absolute;
    inset: 6px;
    border-radius: 6px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 2.5s infinite ease-in-out;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.8);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.profile {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
    z-index: 5;
}

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

.content {
    padding-top: calc(120px * 0.25);
    display: flex;
    justify-content: center;
    z-index: 3;
    position: relative;
}

.info-banner {
    width: var(--content-width);
    max-width: var(--content-max);
    height: calc(120px * 0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.2rem;
    letter-spacing: 0.6px;

    text-shadow: 0 0 6px var(--glow), 0 0 12px var(--glow-soft);
}

.info-text {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.info-text small {
    font-size: 0.8rem;
    opacity: 0.8;
    font-style: italic;
}

.link-box a,
.info-banner a,
.link-item {
    position: relative;
    overflow: hidden;
    user-select: none;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    color: #dceeff;
    text-decoration: none;
    margin: 4px 0;
    padding: 6px 10px;
    border-radius: 8px;

    transition: 0.2s;
}

.info-banner a {
    width: 100%;
    height: 100%;
}

.link-box a::after,
.info-banner a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;

    background: radial-gradient(
        circle,
        rgba(120, 200, 255, 0.25) 0%,
                                rgba(120, 200, 255, 0.1) 30%,
                                transparent 70%
    );

    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.6s ease-out;
}

.link-box a:hover,
.info-banner a:hover {
    background: rgba(120, 200, 255, 0.08);
    box-shadow: 0 0 10px var(--glow-soft);
    text-shadow: 0 0 6px var(--glow);
}

.link-box a:hover {
    transform: translateX(6px);
}

.link-box a:hover::after,
.info-banner a:hover::after {
    opacity: 1;
    transform: scale(1.4);
}

.link-item {
    cursor: default;
    opacity: 0.85;
}

.icon {
    width: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    z-index: 3;
}

.link-box {
    width: var(--content-width);
    max-width: var(--content-max);
    margin-top: 20px;
    padding: 12px 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.link-content {
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.6px;
    width: 100%;
}

.group-title {
    margin-bottom: 10px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 6px;

    text-shadow: 0 0 6px var(--glow), 0 0 12px var(--glow-soft);
}

.group-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(200px, 60%);
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(180, 220, 255, 0.6),
                                transparent
    );
}


/* Social icon strip */
.social-box {
    padding: 12px 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.social-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.social-content a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    color: #dceeff;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.social-content a::after {
    content: none;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-content a:hover {
    transform: translateY(-2px) scale(1.08);
    color: white;
    filter: drop-shadow(0 0 7px var(--glow));
    background: transparent;
    box-shadow: none;
    text-shadow: none;
}

@media (max-width: 600px) {
    .social-content {
        gap: 22px;
    }

    .social-content a {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }
}

.gallery {
    width: 100%;
    padding: 0 6px;
    box-sizing: border-box;
}

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

.gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;

    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s;

    cursor: zoom-in;
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px var(--glow-soft);
}

.gallery-label {
    margin-top: 6px;
    font-size: 0.85rem;
}

.gallery-label span {
    display: block;
    opacity: 0.8;
}

.gallery-label small {
    display: block;
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 2px;
}

.gallery-wide {
    grid-column: span 3;
}

.gallery-wide img {
    aspect-ratio: 3/1;
}

.show-more {
    display: block;
    margin: 20px auto 0;
    padding: 10px 18px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;

    color: white;
    font: inherit;
    cursor: pointer;

    transition: 0.2s ease;
}

.show-more:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.tos {
    text-align: left;
    line-height: 1.6;
    padding: 10px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.tos .group-title {
    text-align: center;
}

.tos ul {
    text-align: left;
}

.tos li {
    text-align: left;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);

    opacity: 0;
    pointer-events: none;
    z-index: 999999;
}

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

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
}

.form-help {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.4;
}

.commission-form {
    display: flex;
    flex-direction: column;
    gap: 16px;

    max-width: 600px;
    margin: 0 auto;
}

.commission-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;

    text-align: left;
}

.commission-form input,
.commission-form select,
.commission-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;

    color: white;
    padding: 10px;

    font-family: inherit;
}

.commission-form textarea {
    resize: vertical;
}

.checkbox {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
}

.checkbox input {
    width: auto !important;
    margin: 0;
}

.checkbox a {
    display: inline;
    margin: 0;
    padding: 0;
}

.commission-form button {
    background: rgba(120, 200, 255, 0.15);
    border: 1px solid rgba(120, 200, 255, 0.4);

    color: white;
    padding: 12px;

    border-radius: 8px;
    cursor: pointer;

    font-family: inherit;
}

.commission-form button:hover {
    box-shadow: 0 0 10px var(--glow-soft);
}


@media (max-width: 600px) {
    .header .banner {
        height: 100px;
    }

    .info-banner {
        height: 50px;
        font-size: 0.85rem;
    }

    .info-text small {
        font-size: 0.45rem;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .content {
        padding-top: 20px;
    }

    .profile {
        width: 110px;
        height: 110px;
        border-width: 5px;
    }

    .gallery-grid {
        gap: 8px;
    }

    .gallery-label {
        font-size: 0.7rem;
    }

    .gallery {
        padding: 0 4px;
    }

    .commission-form {
        display: flex;
        flex-direction: column;
        gap: 16px;

        max-width: 600px;
        margin: 0 auto;
    }

    .commission-form label {
        display: flex;
        flex-direction: column;
        gap: 6px;

        text-align: left;
    }

    .commission-form input,
    .commission-form select,
    .commission-form textarea {
        width: 100%;
        box-sizing: border-box;

        padding: 10px;

        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);

        background: rgba(255, 255, 255, 0.05);
        color: white;

        font-family: inherit;
        font-size: 0.95rem;
    }

    .commission-form textarea {
        resize: vertical;
        min-height: 180px;
    }

    .commission-form input::placeholder,
    .commission-form textarea::placeholder {
        color: rgba(255, 255, 255, 0.55);
    }

    .commission-form button {
        padding: 12px;

        border: 1px solid rgba(120, 200, 255, 0.4);
        border-radius: 8px;

        background: rgba(120, 200, 255, 0.15);
        color: white;

        font-family: inherit;
        font-size: 1rem;

        cursor: pointer;

        transition: 0.2s;
    }

    .commission-form button:hover {
        box-shadow: 0 0 10px var(--glow-soft);
    }

    @media (max-width: 600px) {
        .commission-form {
            gap: 12px;
        }

        .commission-form input,
        .commission-form select,
        .commission-form textarea {
            font-size: 16px;
        }

        .commission-form textarea {
            min-height: 220px;
        }

        .checkbox {
            align-items: flex-start;
        }

        .checkbox span {
            line-height: 1.6;
        }
    }
}



@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
