:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #f8f9fa;
    --accent: #00cec9;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-bottom: 80px;
}

/* --- Navbar --- */
.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    letter-spacing: -1px;
}

/* --- Animations --- */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #2d3436);
    padding: 180px 0 80px;
    margin-bottom: 40px;
    text-align: center;
    align-items: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
    }
}

/* --- Event Cards --- */
.event-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
}

.event-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: bold;
}

/* --- Event Details Page Styles --- */
.details-hero {
    height: 60vh;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    margin-top: -80px;
    /* Pull behind navbar */
}

.details-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.3), var(--dark-bg));
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.info-pill i {
    color: var(--accent);
    margin-right: 8px;
}

/* --- General Utils --- */
.price-display {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hidden {
    display: none !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #5649c0;
}

#qr-code-display {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

.text-white {
    color: #fff !important;
}

.text-muted {
    color: #e6e6e6 !important;
}