/* Reset & Variables */
:root {
    --bg-dark: #09050d;
    --card-bg: rgba(21, 12, 29, 0.75);
    --card-border: rgba(245, 166, 35, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #c2b5cc;
    --accent-gold: #f5a623;
    --accent-pink: #e02875;
    --accent-glow: rgba(224, 40, 117, 0.4);
    --whatsapp-green: #25D366;
    --font-heading: 'Righteous', sans-serif;
    --font-brand: 'Lobster', cursive;
    --font-body: 'Inter', sans-serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
}

body {
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
}

.page-wrapper {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    top: -10%;
    left: -10%;
    animation: drift 20s infinite alternate;
}

.bg-glow-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-gold);
    bottom: 5%;
    right: -10%;
    animation: drift 25s infinite alternate-reverse;
}

.bg-glow-3 {
    width: 250px;
    height: 250px;
    background: #6c28e0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.1); }
}

/* Container */
.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 10;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 5px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--accent-gold);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-gold), var(--accent-pink));
    z-index: 1;
    filter: blur(8px);
    opacity: 0.7;
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 2.8rem;
    font-weight: normal;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.sub-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 2px;
}

/* Player Card (Glassmorphism) */
.player-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 30px 24px 24px 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.player-container:hover {
    border-color: rgba(245, 166, 35, 0.3);
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: -12px;
    background: #000;
    border: 1px solid var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-pink);
    border-radius: 50%;
}

.status-dot.pulsing {
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(224, 40, 117, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(224, 40, 117, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(224, 40, 117, 0); }
}

.status-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
}

/* Vinyl Disc styling */
.disc-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 10px 0 20px 0;
}

.disc {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #2d2d2d 30%, #080808 60%, #1a1a1a 100%);
    border-radius: 50%;
    border: 4px solid #111;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate 15s linear infinite;
    animation-play-state: paused;
}

.disc img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #111;
}

.disc-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Track Info */
.track-info {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Visualizer (Faux EQ Bars) */
.visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 35px;
    margin-bottom: 25px;
    width: 100%;
}

.visualizer .bar {
    width: 5px;
    height: 3px;
    background: linear-gradient(to top, var(--accent-pink), var(--accent-gold));
    border-radius: 4px;
    transition: height 0.2s ease;
}

/* Wave motion classes triggered by JS */
.visualizer.active .bar {
    animation: bounce 1.2s infinite ease-in-out alternate;
}

.visualizer.active .bar:nth-child(1) { animation-delay: 0.1s; }
.visualizer.active .bar:nth-child(2) { animation-delay: 0.4s; }
.visualizer.active .bar:nth-child(3) { animation-delay: 0.2s; }
.visualizer.active .bar:nth-child(4) { animation-delay: 0.6s; }
.visualizer.active .bar:nth-child(5) { animation-delay: 0.3s; }
.visualizer.active .bar:nth-child(6) { animation-delay: 0.5s; }
.visualizer.active .bar:nth-child(7) { animation-delay: 0.2s; }
.visualizer.active .bar:nth-child(8) { animation-delay: 0.7s; }
.visualizer.active .bar:nth-child(9) { animation-delay: 0.4s; }
.visualizer.active .bar:nth-child(10) { animation-delay: 0.1s; }

@keyframes bounce {
    0% { height: 4px; }
    100% { height: 35px; }
}

/* Controls */
.controls-row {
    margin-bottom: 25px;
}

.play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px var(--accent-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 25px rgba(224, 40, 117, 0.6);
}

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

.play-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}

.icon-play {
    transform: translateX(2px);
}

.hidden {
    display: none !important;
}

/* Volume Slider styling */
.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 80%;
    max-width: 260px;
}

.volume-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.volume-btn:hover {
    color: #ffffff;
}

.volume-btn svg {
    width: 20px;
    height: 20px;
}

.volume-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
    transition: transform 0.1s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
    transition: transform 0.1s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Info Section / Cards */
.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background: rgba(21, 12, 29, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.about-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.about-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Interaction / Contact buttons */
.interaction-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn {
    background-color: var(--whatsapp-green);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.social-icon {
    width: 22px;
    height: 22px;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.ig-btn:hover {
    border-color: #e1306c;
}

.fb-btn:hover {
    border-color: #1877f2;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Footer Section */
footer {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.studio-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--accent-gold);
    font-weight: 500;
}

.footer-icon {
    width: 14px;
    height: 14px;
}

.copyright {
    opacity: 0.7;
}

/* Mobile responsiveness adaptations */
@media (max-width: 400px) {
    .container {
        gap: 18px;
        padding: 0 4px;
    }
    .brand-name {
        font-size: 1.8rem;
    }
    .player-container {
        padding: 24px 16px 16px 16px;
    }
    .disc-wrapper {
        width: 120px;
        height: 120px;
    }
    .disc img {
        width: 48px;
        height: 48px;
    }
    .play-btn {
        width: 68px;
        height: 68px;
    }
    .action-btn {
        padding: 12px 10px;
        font-size: 0.9rem;
        gap: 8px;
    }
    .social-grid {
        gap: 8px;
    }
    .social-btn {
        padding: 10px 6px;
        font-size: 0.78rem;
        gap: 4px;
    }
}
