/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-bg: #0a0118;
    --secondary-bg: #1a0f3a;
    --card-bg: rgba(45, 25, 85, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --accent-purple: #8b5cf6;
    --accent-pink: #f472b6;
    --accent-blue: #3b82f6;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    
    /* Vibrant Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #43e97b 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #c084fc 100%);
    --gradient-pink: linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #be185d 100%);
    --gradient-blue: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    --gradient-green: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    --gradient-orange: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%);
    --gradient-dark: linear-gradient(135deg, #2d1b69 0%, #1e1b4b 50%, #0f0728 100%);
    --gradient-rainbow: linear-gradient(135deg, #667eea 0%, #f093fb 25%, #4facfe 50%, #43e97b 75%, #fbbf24 100%);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.6);
    --shadow-glow-pink: 0 0 30px rgba(244, 114, 182, 0.6);
    --shadow-glow-blue: 0 0 30px rgba(59, 130, 246, 0.6);
    --shadow-glow-green: 0 0 30px rgba(52, 211, 153, 0.6);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: -1;
}

/* App Container */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(26, 15, 58, 0.85);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    /* iOS Safe Area - Header-Hintergrund bis ganz nach oben */
    padding-top: env(safe-area-inset-top);
    padding-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Logo und Navigation UNTER der Notch/Dynamic Island */
    padding-top: var(--spacing-sm);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.refresh-tab svg {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.refresh-tab.refreshing svg {
    transform: rotate(360deg);
}

.refresh-tab.refreshing {
    pointer-events: none;
    opacity: 0.7;
}

.refresh-tab.refreshing::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    border-radius: 16px;
    animation: shimmer 1.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes shimmer-refresh {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Refresh Message */
.refresh-message {
    position: fixed;
    /* Position unter dem erweiterten Header */
    top: calc(100px + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 24px;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.refresh-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.refresh-message-info {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.refresh-message-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.9));
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.refresh-message-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.nav-tabs {
    display: flex;
    gap: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05);
}

.nav-tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
    min-width: auto;
    text-decoration: none;
}

.nav-tab.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: white;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tab.active::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    z-index: 1;
}

.nav-tab.active .tab-icon,
.nav-tab.active .tab-text {
    position: relative;
    z-index: 2;
}

.nav-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.tab-icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.tab-text {
    font-weight: 500;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    /* Header ist jetzt höher wegen Safe Area + Logo-Padding */
    padding-top: calc(120px + env(safe-area-inset-top));
    padding-bottom: 100px;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Section */
.welcome-section {
    margin-bottom: var(--spacing-xl);
}

.welcome-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 180px;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-rainbow);
    opacity: 0.1;
    border-radius: var(--radius-xl);
    z-index: -1;
}

.welcome-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.welcome-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-content h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.welcome-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-glow-pink); }
    33% { box-shadow: var(--shadow-glow-blue); }
    66% { box-shadow: var(--shadow-glow-green); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Sections */
.section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

/* Track Lists */
.track-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.track-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.track-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.track-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.track-item:hover::before {
    left: 100%;
}

.track-cover {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.track-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.track-genre {
    background: var(--gradient-purple);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* PWA Install Card - B-Tunez Style */
.install-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    /* Make it stand out as separate component */
    max-width: 100%;
    isolation: isolate;
}

.install-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-rainbow);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
    z-index: 0;
}

.install-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(139, 92, 246, 0.3);
}

.install-card:hover::before {
    opacity: 0.1;
}

.install-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
    width: 100%;
}

.install-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

.install-card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    z-index: 0;
}

.install-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.install-card-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.install-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.install-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    opacity: 0.9;
}

.install-card-button {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.install-card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-sm);
}

.install-card-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139, 92, 246, 0.4);
    color: white;
}

.install-card-button:hover::before {
    opacity: 0.8;
}

.install-card-button:active {
    transform: translateY(0);
}

.install-card-button span {
    position: relative;
    z-index: 1;
}

.install-card.hidden {
    display: none;
}

/* Platform-specific icon backgrounds */
.install-card[data-platform="ios"] .install-card-icon::before {
    background: var(--gradient-blue);
}

.install-card[data-platform="android"] .install-card-icon::before {
    background: var(--gradient-green);
}

.install-card[data-platform="desktop"] .install-card-icon::before {
    background: var(--gradient-purple);
}

.install-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: install-card-shimmer 3s ease-in-out infinite;
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Install Card spacing from sections */
.section + .install-card {
    margin-top: var(--spacing-xl);
}

/* Add subtle separator effect above Install Card */
.install-card:not(.hidden)::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: calc(-1 * var(--spacing-lg)) auto var(--spacing-lg) auto;
    border-radius: 1px;
}

@keyframes install-card-shimmer {
    0% { 
        background-position: -200% center; 
    }
    100% { 
        background-position: 200% center; 
    }
}

/* Live Stream Section - B-Tunez Style */
.live-stream-section {
    margin: var(--spacing-2xl) 0;
}

.live-stream-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    animation: bounce-in 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.live-stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(239, 68, 68, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-lg);
    z-index: 0;
}

.live-stream-card:hover::before {
    opacity: 1;
}

.live-stream-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, #ef4444, #dc2626);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-sm);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.live-stream-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e5e7eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-stream-player {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    /* Responsive aspect ratio container */
    width: 100%;
    height: 0;
    padding-bottom: 42%; /* Kompakteres Verhältnis für weniger schwarze Bereiche */
    max-height: 300px; /* Maximale Höhe für Desktop */
}

.live-stream-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    border: none;
}

.live-stream-controls {
    display: flex;
    flex-direction: row;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

.live-stream-toggle, .live-stream-check {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.live-stream-check {
    font-size: 0.8rem;
    padding: 8px 12px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.2) 0%, 
        rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    min-width: 140px;
}

.live-stream-toggle::before, .live-stream-check::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--radius-sm);
}

.live-stream-toggle::before {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.live-stream-check::before {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.live-stream-toggle:hover, .live-stream-check:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.live-stream-toggle:hover {
    border-color: rgba(239, 68, 68, 0.4);
}

.live-stream-check:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.live-stream-toggle:hover::before, .live-stream-check:hover::before {
    opacity: 0.8;
}

.live-stream-toggle span, .live-stream-toggle svg,
.live-stream-check span, .live-stream-check svg {
    position: relative;
    z-index: 1;
}

.live-stream-section.hidden {
    display: none;
}

/* Live Stream responsive */
@media (max-width: 768px) {
    .live-stream-section {
        margin: var(--spacing-xl) 0;
    }
    
    .live-stream-card {
        padding: var(--spacing-md);
    }
    
    .live-stream-player {
        max-height: none; /* Entferne max-height für Mobile */
        padding-bottom: 56.25%; /* 16:9 für Mobile */
    }
    
    .live-stream-toggle {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .live-stream-check {
        justify-content: center;
        padding: 10px 16px;
    }
    
    .live-stream-controls {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .live-stream-header {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }
}

/* Recent Tracks - Special Styling */
.track-item.recent-track {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.track-item.recent-track:hover {
    transform: translateY(-6px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.1);
}

.track-item.recent-track .track-cover {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1);
}

.track-item.recent-track .track-info {
    margin-left: var(--spacing-md);
}

.track-item.recent-track .track-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.track-item.recent-track .track-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.track-item.recent-track .track-genre {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 
        0 4px 16px rgba(139, 92, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    z-index: 1;
}

.play-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(139, 92, 246, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.play-button:active {
    transform: translateY(0px) scale(1.02);
    box-shadow: 
        0 4px 16px rgba(139, 92, 246, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.play-button .play-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Music Grid */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.music-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-rainbow);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.music-card:hover {
    transform: translateY(-12px) rotateY(5deg) rotateX(5deg);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.music-card:hover::before {
    opacity: 0.05;
}

.music-card-cover {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.music-card-content {
    padding: var(--spacing-lg);
}

.music-card-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.music-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.music-card-genre {
    background: var(--gradient-pink);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-card-duration {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.music-card-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Search */
.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-input-container {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.search-input {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 16px; /* iOS-sicher: verhindert Auto-Zoom */
    font-weight: 500;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(0, 0, 0, 0.05);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-clear-btn {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 16px rgba(139, 92, 246, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-clear-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 
        0 6px 20px rgba(139, 92, 246, 0.4),
        0 3px 12px rgba(0, 0, 0, 0.15);
}

.search-placeholder {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-secondary);
}

.search-placeholder-icon {
    margin-bottom: var(--spacing-lg);
    opacity: 0.6;
}

.search-placeholder h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.search-placeholder p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.search-results {
    min-height: 200px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.search-no-results {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--text-secondary);
}

.search-no-results h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

/* Search highlighting */
mark {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.1rem 0.2rem;
    border-radius: 0.2rem;
    font-weight: 600;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border-left: 4px solid var(--accent-blue);
}

.news-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.news-content {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Now Playing Bar */
.now-playing-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 15, 58, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 90;
    cursor: pointer;
}

.track-cover-small {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.track-details {
    flex: 1;
    margin-left: var(--spacing-md);
}

.track-title-small {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.track-genre-small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.playback-controls-small .control-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 24px rgba(139, 92, 246, 0.3),
        0 3px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.playback-controls-small .control-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    z-index: 1;
}

.playback-controls-small .control-btn .play-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.playback-controls-small .control-btn:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Player Modal */
.player-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-bg);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.player-modal.active {
    transform: translateY(0);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Safe Area Support für besseren Abstand zur Statusleiste */
    padding-top: calc(var(--spacing-lg) + env(safe-area-inset-top));
}

.close-player {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.player-title {
    font-weight: 600;
    color: var(--text-primary);
}

.player-content {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.track-artwork {
    position: relative;
    margin: 0 auto var(--spacing-xl);
    width: 280px;
    height: 280px;
}

.track-artwork img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visualizer {
    display: flex;
    gap: 4px;
    align-items: center;
}

.wave {
    width: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 35px; animation-delay: 0.3s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.track-info-full {
    margin-bottom: var(--spacing-xl);
}

.track-info-full h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.track-info-full p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: var(--spacing-xl);
}

.progress-bar {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: var(--spacing-sm);
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    left: 0%;
    transition: left 0.1s ease;
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.control-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.control-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    transform: translateY(-1px);
    box-shadow: 
        0 6px 24px rgba(139, 92, 246, 0.2),
        0 3px 12px rgba(0, 0, 0, 0.15);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: white;
    font-size: 2.2rem;
    box-shadow: 
        0 12px 48px rgba(139, 92, 246, 0.5),
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    z-index: 1;
}

.play-btn .play-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.play-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 16px 64px rgba(139, 92, 246, 0.7),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    justify-content: center;
    max-width: 200px;
    margin: 0 auto;
}

.volume-slider {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-purple);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-purple);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .main-content {
        /* Mobile: Header + Safe Area + zusätzlicher Abstand für Navigation */
        padding-top: calc(160px + env(safe-area-inset-top));
    }
    
    .welcome-card {
        padding: var(--spacing-lg);
        text-align: center;
    }
    
    .music-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .track-artwork {
        width: 250px;
        height: 250px;
    }
    
    .nav-tabs {
        width: 100%;
        justify-content: space-around;
        padding: 4px;
        gap: 2px;
    }

    .nav-tab {
        flex: 1;
        padding: 10px 8px;
        font-size: 0.7rem;
        gap: 4px;
    }

    .tab-text {
        display: none;
    }

    .tab-icon svg {
        width: 20px;
        height: 20px;
    }

    .search-input {
        padding: var(--spacing-md) var(--spacing-lg);
        /* font-size bleibt 16px für iOS-Kompatibilität */
    }

    .search-results-grid {
        grid-template-columns: 1fr;
    }

    /* Volume Control auf Mobile verstecken - System-Lautstärke verwenden */
    .volume-control {
        display: none;
    }
    
    /* PWA Install Card responsive */
    .install-card {
        padding: var(--spacing-md);
        margin: var(--spacing-xl) 0;
    }
    
    .install-card-content {
        gap: var(--spacing-sm);
    }
    
    .install-card-icon {
        width: 50px;
        height: 50px;
    }
    
    .install-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .install-card-title {
        font-size: 1rem;
    }
    
    .install-card-subtitle {
        font-size: 0.8rem;
    }
    
    .install-card-button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
    
    .welcome-card {
        padding: var(--spacing-lg);
    }
    
    .music-grid {
        grid-template-columns: 1fr;
    }
    
    .track-artwork {
        width: 220px;
        height: 220px;
    }
    
    /* PWA Install Card mobile */
    .install-card-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
        justify-content: center;
        align-items: center;
    }
    
    .install-card-text {
        order: 2;
        text-align: center;
    }
    
    .install-card-button {
        order: 3;
        align-self: center;
        padding: 12px 24px;
        min-width: 150px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: var(--shadow-glow-pink);
        filter: brightness(1);
    }
    50% { 
        box-shadow: var(--shadow-glow-blue);
        filter: brightness(1.2);
    }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes bounce-in {
    0% { 
        transform: scale(0.3) translateY(50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    100% { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.welcome-card {
    animation: bounce-in 0.8s ease-out;
}

.track-item, .music-card {
    animation: bounce-in 0.6s ease-out;
}

.track-item:nth-child(odd) {
    animation-delay: 0.1s;
}

.track-item:nth-child(even) {
    animation-delay: 0.2s;
}

.music-card:nth-child(1) { animation-delay: 0.1s; }
.music-card:nth-child(2) { animation-delay: 0.2s; }
.music-card:nth-child(3) { animation-delay: 0.3s; }
.music-card:nth-child(4) { animation-delay: 0.4s; }

/* Particle Effect Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Icon Centering */
.control-btn svg,
.play-button svg,
.play-btn svg {
    display: block;
    margin: 0 auto;
}

.play-icon svg {
    display: block;
}

/* Ensure all buttons center their content */
button {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* iOS-spezifische Fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari spezifische Styles */
    .search-input {
        /* Verhindert iOS Zoom bei Input-Focus */
        font-size: 16px !important;
        -webkit-text-size-adjust: 100%;
    }
    
    /* Verhindert ungewolltes Zooming */
    input, select, textarea {
        font-size: 16px !important;
    }
}

/* Verhindert Zoom bei Orientierungsänderung */
@media screen and (orientation: landscape) {
    html {
        -webkit-text-size-adjust: 100%;
    }
}

/* Touch-Verhalten optimieren */
body {
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); } 