:root {
    --bg: #0a0a0a;
    --surface: #141414;
    --text: #ffffff;
    --accent: #e63946; /* Discogs Red / Oxbow Accent */
    --muted: #666666;
    --border: #222222;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Satoshi', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.wrapper {
    max-width: 450px;
    width: 90%;
    text-align: center;
    padding: 2rem 0;
}

h1 {
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    text-transform: lowercase;
}

/* Pill Selection */
.filter-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--muted);
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.folder-pill {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--muted);
    background: transparent;
}

.folder-pill:hover {
    border-color: #444;
    color: white;
}

.folder-pill.active {
    background-color: white;
    color: black;
    border-color: white;
}

/* Main Action Button */
#spin-btn {
    background: var(--text);
    color: var(--bg);
    border: none;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    width: 100%;
    transition: transform 0.1s;
}

#spin-btn:active { transform: scale(0.98); }

/* Result State */
#result-area { display: none; }

.loading-pulse {
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    margin: 50px auto;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.cover-container {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--surface);
    margin-bottom: 2rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.cover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-meta h2 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.artist-name {
    font-size: 1.1rem;
    color: var(--accent);
    margin-top: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.folder-tag {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 4px 12px;
    border: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid var(--border);
    margin-top: 2.5rem;
    padding: 15px;
    cursor: pointer;
    width: 100%;
}

.hidden { display: none; }