/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #101010;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EEEEEE;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: 
        linear-gradient(to bottom, 
            transparent 0%,
            transparent 40%,
            rgba(16, 16, 16, 0.2) 55%,
            rgba(16, 16, 16, 0.5) 70%,
            rgba(16, 16, 16, 0.8) 85%,
            #101010 100%
        ),
        url('/images/sign-up-splash.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 0;
}

/* Login Container */
.login-container {
    background: transparent;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #EEEEEE;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.login-header p {
    color: #EEEEEE;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: none;
    width: 140%;
    margin-left: -20%;
    margin-right: auto;
}

/* Form Elements */
#login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: none;
}

input {
    background: #191928;
    border: 1px solid #41415E;
    color: #EEEEEE;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder {
    color: #9A9AB1;
}

input:focus {
    outline: none;
    border-color: #AD3BFF;
    box-shadow: 0 0 0 3px rgba(173, 59, 255, 0.2);
}

/* Buttons */
button {
    background: linear-gradient(90deg, #B855FF 0%, #AD3BFF 100%);
    color: #EEEEEE;
    padding: 1rem;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(173, 59, 255, 0.4);
}

/* Create Account Link */
.create-account-link {
    display: block;
    color: #DEA9FF;
    text-decoration: none;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.create-account-link:hover {
    color: #AD3BFF;
}

/* Error States */
.error-message {
    display: none;
    background: rgba(255, 63, 126, 0.1);
    color: #FF3F7E;
    border: 1px solid #FF3F7E;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Spotify Error Page */
.error-icon {
    color: #FF3F7E;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-container {
    text-align: center;
    background: transparent;
    padding: 2rem;
}

.retry-button {
    background: linear-gradient(90deg, #B855FF 0%, #AD3BFF 100%);
    color: #EEEEEE;
    padding: 1rem;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.retry-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(173, 59, 255, 0.4);
}

/* Spotify Success Page */
.success-icon {
    color: #DEA9FF;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-container {
    text-align: center;
    background: transparent;
    padding: 2rem;
}

.success-message {
    color: #EEEEEE;
    margin-bottom: 1.5rem;
}

/* Secondary Buttons */
.close-button {
    background: linear-gradient(90deg, #B855FF 0%, #AD3BFF 100%);
    color: #EEEEEE;
    padding: 1rem;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.close-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(173, 59, 255, 0.4);
}

/* Spotify Connect Page */
.connect-container {
    text-align: center;
    background: transparent;
    padding: 2rem;
}

.spotify-icon {
    margin-bottom: 1.5rem;
}

.connect-message {
    color: #EEEEEE;
    margin-bottom: 2rem;
}

.permission-list {
    text-align: left;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(25, 25, 40, 0.5);
    border: 1px solid #41415E;
    border-radius: 8px;
}

.permission-list h2 {
    font-size: 1rem;
    color: #EEEEEE;
    margin-bottom: 0.75rem;
}

.permission-list ul {
    list-style: none;
    padding-left: 0;
}

.permission-list li {
    color: #9A9AB1;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.permission-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #DEA9FF;
}

.spotify-button {
    background: linear-gradient(90deg, #B855FF 0%, #AD3BFF 100%);
    color: #EEEEEE;
    border: none;
    padding: 1rem 2rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.spotify-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(173, 59, 255, 0.4);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

h1 {
    color: #EEEEEE;
    margin-bottom: 1rem;
}

p {
    color: #EEEEEE;
    margin-bottom: 1rem;
} 