/* ============================================
   SABOR A REGGAETON — Landing Page Styles
   ============================================ */

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

:root {
    --fire: #FF4D00;
    --fire-light: #FF6B2C;
    --amber: #FF8C00;
    --gold: #FFD600;
    --red: #E63946;
    --red-deep: #B91C2C;
    --black: #0A0A0A;
    --black-soft: #121212;
    --white: #FFFFFF;
    --white-muted: rgba(255,255,255,0.6);
    --font-display: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
}

/* ---- Particle Canvas ---- */
#particles-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* ---- Glow Orbs ---- */
.glow-orb { position: fixed; border-radius: 50%; filter: blur(120px); z-index: 0; pointer-events: none; }
.glow-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 70%); top: -200px; right: -150px; animation: orbFloat1 14s ease-in-out infinite; }
.glow-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(230,57,70,0.08) 0%, transparent 70%); bottom: -150px; left: -150px; animation: orbFloat2 18s ease-in-out infinite; }
.glow-orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,214,0,0.06) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: orbFloat3 12s ease-in-out infinite; }

@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(-40px,30px)} 66%{transform:translate(20px,-20px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(30px,-40px)} 66%{transform:translate(-20px,20px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.3)} }

/* ---- Hero Section ---- */
.hero {
    position: relative; z-index: 10;
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3vh 24px;
    text-align: center;
    overflow: hidden;
    gap: clamp(12px, 2.5vh, 28px);
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
    opacity: 0.5;
    z-index: -2;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 50%, var(--black) 100%);
    z-index: -1;
}


.logo-wrapper {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.logo {
    width: clamp(320px, 65vw, 1000px);
    max-height: 45vh;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(255,77,0,0.2));
    transition: filter 0.4s ease;
}
.logo:hover { filter: drop-shadow(0 0 60px rgba(255,77,0,0.35)); }

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(11px, 1.8vw, 17px);
    font-weight: 300; letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--white-muted);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--fire), var(--gold), var(--fire), transparent);
    animation: fadeInUp 1s ease-out 0.7s both;
}

/* ---- Event Info ---- */
.event-info {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.event-date {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--fire));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.event-venue {
    font-size: clamp(13px, 1.8vw, 16px);
    color: var(--white-muted); font-weight: 300;
    letter-spacing: 2px; text-transform: uppercase;
}
.event-venue strong { color: var(--white); font-weight: 600; }

.event-time {
    font-size: clamp(12px, 1.4vw, 14px);
    color: var(--amber); font-weight: 500;
    letter-spacing: 3px; margin-top: 4px;
}



/* ---- Hero CTA ---- */
.hero-actions {
    display: flex; align-items: center; gap: 14px;
    animation: fadeInUp 1s ease-out 1.3s both;
}

.btn-cta {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--fire), var(--red));
    border: none; border-radius: 50px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 13px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255,77,0,0.25);
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,77,0,0.4);
}
.btn-cta svg { width: 16px; height: 16px; }

.social-link {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white-muted);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 9px; transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    color: var(--fire);
    border-color: rgba(255,77,0,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255,77,0,0.15);
}
.social-link svg { width: 20px; height: 20px; }

/* ---- Scroll Indicator ---- */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease-out 1.8s both;
    cursor: pointer; z-index: 10;
}
.scroll-indicator span {
    display: block; width: 24px; height: 24px;
    border-right: 2px solid rgba(255,77,0,0.4);
    border-bottom: 2px solid rgba(255,77,0,0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:rotate(45deg) translate(0,0);opacity:.4} 50%{transform:rotate(45deg) translate(6px,6px);opacity:1} }

/* ---- Section Base ---- */
.section {
    position: relative; z-index: 10;
    padding: 100px 24px;
}
.section-inner {
    max-width: 1100px; margin: 0 auto;
}

.section-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800; line-height: 1.1;
    margin-bottom: 20px;
}
.section-title .gradient-text {
    background: linear-gradient(135deg, var(--gold), var(--fire));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: clamp(14px, 1.6vw, 17px);
    color: var(--white-muted); font-weight: 300;
    line-height: 1.7; max-width: 600px;
}

/* ---- Horizontal Timeline ---- */
.tl { margin-top: 56px; }

.tl-track {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 36px;
}

.tl-label {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 800;
    letter-spacing: 4px; text-transform: uppercase;
    flex-shrink: 0; white-space: nowrap;
}
.tl-label-old {
    color: var(--amber);
    text-shadow: 0 0 20px rgba(255,140,0,0.3);
}
.tl-label-new {
    background: linear-gradient(135deg, var(--fire), var(--red));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.tl-rail {
    flex: 1; position: relative;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    display: flex; align-items: center;
    justify-content: space-between;
}

.tl-progress {
    position: absolute; left: 0; top: 0;
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--amber), var(--fire), var(--red));
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0 12px rgba(255,77,0,0.3);
}

.tl-dot {
    position: relative; z-index: 3;
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
    background: var(--black-soft);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    padding: 0;
    outline: none;
}
.tl-dot::before {
    content: '';
    position: absolute; inset: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}
.tl-dot:hover {
    border-color: var(--fire);
    transform: scale(1.3);
}
.tl-dot:hover::before { background: var(--amber); }
.tl-dot.active {
    border-color: var(--fire);
    transform: scale(1.4);
    box-shadow: 0 0 20px rgba(255,77,0,0.4);
}
.tl-dot.active::before {
    background: var(--fire);
    box-shadow: 0 0 8px rgba(255,77,0,0.6);
}
.tl-dot.visited {
    border-color: rgba(255,77,0,0.4);
}
.tl-dot.visited::before { background: rgba(255,77,0,0.5); }

.tl-year {
    position: absolute;
    top: -28px; left: 50%; transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700;
    color: var(--white-muted);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0.5;
    transition: all 0.3s ease;
    pointer-events: none;
}
.tl-dot:hover .tl-year,
.tl-dot.active .tl-year {
    opacity: 1; color: var(--fire);
    transform: translateX(-50%) translateY(-3px);
}

/* Panels */
.tl-panels { position: relative; min-height: 160px; }

.tl-panel {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 28px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    text-align: center;
}
.tl-panel.active {
    position: relative;
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
}

.tl-panel-years {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--fire));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.tl-panel-desc {
    font-size: 14px; font-weight: 300;
    color: var(--white-muted);
    line-height: 1.7; max-width: 560px;
    margin: 0 auto 18px;
}

.block-artists {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center;
}
.artist-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 12px; font-weight: 400;
    color: var(--white-muted);
    transition: all 0.3s ease;
}
.artist-tag:hover {
    background: rgba(255,77,0,0.08);
    border-color: rgba(255,77,0,0.2);
    color: var(--white);
}

/* ---- Genres Section ---- */
.genres-grid {
    display: flex; flex-wrap: wrap;
    gap: 12px; margin-top: 40px;
}

.genre-pill {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 14px; font-weight: 500;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: default;
}
.genre-pill .genre-icon {
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--fire);
    flex-shrink: 0;
}
.genre-pill .genre-icon svg { width: 18px; height: 18px; }
.genre-pill:hover {
    background: rgba(255,77,0,0.08);
    border-color: rgba(255,77,0,0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,77,0,0.1);
}

.genres-note {
    margin-top: 24px;
    font-size: 13px; color: rgba(255,255,255,0.3);
    font-weight: 300; font-style: italic;
}


/* ---- Footer ---- */
.footer {
    position: relative; z-index: 10;
    padding: 60px 24px 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 20px;
}
.footer-logo { width: 160px; height: auto; opacity: 0.7; }
.footer-links { display: flex; gap: 16px; }
.footer-links a {
    color: var(--white-muted); text-decoration: none;
    font-size: 13px; transition: color 0.3s;
}
.footer-links a:hover { color: var(--fire); }
.footer-legal {
    font-size: 11px; color: rgba(255,255,255,0.2);
    font-weight: 300; max-width: 500px; line-height: 1.6;
}
.footer-producer {
    font-size: 11px; color: rgba(255,255,255,0.15);
    font-weight: 300; letter-spacing: 1px;
}

/* ---- Contact Modal ---- */
.modal-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: rgba(18,18,18,0.95);
    border: 1px solid rgba(255,77,0,0.12);
    border-radius: 20px; padding: 36px;
    width: 100%; max-width: 440px;
    max-height: 85vh; overflow-y: auto;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s ease;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute; top: 14px; right: 18px;
    background: none; border: none;
    color: var(--white-muted);
    font-size: 28px; cursor: pointer;
    transition: color 0.3s; line-height: 1;
}
.modal-close:hover { color: var(--fire); }

.modal-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; margin-bottom: 4px;
    background: linear-gradient(135deg, var(--white), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.modal-subtitle {
    font-size: 13px; color: var(--white-muted);
    margin-bottom: 24px; font-weight: 300;
}

.form-group { margin-bottom: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 13px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px; font-weight: 300;
    transition: all 0.3s ease; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(255,77,0,0.4);
    background: rgba(255,77,0,0.03);
    box-shadow: 0 0 20px rgba(255,77,0,0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='rgba(255,255,255,0.4)' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-group select option { background: #1a1a1a; color: var(--white); }

.form-group-phone { display: flex; gap: 8px; }
.phone-prefix {
    width: 110px; flex-shrink: 0;
    padding: 13px 8px !important;
    background-position: right 8px center !important;
    padding-right: 24px !important;
}
.form-group-phone input { flex: 1; min-width: 0; }

.char-counter {
    text-align: right; font-size: 11px;
    color: rgba(255,255,255,0.25);
    margin-top: 4px; font-weight: 300;
}
.char-counter.near-limit { color: var(--amber); }
.char-counter.at-limit { color: var(--red); }

.form-group-rgpd { margin-bottom: 14px; text-align: left; }
.rgpd-label {
    display: flex; align-items: flex-start; gap: 8px;
    cursor: pointer; font-size: 12px; line-height: 1.6;
    color: var(--white-muted); user-select: none;
}
.rgpd-label input[type="checkbox"] {
    flex-shrink: 0; width: 16px; height: 16px;
    margin: 0; margin-top: 2px;
    cursor: pointer; accent-color: var(--fire);
}

.privacy-link {
    color: var(--fire); text-decoration: none;
    border-bottom: 1px solid rgba(255,77,0,0.3);
    transition: color 0.3s;
}
.privacy-link:hover { color: var(--gold); }

.btn-submit {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, var(--fire), var(--red));
    border: none; border-radius: 10px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s ease;
    margin-top: 4px;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 30px rgba(255,77,0,0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success { text-align: center; padding: 20px 0; }
.form-success svg { width: 48px; height: 48px; color: var(--fire); margin-bottom: 16px; }
.form-success p { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.form-success .form-success-sub { font-size: 13px; color: var(--white-muted); font-weight: 300; }

/* Privacy modal */
.modal-privacy { max-width: 540px; max-height: 80vh; overflow-y: auto; }
.privacy-content { text-align: left; font-size: 13px; line-height: 1.8; color: var(--white-muted); font-weight: 300; }
.privacy-content p { margin-bottom: 14px; }
.privacy-content strong { color: var(--white); font-weight: 600; }

/* ---- Scroll Reveal ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .logo { width: 92vw; max-width: 500px; }
    .scroll-indicator { display: none; }
    .section { padding: 80px 20px; }
    .section-inner { max-width: 100%; }
    .section-title { font-size: clamp(24px, 7vw, 36px); }
    .section-desc { font-size: 14px; }

    /* Timeline vertical on mobile */
    .tl-track { flex-direction: column; gap: 12px; align-items: stretch; }
    .tl-label { text-align: center; }
    .tl-rail {
        flex-direction: column;
        height: auto; width: 3px;
        margin: 0 auto;
        padding: 12px 0;
        gap: 28px;
    }
    .tl-progress {
        width: 100% !important;
        height: 0%; width: 3px;
        transition: height 0.6s cubic-bezier(0.4,0,0.2,1);
    }
    .tl-year {
        top: 50%; left: auto; right: -52px;
        transform: translateY(-50%);
    }
    .tl-dot:hover .tl-year,
    .tl-dot.active .tl-year {
        transform: translateY(-50%) translateX(3px);
    }
    .tl-panel { padding: 20px 16px; }

    /* Genres wrap nicely */
    .genres-grid { justify-content: center; gap: 10px; }
    .genre-pill { padding: 10px 18px; font-size: 13px; }

    .hero-actions { flex-wrap: wrap; justify-content: center; }

}

@media (max-width: 480px) {
    .hero { padding: 24px 16px; }
    .section { padding: 60px 16px; }
    .modal { padding: 28px 20px; }
    .genre-pill { padding: 8px 14px; font-size: 12px; }
    .genre-pill .genre-icon { width: 14px; height: 14px; }
    .genre-pill .genre-icon svg { width: 14px; height: 14px; }
    .artist-tag { padding: 5px 10px; font-size: 11px; }
    .tl-panel { padding: 16px 12px; }

}
