@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --primary: #1DB954;
    --dark: #000000;
    --glass: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    background-color: #050505;
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Tip Banner */
.tip-banner {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}
.btn-tip { background: white; color: #1e3a8a; border: none; padding: 5px 15px; border-radius: 20px; font-weight: bold; cursor: pointer; }
.btn-close { background: transparent; border: none; color: white; cursor: pointer; font-size: 1.1rem; }

/* Background */
.background-animate {
    position: fixed; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 50% 0%, #112a1a 0%, #000 70%);
}

.main-container { width: 90%; max-width: 600px; margin: 0px auto; text-align: center; }

header h1 { font-size: 3rem; margin: 10px 0; letter-spacing: -2px; }
.highlight { color: var(--primary); }
.features-list { display: flex; justify-content: center; gap: 15px; color: #666; font-size: 0.85rem; margin-top: 15px; }
.features-list span { background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 20px; border: 1px solid var(--border); }

/* Inputs */
.control-panel {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 50px;
    display: flex;
    margin-top: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.input-group { flex: 1; }
.input-group input {
    width: 100%; background: transparent; border: none; padding: 15px 20px; color: white; font-size: 1rem; outline: none;
}
button#checkBtn {
    background: var(--primary); border: none; padding: 0 30px; border-radius: 40px; color: black; font-weight: 700; cursor: pointer; transition: 0.2s;
}
button#checkBtn:hover { transform: scale(1.05); }

/* Active Card */
.card {
    background: #111; border-radius: 12px; padding: 20px; margin-top: 20px; border: 1px solid #222;
}
.progress-track { background: #222; height: 8px; border-radius: 10px; overflow: hidden; margin: 15px 0; }
.progress-fill { height: 100%; background: var(--primary); width: 0%; transition: width 0.2s; }

/* --- LIQUID GLASS MODAL --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center; z-index: 1000;
}
.hidden { display: none !important; }

.glass-modal {
    width: 90%; max-width: 800px; height: 85vh;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    display: flex; flex-direction: column;
    overflow: hidden;
    color: white;
}

.modal-header {
    padding: 20px; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02);
}
.modal-header img { width: 60px; height: 60px; border-radius: 8px; box-shadow: 0 4px 10px black; }
.close-modal { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

.modal-body { flex: 1; overflow-y: auto; padding: 20px; }

/* Settings */
.settings-row { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 20px; }
.setting-group { flex: 1; min-width: 150px; }
.setting-group label { display: block; font-size: 0.8rem; color: #888; margin-bottom: 5px; }
.setting-group input, .setting-group select {
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 10px; color: white; border-radius: 8px; outline: none; box-sizing: border-box;
}

/* Table */
.song-list-container { background: rgba(0,0,0,0.2); border-radius: 12px; border: 1px solid var(--border); height: 300px; overflow-y: auto; }
.song-table { width: 100%; border-collapse: collapse; text-align: left; }
.song-table th { position: sticky; top: 0; background: #222; padding: 10px; font-size: 0.8rem; color: #aaa; z-index: 2; }
.song-table td { padding: 10px; border-bottom: 1px solid #222; font-size: 0.9rem; }
.song-table tr:hover { background: rgba(255,255,255,0.05); }

/* Controls */
.list-controls { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.btn-text { background: none; border: none; color: var(--primary); cursor: pointer; text-decoration: underline; }

.pagination-footer { display: flex; justify-content: center; gap: 15px; align-items: center; margin-top: 15px; }
.pagination-footer button { background: #333; border: none; color: white; padding: 5px 15px; border-radius: 5px; cursor: pointer; }
.pagination-footer button:disabled { opacity: 0.5; }

/* Footer */
.modal-footer {
    padding: 20px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.2);
}
.btn-premium {
    background: white; color: black; padding: 12px 25px; border-radius: 30px; border: none; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s;
}
.btn-premium:hover { background: var(--primary); transform: scale(1.02); }

.download-final-btn {
    display: block; background: var(--primary); color: white; text-align: center; padding: 15px; border-radius: 12px; text-decoration: none; font-weight: bold; margin-top: 20px;
}
/* Custom Scrollbar for Song List */
.song-list-container::-webkit-scrollbar {
    width: 8px;
}
.song-list-container::-webkit-scrollbar-track {
    background: #111;
    border-radius: 4px;
}
.song-list-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
.song-list-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Styled Select Dropdown (Premium Look) */
.styled-select {
    appearance: none;
    background-color: rgba(0,0,0,0.3);
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23AAAAAA%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px auto;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px 30px 10px 10px;
    color: white;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    width: 100%;
}
.styled-select:hover {
    border-color: rgba(255,255,255,0.3);
}

/* Disabled State for Search */
.disabled-btn {
    opacity: 0.5;
    cursor: not-allowed !important;
    background: #555 !important;
}
input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cancel Button Style */
.btn-cancel {
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    transition: 0.2s;
    text-decoration: none;
}
.btn-cancel:hover {
    background: rgba(255,68,68,0.1);
}
.hidden { display: none !important; }
/* --- DONATION PAGE STYLES --- */

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.donation-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donation-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-card {
    background: rgba(29, 185, 84, 0.1);
    border-color: rgba(29, 185, 84, 0.3);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.donation-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.donation-card p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Donate Button (Ko-fi style) */
.btn-donate {
    background: white;
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}
.btn-donate:hover {
    background: #ffeb3b;
    transform: scale(1.05);
}

/* Crypto Address Box */
.crypto-box {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 5px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-box input {
    background: transparent;
    border: none;
    color: #ccc;
    font-family: monospace;
    font-size: 0.85rem;
    flex: 1;
    padding: 8px;
    outline: none;
    text-overflow: ellipsis;
}

.crypto-box button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    padding: 0 12px;
    cursor: pointer;
    transition: 0.2s;
}

.fa-brands {
    margin: 40px;
    font-size: 80px;
}

.crypto-box button:hover {
    background: rgba(255, 255, 255, 0.1);
}