/* =========================================================
   SPACE PAGE
========================================================= */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #030407;
}

.client-space-page {
    background:
        radial-gradient(circle at 15% 20%, rgba(232, 75, 164, .12), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(76, 136, 255, .12), transparent 30%),
        #030407;
    color: #fff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.client-space-page * {
    box-sizing: border-box;
}

.client-space-page a {
    text-decoration: none;
}

.client-space-page main {
    width: 100%;
}

/* =========================================================
   FRAME
========================================================= */

.client-space-page .main-frame {
    width: 100%;
}

/* =========================================================
   BUTTONS
========================================================= */

.client-space-page .btn {
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    font-size: 15px;
    transition: .25s ease;
}

.client-space-page .btn:hover {
    transform: translateY(-3px);
}

.client-space-page .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #e84ba4, #8b5cff, #4c88ff);
    box-shadow: 0 20px 60px rgba(139, 92, 255, .35);
}

.client-space-page .btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(16px);
}

/* =========================================================
   HERO
========================================================= */

.client-hero {
    position: relative;
    overflow: hidden;
    min-height: 780px;
    display: flex;
    align-items: center;
    border-radius: 0 0 40px 40px;
}

.client-hero-bg,
.client-hero-dark,
.client-hero-glow {
    position: absolute;
    inset: 0;
}

.client-hero-bg {
    background:
        radial-gradient(circle at 20% 20%, rgba(232,75,164,.22), transparent 32%),
        radial-gradient(circle at 78% 18%, rgba(76,136,255,.18), transparent 34%),
        linear-gradient(135deg, #04050b, #020307);
}

.client-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size: 52px 52px;

    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.client-hero-dark {
    background:
        linear-gradient(90deg,
            rgba(0,0,0,.84),
            rgba(0,0,0,.28),
            rgba(0,0,0,.78)
        );
}

.client-hero-glow {
    background:
        linear-gradient(120deg,
            transparent 0%,
            rgba(255,255,255,.05) 50%,
            transparent 75%
        );
}

.client-hero-content {
    position: relative;
    z-index: 2;

    width: min(1320px, calc(100% - 60px));

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 11px 16px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(255,255,255,.06);

    color: rgba(255,255,255,.72);

    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;

    backdrop-filter: blur(16px);
}

.client-copy h1 {
    margin-top: 24px;

    font-size: clamp(64px, 8vw, 132px);

    line-height: .82;

    letter-spacing: -.09em;
}

.client-copy h1 span {
    background: linear-gradient(135deg, #e84ba4, #8b5cff, #32c8ff);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.client-copy p {
    max-width: 620px;

    margin-top: 28px;

    color: rgba(255,255,255,.68);

    font-size: 18px;

    line-height: 1.8;
}

.client-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 38px;
}

/* =========================================================
   VISUAL
========================================================= */

.client-visual {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   SOUND RING
========================================================= */

.sound-ring {
    position: relative;

    width: 380px;
    height: 380px;

    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-ring span {
    position: absolute;

    width: 4px;
    height: 34px;

    border-radius: 999px;

    background: linear-gradient(180deg, #e84ba4, #4c88ff);

    transform:
        rotate(calc(var(--i) * 3.75deg))
        translateY(-165px);

    opacity: .9;

    box-shadow: 0 0 16px rgba(139,92,255,.4);
}

.ring-text {
    position: absolute;

    display: flex;
    flex-direction: column;
    gap: 8px;

    text-align: center;
}

.ring-text strong {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
}

/* =========================================================
   FEATURES
========================================================= */

.client-features {
    width: min(1320px, calc(100% - 60px));

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    padding: 22px 0 90px;
}

.feature-item {
    display: flex;
    gap: 18px;

    padding: 26px;

    border-radius: 28px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.03)
        );

    backdrop-filter: blur(16px);
}

.feature-icon {
    width: 56px;
    height: 56px;

    border-radius: 18px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #e84ba4, #8b5cff);

    box-shadow: 0 10px 30px rgba(139,92,255,.32);

    font-size: 18px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 800;
}

.feature-item p {
    margin-top: 8px;

    color: rgba(255,255,255,.6);

    font-size: 14px;

    line-height: 1.7;
}

/* =========================================================
   PLAYER
========================================================= */

.client-player-section {
    width: min(1320px, calc(100% - 60px));

    margin: 0 auto;

    padding-bottom: 90px;
}

.client-big-player {
    overflow: hidden;

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    border-radius: 40px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        radial-gradient(circle at 20% 20%, rgba(232,75,164,.16), transparent 32%),
        radial-gradient(circle at 80% 70%, rgba(76,136,255,.12), transparent 36%),
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.025)
        );

    box-shadow: 0 40px 120px rgba(0,0,0,.45);
}

.client-player-left {
    padding: 50px;
}

.now-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: rgba(255,255,255,.65);

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .12em;
}

.now-label i {
    font-size: 8px;
    color: #32c8ff;
}

.client-player-left h2 {
    margin-top: 16px;

    font-size: clamp(42px, 5vw, 78px);

    line-height: .92;

    letter-spacing: -.06em;
}

.client-player-left p {
    margin-top: 10px;

    color: rgba(255,255,255,.6);

    font-size: 18px;
}

/* =========================================================
   WAVE
========================================================= */

.player-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;

    height: 90px;

    margin-top: 40px;
}

.player-wave i {
    width: 4px;

    border-radius: 999px;

    background: linear-gradient(180deg, #32c8ff, #e84ba4);

    animation: wave 1s ease-in-out infinite alternate;
}

.player-wave i:nth-child(odd) {
    animation-duration: 1.2s;
}

.player-wave i:nth-child(even) {
    animation-duration: .9s;
}

@keyframes wave {
    from {
        height: 10px;
    }

    to {
        height: 90px;
    }
}

/* =========================================================
   CONTROLS
========================================================= */

.client-controls {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-top: 36px;
}

.client-controls button {
    border: 0;
    cursor: pointer;
    color: #fff;
}

.small-control {
    width: 48px;
    height: 48px;

    border-radius: 999px;

    background: rgba(255,255,255,.08);
}

.main-play {
    width: 78px;
    height: 78px;

    border-radius: 999px;

    background: linear-gradient(135deg, #e84ba4, #8b5cff, #4c88ff);

    font-size: 22px;

    box-shadow: 0 20px 60px rgba(139,92,255,.4);
}

/* =========================================================
   VOLUME
========================================================= */

.volume-row {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-top: 34px;
}

.volume-row input {
    flex: 1;

    accent-color: #e84ba4;
}

.volume-row strong {
    font-size: 12px;

    letter-spacing: .12em;

    color: #32c8ff;
}

/* =========================================================
   PLAYER VISUAL
========================================================= */

.client-player-img {
    position: relative;

    min-height: 540px;

    background:
        radial-gradient(circle at 50% 20%, rgba(232,75,164,.22), transparent 34%),
        radial-gradient(circle at 70% 70%, rgba(76,136,255,.16), transparent 36%),
        #080a13;
}

.client-player-img::before {
    content: "";

    position: absolute;
    inset: 24px;

    border-radius: 30px;

    border: 1px solid rgba(255,255,255,.08);
}

.client-player-img div {
    position: absolute;

    left: 38px;
    right: 38px;
    bottom: 38px;

    padding: 26px;

    border-radius: 28px;

    background: rgba(0,0,0,.42);

    border: 1px solid rgba(255,255,255,.1);

    backdrop-filter: blur(18px);
}

.client-player-img span,
.client-player-img small {
    display: block;

    color: rgba(255,255,255,.58);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .12em;
}

.client-player-img strong {
    display: block;

    margin: 10px 0;

    font-size: 38px;

    letter-spacing: -.05em;
}

/* =========================================================
   CTA
========================================================= */

.client-cta {
    width: min(1320px, calc(100% - 60px));

    margin: 0 auto 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 52px;

    border-radius: 38px;

    border: 1px solid rgba(255,255,255,.08);

    background:
        radial-gradient(circle at 20% 20%, rgba(232,75,164,.16), transparent 32%),
        radial-gradient(circle at 80% 60%, rgba(76,136,255,.14), transparent 36%),
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.025)
        );
}

.client-cta h2 {
    font-size: clamp(38px, 5vw, 72px);

    line-height: .92;

    letter-spacing: -.06em;
}

.client-cta p {
    max-width: 620px;

    margin-top: 16px;

    color: rgba(255,255,255,.62);

    line-height: 1.8;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .client-hero-content,
    .client-big-player,
    .client-features,
    .client-cta {
        grid-template-columns: 1fr;
    }

    .client-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-hero-content {
        padding: 100px 0;
    }

    .client-visual {
        min-height: 400px;
    }

    .client-cta {
        display: block;
    }

    .client-cta .btn {
        margin-top: 26px;
    }
}

@media (max-width: 720px) {

    .client-hero {
        min-height: auto;
        border-radius: 0 0 28px 28px;
    }

    .client-hero-content,
    .client-features,
    .client-player-section,
    .client-cta {
        width: min(100% - 28px, 1320px);
    }

    .client-copy h1 {
        font-size: 58px;
    }

    .client-copy p {
        font-size: 16px;
    }

    .client-actions,
    .client-actions .btn {
        width: 100%;
    }

    .client-features {
        grid-template-columns: 1fr;
    }

    .client-player-left {
        padding: 30px 22px;
    }

    .client-player-img {
        min-height: 360px;
    }

    .client-player-img div {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .client-cta {
        padding: 30px 22px;
    }

    .client-cta .btn {
        width: 100%;
    }
}


/* =========================================================
   OWNER PANEL
========================================================= */

.owner-panel {
    position: fixed;

    top: 110px;
    right: 24px;

    width: 320px;

    z-index: 999;

    padding: 22px;

    border-radius: 28px;

    border: 1px solid rgba(255,255,255,.1);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.03)
        ),
        rgba(6,8,14,.88);

    backdrop-filter: blur(24px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.03);
}

.owner-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.owner-panel-head span {
    font-size: 12px;
    font-weight: 900;

    letter-spacing: .14em;

    text-transform: uppercase;

    color: rgba(255,255,255,.62);
}

.owner-status-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.owner-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom: 1px solid rgba(255,255,255,.08);
}

.owner-status-item span {
    color: rgba(255,255,255,.58);

    font-size: 14px;
}

.owner-status-item strong {
    color: #fff;

    font-size: 13px;

    letter-spacing: .08em;
}

.owner-actions {
    margin-top: 22px;
}

.owner-btn {
    width: 100%;

    min-height: 52px;

    border-radius: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e84ba4,
            #8b5cff,
            #4c88ff
        );

    color: #fff;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 18px 40px rgba(139,92,255,.28);

    transition: .25s ease;
}

.owner-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 24px 56px rgba(139,92,255,.38);
}

@media (max-width: 980px) {

    .owner-panel {
        position: relative;

        top: auto;
        right: auto;

        width: calc(100% - 28px);

        margin:
            110px auto 0;
    }
}