/* MusicMan site theme — matched to playlists.musicman.live / musicman.live */
:root {
    --primary-color: #7C4DFF;
    --secondary-color: #2C2F33;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --accent-color: #00E5FF;
    --hover-color: #651FFF;
    --gradient-start: #7C4DFF;
    --gradient-end: #00E5FF;
    --card-bg: rgba(124, 77, 255, 0.15);
    --card-border: rgba(0, 229, 255, 0.3);
    --transition-speed: 0.4s;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(124, 77, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(124, 77, 255, 0.8); }
    100% { text-shadow: 0 0 10px rgba(124, 77, 255, 0.5); }
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes shoot {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    70% {
        opacity: 1;
        transform: translateX(300px) translateY(300px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(400px) translateY(400px) scale(0);
    }
}

* { box-sizing: border-box; }

body.mm-theme {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 2rem 0;
    background:
        radial-gradient(1200px 700px at 12% -10%, rgba(0, 229, 255, 0.14), transparent 55%),
        radial-gradient(900px 600px at 90% 10%, rgba(124, 77, 255, 0.18), transparent 50%),
        linear-gradient(165deg, #070b16 0%, #12102a 42%, #0a1628 100%);
    background-size: auto;
    animation: none;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color-scheme: dark;
}

body.mm-theme::before {
    content: '';
    position: fixed;
    inset: -20% -10% auto;
    height: 70vh;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0, 229, 255, 0.1), transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(124, 77, 255, 0.14), transparent 50%);
    filter: blur(40px);
}

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star.small { width: 1px; height: 1px; opacity: 0.7; }
.star.medium { width: 2px; height: 2px; opacity: 0.8; }
.star.large { width: 3px; height: 3px; opacity: 0.9; }

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, #fff, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: shoot 2s linear infinite;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(45deg);
    transform-origin: 0 0;
}

.mm-glass {
    background: rgba(8, 12, 22, 0.62);
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInSlideUp 0.7s ease-out forwards;
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 440px;
    text-align: center;
}

.mm-glass.wide {
    max-width: 560px;
    text-align: left;
}

.mm-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #00e5ff;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
    animation: none;
}

.mm-sub {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 1.5rem;
    font-weight: 400;
}

.mm-btn {
    background: linear-gradient(120deg, #00e5ff 0%, #7cf0ff 45%, #b388ff 100%);
    color: #061018 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: 650;
    font-family: 'Outfit', sans-serif;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.mm-btn:hover {
    background: linear-gradient(120deg, #00e5ff 0%, #7cf0ff 45%, #b388ff 100%);
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: none;
    color: #061018 !important;
}

.mm-btn::before {
    display: none;
}

.mm-btn:hover::before {
    display: none;
}

.mm-btn.ghost {
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: none;
    color: #e8fbff !important;
    filter: none;
}

.mm-btn.ghost:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.65);
    color: #fff !important;
    filter: none;
}

.mm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.mm-glass.wide .mm-actions {
    justify-content: flex-start;
}

.mm-steps {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.mm-steps li {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.mm-steps strong {
    color: #fff;
}

.mm-hint {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mm-hint code,
.mm-steps code {
    color: var(--accent-color);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.9em;
}

a.mm-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.mm-link:hover {
    color: var(--primary-color);
}

.mm-user {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.mm-user img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.45);
    background: rgba(0, 0, 0, 0.25);
}

.mm-user strong {
    display: block;
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

.mm-user small {
    color: var(--text-muted);
}

.mm-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

/* —— Welcome / onboarding intro —— */
@keyframes welcomePop {
    from {
        opacity: 0;
        transform: scale(0.82);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes welcomeRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mm-welcome {
    text-align: center;
    max-width: 480px;
}

.mm-welcome .mm-welcome-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid rgba(0, 229, 255, 0.55);
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.35);
    margin: 0 auto 1.25rem;
    display: block;
    opacity: 0;
    animation: welcomePop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s forwards;
}

.mm-welcome .mm-welcome-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: welcomeRise 0.6s ease-out 0.35s forwards, glow 3s ease-in-out 1s infinite;
}

.mm-welcome .mm-welcome-sub {
    color: var(--text-muted);
    font-size: 1.08rem;
    font-weight: 300;
    line-height: 1.55;
    margin: 0 0 1.75rem;
    opacity: 0;
    animation: welcomeRise 0.6s ease-out 0.55s forwards;
}

.mm-welcome .mm-actions {
    opacity: 0;
    animation: welcomeRise 0.6s ease-out 0.75s forwards;
    justify-content: center;
}

.mm-welcome .mm-btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* —— Onboarding forms —— */
.mm-onboard {
    max-width: 640px;
}

.mm-progress {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.mm-progress-step {
    text-align: center;
    opacity: 0.45;
    transition: opacity 0.25s ease;
}

.mm-progress-step.is-active,
.mm-progress-step.is-done {
    opacity: 1;
}

.mm-progress-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    border: 1px solid rgba(0, 229, 255, 0.35);
    background: rgba(0, 0, 0, 0.2);
}

.mm-progress-step.is-active .mm-progress-num,
.mm-progress-step.is-done .mm-progress-num {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
}

.mm-progress-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.mm-alert {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 120, 120, 0.45);
    color: #ffc9c9;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.mm-form {
    margin-top: 0.25rem;
}

.mm-field {
    margin-bottom: 1.1rem;
}

.mm-field-grid,
.mm-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 0.25rem;
}

.mm-about-card {
    margin-bottom: 0.9rem;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 229, 255, 0.18);
    background: rgba(0, 0, 0, 0.18);
}

.mm-about-grid .mm-about-card {
    margin-bottom: 0.9rem;
}

.mm-about-card .mm-label {
    margin-bottom: 0.5rem;
}

.mm-about-card .mm-field-hint {
    margin-top: 0.5rem;
}

@media (max-width: 560px) {
    .mm-field-grid,
    .mm-about-grid { grid-template-columns: 1fr; }
    .mm-progress-label { display: none; }
    .mm-form-actions-split { flex-direction: column; align-items: stretch; }
    .mm-actions-right { width: 100%; justify-content: stretch; }
    .mm-actions-right .mm-btn { flex: 1; text-align: center; }
}

.mm-label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
    color: #fff;
}

.mm-label-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.mm-label-row .mm-label {
    margin-bottom: 0;
}

.mm-input {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(0, 229, 255, 0.28);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color-scheme: dark;
}

.mm-input:focus {
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

/* Glass selects — closed control + dark option list */
select.mm-input {
    cursor: pointer;
    padding-right: 2.45rem;
    background-color: rgba(10, 12, 26, 0.72);
    background-image:
        linear-gradient(145deg, rgba(124, 77, 255, 0.2), rgba(0, 229, 255, 0.05)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.75L6 6.25L10.5 1.75' stroke='%237DF0FF' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: 0 0, right 0.9rem center;
    background-size: auto, 12px 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

select.mm-input:hover {
    border-color: rgba(0, 229, 255, 0.45);
    background-color: rgba(14, 16, 34, 0.82);
}

select.mm-input:focus {
    background-color: rgba(14, 16, 34, 0.9);
}

select.mm-input option,
select.mm-input optgroup {
    background-color: #14162a;
    color: #f4f6ff;
    padding: 0.55rem 0.65rem;
}

select.mm-input option:checked,
select.mm-input option:hover {
    background-color: #2a2158;
    color: #ffffff;
}

.mm-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.45;
}

.mm-field-hint {
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mm-slug-row {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.28);
    background: rgba(0, 0, 0, 0.28);
}

.mm-slug-prefix {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: rgba(124, 77, 255, 0.2);
    color: var(--accent-color);
    font-size: 0.82rem;
    white-space: nowrap;
    border-right: 1px solid rgba(0, 229, 255, 0.2);
}

.mm-slug-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.mm-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
}

.mm-check input {
    margin-top: 0.2rem;
    accent-color: var(--accent-color);
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.mm-check-inline {
    font-size: 0.8rem;
    font-weight: 500;
}

.mm-check-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.mm-check-tos {
    margin: 1rem 0 0.25rem;
    color: #fff;
    font-weight: 500;
}

.mm-form-actions {
    margin-top: 1.5rem;
}

.mm-form-actions .mm-btn {
    border: none;
    cursor: pointer;
}

.mm-form-actions-split {
    justify-content: space-between;
    align-items: center;
}

.mm-actions-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-left: auto;
}

.mm-link-card {
    margin-bottom: 0.85rem;
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(0, 0, 0, 0.2);
}

.mm-link-card-spotify { border-color: rgba(29, 185, 84, 0.35); }
.mm-link-card-applemusic { border-color: rgba(250, 36, 60, 0.4); }
.mm-link-card-youtube { border-color: rgba(255, 0, 0, 0.4); }
.mm-link-card-soundcloud { border-color: rgba(255, 85, 0, 0.35); }
.mm-link-card-tidal { border-color: rgba(0, 255, 255, 0.35); }
.mm-link-card-deezer { border-color: rgba(162, 56, 255, 0.4); }
.mm-link-card-bandcamp { border-color: rgba(29, 160, 195, 0.4); }
.mm-link-card-audiomack { border-color: rgba(255, 162, 0, 0.4); }
.mm-link-card-amazonmusic { border-color: rgba(37, 209, 218, 0.4); }
.mm-link-card-mixcloud { border-color: rgba(80, 0, 255, 0.4); }
.mm-link-card-lastfm { border-color: rgba(187, 0, 0, 0.4); }

.mm-link-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.mm-link-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

.mm-link-brand {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0;
}

.mm-link-spotify { color: #1DB954; }
.mm-link-applemusic { color: #FA243C; }
.mm-link-youtube { color: #FF0000; }
.mm-link-soundcloud { color: #ff5500; }
.mm-link-tidal { color: #00FFFF; }
.mm-link-deezer { color: #A238FF; }
.mm-link-bandcamp { color: #1DA0C3; }
.mm-link-audiomack { color: #FFA200; }
.mm-link-amazonmusic { color: #25D1DA; }
.mm-link-mixcloud { color: #5000FF; }
.mm-link-lastfm { color: #d51007; }

.mm-tos-frame {
    max-height: 280px;
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
    padding: 0;
}

.mm-tos-inner {
    padding: 1rem 1.1rem 1.25rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.mm-tos-inner h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: #fff;
}

.mm-tos-inner h3 {
    margin: 1.1rem 0 0.35rem;
    font-size: 0.98rem;
    color: var(--accent-color);
}

.mm-tos-inner p {
    margin: 0 0 0.65rem;
}

.mm-tos-inner a {
    color: var(--accent-color);
}

.mm-tos-frame::-webkit-scrollbar {
    width: 8px;
}
.mm-tos-frame::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.35);
    border-radius: 8px;
}
.mm-tos-frame::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}


