/* Guajira Center FM - Futuristic Dark / Neon Theme */

:root {
    --bg-dark: #050508;
    --bg-card: rgba(14, 14, 20, 0.8);
    --primary: #e50914;
    --secondary: #ffffff;
    --accent: #ff2233;
    --text-main: #ffffff;
    --text-muted: #9fa0b5;
    --border-color: rgba(255, 255, 255, 0.06);
    --glow-gold: 0 0 15px rgba(229, 9, 20, 0.45);
    --glow-cyan: 0 0 15px rgba(255, 255, 255, 0.25);
    --glow-magenta: 0 0 15px rgba(255, 34, 51, 0.55);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
    box-shadow: var(--glow-cyan);
}

/* Background Cyber Grid Effect */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.bg-radial {
    position: fixed;
    top: -20%;
    right: -20%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-radial-bottom {
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Split Layout */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel - The Cyber Player */
.player-panel {
    width: 34%;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.95) 0%, rgba(5, 5, 10, 0.98) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    z-index: 10;
    overflow: hidden;
}

/* Right Panel - Scrollable content */
.content-panel {
    width: 66%;
    margin-left: 34%;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* Player UI Components */
.player-header {
    text-align: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.player-header .live-badge {
    background: rgba(229, 9, 20, 0.15);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--glow-magenta);
    animation: pulseGlow 2s infinite alternate;
}

.player-header .live-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

.visualizer-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(18, 18, 28, 0.6) 0%, rgba(8, 8, 14, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(229, 9, 20, 0.15), 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 1.5rem 0;
    overflow: hidden;
}

.visualizer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.player-core-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(20, 20, 30, 0.9) 0%, rgba(10, 10, 15, 0.95) 100%);
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: var(--glow-gold), inset 0 0 15px rgba(229, 9, 20, 0.3);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.player-core-overlay:hover {
    transform: translate(-50%, -50%) scale(1.08);
    border-color: var(--secondary);
    box-shadow: var(--glow-cyan);
}

.btn-play-pause {
    background: none;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 2.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-play-pause:hover {
    color: var(--secondary);
    text-shadow: var(--glow-cyan);
}

.btn-play-pause i {
    pointer-events: none;
}

.btn-play-pause.playing i {
    animation: pulseScale 1s infinite alternate;
}

/* Track Info Display */
.track-info {
    width: 100%;
    text-align: center;
    margin: 1.5rem 0;
}

.track-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.track-artist {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Custom Controls Row */
.player-controls-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-grow: 1;
}

.volume-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.volume-btn:hover, .volume-btn.active {
    color: var(--secondary);
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

.volume-slider::-webkit-slider-value {
    background: var(--secondary);
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: var(--glow-cyan);
    cursor: pointer;
    margin-top: -4px;
    transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.signal-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.signal-dots {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 12px;
}

.signal-dots span {
    width: 3px;
    background-color: var(--text-muted);
    border-radius: 2px;
    display: block;
}

.signal-dots span:nth-child(1) { height: 4px; }
.signal-dots span:nth-child(2) { height: 7px; }
.signal-dots span:nth-child(3) { height: 10px; }
.signal-dots span:nth-child(4) { height: 13px; }

.playing-state .signal-dots span {
    background-color: var(--secondary);
    box-shadow: 0 0 5px var(--secondary);
    animation: bounceBar 1.2s ease-in-out infinite alternate;
}

.playing-state .signal-dots span:nth-child(1) { animation-delay: 0.1s; }
.playing-state .signal-dots span:nth-child(2) { animation-delay: 0.4s; }
.playing-state .signal-dots span:nth-child(3) { animation-delay: 0.2s; }
.playing-state .signal-dots span:nth-child(4) { animation-delay: 0.5s; }

/* BRANDING & STICKY NAVIGATION */
.player-brand-logo {
    margin: 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-brand-logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(229, 9, 20, 0.25));
}

.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 2px solid var(--primary);
    padding: 1rem 2rem;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(229, 9, 20, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 2.5rem;
    margin-top: -4rem; /* offset the main panel top padding */
    margin-left: -3.5rem;
    margin-right: -3.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: #050508; /* Dark color for contrast on white background */
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

.nav-link i {
    color: var(--primary);
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(229, 9, 20, 0.05);
}

/* Glassmorphic Sections */
section {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: var(--transition);
}

section:hover {
    border-color: rgba(229, 9, 20, 0.25);
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.05);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    position: absolute;
    bottom: -8px;
    left: 0;
}

.section-title i {
    color: var(--secondary);
    text-shadow: var(--glow-cyan);
}

/* ABOUT SECTION & TEAM */
.about-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 0, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.05);
}

.team-card:hover .team-avatar {
    border-color: var(--secondary);
    box-shadow: var(--glow-cyan);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-info p {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.team-socials a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-socials a:hover {
    color: var(--text-main);
}

/* DRAGGABLE PHOTO GALLERY */
.gallery-section {
    position: relative;
    overflow: visible;
}

.gallery-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.gallery-wrapper {
    position: relative;
    height: 380px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.gallery-grid-lines {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 250px;
    background-image: 
        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: 3rem 3rem;
    opacity: 0.4;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, #000 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.photos-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.photo-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 220px;
    height: 220px;
    cursor: grab;
    user-select: none;
    touch-action: none;
    transform: translate(0px, 0px) rotate(0deg) scale(1);
    opacity: 0;
    transition: opacity 0.5s ease-out;
    -webkit-user-drag: none;
}

.photo-card.visible {
    opacity: 1;
}

.photo-card.animate-spring {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease-out;
}

.photo-card.dragging {
    cursor: grabbing;
    transition: none !important;
}

.photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    background: var(--bg-dark);
}

.photo-card:hover .photo-inner {
    border-color: var(--secondary);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2);
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
}

.photo-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: var(--text-main);
    padding: 1rem 1.2rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.photo-card:hover .photo-desc {
    opacity: 1;
    transform: translateY(0);
}

/* STATION INFO / SCHEDULE */
.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.8rem;
}

.schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-time {
    background: rgba(229, 9, 20, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(229, 9, 20, 0.25);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
}

.schedule-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
}

.schedule-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CONTACT FORM */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
}

.form-group textarea {
    resize: none;
    height: 120px;
}

.btn-submit {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--primary) 0%, #ffbb00 100%);
    border: none;
    color: var(--bg-dark);
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--glow-gold);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.65);
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-info-item i {
    background: rgba(229, 9, 20, 0.08);
    color: var(--secondary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(229, 9, 20, 0.2);
    box-shadow: var(--glow-red);
    flex-shrink: 0;
}

.contact-info-text h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.social-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-cyan);
    border-color: var(--secondary);
    transform: scale(1.1);
}

/* FOOTER */
.footer-container {
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    width: 100%;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer-reduced-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.footer-slogan {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary);
    text-shadow: var(--glow-red);
}

/* ANIMATIONS */
@keyframes pulseGlow {
    from {
        box-shadow: 0 0 10px rgba(229, 9, 20, 0.35);
    }
    to {
        box-shadow: 0 0 22px rgba(229, 9, 20, 0.75);
    }
}

@keyframes pulseScale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes bounceBar {
    from {
        transform: scaleY(0.3);
    }
    to {
        transform: scaleY(1.1);
    }
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* NOTICIAS SECTION */
.noticias-section {
    position: relative;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.noticia-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.noticia-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.noticia-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary);
    transition: transform 0.4s ease;
}

.noticia-card:hover .noticia-card-img {
    transform: scale(1.05);
}

.noticia-card-img-wrapper {
    overflow: hidden;
}

.noticia-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.noticia-date {
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.noticia-title {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.noticia-summary {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.noticia-read-more {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.noticia-card:hover .noticia-read-more {
    color: var(--primary);
}

/* Scrollbar para el modal de noticias */
.news-modal-body::-webkit-scrollbar {
    width: 8px;
}
.news-modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.news-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* PARTNERS / SPONSORS SECTION — Infinite Carousel */
.partners-section {
    position: relative;
    overflow: hidden;
}

.partners-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: partnersScroll 12s linear infinite;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-card {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.partner-logo-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), #ffffff, var(--accent), #ffffff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-logo-card img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    filter: grayscale(0.7) contrast(1.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.partner-logo-card:hover::before {
    opacity: 1;
    animation: rotateGlow 2s linear infinite;
}

.partner-logo-card:hover {
    transform: translateY(-10px) scale(1.18);
    border-color: transparent;
    box-shadow: 0 20px 35px rgba(229, 9, 20, 0.4);
}

.partner-logo-card:hover img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.08);
}

/* MEDIA QUERIES */

@media screen and (max-width: 1100px) {
    .player-panel {
        width: 30%;
        padding: 1.5rem;
    }
    .content-panel {
        width: 70%;
        margin-left: 30%;
        padding: 3rem 2rem;
    }
    .visualizer-container {
        width: 250px;
        height: 250px;
    }
    .player-core-overlay {
        width: 80px;
        height: 80px;
    }
    .sticky-navbar {
        margin-left: -2rem;
        margin-right: -2rem;
        margin-top: -3rem;
    }
}

@media screen and (max-width: 850px) {
    .player-panel {
        flex-direction: column;
    }
    .player-panel {
        width: 100%;
        position: relative;
    }
}

@media screen and (max-width: 950px) {
    .app-container {
        flex-direction: column;
    }
    .player-panel {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 3rem 2rem;
    }
    .content-panel {
        width: 100%;
        margin-left: 0;
        padding: 3rem 2rem;
        gap: 3.5rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sticky-navbar {
        margin-top: -3rem;
        margin-left: -2rem;
        margin-right: -2rem;
        border-radius: 0;
    }
}

@media screen and (max-width: 600px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    section {
        padding: 2rem 1.5rem;
    }
    .photo-card {
        width: 125px;
        height: 125px;
    }
    .photo-desc {
        display: none;
    }
    .gallery-wrapper {
        height: 200px;
    }
    .partners-track {
        gap: 1.5rem;
    }
    .partner-logo-card {
        width: 100px;
        height: 100px;
        min-width: 100px;
    }
    .sticky-navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.2rem;
        gap: 0.1rem;
        width: auto;
        box-sizing: border-box;
    }
    .nav-logo {
        height: 24px;
        flex-shrink: 0;
    }
    .nav-menu {
        gap: 0.1rem;
        flex-wrap: nowrap;
        justify-content: space-around;
        width: 100%;
    }
    .nav-link {
        font-size: 0.55rem;
        padding: 0.2rem 0.1rem;
        gap: 0.1rem;
        white-space: nowrap;
    }
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    footer div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    footer a {
        margin: 0;
    }
}

/* -------------------------------------------------------------
   0. INTRO SPLASH OVERLAY STYLES
   ------------------------------------------------------------- */
body.intro-active {
    overflow: hidden !important;
}

.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.intro-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.btn-close-intro {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(229, 9, 20, 0.15);
    border: 1px solid rgba(229, 9, 20, 0.4);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    z-index: 100005;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.2);
    transition: all 0.3s ease;
}

.btn-close-intro:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
    transform: scale(1.05);
}

.btn-unmute-intro {
    position: absolute;
    top: 2rem;
    right: 9.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    z-index: 100005;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-unmute-intro:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.intro-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 100000;
    background-color: #000000;
}

.intro-stage.active {
    opacity: 1;
    visibility: visible;
}

#intro-logo-stage {
    z-index: 100001;
}

#intro-video-stage {
    z-index: 100000;
}

/* Stage 1: Logo animation */
.intro-logo-wrap {
    position: relative;
    width: 320px;
    max-width: 80%;
    height: auto;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(229, 9, 20, 0.5));
    animation: logoIntroAnimation 3.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.intro-logo-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.62) 0%, transparent 70%);
    z-index: 1;
    filter: blur(25px);
    animation: glowIntroAnimation 3.8s ease-in-out infinite alternate;
}

.intro-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    animation: taglineIntroAnimation 1.8s ease-out 1.8s forwards;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.42);
}

/* Stage 2: Video Player */
#intro-video-stage video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.82);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100002;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: opacity 0.4s ease;
}

.video-play-overlay.active {
    display: flex;
}

.btn-play-video {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #ffffff;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 35px rgba(229, 9, 20, 0.85);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.5rem;
}

.btn-play-video i {
    margin-left: 8px; /* Visual center play icon */
}

.btn-play-video:hover {
    transform: scale(1.15);
    background: #ffffff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.9);
}

.video-play-overlay p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Keyframes */
@keyframes logoIntroAnimation {
    0% {
        transform: scale(0.25) rotate(-20deg);
        opacity: 0;
        filter: drop-shadow(0 0 60px rgba(229, 9, 20, 1)) brightness(0);
    }
    40% {
        opacity: 1;
        filter: drop-shadow(0 0 45px rgba(229, 9, 20, 0.95)) brightness(1.3);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
        filter: drop-shadow(0 0 25px rgba(229, 9, 20, 0.6)) brightness(1);
    }
}

@keyframes glowIntroAnimation {
    0% {
        transform: scale(0.75);
        opacity: 0.45;
        background: radial-gradient(circle, rgba(229, 9, 20, 0.55) 0%, transparent 70%);
    }
    100% {
        transform: scale(1.35);
        opacity: 0.95;
        background: radial-gradient(circle, rgba(255, 34, 51, 0.85) 0%, transparent 70%);
    }
}

@keyframes taglineIntroAnimation {
    0% {
        transform: translateY(25px);
        opacity: 0;
        letter-spacing: 0px;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
        letter-spacing: 4px;
    }
}

/* Mobile Responsiveness for Intro Controls */
@media screen and (max-width: 600px) {
    .btn-close-intro {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    .btn-unmute-intro {
        top: 1rem;
        right: 6.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
