@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Exo+2:wght@400;500;600;700;800&display=swap");
@import url("/assets/css/theme.css");

body {
    background: var(--background);
}

.sets-header {
    position: relative;
    z-index: 10;
}

.sets-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 30px;
}

.sets-brand {
    color: var(--text);
    font-family:
        "Cinzel Decorative",
        Georgia,
        serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-shadow:
        0 0 14px rgba(255, 43, 214, 0.52),
        0 0 26px rgba(0, 231, 255, 0.28);
}

.sets-nav-link,
.logout-button {
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.sets-nav-link:hover,
.logout-button:hover {
    color: var(--cyan);
}

.logout-form {
    margin: 0;
}

.logout-button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.sets-main {
    padding: 55px 0 120px;
}

.login-layout {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 230px);
}

.login-card {
    position: relative;
    overflow: hidden;
    width: min(100%, 620px);
    padding: clamp(30px, 6vw, 54px);
    border: 1px solid rgba(255, 43, 214, 0.28);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(15, 9, 29, 0.94),
            rgba(4, 4, 12, 0.96)
        );
    box-shadow:
        var(--shadow-card),
        0 0 30px rgba(255, 43, 214, 0.15),
        0 0 70px rgba(0, 231, 255, 0.08);
    backdrop-filter: blur(20px);
    text-align: center;
}

.login-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: "";
    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--purple),
            var(--cyan),
            var(--lime),
            var(--yellow)
        );
}

.login-logo {
    width: min(100%, 500px);
    margin: 0 auto 30px;
    filter:
        drop-shadow(
            0 0 14px
            rgba(255, 43, 214, 0.3)
        )
        drop-shadow(
            0 0 26px
            rgba(0, 231, 255, 0.16)
        );
}

.sets-eyebrow {
    margin: 0 0 14px;
    color: var(--lime);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow:
        0 0 14px rgba(157, 255, 0, 0.4);
}

.login-title,
.sets-title,
.empty-title {
    font-family:
        "Cinzel Decorative",
        Georgia,
        serif;
}

.login-title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.login-intro {
    max-width: 500px;
    margin: 23px auto 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.login-form {
    display: grid;
    gap: 20px;
    margin-top: 34px;
    text-align: left;
}

.field {
    display: grid;
    gap: 9px;
}

.field label {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    min-height: 56px;
    padding: 0 17px;
    color: var(--text);
    border: 1px solid rgba(0, 231, 255, 0.28);
    border-radius: var(--radius-small);
    outline: none;
    background: rgba(0, 0, 0, 0.34);
    box-shadow:
        inset 0 0 20px rgba(0, 231, 255, 0.025);
}

.field input:focus {
    border-color: var(--cyan);
    box-shadow:
        0 0 0 4px rgba(0, 231, 255, 0.1),
        0 0 20px rgba(0, 231, 255, 0.16);
}

.login-button {
    width: 100%;
}

.error {
    margin: 25px 0 0;
    padding: 15px 17px;
    color: #ffd0db;
    border: 1px solid rgba(255, 43, 94, 0.35);
    border-radius: var(--radius-small);
    background: rgba(110, 12, 42, 0.42);
    line-height: 1.55;
    text-align: left;
}

.sets-page-header {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    align-items: center;
    gap: clamp(35px, 7vw, 90px);
    margin-bottom: 55px;
}

.sets-page-logo {
    width: min(100%, 500px);
    filter:
        drop-shadow(
            0 0 14px
            rgba(255, 43, 214, 0.3)
        )
        drop-shadow(
            0 0 30px
            rgba(0, 231, 255, 0.16)
        );
}

.sets-title {
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.sets-title-accent {
    color: var(--cyan);
    text-shadow:
        0 0 20px rgba(0, 231, 255, 0.38),
        0 0 38px rgba(139, 56, 255, 0.2);
}

.sets-intro {
    max-width: 630px;
    margin: 24px 0 0;
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
}

.set-list {
    display: grid;
    gap: 28px;
}

.set-card {
    position: relative;
    overflow: hidden;
    padding: clamp(25px, 5vw, 42px);
    border: 1px solid rgba(255, 43, 214, 0.25);
    border-radius: var(--radius-large);
    background:
        linear-gradient(
            145deg,
            rgba(15, 9, 28, 0.94),
            rgba(4, 4, 12, 0.97)
        );
    box-shadow:
        var(--shadow-card),
        0 0 28px rgba(255, 43, 214, 0.11),
        0 0 60px rgba(0, 231, 255, 0.065);
    backdrop-filter: blur(18px);
}

.set-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    content: "";
    background:
        linear-gradient(
            to bottom,
            var(--pink),
            var(--purple),
            var(--cyan),
            var(--lime),
            var(--yellow)
        );
}

.set-card::after {
    position: absolute;
    z-index: 0;
    top: -130px;
    right: -130px;
    width: 300px;
    height: 300px;
    content: "";
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(139, 56, 255, 0.14),
            transparent 68%
        );
    pointer-events: none;
}

.set-card-content {
    position: relative;
    z-index: 1;
}

.set-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.set-title {
    margin: 0;
    font-family:
        "Cinzel Decorative",
        Georgia,
        serif;
    font-size: clamp(1.5rem, 4vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.set-date {
    flex: 0 0 auto;
    color: var(--lime);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(157, 255, 0, 0.3);
}

.set-description {
    max-width: 780px;
    margin: 20px 0 0;
    color: var(--text-soft);
    line-height: 1.75;
}

.player-wrapper {
    margin-top: 28px;
    padding: 14px;
    border: 1px solid rgba(0, 231, 255, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 231, 255, 0.05),
            rgba(139, 56, 255, 0.055)
        );
    box-shadow:
        inset 0 0 24px rgba(0, 231, 255, 0.025);
}

.player {
    display: block;
    width: 100%;
    accent-color: var(--lime);
    filter:
        drop-shadow(
            0 0 7px
            rgba(0, 231, 255, 0.11)
        );
}

.set-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 25px;
}

.set-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.set-meta strong {
    color: var(--text-soft);
}

.listening-only {
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.empty-state {
    padding: clamp(45px, 8vw, 85px);
    border: 1px solid rgba(255, 43, 214, 0.22);
    border-radius: var(--radius-large);
    background: var(--surface);
    box-shadow: var(--shadow-neon);
    text-align: center;
}

.empty-title {
    margin: 0;
    font-size: clamp(1.8rem, 5vw, 3rem);
}

.empty-state p {
    max-width: 540px;
    margin: 20px auto 0;
    color: var(--text-muted);
    line-height: 1.75;
}

@media (max-width: 800px) {
    .sets-main {
        padding-top: 35px;
    }

    .sets-page-header {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .sets-page-logo {
        width: min(100%, 560px);
        margin: 0 auto;
    }

    .sets-intro {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 620px) {
    .sets-navigation {
        min-height: 76px;
    }

    .sets-brand {
        font-size: 0.82rem;
    }

    .set-header,
    .set-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .set-date {
        order: -1;
    }

    .set-card {
        border-radius: var(--radius-medium);
    }

    .button {
        width: 100%;
    }
}

/* Multiple audio parts within one DJ set */
.set-parts {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.set-part {
    padding: 20px;
    border: 1px solid rgba(0, 231, 255, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(0, 231, 255, 0.035),
            rgba(139, 56, 255, 0.04)
        );
}

.set-part-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.set-part-title {
    margin: 0;
    color: var(--text);
    font-family: "Exo 2", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.set-part-filename {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.set-part-number {
    flex: 0 0 auto;
    color: var(--cyan);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.set-part .player-wrapper {
    margin-top: 16px;
}

.set-part .set-footer {
    margin-top: 18px;
}

@media (max-width: 620px) {
    .set-part {
        padding: 16px;
    }

    .set-part-header {
        align-items: stretch;
        flex-direction: column;
    }

    .set-part-number {
        order: -1;
    }
}
