*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    cursor: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    min-height: 100vh;
    background: #050505;
    color: #fff;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    overflow-x: hidden;
    cursor: none;
    -webkit-user-select: none;
    user-select: none;
}

input,
textarea {
    -webkit-user-select: text;
    user-select: text;
}

a,
button,
input,
textarea,
select,
label,
.member-card,
.icon-btn,
.volume-slider {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
}

.custom-cursor.is-visible {
    opacity: 1;
}

.custom-cursor.is-hover {
    width: 12px;
    height: 12px;
}

@media (pointer: coarse) {
    html,
    body,
    a,
    button,
    input,
    textarea,
    select,
    label,
    .member-card,
    .icon-btn,
    .volume-slider {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

body.site-loading .landing-header,
body.site-loading .landing-main,
body.site-loading .bg,
body.site-loading .discord-wrap {
    opacity: 0;
    visibility: hidden;
}

body.site-ready .discord-wrap {
    visibility: visible;
    animation: site-content-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

body.site-ready-quick .landing-header,
body.site-ready-quick .landing-main,
body.site-ready-quick .bg,
body.site-ready-quick .discord-wrap {
    animation-duration: 0.55s !important;
    animation-delay: 0s !important;
}

body.site-ready .landing-header {
    visibility: visible;
    animation: site-content-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

body.site-ready .landing-main {
    visibility: visible;
    animation: site-content-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

body.site-ready .bg {
    visibility: visible;
    animation: site-bg-in 1.2s ease 0.1s forwards;
}

@keyframes site-content-in {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-bg-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    pointer-events: none;
}

.site-intro-content {
    text-align: center;
}

.site-intro-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) scale(0.5);
    filter: blur(8px);
    animation: intro-letter-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.15s + var(--i) * 0.13s);
}

.site-intro-brand {
    margin-top: 1rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.45em;
    text-indent: 0.45em;
    opacity: 0;
    animation: intro-brand-in 0.8s ease forwards;
    animation-delay: 1.1s;
}

.site-intro-line {
    width: 0;
    height: 1px;
    margin: 1.25rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: intro-line-grow 0.7s ease forwards;
    animation-delay: 1.35s;
}

.site-intro.is-leaving {
    animation: intro-screen-out 0.95s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

.site-intro.is-leaving .site-intro-title {
    animation: intro-title-out 0.95s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

.site-intro.is-leaving .site-intro-brand,
.site-intro.is-leaving .site-intro-line {
    animation: intro-fade-quick 0.5s ease forwards;
}

@keyframes intro-letter-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes intro-brand-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

@keyframes intro-line-grow {
    to {
        width: 120px;
    }
}

@keyframes intro-screen-out {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes intro-title-out {
    to {
        opacity: 0;
        transform: scale(1.12);
        filter: blur(6px);
    }
}

@keyframes intro-fade-quick {
    to {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-intro {
        display: none !important;
    }

    body.site-loading .landing-header,
    body.site-loading .landing-main,
    body.site-loading .bg {
        opacity: 1;
        visibility: visible;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.04) 0%, transparent 55%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #000 100%);
}

.bg::before {
    content: "";
    position: absolute;
    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='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)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(6rem, 18vw, 14rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.035);
    letter-spacing: -0.04em;
    user-select: none;
    pointer-events: none;
    animation: watermark-drift 10s ease-in-out infinite;
}

.watermark-letter {
    display: inline-block;
    animation: watermark-wave 2.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.14s);
}

@keyframes watermark-drift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }

    25% {
        transform: translate(-14px, -10px) scale(1.015);
        opacity: 1;
    }

    50% {
        transform: translate(10px, 8px) scale(0.99);
        opacity: 0.85;
    }

    75% {
        transform: translate(-6px, 12px) scale(1.01);
        opacity: 0.95;
    }
}

@keyframes watermark-wave {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-22px) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .watermark,
    .watermark-letter {
        animation: none;
    }
}

.top-bar-strip,
.top-bar-line,
.sound-bars,
.sound-bar {
    display: none !important;
}

.landing-header {
    position: relative;
    z-index: 12;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 52px;
    padding: 0.65rem 2rem;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.landing-header-left,
.site-logo {
    justify-self: start;
}

.site-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    color: inherit;
    text-decoration: none;
    line-height: 1;
    padding: 0.1rem 0;
}

.site-logo-top {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.site-logo-bottom {
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-indent: 0.34em;
    text-transform: uppercase;
    opacity: 0.72;
}

.landing-header-center {
    justify-self: center;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.music-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%) contrast(1.08);
    pointer-events: none;
    user-select: none;
}

.landing-header-center.is-playing {
    animation: music-cover-pulse 2.4s ease-in-out infinite;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

@keyframes music-cover-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

.landing-header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    opacity: 0.7;
}

.volume-control {
    display: contents;
}

.icon-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.82rem;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-slider {
    width: 88px;
    height: 2px;
    appearance: none;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    margin: 0;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
}

.volume-slider::-moz-range-thumb {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.landing-main {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
}

.discord-status-dot.is-dnd {
    background: #f23f43;
    animation: dnd-pulse 2s ease-in-out infinite;
}

@keyframes dnd-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(242, 63, 67, 0.35);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(242, 63, 67, 0);
    }
}

.title-glaxcan {
    margin: 0;
    font-size: clamp(4.8rem, 15vw, 9.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.92;
}

.bg,
[data-parallax] {
    transition: transform 0.18s ease-out;
    will-change: transform;
}

.landing-desc,
.landing-desc-sub {
    max-width: 500px;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

.landing-desc {
    margin-top: 2.1rem;
}

.landing-desc-sub {
    margin-top: 0.75rem;
}

.discord-wrap {
    margin-top: 2.5rem;
    width: min(100%, 420px);
    pointer-events: none;
}

.discord-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.discord-card-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    text-align: left;
}

.discord-card-empty {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.4rem 1.2rem;
}

.discord-avatar-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    flex-shrink: 0;
}

.discord-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
}

.discord-status-dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #121212;
    background: #80848e;
}

.discord-status-dot.is-online,
.discord-status-dot-inline.is-online {
    background: #23a559;
}

.discord-status-dot.is-idle,
.discord-status-dot-inline.is-idle {
    background: #f0b232;
}

.discord-status-dot.is-dnd,
.discord-status-dot-inline.is-dnd {
    background: #f23f43;
}

.discord-status-dot.is-offline,
.discord-status-dot-inline.is-offline {
    background: #80848e;
}

.discord-label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

.discord-name {
    margin: 0.2rem 0 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
}

.discord-username {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.48);
}

.discord-status-text {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.discord-status-dot-inline {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #80848e;
    flex-shrink: 0;
}

.discord-activity {
    margin: 0.45rem 0 0;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.45;
}

.discord-empty-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.discord-empty-desc {
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}

.discord-empty-desc a {
    color: #aab2ff;
}

.discord-empty-desc code {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.member-cards {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.5rem 2rem 3rem;
}

.member-card {
    width: 170px;
    padding: 1.75rem 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

.member-card small {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    opacity: 0.38;
    margin-bottom: 0.75rem;
}

.member-card span {
    font-weight: 600;
    font-size: 1.12rem;
}

.inner-main {
    position: relative;
    z-index: 5;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem 4rem;
}

.back-link {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.back-link:hover {
    color: #fff;
}

.inner-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.4;
    margin-bottom: 0.75rem;
}

.inner-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.inner-desc {
    margin-top: 1.25rem;
    max-width: 420px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
    .landing-header {
        padding: 0.55rem 1.25rem;
        min-height: 48px;
        grid-template-columns: 1fr auto;
    }

    .landing-header-center {
        display: none;
    }

    .landing-header-right {
        justify-self: end;
    }

    .volume-slider {
        width: 64px;
    }

    .member-cards {
        padding: 1rem 1.25rem 2.5rem;
    }

    .member-card {
        width: calc(50% - 0.5rem);
        min-width: 140px;
    }

    .back-link {
        left: 1.25rem;
    }
}

@media (max-width: 380px) {
    .member-card {
        width: 100%;
        max-width: 220px;
    }
}
