/* CSS Variables and Setup */
:root {
    --bg-color: #0B0B0B;
    --primary: #D4AF37;
    --primary-glow: rgba(212, 175, 55, 0.5);
    --primary-light: #f3d46a;
    --secondary: #B87333;
    --secondary-glow: rgba(184, 115, 51, 0.4);
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --card-bg: rgba(20, 20, 20, 0.6);
    --border-color: rgba(212, 175, 55, 0.3);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Exo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    background: url('data:image/svg+xml;utf8,%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');
    opacity: 0.05;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(30, 25, 10, 0.8) 0%, var(--bg-color) 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    max-width: 350px;
    margin: 10px auto;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.5s ease;
    z-index: 1;
}

.btn-primary:active, .btn-primary:hover {
    transform: scale(0.98);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1) inset;
}

.btn-secondary:active, .btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2) inset;
}

.btn-outline {
    background: rgba(11, 11, 11, 0.8);
    border: 1px solid var(--secondary);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-outline:active, .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-massive {
    background: linear-gradient(45deg, #128C7E, #25D366); /* WhatsApp colors mixed with tech */
    color: white;
    font-size: 1.2rem;
    padding: 22px 30px;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
    position: relative;
    max-width: 100%;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ------------- HERO SECTION ------------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero-content {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.glitch-wrapper {
    position: relative;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px var(--primary-glow), 0 0 40px rgba(184, 115, 51, 0.3);
    line-height: 1.1;
    margin: 0;
}

.subtitle {
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--text-main);
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
}

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

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ------------- LINEUP SECTION ------------- */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px; /* Line position on mobile */
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), var(--secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-left: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -46px; /* Circle position */
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    z-index: 2;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -32px;
    transform: translateY(-50%);
    width: 32px;
    height: 2px;
    background: var(--border-color);
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: var(--primary);
}

.time {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.artist {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}

/* ------------- LOCATION SECTION ------------- */
.location-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    padding: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.map-container {
    width: 100%;
    height: 400px;
    filter: invert(90%) hue-rotate(180deg) contrast(1.2) sepia(0.5); /* Cyberpunk map style trick */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.map-container:hover {
    opacity: 1;
}

.location-card .btn-outline {
    margin: 20px auto;
    border-radius: 4px;
}

/* ------------- TICKETS SECTION ------------- */
.tickets {
    text-align: center;
    min-height: 70vh;
}

.tickets-content {
    background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(37, 211, 102, 0.05) 100%);
    padding: 60px 20px;
    border-radius: 16px;
    border-bottom: 1px solid rgba(37, 211, 102, 0.3);
}

.tickets-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.tickets-subtitle {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 40px;
}

/* ------------- FOOTER ------------- */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #050505;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer .credit {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--secondary);
    letter-spacing: 1px;
}

/* ------------- MOBILE CTA STICKY APP -------------- */
@media (max-width: 768px) {
    .btn-massive {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(37, 211, 102, 0.4);
    }
    
    .tickets {
        padding-bottom: 100px; /* space for fixed button */
    }
}


/* ------------- ANIMATIONS -------------- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* ------------- DESKTOP AND TABLET ADJUSTMENTS ------------- */
@media (min-width: 768px) {
    .main-title {
        font-size: 5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
    }
    
    .btn {
        width: auto;
        min-width: 250px;
    }
    
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        width: calc(50% - 40px);
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
        margin-left: 40px;
    }
    
    .timeline-item:nth-child(even)::before {
        left: -46px;
    }
    
    .timeline-item:nth-child(even)::after {
        left: -40px;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: auto;
        right: -48px;
    }
    
    .timeline-item:nth-child(odd)::after {
        left: auto;
        right: -40px;
    }
}
