:root {
    --color-bg: #000000;
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-gold: #d4af37;
    --color-gold-light: #f9e596;
    --color-gold-dark: #aa7c11;
    --color-orange: #ff7b00;
    --color-pink: #e02f6b;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Fondo de video */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Canvas para interacción */
#cursor-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Interface principal */
.app-container {
    position: relative;
    z-index: 10;
}

.hero-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Encabezado */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 20;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-main);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--color-gold);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-gold-light);
    text-shadow: 0 0 8px rgba(249, 229, 150, 0.5);
}

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

.search-container {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 8px 15px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease;
}

.search-container:hover {
    border-color: var(--color-gold);
}

.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: var(--color-text-main);
}

.search-container input {
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 1px;
    outline: none;
    width: 130px;
}

.search-container input::placeholder {
    color: var(--color-text-muted);
}

/* Héroe */
.hero-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.main-logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    line-height: 0.9;
    background: linear-gradient(to bottom, #ffe7a0 0%, #d4af37 40%, #8c6000 70%, #d4af37 100%);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8));
}

.logo-line1 {
    font-size: 12rem;
    font-weight: 900;
    letter-spacing: 5px;
}

.logo-line2 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 20px;
    margin-left: 20px;
}

.subtext-container {
    margin-top: 10px;
}

.subtext-line1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.subtext-line2 {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--color-text-muted);
}

.cta-button {
    margin-top: 20px;
    padding: 15px 40px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(138,94,0,0.4) 100%);
    border: 1px solid var(--color-gold);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(212,175,55,0.1), inset 0 0 10px rgba(212,175,55,0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(138,94,0,0.6) 100%);
    box-shadow: 0 0 25px rgba(212,175,55,0.5), inset 0 0 15px rgba(212,175,55,0.4);
    transform: translateY(-2px);
}

/* ================= MOBILE GLOBAL TWEAKS ================= */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .header { padding: 1.5rem 2rem; }
    .search-container { display: none; }
    .logo-line1 { font-size: 8rem; }
    .logo-line2 { font-size: 3.5rem; letter-spacing: 10px; margin-left: 10px; }
}

@media (max-width: 768px) {
    .header { padding: 1rem 1.5rem; }
    .mobile-menu-btn { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 50;
    }
    
    .main-nav.menu-open { transform: translateY(0); }
    .main-nav ul { flex-direction: column; gap: 3rem; text-align: center; }
    .main-nav a { font-size: 1.8rem; }

    /* Hero Text Mobile */
    .logo-line1 { font-size: 5rem; letter-spacing: 0px; }
    .logo-line2 { font-size: 2.2rem; letter-spacing: 5px; margin-left: 0; }
    .subtext-line1 { font-size: 1.1rem; }
    .subtext-line2 { font-size: 0.8rem; letter-spacing: 2px; }

    /* Event Carousels Mobile */
    .carousel-card { min-width: 200px; height: 120px; }
    .card-title { font-size: 12px; }
    .card-date { font-size: 10px; }
    
    /* Recommended events mobile */
    .recommended-events { padding: 4rem 1rem; }
    .recommended-card { width: 220px; height: 320px; }
    .recommended-title { font-size: 1.2rem; }
}

/* Sección de Eventos (Carrusel) */
.events-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    overflow: hidden;
}

.carousel-track {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 10px 0;
}

.carousel-content {
    display: inline-flex;
    gap: 25px;
    padding: 0 15px;
}

/* Keyframes */
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

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

.track-right .carousel-content {
    animation: scrollRight 40s linear infinite;
    /* We will clone items in JS so it seamlessly loops. */
    width: max-content;
}

.track-left .carousel-content {
    animation: scrollLeft 45s linear infinite;
    width: max-content;
}

/* Píldoras */
.event-pill {
    position: relative;
    height: 60px;
    border-radius: 30px;
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 25px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-size: cover;
    background-position: center;
}

.event-pill::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.event-pill span {
    position: relative;
    z-index: 2;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--color-text-main);
    transition: transform 0.3s ease, color 0.3s ease;
}

.event-pill:hover {
    transform: scale(1.05);
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.event-pill:hover::before {
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.8) 100%);
}

.event-pill:hover span {
    color: var(--color-gold-light);
    transform: translateX(-5px);
}

/* Responsividad */
@media (max-width: 1024px) {
    .logo-line1 { font-size: 8rem; }
    .logo-line2 { font-size: 3.5rem; }
    .header { padding: 1.5rem 2rem; }
    .main-nav ul { gap: 1.5rem; }
    .main-nav a { font-size: 11px; }
}

@media (max-width: 768px) {
    .header { flex-direction: column; gap: 1rem; padding: 1rem; }
    .search-container { display: none; }
    .logo-line1 { font-size: 6rem; letter-spacing: 2px; }
    .logo-line2 { font-size: 2.5rem; letter-spacing: 10px; margin-left: 10px; }
    .subtext-line1 { font-size: 1.2rem; }
    .subtext-line2 { font-size: 0.8rem; }
    .events-section { height: auto; position: relative; padding: 40px 0; }
    .app-container { justify-content: space-between; }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.preloader-bg video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.5;
}

.preloader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212,175,55,0.4));
    margin-bottom: 10px;
}

.loading-stats {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gold);
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.loading-percent {
    font-size: 1rem;
}

.loading-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 300px;
}

.loading-bar-wrapper {
    flex-grow: 1;
    height: 3px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 10px var(--color-gold);
}

.music-waves {
    display: flex;
    align-items: flex-end;
    height: 25px;
    gap: 3px;
}

.wave {
    width: 4px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: bounceWave 0.6s ease-in-out infinite alternate;
}

.wave:nth-child(1) { height: 10px; animation-delay: 0s; }
.wave:nth-child(2) { height: 25px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 15px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 8px; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes bounceWave {
    0% { height: 5px; background: var(--color-gold-dark); }
    100% { height: 25px; background: var(--color-gold-light); }
}

/* About Section / Manifesto */
.about-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 10;
    scroll-margin-top: 80px;
}

.about-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    height: 100%;
    padding: 0 4rem;
}

.about-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.crystal-sphere {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.9));
    box-shadow: inset -30px -30px 60px rgba(224, 47, 107, 0.2),
                inset 30px 30px 60px rgba(255, 123, 0, 0.2),
                0 0 60px rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transform-style: preserve-3d;
    animation: floatSphere 6s ease-in-out infinite;
}

.sphere-core {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #f9e596 0%, #d4af37 40%, transparent 70%);
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.8), 0 0 40px rgba(255, 123, 0, 0.6);
    animation: pulseCore 3s ease-in-out infinite alternate;
}

.sphere-glare {
    position: absolute;
    top: 20%; left: 25%;
    width: 120px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 100%);
    filter: blur(8px);
    transform: rotate(-30deg);
    transition: transform 0.2s ease-out;
}

@keyframes floatSphere {
    0% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(180deg); }
    100% { transform: translateY(0px) rotateY(360deg); }
}

.sphere-logo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    z-index: 5;
    animation: counterSphere 6s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

@keyframes counterSphere {
    0% { transform: translate(-50%, -50%) rotateY(0deg); }
    50% { transform: translate(-50%, -50%) rotateY(-180deg); }
    100% { transform: translate(-50%, -50%) rotateY(-360deg); }
}

@keyframes pulseCore {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5rem;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f9e596 0%, #aa7c11 100%);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-manifesto p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-manifesto p:last-child {
    font-weight: 600;
    color: var(--color-gold);
    font-size: 1.4rem;
}

/* Reveal Animation */
.reveal-start {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease-out, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .about-container { flex-direction: column; padding: 6rem 2rem; }
    .about-left { height: 40vh; margin-bottom: 30px; }
    .crystal-sphere { width: 320px; height: 320px; }
    .sphere-core { width: 120px; height: 120px; }
    .about-right { padding-left: 0; height: 60vh; text-align: center; justify-content: flex-start; }
    .about-manifesto p { font-size: 1.1rem; }
}

/* Eventos Recomendados Section */
.recommended-events {
    width: 100%;
    min-height: 80vh;
    padding: 6rem 4rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 20%, rgba(0,0,0,1) 100%);
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    overflow: hidden;
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.recommended-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to bottom, #d4af37 0%, #aa7c11 50%, #f9e596 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

.recommended-view-all {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.recommended-view-all a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-text-main);
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.recommended-view-all a:hover {
    color: var(--color-gold-light);
}

.minimal-progress {
    width: 100px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    position: relative;
}
.minimal-progress::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 30%; height: 100%;
    background: var(--color-gold);
    box-shadow: 0 0 5px var(--color-gold);
}

.recommended-cards-container {
    width: 100%;
    overflow: visible;
    position: relative;
    padding: 40px 0;
}

.recommended-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollCards 50s linear infinite;
}

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

@keyframes scrollCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } /* Avanza un cuarto de todo el contenido si replicado 4 veces */
}

.recommended-card {
    width: 380px;
    height: 520px;
    border-radius: 12px;
    position: relative;
    overflow: visible;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-end;
}

/* Oscurecimiento inferior de la tarjeta */
.recommended-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

/* Resplandor externo en hover */
.recommended-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 50px 20px rgba(255, 123, 0, 0.5), 0 0 100px 40px rgba(212, 175, 55, 0.3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.recommended-card:hover {
    transform: scale(1.12);
    z-index: 20;
}

.recommended-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-location {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--color-gold-light);
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
}

.card-subtitle {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 12px;
}

.card-brand {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--color-text-muted);
}

@media (max-width: 1024px) {
    .recommended-events { padding: 4rem 2rem; }
    .recommended-title { font-size: 1.8rem; }
    .recommended-card { width: 320px; height: 450px; }
}

@media (max-width: 768px) {
    .recommended-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .recommended-title { font-size: 1.5rem; }
    .recommended-card { width: 280px; height: 400px; }
}

/* Timmy Hero Section */
.timmy-hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    z-index: 15;
    scroll-margin-top: 100px;
}

.timmy-hero-header {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 20;
}

.timmy-hero-subtitle {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-gold);
    text-transform: uppercase;
}

.timmy-hero-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timmy-title {
    font-family: var(--font-heading);
    text-align: center;
    line-height: 0.85;
    z-index: 100;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    position: absolute;
    top: -4vh;
}

.timmy-first-name {
    font-size: 8vw;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 10px 40px rgba(0,0,0,0.9);
    letter-spacing: -2px;
}

.timmy-last-name {
    font-size: 8vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
    letter-spacing: -2px;
}

.timmy-center-display {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50; /* Profundidad asegurada sobre el texto */
    perspective: 800px; /* Perspectiva amplificada para inercia 3D */
    margin-top: 5vh;
}

/* Light Ring */
.timmy-light-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(from 0deg, #b2ff05, #e02f6b, #d4af37, #b2ff05);
    filter: blur(15px);
    z-index: 1;
    animation: ringSpin 4s linear infinite;
    mask-image: radial-gradient(circle, transparent 55%, black 65%);
    -webkit-mask-image: radial-gradient(circle, transparent 55%, black 65%);
    opacity: 0.8;
}

@keyframes ringSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Pause on hover */
.timmy-hero-section:hover .timmy-light-ring,
.timmy-hero-section:hover .timmy-constellation,
.timmy-hero-section:hover .timmy-orbit-card {
    animation-play-state: paused;
}

/* Main Character Image */
.timmy-main-img {
    width: 380px;
    height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    z-index: 15;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(212,175,55,0.3);
}

/* Constellation */
.timmy-constellation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: orbitConstellation 35s cubic-bezier(0.4, 0.1, 0.6, 0.9) infinite;
    z-index: 12;
}

.timmy-orbit-link {
    display: block;
    width: 100%;
    height: 100%;
}

@keyframes orbitConstellation {
    from { transform: rotateX(-12deg) rotateY(0deg); }
    to { transform: rotateX(-12deg) rotateY(360deg); }
}

.timmy-orbit-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
}

.timmy-orbit-card {
    position: absolute;
    width: 160px;
    height: 220px;
    margin-left: -80px;
    margin-top: -110px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    animation: counterConstellation 35s cubic-bezier(0.4, 0.1, 0.6, 0.9) infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes counterConstellation {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}

.timmy-orbit-card:hover {
    transform: scale(1.05) translateZ(20px) !important;
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.8) inset;
    filter: brightness(1.1);
    z-index: 50;
}

/* Bottom content */
.timmy-bottom-content {
    position: relative;
    margin-top: 10vh; /* Ajuste visual debajo de centro, pero interponiéndose */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    z-index: 10; /* Debajo de la capa 3D */
    max-width: 800px;
    padding: 0 40px; /* Legibilidad en laterales */
}

.timmy-desc {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    line-height: 1.5;
}

.timmy-date {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-gold-light);
}

.timmy-lineup {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

.timmy-progress-bar {
    width: 100%;
    max-width: 350px;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-top: 5px;
}

.timmy-progress-fill {
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #ff7b00);
    position: absolute;
    left: 0; top: 0;
    box-shadow: 0 0 8px #ff7b00;
}

.timmy-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 18px 50px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(138,94,0,0.6) 100%);
    border: 2px solid var(--color-gold);
    color: var(--color-text-main);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(212,175,55,0.3), inset 0 0 15px rgba(212,175,55,0.3);
    position: relative;
    z-index: 50;
}

.timmy-btn:hover {
    background: linear-gradient(135deg, rgba(212,175,55,0.6) 0%, rgba(138,94,0,0.8) 100%);
    box-shadow: 0 0 35px rgba(212,175,55,0.7), inset 0 0 20px rgba(212,175,55,0.6);
    transform: translateY(-4px) scale(1.02);
    color: var(--color-gold-light);
}

@media (max-width: 768px) {
    .timmy-first-name { font-size: 14vw; }
    .timmy-last-name { font-size: 14vw; }
    .timmy-main-img { width: 280px; height: 400px; }
    .timmy-bottom-content { bottom: 10px; padding: 0 20px; }
    .timmy-hero-header { top: 20px; left: 20px; }
    .timmy-title { top: 3vh; }
    .timmy-light-ring { width: 350px; height: 350px; }
}

/* Eventos Próximos Section */
.upcoming-events-section {
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    padding: 8rem 4rem;
    position: relative;
    z-index: 15;
    scroll-margin-top: 100px;
}

.upcoming-content {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    gap: 50px;
}

.upcoming-left {
    width: 30%;
    position: relative;
}

.upcoming-sticky {
    position: sticky;
    top: 6rem;
}

.upcoming-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #ffffff 0%, #b3b3b3 50%, #ffffff 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-transform: uppercase;
    margin-bottom: 30px;
    word-break: keep-all;
}

.upcoming-desc {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.upcoming-right {
    width: 70%;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.upcoming-card {
    display: flex;
    flex-direction: column;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.upcoming-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-info {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-brand-small {
    color: var(--color-gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-event-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.card-event-details {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    font-weight: 300;
    margin-bottom: 12px;
}

.btn-comprar {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upcoming-card:hover .btn-comprar {
    background: var(--color-gold);
    color: #000;
}

@media (max-width: 1200px) {
    .upcoming-grid { grid-template-columns: repeat(3, 1fr); }
    .upcoming-title { font-size: 4rem; }
}

@media (max-width: 1024px) {
    .upcoming-content { flex-direction: column; padding: 4rem 2rem; gap: 40px; }
    .upcoming-left { width: 100%; }
    .upcoming-right { width: 100%; }
    .upcoming-grid { grid-template-columns: repeat(2, 1fr); }
    .upcoming-sticky { position: relative; top: 0; }
}

@media (max-width: 768px) {
    .upcoming-events-section { padding: 4rem 2rem; }
    .upcoming-grid { grid-template-columns: 1fr; }
    .upcoming-title { font-size: 3.5rem; }
}

/* ================= FOOTER SECTION ================= */
.alba-footer {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
    z-index: 20;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 5rem;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    object-fit: contain;
}

.footer-mission {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    line-height: 1.5;
    max-width: 250px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    font-family: var(--font-body);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 400;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.footer-legal {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 12px;
    color: #666666;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 1.5rem;
}

.footer-massive-wrapper {
    width: 100vw;
    display: flex;
    justify-content: center;
    overflow: hidden;
    height: 19vw; /* Cuts the text exactly half down */
    position: relative;
    margin-bottom: -1px;
}

.massive-text {
    font-family: var(--font-heading);
    font-size: 34vw;
    font-weight: 900;
    line-height: 0.8;
    margin: 0;
    text-transform: uppercase;
    background: linear-gradient(180deg, #e02f6b 0%, #ff7b00 100%);
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    width: 100%;
    filter: drop-shadow(0 -10px 40px rgba(255, 123, 0, 0.35));
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .massive-text { font-size: 36vw; }
    .footer-massive-wrapper { height: 21vw; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; }
    .footer-container { padding: 0 2rem; }
    .footer-heading { margin-bottom: 15px; }
    .footer-legal { flex-direction: column; gap: 10px; align-items: center; text-align: center; }
    .massive-text { font-size: 40vw; }
    .footer-massive-wrapper { height: 25vw; }
}
