:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #171717;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-purple: #9333ea;
    --accent-blue: #22d3ee;
    --accent-pink: #d946ef;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

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

a:hover,
a:focus {
    text-decoration: none;
    color: var(--accent-blue);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-main);
    font-weight: 700;
    border-radius: var(--radius);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

ul,
ol {
    list-style: none;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    h2 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    p,
    a,
    span,
    li {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* Footer links in column on mobile */
    #footer .footer {
        flex-direction: column;
        gap: 2rem;
    }

    #footer .footer nav {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
    }

    #footer .footer nav a {
        display: block;
        padding: 0.25rem 0;
    }

    /* Bottom footer links in column on mobile */
    #footer .footer .flex-col {
        flex-direction: column;
        gap: 0.375rem;
    }

    #footer .footer .flex-col a {
        display: block;
        padding: 0.25rem 0;
        text-align: left;
    }

    #footer .footer div[class*="grid-flow-col"] {
        display: flex;
        flex-direction: column;
        gap: 0.375rem !important;
    }

    #footer .footer div[class*="grid-flow-col"] a {
        display: block;
        padding: 0.25rem 0;
        text-align: left;
    }

    /* Table scroll fix */
    .overflow-x-auto {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 600px;
    }

    /* Fix El Artista section on mobile */
    #about .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }

    #about .grid {
        gap: 2rem;
        width: 100%;
    }

    #about .flex {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    #about .flex-shrink-0 {
        flex-shrink: 0;
    }

    #about .icon-box-purple,
    #about .icon-box-pink,
    #about .icon-box-blue {
        width: 48px;
        height: 48px;
    }

    #about .artist-title,
    #about .artist-description,
    #about .stat-label,
    #about .stat-desc,
    #about h2,
    #about h3,
    #about p {
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ===== header ===== */
#header {
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--bg-secondary)
}

#mobile-menu {
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary)
}

.js-menu-link {
    transition: color 0.3s ease
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
    position: relative;
}

.js-hero-title {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-hero-sub {
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.js-hero-btn {
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

/* ===== artist_bio ===== */
#about {
    background-color: var(--bg-secondary);
    width: 100%
}

.artist-title {
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.artist-description {
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.stat-label {
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stat-desc {
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.icon-box-purple {
    background-color: rgba(147, 51, 234, 0.1);
    color: var(--accent-purple)
}

.icon-box-pink {
    background-color: rgba(217, 70, 239, 0.1);
    color: var(--accent-pink)
}

.icon-box-blue {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--accent-blue)
}

.border-accent-purple-custom {
    border-color: var(--accent-purple)
}

.border-accent-pink-custom {
    border-color: var(--accent-pink)
}

/* ===== achievements ===== */
#awards {
    width: 100%;
    scroll-margin-top: 2rem;
}

#awards .js-award-card:hover {
    transform: translateY(-8px);
}

/* ===== popular_tracks ===== */
#hits {
    width: 100%;
}

.js-track-card {
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ===== tour_details ===== */
#tour-info {
    width: 100%;
    background-color: var(--bg-primary);
}

.tour-text-primary {
    color: var(--text-primary);
}

.tour-text-secondary {
    color: var(--text-secondary);
}

.tour-accent-purple {
    color: var(--accent-purple);
}

.tour-accent-blue {
    color: var(--accent-blue);
}

.tour-accent-pink {
    color: var(--accent-pink);
}

.tour-card-bg {
    background-color: var(--bg-secondary);
}

.tour-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--accent-purple);
    width: 100%;
    aspect-ratio: 16/9;
}

.tour-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== tour_dates ===== */
#schedule {
    background-color: var(--bg-secondary);
}

#schedule .overflow-x-auto {
    width: 100%;
}

#schedule table {
    width: 100%;
    border-collapse: collapse;
}

#schedule th {
    background-color: rgba(147, 51, 234, 0.05);
}

#schedule .bi {
    display: inline-block;
    vertical-align: middle;
}

/* ===== concert_program ===== */
#format {
    scroll-margin-top: 80px;
}

/* ===== ticket_categories ===== */
.bg-primary-custom {
    background-color: var(--bg-primary);
}

.text-secondary-custom {
    color: var(--text-secondary);
}

.bg-accent-purple {
    background-color: var(--accent-purple);
}

.bg-accent-blue {
    background-color: var(--accent-blue);
}

.bg-accent-pink {
    background-color: var(--accent-pink);
}

.text-accent-purple {
    color: var(--accent-purple);
}

.text-accent-blue {
    color: var(--accent-blue);
}

.text-accent-pink {
    color: var(--accent-pink);
}

.card-ticket {
    background-color: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-coming-soon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.btn-coming-soon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ===== why_attend ===== */
#benefits {
    background-color: var(--bg-secondary);
    width: 100%;
}

.benefit-item {
    background-color: var(--bg-primary);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.text-primary-var {
    color: var(--text-primary);
}

.text-secondary-var {
    color: var(--text-secondary);
}

.accent-purple-var {
    color: var(--accent-purple);
}

.accent-blue-var {
    color: var(--accent-blue);
}

.accent-pink-var {
    color: var(--accent-pink);
}

.gradient-line {
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
}

/* ===== visitor_rules ===== */
#info {
    scroll-margin-top: 2rem;
}

#info .container {
    width: 100%;
}

/* ===== faq_section ===== */
#faq {
    width: 100%;
    background-color: var(--bg-primary);
}

.js-faq-item.is-active {
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.1);
}

.collapse-title i {
    font-size: 1.5rem;
}

/* ===== footer ===== */
#footer {
    background-color: var(--bg-secondary);
}

#footer .text-primary {
    color: var(--text-primary);
}

#footer .text-secondary {
    color: var(--text-secondary);
}

#footer .text-accent-blue {
    color: var(--accent-blue);
}

#footer .hover-purple:hover {
    color: var(--accent-purple);
}

#footer .hover-pink:hover {
    color: var(--accent-pink);
}

#footer .border-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

#footer .footer-title {
    color: var(--text-primary);
    opacity: 1;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
    position: relative;
}

.js-hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.world-tour-text {
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    line-height: 1.1;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}