/* =========================================
   CSS VARIABLES & ROOT STYLES - DARK THEME
   ========================================= */
:root {
    --primary: #f4662f;
    --primary-light: #ff8a5c;
    --primary-dark: #d14e1a;
    --secondary: #802bfc;
    --secondary-dark: #6620cc;
    --bg-dark: #0a0a0f;
    --bg-card: #15151f;
    --bg-card-hover: #1a1a28;
    --bg-elevated: #1e1e2d;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    --gradient-dark: linear-gradient(180deg, transparent 0%, var(--bg-dark) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(244, 102, 47, 0.15) 0%, transparent 70%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(244, 102, 47, 0.3);
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 70px;
    --player-height: 80px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: transparent;
}

.hidden {
    display: none !important;
}

/* APP CONTAINER */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

/* MAIN CONTENT */
.main-content {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tab-content {
    display: none;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-wrapper {
    padding-bottom: calc(var(--player-height) + var(--nav-height) + var(--safe-bottom) + 20px);
}

.section-inner {
    padding: 0 var(--space-lg);
}

.player-spacer {
    height: 40px;
}

/* HERO FULLSCREEN */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    filter: blur(8px) saturate(1.3);
    transform: scale(1.1);
    opacity: 0.6;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.5) 50%, rgba(10, 10, 15, 0.95) 100%);
}

/* LIVE BADGE */
.hero-live-badge {
    position: absolute;
    top: calc(env(safe-area-inset-top, 20px) + 20px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-full);
    z-index: 10;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.live-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ef4444;
    letter-spacing: 0.1em;
}

/* HERO LOGO */
.hero-logo {
    position: relative;
    z-index: 10;
    margin-bottom: var(--space-xl);
    width: 70%;
    max-width: 280px;
}

.hero-logo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 var(--space-lg);
    max-width: 400px;
}

.hero-now-playing {
    margin-bottom: var(--space-xl);
}

.hero-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.2em;
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* HERO PLAY BUTTON */
.hero-play-btn {
    position: relative;
    width: 88px;
    height: 88px;
    margin: var(--space-xl) auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(244, 102, 47, 0.3);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.5;
    }
}

.play-btn-inner {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(244, 102, 47, 0.4);
    transition: all var(--transition-base);
}

.play-btn-inner i {
    width: 32px;
    height: 32px;
    color: white;
}

.play-btn-inner .icon-play {
    margin-left: 4px;
}

.hero-play-btn:hover .play-btn-inner {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(244, 102, 47, 0.5);
}

.hero-play-btn:active .play-btn-inner {
    transform: scale(0.95);
}

/* HERO NEXT */
.hero-next {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.next-divider {
    width: 3px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.next-info {
    text-align: left;
}

.next-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
}

.next-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2px 0;
}

.next-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* MUSIC REQUEST SECTION */
.music-request-section {
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.music-request-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.music-request-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.music-request-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.music-request-content {
    flex: 1;
}

.music-request-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.music-request-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.music-request-btn {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.music-request-btn i {
    width: 20px;
    height: 20px;
    color: white;
}

.music-request-btn:hover {
    transform: scale(1.1);
}

/* MUSIC REQUEST FORM */
.music-request-form {
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-step label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.form-step input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--transition-base);
}

.form-step input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-lg);
}

.btn-back,
.btn-next {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-base);
}

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-next {
    background: var(--gradient-primary);
    color: white;
}

.btn-next:hover {
    transform: translateX(4px);
}

.btn-back i,
.btn-next i {
    width: 18px;
    height: 18px;
}

.form-progress {
    display: flex;
    gap: var(--space-sm);
}

.progress-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.progress-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* PROMO SECTION */
.promo-section {
    margin-top: var(--space-xl);
}

.promo-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(244, 102, 47, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(244, 102, 47, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.promo-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    color: white;
    transition: all var(--transition-base);
}

.promo-btn i {
    width: 18px;
    height: 18px;
}

.promo-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(244, 102, 47, 0.3);
}

.promo-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.02) 10px, rgba(255, 255, 255, 0.02) 20px);
    pointer-events: none;
}

/* YOUTUBE SECTION */
.youtube-section {
    margin-top: var(--space-xl);
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 800;
}

.section-title i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.youtube-player-container {
    margin-bottom: var(--space-lg);
}

.youtube-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.youtube-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-playlist {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* PLAYLIST ITEM (YouTube) */
.playlist-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.playlist-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.06);
}

.playlist-item.active {
    border-color: var(--primary);
    background: rgba(244, 102, 47, 0.1);
}

.playlist-item-thumb {
    width: 80px;
    height: 45px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.playlist-item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.playlist-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.playlist-item-artist {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

/* SOCIAL SECTION */
.social-section {
    margin-top: var(--space-xl);
}

.social-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
}

.social-card i {
    width: 28px;
    height: 28px;
}

.social-card span {
    font-size: 0.75rem;
    font-weight: 600;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
}

.social-card.instagram i {
    color: #E4405F;
}

.social-card.whatsapp i {
    color: #25D366;
}

.social-card.website i {
    color: var(--primary);
}

/* PAGE HEADER */
.page-header {
    position: relative;
    padding: calc(env(safe-area-inset-top, 20px) + 40px) var(--space-lg) var(--space-xl);
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.page-title i {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* PROMO LIST (Tab Promos) */
.promo-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.promo-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-item-image {
    position: relative;
    height: 160px;
}

.promo-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-status {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.promo-status.live {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.promo-status.soon {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.promo-item-content {
    padding: var(--space-lg);
}

.promo-item-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.promo-item-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.promo-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-item-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.promo-item-meta i {
    width: 14px;
    height: 14px;
}

.btn-participate {
    padding: var(--space-sm) var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    transition: all var(--transition-base);
}

.btn-participate:hover {
    transform: scale(1.05);
}

.btn-participate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* HOW TO BOX */
.how-to-box {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.how-to-box h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.how-to-box h3 i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.step-item {
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto var(--space-sm);
}

.step-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.step-arrow i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

/* CONTACT PAGE */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
}

.contact-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.contact-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-icon.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
}

.contact-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.contact-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.address-box,
.contact-form-box {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.address-box h3,
.contact-form-box h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.address-box h3 i,
.contact-form-box h3 i {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.btn-submit {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white;
    transition: all var(--transition-base);
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(244, 102, 47, 0.3);
}

/* PLAYER BAR */
.player-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--nav-height);
    height: var(--player-height);
    display: flex;
    align-items: center;
    background: var(--bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    padding-bottom: var(--safe-bottom);
    z-index: 100;
}

.player-cover {
    position: relative;
    width: 64px;
    height: 64px;
    margin: var(--space-sm);
    flex-shrink: 0;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.player-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.player-bar.playing .player-cover-overlay {
    opacity: 1;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 20px;
}

.equalizer span {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: eq 0.8s ease-in-out infinite;
}

.equalizer span:nth-child(1) {
    height: 40%;
    animation-delay: 0s;
}

.equalizer span:nth-child(2) {
    height: 80%;
    animation-delay: -0.2s;
}

.equalizer span:nth-child(3) {
    height: 60%;
    animation-delay: -0.4s;
}

.equalizer span:nth-child(4) {
    height: 100%;
    animation-delay: -0.1s;
}

.equalizer span:nth-child(5) {
    height: 50%;
    animation-delay: -0.3s;
}

@keyframes eq {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

.player-info {
    flex: 1;
    min-width: 0;
    padding: 0 var(--space-md);
}

.player-marquee {
    overflow: hidden;
}

.player-marquee span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-right: var(--space-md);
}

.btn-volume {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.btn-volume i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.btn-volume:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-play-main {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(244, 102, 47, 0.3);
    transition: all var(--transition-base);
}

.btn-play-main i {
    width: 26px;
    height: 26px;
    color: white;
}

.btn-play-main .icon-play {
    margin-left: 3px;
}

.btn-play-main:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(244, 102, 47, 0.5);
}

.btn-play-main:active {
    transform: scale(0.95);
}

/* BOTTOM NAVIGATION */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: var(--safe-bottom);
    z-index: 200;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md) var(--space-sm);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.nav-tab i {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.nav-tab span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-tab.active {
    color: var(--primary);
}

.player-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.player-bar.playing .player-cover-overlay {
    opacity: 1;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 20px;
}

.equalizer span {
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
    animation: eq 0.8s ease-in-out infinite;
}

.equalizer span:nth-child(1) {
    height: 40%;
    animation-delay: 0s;
}

.equalizer span:nth-child(2) {
    height: 80%;
    animation-delay: -0.2s;
}

.equalizer span:nth-child(3) {
    height: 60%;
    animation-delay: -0.4s;
}

.equalizer span:nth-child(4) {
    height: 100%;
    animation-delay: -0.1s;
}

.equalizer span:nth-child(5) {
    height: 50%;
    animation-delay: -0.3s;
}

@keyframes eq {

    0%,
    100% {
        transform: scaleY(0.4);
    }

    50% {
        transform: scaleY(1);
    }
}

.player-info {
    flex: 1;
    min-width: 0;
    padding: 0 var(--space-md);
}

.player-marquee {
    overflow: hidden;
}

.player-marquee span {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-right: var(--space-md);
}

.btn-volume {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.btn-volume i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.btn-volume:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-play-main {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(244, 102, 47, 0.3);
    transition: all var(--transition-base);
}

.btn-play-main i {
    width: 26px;
    height: 26px;
    color: white;
}

.btn-play-main .icon-play {
    margin-left: 3px;
}

.btn-play-main:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(244, 102, 47, 0.5);
}

.btn-play-main:active {
    transform: scale(0.95);
}

/* BOTTOM NAVIGATION */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: var(--safe-bottom);
    z-index: 200;
}

.nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--space-md) var(--space-sm);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.nav-tab i {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.nav-tab span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-tab.active {
    color: var(--primary);
}

.nav-tab.active i {
    transform: scale(1.15);
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo img {
        width: 120px;
        height: 120px;
    }

    .hero-play-btn {
        width: 100px;
        height: 100px;
    }

    .play-btn-inner i {
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   INSTALL BANNER
   ========================================= */
.install-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-banner.hidden {
    display: none !important;
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.install-banner-content i {
    width: 20px;
    height: 20px;
}

.install-banner-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.install-banner-btn {
    padding: var(--space-sm) var(--space-md);
    background: white;
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8rem;
    transition: transform var(--transition-base);
}

.install-banner-btn:hover {
    transform: scale(1.05);
}

.install-banner-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: background var(--transition-base);
}

.install-banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.install-banner-close i {
    width: 18px;
    height: 18px;
}

/* =========================================
   INSTALL MODAL
   ========================================= */
.install-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.install-modal-overlay.hidden {
    display: none !important;
}

.install-modal {
    position: relative;
    width: 100%;
    max-width: 340px;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.install-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.install-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.install-modal-close i {
    width: 20px;
    height: 20px;
}

.install-modal-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-glow);
}

.install-modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.install-modal p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.install-modal-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-xl);
}

.install-modal-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.install-modal-features i {
    width: 18px;
    height: 18px;
    color: #22c55e;
}

.install-modal-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(244, 102, 47, 0.3);
}

.install-modal-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(244, 102, 47, 0.4);
}

.install-modal-later {
    width: 100%;
    padding: var(--space-sm);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-base);
}

.install-modal-later:hover {
    color: var(--text-secondary);
}

/* =========================================
   UPDATE TOAST
   ========================================= */
.update-toast {
    position: fixed;
    bottom: calc(var(--nav-height) + var(--player-height) + 20px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.update-toast.hidden {
    display: none !important;
}

.update-toast span {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.update-toast i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}