:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease-in-out;
}

body::before {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('/—Pngtree—high-quality audio recording setup for_16703872.jpeg');
    animation: bgFade1 32s infinite;
}

body::after {
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)), url('/—Pngtree—sound music mixer control panel_15474519.png');
    animation: bgFade2 32s infinite;
}

@keyframes bgFade1 {
    0%, 45% { opacity: 1; transform: scale(1); }
    50%, 95% { opacity: 0; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bgFade2 {
    0%, 45% { opacity: 0; transform: scale(1.1); }
    50%, 95% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.1); }
}

.app-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.header {
    text-align: center;
    margin-top: 20px;
}

.main-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 15px;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

.live-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 10px;
    background: linear-gradient(90deg, #ff0000, #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.player-section {
    width: 100%;
}

.player-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    margin-bottom: 15px;
}

.bar {
    width: 4px;
    height: 10%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: height 0.2s ease;
}

.playing .bar {
    animation: bounce 1s infinite ease-in-out;
}

.playing .bar:nth-child(2) { animation-delay: 0.1s; }
.playing .bar:nth-child(3) { animation-delay: 0.2s; }
.playing .bar:nth-child(4) { animation-delay: 0.3s; }
.playing .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}

.now-playing {
    font-weight: 300;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.4);
}

.btn-play:active {
    transform: scale(0.95);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 200px;
}

input[type=range] {
    flex: 1;
    height: 4px;
    accent-color: var(--primary-color);
}

.app-download-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.download-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.app-download-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #000000;
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid #444;
}

.app-download-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    background: #0a0a0a;
    border-color: var(--primary-color);
}

.app-download-badge i {
    font-size: 2rem;
    color: #fff;
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.small-text {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.main-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
    transition: transform 0.3s;
    background: var(--card-bg);
}

.social-btn:hover {
    transform: translateY(-5px);
}

.fb { background: #1877f2; }
.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.wa { background: #25d366; }

.comments-section {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
}

.comments-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400;
}

/* Make FB comments slightly more responsive in dark mode */
.fb-comments, .fb-comments span, .fb-comments iframe[style] {
    width: 100% !important;
}

.footer {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    margin-top: 10px;
    opacity: 0.7;
    font-size: 0.85rem;
    font-weight: 300;
}