/* --- Existing CSS (unchanged) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(45deg, #0a0a0a, #3a4452);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png'), linear-gradient(45deg, #1a1a1a, #2c3e50);
    animation: moveBackground 20s linear infinite;
    z-index: -1;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 200% 200%; }
}

.header {
    color: #00ffcc;
    font-size: 36px;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.5);
    margin: 20px 0;
    animation: glow 1.5s ease-in-out infinite alternate;
    text-align: center;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px 0;
    border: 3px solid #00ffcc;
    box-shadow: 0 0 20px #00ffcc, 0 0 40px rgba(0, 255, 204, 0.5);
    animation: glow 1.5s ease-in-out infinite alternate;
}

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

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.3);
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    color: #00ffcc;
    text-decoration: none;
    text-transform: uppercase;
    background: transparent;
    border: 2px solid #00ffcc;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.nav-button:hover {
    color: #fff;
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px #00ffcc, 0 0 25px #ff00ff;
    transform: scale(1.05);
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nav-button:hover::after {
    width: 200%;
    height: 200%;
}

.button-description {
    font-size: 14px;
    color: #b0b0b0;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px #00ffcc, 0 0 10px rgba(0, 255, 204, 0.5); }
    50% { box-shadow: 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.7); }
    100% { box-shadow: 0 0 5px #00ffcc, 0 0 10px rgba(0, 255, 204, 0.5); }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px #00ffcc, 0 0 40px rgba(0, 255, 204, 0.5); }
    100% { box-shadow: 0 0 30px #ff00ff, 0 0 60px rgba(255, 0, 255, 0.5); }
}

.footer {
    color: #00ffcc;
    font-size: 16px;
    text-shadow: 0 0 10px #00ffcc;
    margin: 20px 0;
}

html, body {
    height: auto;
    overflow-y: auto;
}

.changing-text {
    font-size: 24px;
    margin: 14px 0 24px 0;
    text-align: center;
    text-shadow: 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.5);
    min-height: 1.5em;
    animation: glow 1.5s ease-in-out infinite alternate;
    transition: color 0.5s, font-family 0.5s;
}

.typed-cursor {
    color: #fff;
    opacity: 0.6;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0; }
}

#support-dev-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7f00ff 0%, #00c3ff 100%);
    box-shadow: 0 8px 32px rgba(127,0,255,0.31), 0 0 0 5px #00c3ff44;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2020;
    transition: box-shadow 0.2s, background 0.25s;
    border: 2.5px solid #fff;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 8px 32px rgba(127,0,255,0.31), 0 0 0 5px #00c3ff44; }
    50% { box-shadow: 0 16px 60px #7f00ff44, 0 0 0 12px #00c3ff33; }
}

#support-dev-btn:hover {
    background: linear-gradient(135deg, #00c3ff 0%, #7f00ff 100%);
    box-shadow: 0 16px 60px #7f00ff44, 0 0 0 10px #00c3ff77;
}

#support-dev-btn svg {
    width: 42px;
    height: 42px;
    fill: #fff;
    filter: drop-shadow(0 0 12px #00c3ff) drop-shadow(0 0 4px #7f00ff);
}

#support-dev-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,10,35,0.55);
    z-index: 2100;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

#support-dev-modal .modal-content {
    background: rgba(25,18,45,0.93);
    border-radius: 20px;
    box-shadow: 0 12px 48px #7f00ff55;
    text-align: center;
    max-width: 380px;
    margin: auto;
    padding: 48px 32px 38px;
    border: 2.5px solid #00c3ff;
    color: #fff;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    position: relative;
    overflow: hidden;
}

#support-dev-modal .modal-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(120deg, #7f00ff33 0%, #00c3ff55 100%);
    z-index: -1;
    pointer-events: none;
}

#support-dev-modal .modal-content h3 {
    margin-top: 0;
    font-size: 1.45em;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #00c3ff;
    text-shadow: 0 2px 14px #7f00ff, 0 0 4px #00c3ff;
}

#support-dev-modal .modal-content p {
    margin: 22px 0 32px;
    color: #e0e7ff;
    font-size: 1.13em;
    line-height: 1.6;
    text-shadow: 0 2px 10px #7f00ff44;
}

#support-dev-modal .modal-content button {
    margin: 0 12px;
    padding: 13px 34px;
    border: none;
    border-radius: 12px;
    font-size: 1.07em;
    font-weight: 600;
    letter-spacing: 0.75px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    box-shadow: 0 2px 18px #00c3ff2e;
}

#support-dev-modal .modal-content .yes {
    background: linear-gradient(90deg, #7f00ff 0%, #00c3ff 100%);
    color: #fff;
    box-shadow: 0 2px 18px #7f00ff88;
}

#support-dev-modal .modal-content .yes:hover {
    background: linear-gradient(90deg, #00c3ff 0%, #7f00ff 100%);
    color: #fff;
    box-shadow: 0 4px 28px #00c3ff99;
}

#support-dev-modal .modal-content .later {
    background: #232a45;
    color: #00c3ff;
    border: 2px solid #00c3ff;
}

#support-dev-modal .modal-content .later:hover {
    background: #7f00ff;
    color: #fff;
    border: 2px solid #00c3ff;
}

#paystack-btn {
    position: fixed;
    right: 32px;
    bottom: 120px;
    z-index: 3000;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #00f2fe, #4facfe, #43e97b, #38f9d7);
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px 10px #00f2fe;
    cursor: pointer;
    transition: transform 0.22s;
    animation: glowPulse 1.6s infinite, bounce 2.5s infinite;
}

#paystack-btn:hover {
    transform: scale(1.09) rotate(-8deg);
    box-shadow: 0 0 50px 18px #43e97b;
}

#paystack-msg {
    position: fixed;
    right: 50px;
    bottom: 210px;
    background: #222;
    color: #fff;
    padding: 12px 22px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s;
    z-index: 3100;
}

#paystack-msg.show {
    opacity: 1;
}

/* --- Music Player Card CSS (Updated) --- */
.music-player-card {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px #00ffcc, 0 0 40px rgba(0, 255, 204, 0.5);
    z-index: 2000;
    animation: pulse 2s infinite;
    color: #fff;
}

.music-player-card h3 {
    font-size: 18px;
    color: #00ffcc;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ffcc;
}

.music-player-card .song-title {
    font-size: 14px;
    color: #e0e7ff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
    height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-player-card .controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.music-player-card button {
    background: transparent;
    border: 2px solid #00ffcc;
    color: #00ffcc;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-player-card button:hover {
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px #00ffcc;
    transform: scale(1.1);
}

.music-player-card button svg {
    width: 20px;
    height: 20px;
    fill: #00ffcc;
}

.music-player-card .volume-control {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.music-player-card input[type="range"] {
    width: 80%;
    -webkit-appearance: none;
    background: transparent;
}

.music-player-card input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    background: #00ffcc;
    border-radius: 5px;
}

.music-player-card input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    margin-top: -5px;
    box-shadow: 0 0 10px #00ffcc;
}

.music-player-card .progress-container {
    margin-top: 10px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.music-player-card .progress-bar {
    width: 100%;
    height: 5px;
    background: #444;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.music-player-card .progress {
    width: 0;
    height: 100%;
    background: #00ffcc;
    transition: width 0.1s linear;
}

/* --- New Loading Spinner CSS --- */
.music-player-card .loading-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 4px solid #00ffcc;
    border-top: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px rgba(0, 255, 204, 0.5);
}

.music-player-card.loading .loading-spinner {
    display: block;
}

.music-player-card.loading .song-title,
.music-player-card.loading .controls,
.music-player-card.loading .volume-control,
.music-player-card.loading .progress-container {
    opacity: 0.3;
    pointer-events: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- New Auto-Play Overlay --- */
.autoplay-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #00ffcc;
    text-align: center;
    backdrop-filter: blur(5px);
}

.autoplay-content {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #00ffcc;
    box-shadow: 0 0 30px #00ffcc;
    max-width: 400px;
    margin: 20px;
}

.autoplay-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-shadow: 0 0 10px #00ffcc;
}

.autoplay-content p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.autoplay-btn {
    padding: 12px 30px;
    font-size: 18px;
    background: transparent;
    border: 2px solid #00ffcc;
    color: #00ffcc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

.autoplay-btn:hover {
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 20px #00ffcc;
    transform: scale(1.05);
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px 10px #00f2fe; }
    50% { box-shadow: 0 0 50px 20px #43e97b; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}