/*
Theme Name: hit-radio
Theme URI: https://hitradio.com
Author: Diego Enciso
Author URI: https://portafolio-diego-enciso.vercel.app/
Description: Tema estático para Hit Radio 91.9 FM. Conversión del proyecto Rails a WordPress.
Version: 1.0
Text Domain: hit-radio
*/

body {
    margin: 0;
    padding: 0;
  }
  


    
  
  /* Loading Screen */
  .loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease-out;
  }
  
  .loading-screen.fade-out {
    opacity: 0;
  }
  
  .loading-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hit-impact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  
  /* Arrow */
  .arrow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
  }
  
  .arrow {
    width: clamp(3px, 0.5vw, 4px);
    height: 0;
    background: #FDD963;
    box-shadow: 0 0 10px rgba(253, 217, 99, 0.8);
    animation: arrowArrive 1s ease-out, arrowDisappear 0.3s ease-out 1s forwards;
  }
  
  /* Logo Text */
  .hit-logo-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: #FDD963;
    letter-spacing: clamp(0.1em, 0.2em, 0.2em);
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    animation: textAppear 0.6s ease-out 1.2s forwards, hitPulse 0.8s ease-in-out 1.8s infinite;
    text-shadow: 0 0 30px rgba(253, 217, 99, 0.8);
    padding: 0 1rem;
    text-align: center;
  }
  
  /* Circles */
  .impact-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid #FDD963;
    opacity: 0;
  }
  
  .impact-1,
  .impact-2,
  .impact-3 {
    width: clamp(150px, 30vw, 200px);
    height: clamp(150px, 30vw, 200px);
  }
  
  .impact-1 {
    animation: impactExplode 1.5s ease-out 1s;
  }
  
  .impact-2 {
    animation: impactExplode 1.5s ease-out 1.15s;
  }
  
  .impact-3 {
    animation: impactExplode 1.5s ease-out 1.3s;
  }
  
  /* Keyframes */
  @keyframes arrowArrive {
    0% {
      transform: translate(-50%, -50%) translateY(calc(-50vh - 100px));
      height: 0;
      opacity: 0;
    }
    30% { opacity: 1; }
    70% {
      transform: translate(-50%, -50%) translateY(10px);
      height: clamp(150px, 25vh, 200px);
    }
    85% { transform: translate(-50%, -50%) translateY(-5px); }
    100% {
      transform: translate(-50%, -50%) translateY(0);
      height: clamp(150px, 25vh, 200px);
      opacity: 1;
    }
  }
  
  @keyframes arrowDisappear {
    0% {
      opacity: 1;
      transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -50%) translateY(0) scale(0.3);
    }
  }
  
  @keyframes textAppear {
    0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
    }
    60% {
      transform: translate(-50%, -50%) scale(1.2);
      opacity: 1;
    }
    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
  }
  
  @keyframes hitPulse {
    0%, 100% {
      transform: translate(-50%, -50%) scale(1);
      text-shadow: 0 0 30px rgba(253, 217, 99, 0.8);
    }
    50% {
      transform: translate(-50%, -50%) scale(1.15);
      text-shadow: 0 0 60px rgba(253, 217, 99, 1), 0 0 100px rgba(253, 217, 99, 0.6);
    }
  }
  
  @keyframes impactExplode {
    0% {
      transform: translate(-50%, -50%) scale(0);
      opacity: 0.9;
      border-width: clamp(2px, 0.3vw, 4px);
    }
    50% { opacity: 0.8; }
    100% {
      transform: translate(-50%, -50%) scale(8);
      opacity: 0;
      border-width: clamp(1px, 0.15vw, 1px);
    }
  }
  

  /* ============================
   BODY RADIO PAGE
============================ */
body.radio-page {
    min-height: 100vh;
    margin: 0;
    font-family: 'Neue Plak', 'Sofia Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 0% 40%, rgba(253,217,99,0.15), transparent 65%),
      radial-gradient(circle at 85% 40%, rgba(253,217,99,0.15), transparent 60%),
      radial-gradient(circle at 50% 100%, rgba(0,0,0,1), #000000 70%);
    background-color: #000000;
    position: relative;
  }
  
  /* Grid overlay */
  body.radio-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mix-blend-mode: normal;
    opacity: 0.35;
    pointer-events: none;
    z-index: -2;
  }
  
  /* Vignette */
  body.radio-page::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
      radial-gradient(circle at center, transparent 0%, transparent 45%, rgba(0,0,0,0.85) 100%);
    pointer-events: none;
    z-index: -1;
  }
  
  /* Particles.js */
  #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -3;
    pointer-events: none;
  }
  
  #particles-js canvas {
    position: absolute !important;
    z-index: -3 !important;
    pointer-events: auto;
  }
  
  /* ============================
     NAVBAR CUSTOM
  ============================ */
  .navbar-custom {
    background-color: transparent;
    backdrop-filter: blur(10px);
  }
  
  .navbar-custom .container-xxl {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar-custom .navbar-logo {
    width: 50px;
    object-fit: contain;
  }
  
  /* Social icons */
  .social-icons a {
    color: #b3b3b3;
    margin-left: 0.75rem;
    font-size: 0.95rem;
    transition: color 0.2s ease;
  }
  
  .social-icons a:hover {
    color: #FDD963;
  }
  
  /* ============================
     HERO SECTION
  ============================ */
  .hero-wrapper {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .badge-live {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.7rem;
    border-radius: 999px;
    border: 1px solid #FDD963;
    color: #FDD963;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    background: rgba(0,0,0,0.75);
  }
  
  .hero-title {
    font-weight: 800;
    font-size: clamp(2.6rem, 4.8vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
  }
  
  .hero-title .pink {
    color: #ffffff;
  }
  
  .hero-title .green {
    color: #FDD963;
  }
  
  .hero-subtitle {
    max-width: 640px;
    margin: 0.9rem auto 2.6rem;
    color: #b5b5b5;
    font-size: 0.95rem;
  }
  
  /* ============================
     PLAYER CARD
  ============================ */
  .player-card {
    max-width: 1040px;
    margin: 0 auto 3.2rem;
    background:
      radial-gradient(circle at top left, rgba(253,217,99,0.18), transparent 70%),
      #0b0b0b;
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(0,0,0,0.9);
    border: 1px solid rgba(255,255,255,0.03);
    overflow: hidden;
  }
  
  .player-card .row.g-0 > [class^="col-"] {
    display: flex;
    flex-direction: column;
  }
  
  /* Cover */
  .player-cover {
    background: #FDD963;
    border-radius: 26px 0 0 26px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .player-cover .player-cover-logo {
    position: absolute;
    width: 170px;
    height: 170px;
    object-fit: contain;
    z-index: 1;
  }
  
  .player-cover::after {
    content: "";
    position: absolute;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.26);
    z-index: 0;
  }
  
  /* Player logo text */
  .player-logo {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    letter-spacing: 0.1em;
    color: #ffffff;
    z-index: 1;
  }
  
  /* Track labels */
  .track-label {
    font-size: 0.7rem;
    color: #FDD963;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.5rem;
  }
  
  .track-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
  }
  
  .track-artist {
    font-size: 0.9rem;
    color: #dcdcdc;
    margin-bottom: 0.5rem;
  }
  
  .track-next {
    font-size: 0.7rem;
    color: #8a8a8a;
    margin-bottom: 0;
  }
  
  /* Top icons */
  .player-actions-top i {
    color: #9f9f9f;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
  }
  
  .player-actions-top i:hover {
    color: #FDD963;
  }
  

  /* ============================
   PLAY BUTTON
============================ */
.main-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FDD963;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(253,217,99,0.9);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    overflow: visible;
  }
  
  .main-play i {
    font-size: 2rem;
    color: #000000;
    margin-left: 2px;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease;
  }
  
  /* Ripple circles */
  .main-play .ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(253, 217, 99, 0.6);
    opacity: 0;
    pointer-events: none;
  }
  
  /* Impact animation (click) */
  .main-play:active {
    transform: translate(-50%, -50%) scale(0.9);
  }
  
  .main-play:active i {
    transform: scale(0.95);
  }
  
  .main-play:active .ripple {
    animation: impactRipple 0.6s ease-out;
  }
  
  .main-play:active .ripple-1 {
    animation-delay: 0s;
  }
  
  .main-play:active .ripple-2 {
    animation-delay: 0.15s;
  }
  
  .main-play:active .ripple-3 {
    animation-delay: 0.3s;
  }
  
  /* Play Pulse when playing */
  .main-play.playing {
    animation: playPulse 2s ease-in-out infinite;
  }
  
  .main-play.playing i {
    animation: iconPulse 2s ease-in-out infinite;
  }
  
  /* Impact ripple keyframes */
  @keyframes impactRipple {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
      border-width: 2px;
    }
    100% {
      transform: translate(-50%, -50%) scale(2.5);
      opacity: 0;
      border-width: 1px;
    }
  }
  
  /* Pulse animation */
  @keyframes playPulse {
    0%, 100% {
      box-shadow: 0 12px 26px rgba(253,217,99,0.9), 0 0 0 rgba(253,217,99,0);
    }
    50% {
      box-shadow: 0 12px 40px rgba(253,217,99,0.6), 0 0 60px rgba(253,217,99,0.4);
    }
  }
  
  @keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  /* ============================
     CONTROLS ROW + VOLUME
  ============================ */
  .controls-row {
    margin-top: 8.5rem;
    padding-top: 0.5rem;
  }
  
  .volume-icon {
    font-size: 0.9rem;
    color: #f0f0f0;
    flex-shrink: 0;
  }
  
  /* Volume Bar */
  .progress.custom-progress {
    height: 4px;
    background-color: #292929;
    border-radius: 999px;
    overflow: visible;
    flex: 1;
    cursor: pointer;
    position: relative;
  }
  
  .progress.custom-progress .progress-bar {
    background: #FDD963;
    border-radius: 999px;
    position: relative;
    transition: width 0.1s ease;
  }
  
  /* White knob */
  .progress.custom-progress .progress-bar::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(253,217,99,0.9);
  }
  
  /* Invisible range slider */
  .volume-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    z-index: 2;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
  }
  
  .volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(253,217,99,0.9);
  }
  
  .volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(253,217,99,0.9);
  }
  
  .volume-slider::-moz-range-track {
    background: transparent;
  }
  
  .progress-label {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 500;
    min-width: 45px;
    text-align: right;
    flex-shrink: 0;
  }
  
  /* ============================
     LIVE INDICATOR
  ============================ */
  .live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #FDD963;
    box-shadow: 0 0 8px rgba(253,217,99,0.9);
    flex-shrink: 0;
  }
  
  .live-text {
    font-size: 0.7rem;
    color: #c4c4c4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  /* ============================
     STATS ROW
  ============================ */
  .stats-row {
    max-width: 720px;
    margin: 0 auto 4rem;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 800;
  }
  
  .stat-number.pink {
    color: #ffffff;
  }
  
  .stat-number.green,
  .stat-number.yellow {
    color: #FDD963;
  }
  
  .stat-label {
    font-size: 0.7rem;
    color: #a6a6a6;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  
  /* ============================
     AUDIO BARS ANIMATION
  ============================ */
  .audio-visualization {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  body.radio-page.audio-playing .audio-visualization {
    opacity: 1;
  }
  
  .audio-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    padding: 0 1rem;
  }
  
  .audio-bar {
    width: 4px;
    background: linear-gradient(to top, #FDD963, rgba(253,217,99,0.3));
    border-radius: 2px;
    min-height: 4px;
    animation: audioWave 1.2s ease-in-out infinite;
    transform-origin: bottom;
    will-change: transform;
  }
  
  /* Delay + base heights */
  .audio-bar.bar-1 { animation-delay: 0s; height: 20%; }
  .audio-bar.bar-2 { animation-delay: 0.1s; height: 40%; }
  .audio-bar.bar-3 { animation-delay: 0.2s; height: 60%; }
  .audio-bar.bar-4 { animation-delay: 0.3s; height: 80%; }
  .audio-bar.bar-5 { animation-delay: 0.4s; height: 100%; }
  .audio-bar.bar-6 { animation-delay: 0.5s; height: 70%; }
  .audio-bar.bar-7 { animation-delay: 0.6s; height: 50%; }
  .audio-bar.bar-8 { animation-delay: 0.7s; height: 30%; }
  
  @keyframes audioWave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
  }
  

  /* ============================
   RESPONSIVE (LG ↓)
   @include media-breakpoint-down(lg)
   → @media (max-width: 992px)
============================ */
@media (max-width: 992px) {

    .hero-wrapper {
      padding-top: 7.5rem;
    }
  
    .player-card {
      padding: 0;
    }
  
    .player-cover {
      border-radius: 26px 26px 0 0;
      height: 200px;
    }
  
    .main-play {
      position: static;
      margin: 1.5rem auto 1rem;
      transform: none;
    }
  
    .controls-row {
      margin-top: 0.5rem;
    }
  
    /* Loading screen responsive */
    .hit-logo-text {
      font-size: clamp(2rem, 10vw, 3.5rem);
      letter-spacing: clamp(0.05em, 0.15em, 0.15em);
    }
  
    .impact-1,
    .impact-2,
    .impact-3 {
      width: clamp(120px, 35vw, 180px);
      height: clamp(120px, 35vw, 180px);
    }
  }
  
  /* ============================
     RESPONSIVE (MD ↓)
     @include media-breakpoint-down(md)
     → @media (max-width: 768px)
  ============================ */
  @media (max-width: 768px) {
  
    .hit-logo-text {
      font-size: clamp(1.8rem, 12vw, 2.5rem);
      letter-spacing: 0.05em;
    }
  
    .impact-1,
    .impact-2,
    .impact-3 {
      width: clamp(100px, 40vw, 150px);
      height: clamp(100px, 40vw, 150px);
    }
  }
  
  /* ============================
     FOOTER RADIO PAGE
  ============================ */
  .footer-radio-page {
    background-color: transparent;
    backdrop-filter: blur(10px);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.03);
  }
  
  .footer-radio-page .container {
    position: relative;
    z-index: 1;
  }
  
  /* Yellow circle */
  .footer-radio-page .footer-logo-circle {
    width: 36px;
    height: 36px;
    background: #FDD963;
  }
  
  /* Social links hover */
  .footer-radio-page .footer-social-link:hover {
    color: #FDD963 !important;
  }
  
  /* Subscribe button */
  .footer-radio-page .footer-subscribe-btn {
    background-color: #FDD963;
    border: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .footer-radio-page .footer-subscribe-btn:hover {
    background-color: #E6C450;
    box-shadow: 0 0 15px rgba(253, 217, 99, 0.5);
  }
  
  /* Links hover */
  .footer-radio-page a {
    transition: color 0.2s ease;
  }
  
  .footer-radio-page a:hover {
    color: #FDD963 !important;
  }
  
  /* Inputs */
  .footer-radio-page .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  
  .footer-radio-page .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .footer-radio-page .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #FDD963;
    box-shadow: 0 0 0 0.2rem rgba(253, 217, 99, 0.25);
    color: #ffffff;
  }