/* VICSAN MUSIC - Design System Propuesta B (Atmospheric Rock) */

:root {
    /* Colors */
    --bg-color: #080808;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;

    /* Elegant Accent - Crimson Red or Gold? Let's go with a Muted Gold/Sand for elegance + Rock */
    --accent-color: #d4af37;
    --accent-dim: rgba(212, 175, 55, 0.3);

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    /* Elegant, classic, rock-ish */
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom one */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.4s ease;
    /* Suavizar transición */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    /* Gradiente inicial más suave */
}

/* Scrolled State - Elegant Glassmorphism */
header.scrolled {
    padding: 15px 0;
    /* Reducir padding para ser más compacto */
    background: rgba(8, 8, 8, 0.85);
    /* Fondo oscuro translúcido */
    backdrop-filter: blur(15px);
    /* Efecto difuminado potente */
    -webkit-backdrop-filter: blur(15px);
    /* Soporte Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Borde sutil */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Sombra para separar del contenido */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.logo-img {
    height: 40px;
    /* Ajustar altura para navbar */
    width: auto;
    display: block;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
}

/* Hero Section (Video Background) */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Inner Page Hero (Elegant Header) */
.inner-hero {
    height: 35vh;
    /* Reduced from 50vh */
    min-height: 300px;
    /* Reduced from 400px */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
}

.inner-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    z-index: 0;
    filter: grayscale(60%) brightness(0.5) contrast(1.1);
    /* 40% color visible */
    transform: scale(1.05);
    /* Slight zoom for parallax feel */
    transition: 0.5s;
}

.inner-hero:hover .inner-hero-bg {
    filter: grayscale(30%) brightness(0.6);
    /* More color on hover */
    transform: scale(1.1);
}

.inner-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    transform: translateY(10px);
}

.inner-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Slightly smaller */
    margin: 0;
    line-height: 1;
    position: relative;
    display: inline-block;
}

/* Ghost Text Effect */
.inner-hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 140%;
    width: 100%;
    opacity: 0.15;
    /* Very faint */
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    /* Gold stroke */
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}

.inner-hero-line {
    width: 2px;
    height: 40px;
    background: var(--accent-color);
    margin: 20px auto 0;
    box-shadow: 0 0 15px var(--accent-color);
}


.video-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Trick to zoom video and hide youtube controls/black bars */
@media (min-aspect-ratio: 16/9) {
    .video-foreground {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-foreground {
        width: 300%;
        left: -100%;
    }
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    /* Mixed gradient for touch of color: Black vignette + Subtle Purple/Gold tint */
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(8, 8, 8, 0.95) 100%);
    backdrop-filter: blur(3px);
    /* Blur to hide video text */
    z-index: -1;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    margin: 0;
    line-height: 1;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 0.5s;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin-top: 20px;
    color: var(--accent-color);
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 1s;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
}

.line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* General Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
    background: var(--accent-color);
    color: black;
    border-color: var(--accent-color);
}


/* Floating Shapes for Background Atmosphere */
.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: purple;
    top: 20%;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: 10%;
    right: -100px;
    opacity: 0.2;
}

/* Cards & Glassmorphism */
.section-dark {
    position: relative;
    padding: 120px 0;
}

.blur-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 60px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid white;
    padding-bottom: 5px;
}

.btn-line:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    gap: 15px;
    /* Slide arrow effect */
}

.about-img-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.hover-zoom {
    width: 100%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(100%) contrast(1.1);
}

.about-img-wrapper:hover .hover-zoom {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Releases Grid (News) */
.news-section {
    padding: 0 0 100px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.release-card {
    position: relative;
    cursor: pointer;
}

.card-inner {
    transition: 0.3s;
}

.card-front {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 1 / 1;
    /* Estándar cuadrado para portadas */
    background: #111;
    /* Fondo por si la imagen tarda en cargar */
}

.card-front img {
    width: 100%;
    height: 100%;
    display: block;
    transition: 0.5s;
    filter: brightness(0.8);
    object-fit: cover;
    /* Recorta para llenar el cuadrado */
    object-position: top center;
    /* Prioriza la parte superior donde suele estar el texto/logo */
}

.release-card:hover .card-front img {
    filter: brightness(1.1);
    transform: scale(1.05);
    /* Efecto zoom sutil */
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    font-size: 3rem;
}

.release-card:hover .play-overlay {
    opacity: 1;
}

.card-content .date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.link-hover {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    border-bottom: 1px solid transparent;
}

.release-card:hover .link-hover {
    color: white;
    border-bottom-color: white;
}

/* Tour List (Concerts) */
.tour-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tour-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.tour-item:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 20px;
    /* Slight movement */
    padding-right: 20px;
}

.tour-date {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
    line-height: 1;
}

.tour-info {
    padding: 0 20px;
}

.tour-venue {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    display: block;
}

.tour-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}

footer {
    padding: 100px 0 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links-big {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.social-links-big a {
    color: white;
    position: relative;
}

.social-links-big a:hover {
    font-style: italic;
    color: var(--accent-color);
}

.separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.2);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {

    .inner-hero-bg {
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: 0.3s;
    }

    /* Hamburger Animation to X */
    .nav-links.active+.hamburger span:nth-child(1),
    /* If sibling selector doesn't work due to HTML structure, we might need JS class on hamburger too. Let's rely on standard toggle for now or add class to hamburger in JS. */
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        position: fixed;
        background: rgba(0, 0, 0, 0.95);
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        gap: 30px;
        transform: translateY(-100%);
        /* Slide form top */
        opacity: 0;
        pointer-events: none;
        /* Prevent clicks when hidden */
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 1.5rem;
        /* Larger font for mobile */
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 4rem;
    }

    /* Tour Mobile */
    .tour-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .tour-date {
        margin-bottom: 10px;
    }

    .tour-info {
        padding: 0;
        margin-bottom: 15px;
    }

    /* Disable custom cursor on mobile */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    * {
        cursor: auto;
    }
}