:root {
    --bg-dark: #0f0c29;
    --accent: #00f260;
    --accent-grad: linear-gradient(90deg, #0575e6, #00f260);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-sec: #b3b3b3;
    --font-fam: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-fam);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Background Animated Blobs */
.bg-shape {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #302b63;
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #24243e;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* Container */
.container {
    width: 90%;
    max-width: 500px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Glass Card Style */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Typography */
.title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.accent {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-sec);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Input & Button */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: var(--font-fam);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 242, 96, 0.2);
}

button {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    background: var(--accent-grad);
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.4);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Result Section */
.hidden {
    display: none;
    opacity: 0;
}

.album-art-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

#trackImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.track-info h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.track-info p {
    color: var(--text-sec);
    margin-bottom: 1.5rem;
}

.download-btn-final {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.download-btn-final:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 96, 0.3);
}

.footer {
    margin-top: 2rem;
    color: var(--text-sec);
    font-size: 0.8rem;
    opacity: 0.6;
}