:root {
    --primary: #9b51e0;
    --primary-glow: rgba(155, 81, 224, 0.5);
    --secondary: #2d9cdb;
    --accent: #f2994a;
    --bg-dark: #0a0a0c;
    --bg-card: #16161a;
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gradient Background Animation */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(155, 81, 224, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: move-bg 20s infinite alternate linear;
}

@keyframes move-bg {
    from {
        transform: translate(-10%, -10%);
    }

    to {
        transform: translate(10%, 10%);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Navigation Container */
nav {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 5%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Button Small Style */
.btn-primary-sm {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Menu Toggle (Barrinha) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Overlay Navigation */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 12, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
}

.nav-overlay.active {
    right: 0;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.overlay-content a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
    transition: color 0.3s;
}

.overlay-content a:hover {
    color: var(--primary);
}

.close-btn {
    margin-top: 3rem;
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim) !important;
}

/* Desktop override: If you want links visible on desktop, uncomment this. 
   But the user requested a "barrinha" (hamburger) logic. */
@media (max-width: 768px) {
    .logo {
        font-size: 1.2rem;
    }
}

.btn-my-tickets:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-glow);
    border-color: transparent;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Event Cards Grids */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.event-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.event-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: #222;
    /* Placeholder */
}

.event-info {
    padding: 1.5rem;
}

.event-date {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
}