:root {
    --rel-gold: #f39c12;
    --rel-gold-bright: #ffbf00;
    --bg-dark: #050505;
    --text-white: #e0e0e0;
    --bg-panel: rgba(20, 20, 20, 0.75);
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--text-white);
    background-color: var(--bg-dark);
    background: linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.88)), 
                url('img/image_6.png') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header --- */
header {
    background: rgba(0, 0, 0, 0.9);
    padding: 12px 0;
    border-bottom: 2px solid var(--rel-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.container { max-width: 1200px; margin: auto; padding: 0 20px; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo-container img { height: 50px; transition: 0.4s; }
.logo-container img:hover { filter: drop-shadow(0 0 15px var(--rel-gold)); transform: scale(1.05); }

nav ul { display: flex; list-style: none; gap: 25px; }
nav ul li a { color: #fff; text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
nav ul li a:hover { color: var(--rel-gold); text-shadow: 0 0 10px var(--rel-gold); }

/* --- Hero --- */
.hero { padding: 140px 0 100px; text-align: center; }
.hero h1 { 
    font-size: 3.8rem; 
    color: var(--rel-gold); 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.6);
    animation: text-flicker 4s infinite alternate;
}
.hero-subtitle { text-transform: uppercase; letter-spacing: 6px; opacity: 0.7; font-size: 0.9rem; }

@keyframes text-flicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 15px rgba(243, 156, 18, 0.6); }
    50% { opacity: 0.9; text-shadow: 0 0 25px rgba(243, 156, 18, 0.9), 0 0 10px #fff; }
}

/* --- Player --- */
.player-section { 
    background: rgba(10, 10, 10, 0.6); padding: 60px 0; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    border-bottom: 2px solid var(--rel-gold); 
    backdrop-filter: blur(20px);
}
.player-title { text-align: center; margin-bottom: 20px; color: var(--rel-gold); font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase; }

#visualizer { 
    width: 100%; height: 160px; background: rgba(0,0,0,0.4); 
    border-radius: 15px; border: 1px solid rgba(243, 156, 18, 0.3); 
    margin-bottom: 30px; display: block;
}

.btn-matrix { 
    background: transparent; border: 2px solid var(--rel-gold); color: var(--rel-gold); 
    padding: 16px 45px; border-radius: 50px; cursor: pointer; font-weight: 700; 
    text-transform: uppercase; transition: 0.4s; letter-spacing: 2px;
}
.btn-matrix:hover { background: var(--rel-gold); color: #000; box-shadow: 0 0 30px var(--rel-gold-bright); transform: scale(1.05); }

/* --- Tarjetas --- */
.section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; color: var(--rel-gold); text-transform: uppercase; letter-spacing: 4px; font-size: 2.2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.card { 
    background: var(--bg-panel); padding: 45px; border-radius: 25px; 
    border: 1px solid rgba(255,255,255,0.05); text-align: center; 
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}
.card:hover { 
    border-color: var(--rel-gold); transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.portal-icon { 
    width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 25px; 
    border: 4px solid #1a1a1a; transition: 0.6s ease; object-fit: cover;
}
.card:hover .portal-icon { border-color: var(--rel-gold); filter: drop-shadow(0 0 15px var(--rel-gold)); transform: rotate(8deg); }

.btn-outline { 
    display: inline-block; margin-top: 25px; padding: 12px 35px; 
    border: 2px solid var(--rel-gold); color: var(--rel-gold); text-decoration: none; 
    border-radius: 50px; font-weight: 700; transition: 0.3s; text-transform: uppercase; font-size: 0.85rem;
}
.btn-outline:hover { background: var(--rel-gold); color: #000; box-shadow: 0 0 20px var(--rel-gold); }

/* --- Estaciones --- */
.stations-section { padding: 60px 0; background: rgba(0,0,0,0.4); }
.stations-label { text-align: center; font-size: 0.75rem; letter-spacing: 5px; opacity: 0.5; margin-bottom: 40px; text-transform: uppercase; }
.stations-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 35px; }
.station-item img { 
    height: 75px; width: auto; filter: grayscale(100%) brightness(0.7); 
    transition: 0.5s; cursor: pointer; border-radius: 10px;
}
.station-item img:hover { filter: grayscale(0%) brightness(1.1); transform: scale(1.2); filter: drop-shadow(0 0 15px var(--rel-gold)); }

/* --- Footer --- */
footer { background: #000; padding: 70px 0 30px; border-top: 3px solid var(--rel-gold); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.icon-group { display: flex; gap: 20px; }
.icon-group a { color: #fff; font-size: 1.6rem; transition: 0.3s; opacity: 0.7; }
.icon-group a:hover { color: var(--rel-gold); transform: translateY(-5px); opacity: 1; }
.copy { text-align: center; font-size: 0.7rem; opacity: 0.3; padding-top: 30px; border-top: 1px solid #111; margin-top: 40px; }

@media (max-width: 850px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { flex-direction: column; gap: 30px; text-align: center; }
}