* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top right,
            #33105a,
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #05070d,
            #090713,
            #16051f
        );

    color: #ffffff;
}

button,
input,
a {
    font: inherit;
}

.auth-page {
    min-height: 100vh;

    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 34px;
    gap: 34px;
}

.auth-brand,
.auth-panel {
    border-radius: 26px;

    background: rgba(14, 15, 28, 0.88);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
}

.auth-brand {
    position: relative;

    overflow: hidden;

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

.brand-content {
    position: relative;

    text-align: center;

    z-index: 2;
}

.music-icon {
    margin-bottom: 18px;

    color: #b14cff;

    font-size: 110px;

    text-shadow: 0 0 35px rgba(177, 76, 255, 0.65);
}

.brand-content h1 {
    font-size: 42px;
    letter-spacing: 2px;
}

.brand-content h1 span {
    color: #b14cff;
}

.brand-content h2 {
    margin: 14px 0 38px;

    color: #c65cff;

    letter-spacing: 18px;
    font-size: 22px;
}

.brand-content p {
    color: #dddddd;

    font-size: 20px;
    line-height: 1.5;
}

.headphone {
    width: 250px;
    height: 250px;

    margin: 70px auto 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #7022a3 0%,
            #12081d 55%,
            #05050a 100%
        );

    box-shadow:
        0 0 70px rgba(177, 76, 255, 0.55),
        inset 0 0 35px rgba(255, 255, 255, 0.05);
}

.equalizer {
    position: absolute;

    left: -180px;
    right: -180px;
    bottom: 10px;

    height: 120px;

    background:
        repeating-linear-gradient(
            to right,
            rgba(177, 76, 255, 0.35) 0 10px,
            transparent 10px 28px
        );

    opacity: 0.35;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 520px;
}

.login-card h1 {
    margin-bottom: 10px;

    font-size: 36px;
}

.login-subtitle {
    margin-bottom: 42px;

    color: #aaaaaa;

    font-size: 20px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;

    margin-bottom: 12px;

    font-size: 16px;
}

.input-box {
    width: 100%;
    height: 66px;

    display: flex;
    align-items: center;

    padding: 0 18px;
    gap: 14px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;

    background: #111220;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-box:focus-within {
    border-color: #b14cff;

    box-shadow: 0 0 0 3px rgba(177, 76, 255, 0.15);
}

.input-box span {
    color: #cccccc;

    font-size: 20px;
}

.input-box input {
    min-width: 0;
    flex: 1;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 18px;
}

.input-box input::placeholder {
    color: #888888;
}

.show-pass {
    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    outline: none;

    background: transparent;

    color: #ffffff;

    cursor: pointer;

    font-size: 18px;
}

.show-pass:hover {
    opacity: 0.8;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 34px;
    gap: 18px;
}

.remember {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #ffffff;

    cursor: pointer;
}

.remember input {
    width: 18px;
    height: 18px;

    accent-color: #a54aef;
}

.login-options a,
.create-account a {
    color: #c65cff;

    text-decoration: none;

    transition: color 0.2s ease;
}

.login-options a:hover,
.create-account a:hover {
    color: #df91ff;

    text-decoration: underline;
}

.login-button {
    width: 100%;
    height: 66px;

    border: none;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #bd5cff,
            #7a35db
        );

    color: #ffffff;

    font-size: 22px;
    font-weight: bold;

    cursor: pointer;

    transition:
        filter 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.login-button:hover {
    filter: brightness(1.1);

    transform: translateY(-1px);

    box-shadow: 0 10px 24px rgba(122, 53, 219, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;

    transform: none;
}

.playstore-button {
    width: 100%;
    min-height: 66px;

    margin-top: 18px;
    padding: 10px 20px;

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

    gap: 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #1b1d28,
            #0d0e15
        );

    color: #ffffff;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.playstore-button:hover {
    transform: translateY(-2px);

    border-color: rgba(198, 92, 255, 0.55);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(177, 76, 255, 0.15);

    filter: brightness(1.08);
}

.playstore-button:active {
    transform: translateY(0);
}

.playstore-icon {
    width: 34px;
    height: 34px;

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

    flex-shrink: 0;
}

.playstore-icon svg {
    width: 100%;
    height: 100%;
}

.play-green {
    fill: #00d26a;
}

.play-blue {
    fill: #00a8f3;
}

.play-yellow {
    fill: #ffce00;
}

.play-red {
    fill: #ff4b55;
}

.playstore-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    line-height: 1.1;
}

.playstore-text small {
    margin-bottom: 3px;

    color: #c8c8c8;

    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.playstore-text strong {
    color: #ffffff;

    font-size: 21px;
    font-weight: bold;
}

.divider {
    display: flex;
    align-items: center;

    gap: 16px;

    margin: 30px 0;

    color: #aaaaaa;
}

.divider::before,
.divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: rgba(255, 255, 255, 0.1);
}

.google-button {
    width: 100%;
    height: 62px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;

    background: transparent;

    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    transition:
        filter 0.2s ease,
        background 0.2s ease;
}

.google-button:hover {
    filter: brightness(1.1);

    background: rgba(255, 255, 255, 0.05);
}

.google-button:disabled {
    opacity: 0.6;

    cursor: not-allowed;
}

.google-button strong {
    margin-right: 18px;

    color: #4285f4;

    font-size: 26px;
}

.create-account {
    display: flex;
    justify-content: space-between;

    margin-top: 38px;

    gap: 16px;

    font-size: 17px;
}

.login-message {
    min-height: 20px;

    margin-top: 22px;

    font-size: 14px;
    text-align: center;
}

.login-message.error {
    color: #ff6b6b;
}

.login-message.success {
    color: #7dff9a;
}

.login-message.info {
    color: #70b7ff;
}

.modal-overlay {
    position: fixed;

    inset: 0;

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

    z-index: 999;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    position: relative;

    width: 100%;
    max-width: 440px;

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    padding: 32px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;

    background: #111220;

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.55);
}

.modal-card h2 {
    margin-bottom: 10px;

    font-size: 28px;
}

.modal-card p {
    margin-bottom: 28px;

    color: #bbbbbb;

    line-height: 1.5;
}

.modal-close {
    position: absolute;

    top: 14px;
    right: 18px;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.modal-close:hover {
    color: #c65cff;
}

@media (max-width: 900px) {
    .auth-page {
        grid-template-columns: 1fr;

        padding: 18px;
    }

    .auth-brand {
        display: none;
    }

    .auth-panel {
        min-height: calc(100vh - 36px);

        padding: 24px;
    }

    .login-card h1 {
        font-size: 28px;
    }

    .login-subtitle {
        margin-bottom: 32px;

        font-size: 16px;
    }

    .create-account,
    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .create-account {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .auth-page {
        padding: 10px;
    }

    .auth-panel {
        min-height: calc(100vh - 20px);

        padding: 22px 18px;

        border-radius: 20px;
    }

    .login-card h1 {
        font-size: 25px;
    }

    .input-box,
    .login-button,
    .playstore-button {
        min-height: 60px;
        height: 60px;
    }

    .input-box input {
        font-size: 16px;
    }

    .login-button {
        font-size: 19px;
    }

    .playstore-text strong {
        font-size: 19px;
    }

    .modal-card {
        padding: 28px 20px;
    }
}