:root {
    --bg-dark: #05060A;
    --bg-section: #0B0D14;
    --electric-blue: #00E5FF;
    --deep-blue: #0077FF;
    --neon-purple: #8A2EFF;
    --text-main: #FFFFFF;
    --text-soft: #B5B5C8;
    --border-soft: #1A1D2A;
}

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

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

/* CANVAS DE FONDO */
#particles {
    position: fixed;
    inset: 0;
    z-index: -2;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(5,6,10,0.9), rgba(5,6,10,0.4), transparent);
    border-bottom: 1px solid rgba(0,229,255,0.15);
    z-index: 1000;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--electric-blue);
}

.header nav a {
    margin-left: 20px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: color 0.3s ease;
}

.header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--neon-purple));
    transition: width 0.3s ease;
}

.header nav a:hover {
    color: var(--electric-blue);
}

.header nav a:hover::after,
.header nav a.active::after {
    width: 100%;
}

.header nav a.active {
    color: var(--electric-blue);
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10vw;
    background: radial-gradient(circle at center, rgba(0,229,255,0.12), transparent 65%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/background-energy.jpg") center/cover no-repeat;
    opacity: 0.35;
    z-index: -1;
}

.hero-text {
    position: relative;
    text-align: center;
    z-index: 10;
}

.title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 25px rgba(0,229,255,0.7);
}

.subtitle {
    margin-top: 10px;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-soft);
}

/* BOTÓN */
.btn-primary {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 34px;
    background: linear-gradient(90deg, var(--electric-blue), var(--neon-purple));
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 18px rgba(0,229,255,0.6);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(0,229,255,0.9);
}

.btn-primary:hover::after {
    left: 140%;
}

/* VISUALIZADOR */
#visualizer {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 120px;
    opacity: 0.9;
}

/* SECCIONES INTERNAS */
.page-section {
    min-height: 100vh;
    padding: 120px 10vw 80px;
    background: radial-gradient(circle at top, rgba(0,229,255,0.08), transparent 60%);
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 6px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    color: var(--electric-blue);
}

/* ABOUT */
.about-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
}

.about-img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 25px rgba(0,229,255,0.5));
}

.about-text p {
    margin-bottom: 18px;
    color: var(--text-soft);
    line-height: 1.7;
}

/* MUSIC */
.music-section {
    position: relative;
}

.music-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/background-energy.jpg") center/cover no-repeat;
    opacity: 0.12;
    z-index: -1;
}

.music-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.music-card {
    background: linear-gradient(145deg, #090B12, #05060A);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    position: relative;
    overflow: visible;
    z-index: 10;
}

.music-card iframe {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.music-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

/* EVENTS */
.events-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.event-card {
    background: linear-gradient(145deg, #090B12, #05060A);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at bottom right, rgba(138,46,255,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.event-card p {
    color: var(--text-soft);
    margin-bottom: 14px;
}

/* CONTACTO */
.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: flex-start;
}

.contact-form {
    background: linear-gradient(145deg, #090B12, #05060A);
    border-radius: 16px;
    padding: 22px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 0 18px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form input,
.contact-form textarea {
    background: #05060A;
    border: 1px solid #1A1D2A;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 12px rgba(0,229,255,0.4);
}

/* ============================================================
   BARRAS ENERGÉTICAS FUTURISTAS – XPECTRO DJ
   ============================================================ */

.social-bars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.social-bar {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 14px;
    border: 2px solid rgba(0,229,255,0.25);
    background: rgba(5,6,10,0.6);
    backdrop-filter: blur(6px);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.25s ease;
    box-shadow: 0 0 12px rgba(0,229,255,0.15);
    width: fit-content;
    white-space: nowrap;
}

.social-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(0,229,255,0.45);
}

/* Íconos */
.social-bar i {
    font-size: 1.2rem;
    margin-right: 12px;
}

/* Colores oficiales por red */
.social-instagram:hover { border-color: #E1306C; color: #E1306C; }
.social-youtube:hover { border-color: #FF0000; color: #FF0000; }
.social-spotify:hover { border-color: #1DB954; color: #1DB954; }
.social-whatsapp:hover { border-color: #25D366; color: #25D366; }
.social-tiktok:hover { border-color: #FE2C55; color: #FE2C55; }
.social-facebook:hover { border-color: #1877F2; color: #1877F2; }
.social-x:hover { border-color: #FFFFFF; color: #FFFFFF; }
.social-mixcloud:hover { border-color: #3145F5; color: #3145F5; }
.social-email:hover { border-color: #00E5FF; color: #00E5FF; }

/* Responsive */
@media (max-width: 900px) {
    .social-bars {
        margin-top: 40px;
    }
}
/* ============================================================
   FOOTER FUTURISTA – XPECTRO DJ
   ============================================================ */

.footer {
    width: 100%;
    text-align: center;
    padding: 24px 0;
    margin-top: 60px;
    background: rgba(5,6,10,0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,229,255,0.25);
    box-shadow: 0 -4px 18px rgba(0,229,255,0.15);
}

.footer p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-soft);
}
