/* =====================================================
   PINHAL FM - Estilos Customizados
   Versão: 1.0
   Bootstrap 5.3.3
   ===================================================== */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
    transition: all 0.3s ease;
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,133.3C672,117,768,107,864,122.7C960,139,1056,181,1152,181.3C1248,181,1344,139,1392,117.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
    animation: waveAnimation 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes waveAnimation {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    50% {
        transform: translateX(-50px) scale(1.1);
    }
}

/* Adicionar partículas flutuantes */
.hero-section::before {
    content: '';
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ===== SOUND WAVES ANIMATION ===== */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.sound-wave {
    position: absolute;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
    left: 50%;
    top: 50%;
    margin-left: -100px;
    margin-top: -100px;
}

.sound-wave-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
    margin-left: -100px;
    margin-top: -100px;
}

.sound-wave-2 {
    width: 280px;
    height: 280px;
    animation-delay: 0.5s;
    margin-left: -140px;
    margin-top: -140px;
}

.sound-wave-3 {
    width: 360px;
    height: 360px;
    animation-delay: 1s;
    margin-left: -180px;
    margin-top: -180px;
}

.sound-wave-1 {
    animation-delay: 0s;
}

.sound-wave-2 {
    animation-delay: 0.7s;
}

.sound-wave-3 {
    animation-delay: 1.4s;
}

/* ===== ORBIT PARTICLES ANIMATION ===== */
@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

.orbit-container {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #F59E0B;
    border-radius: 50%;
    animation: orbit 20s linear infinite;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
    left: 50%;
    top: 50%;
    margin: -4px 0 0 -4px;
}

.orbit-particle-2 {
    animation-delay: -5s;
    background: #60A5FA;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.orbit-particle-3 {
    animation-delay: -10s;
    background: #F59E0B;
    animation-duration: 25s;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* ===== CONTAINER DE ANIMAÇÃO DA LOGO ===== */
.logo-animation-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto 1.5rem;
}

.logo-animation-container .logo-hero {
    position: absolute;
    z-index: 50;
    width: 325px;
    display: block;
    left: 50%;
    top: 50%;
    margin-left: -162.5px;
    margin-top: -162.5px;
}

/* ===== SOUND WAVES - CENTRALIZADAS ===== */
.logo-animation-container .sound-wave {
    position: absolute;
    left: 50%;
    top: 50%;
}

/* ===== ORBIT CONTAINER - CENTRALIZADO ===== */
.logo-animation-container .orbit-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 10;
}
.logo-hero {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== PLAYER CARD ===== */
.player-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 0 auto;
}

.now-playing {
    text-align: center;
    margin-bottom: 25px;
}

.now-playing-header {
    margin-bottom: 20px;
}

.pulsing {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.radio-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.radio-info p {
    font-size: 1rem;
    color: #6c757d;
}

/* ===== PLAYER CONTROLS ===== */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.btn-play {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-play:active {
    transform: scale(0.95);
}

.btn-play i {
    font-size: 3rem;
    color: white;
}

.btn-play.playing i::before {
    content: "\f28c"; /* pause-circle-fill icon */
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.volume-control i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.volume-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--primary-color) 80%, #ddd 80%, #ddd 100%);
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.card-body {
    padding: 25px;
}

/* ===== SOCIAL LINKS ===== */
.social-links .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}

/* ===== FOOTER ===== */
footer {
    background: #000;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .logo-hero {
        max-width: 200px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .player-card {
        padding: 20px;
    }
    
    .btn-play {
        width: 60px;
        height: 60px;
    }
    
    .btn-play i {
        font-size: 2rem;
    }
    
    .volume-control i {
        font-size: 1.2rem;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .player-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .volume-control {
        width: 100%;
    }
}

/* ===== LOADING SPINNER ===== */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* ===== UTILITIES ===== */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PLAYER FIXO NO BOTTOM ===== */
.fixed-bottom-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.btn-play-bottom {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play-bottom:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-play-bottom i {
    font-size: 2rem;
}

.btn-play-bottom.playing i::before {
    content: "\f28c";
}

.player-info {
    color: white;
    line-height: 1.3;
}

.fixed-bottom-player .form-range {
    height: 4px;
}

.fixed-bottom-player .bi-volume-up-fill {
    color: white;
    font-size: 1.2rem;
}

