/* Jedakerja.com - Podcast Player Styles */

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

body, html {
    height: 100%;
    overflow: hidden;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.fullscreen-container {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0a0014 0%, #1a0a2e 20%, #0f0519 40%, #1a0a2e 60%, #0a0014 80%, #050008 100%),
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 900"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(138,43,226,0.08);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(102,51,153,0.04);stop-opacity:1" /></linearGradient></defs><rect width="1400" height="900" fill="url(%23grad1)"/><g opacity="0.15" stroke="rgba(255,255,255,0.4)" stroke-width="2" fill="none"><path d="M200,150 L200,450 L280,500 L280,150 Z" class="shirt"/><circle cx="240" cy="120" r="35"/><path d="M150,200 L200,180 L200,450" stroke-width="1.5"/><path d="M320,200 L280,180 L280,450" stroke-width="1.5"/><path d="M150,150 L280,120" stroke-width="2.5"/><rect x="600" y="200" width="180" height="280" opacity="0.12" stroke-dasharray="5,5"/><path d="M850,180 L850,480 L920,520 L920,180 Z"/><circle cx="885" cy="140" r="32"/><path d="M850,350 Q900,360 920,350" stroke-width="2"/><path d="M1100,250 L1100,500 L1160,540 L1160,250 Z"/><circle cx="1130" cy="210" r="30"/><path d="M1050,300 L1100,280 L1100,500" stroke-width="1.5"/><path d="M1200,300 L1160,280 L1160,500" stroke-width="1.5"/></g><text x="700" y="750" font-family="Arial" font-size="48" fill="rgba(138,43,226,0.1)" text-anchor="middle">ATASAN KARBITAN</text></svg>') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.fullscreen-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.25) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(102, 51, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.player-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 1;
}

.player-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    aspect-ratio: 1 / 1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.podcast-artwork {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ff 50%, #ddd6fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #8b5cf6;
}

.podcast-info {
    text-align: center;
    margin-bottom: 2rem;
}

.podcast-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.podcast-artist {
    font-size: 1.125rem;
    color: #d1d5db;
    font-weight: 500;
}

.audio-player {
    width: 100%;
    margin-bottom: 1.5rem;
}

audio {
    width: 100%;
    outline: none;
    height: 6px;
    border-radius: 3px;
}

audio::-webkit-media-controls-panel {
    background-color: transparent;
    border: none;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    display: none;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 50%, #a78bfa 100%);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.7);
}

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

.control-btn.play-pause {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.volume-control {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.volume-control i {
    color: #8b5cf6;
    font-size: 1rem;
}

.volume-slider {
    width: 4px;
    height: 100px;
    border-radius: 2px;
    background: linear-gradient(to top, #8b5cf6, #6b46c1);
    outline: none;
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 50%, #a78bfa 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.6);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 50%, #a78bfa 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.6);
}

.timeline-display {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.progress-bar-with-volume {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.progress-bar-container {
    flex: 1;
    min-width: 0;
}

.progress-slider {
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: rgba(139, 92, 246, 0.2);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 50%, #a78bfa 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.6);
}

.progress-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b46c1 0%, #8b5cf6 50%, #a78bfa 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.6);
}

.volume-control-right {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.volume-toggle {
    background: none;
    border: none;
    color: #8b5cf6;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

.volume-toggle:hover {
    color: #a78bfa;
}

.volume-slider-container {
    display: none;
    position: absolute;
    bottom: calc(100% + 0.0025rem);
    right: 50%;
    transform: translateX(50%);
    width: 40px;
    height: 100px;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.volume-slider-container.active {
    display: flex;
}

.time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #d1d5db;
    font-weight: 500;
    gap: 0.5rem;
}

.brand-header {
    text-align: center;
    padding: 2rem;
    z-index: 1;
}

.brand-logo-img {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
    animation: fadeInDown 0.8s ease-out;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .player-container {
        padding: 2rem 1.5rem;
    }
    
    .podcast-title {
        font-size: 1.5rem;
    }
    
    .podcast-artist {
        font-size: 1rem;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .control-btn.play-pause {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .brand-logo-img {
        max-width: 150px;
    }
}
