/* ==================== */
/* TYPOGRAPHY & HEADINGS */
/* ==================== */
.events-page {
    isolation: isolate;
    min-height: 100vh;
}

.events-page > #particles-container {
    z-index: -1;
}

.events-hero-copy {
    max-width: 760px;
}

.events-page .events-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: none;
}

.events-page-content {
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.28));
}

.events-page .filter-sidebar,
.events-page .glass-effect {
    border-color: rgba(255,255,255,.68);
}

.events-page .filter-sidebar {
    box-shadow: 0 18px 45px rgba(30,144,255,.10), 0 8px 24px rgba(255,20,147,.08);
}

.events-page .event-card {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 16px 38px rgba(35,58,91,.10), 0 4px 12px rgba(255,20,147,.06);
}

.events-page .event-card::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    height: 4px;
    background: linear-gradient(90deg, #FF1493, #FFBF00, #39FF14, #1E90FF, #8F00FF);
    content: '';
}

.events-page .event-card:hover {
    border-color: rgba(255,20,147,.45);
    box-shadow: 0 22px 48px rgba(30,144,255,.16), 0 10px 28px rgba(255,20,147,.14);
}

.events-page .event-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.events-page .event-card img {
    transition: transform .45s ease, filter .45s ease;
}

.events-page .event-card:hover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.events-page .date-badge {
    background: linear-gradient(90deg, #C51F5D, #8F00FF);
}

.events-page #events-container.events-list .event-card::before {
    inset: 0 auto 0 0;
    width: 4px;
    height: auto;
    background: linear-gradient(180deg, #FF1493, #FFBF00, #39FF14, #1E90FF);
}

@media (max-width: 640px) {
    .events-hero {
        padding-top: 7rem;
        padding-bottom: 2.25rem;
    }

    .events-page-content {
        padding-left: .75rem;
        padding-right: .75rem;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    color: #2c3e50;
}

/* ==================== */
/* BUTTONS */
/* ==================== */
.btn {
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    border-color: var(--neon-pink);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-ghost {
    background: transparent;
    color: var(--neon-pink);
    border: 2px solid var(--neon-pink);
}

.btn-ghost:hover {
    background: var(--neon-pink);
    color: white;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* ==================== */
/* FORM ELEMENTS */
/* ==================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-pink);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2), 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* ==================== */
/* TAGS & CHIPS */
/* ==================== */
.tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 4px 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    transform: translateY(-2px);
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.tag-primary {
    background: var(--gradient-primary);
    color: white;
}

.tag-outline {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
}

/* ==================== */
/* AVATARS */
/* ==================== */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.avatar-lg {
    width: 60px;
    height: 60px;
}

.avatar-xl {
    width: 80px;
    height: 80px;
}

.avatar-ring {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                var(--gradient-primary) border-box;
}

/* ==================== */
/* ALERTS & NOTIFICATIONS */
/* ==================== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.alert-success {
    background: rgba(57, 255, 20, 0.1);
    color: var(--emerald);
    border-color: rgba(57, 255, 20, 0.2);
}

.alert-warning {
    background: rgba(255, 191, 0, 0.1);
    color: var(--amber);
    border-color: rgba(255, 191, 0, 0.2);
}

.alert-error {
    background: rgba(255, 20, 147, 0.1);
    color: var(--neon-pink);
    border-color: rgba(255, 20, 147, 0.2);
}

.alert-info {
    background: rgba(30, 144, 255, 0.1);
    color: var(--electric-blue);
    border-color: rgba(30, 144, 255, 0.2);
}

/* ==================== */
/* TOOLTIPS */
/* ==================== */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 200px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    text-align: center;
    border-radius: 8px;
    padding: 8px 12px;
    position: absolute;
    z-index: 10000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ==================== */
/* MODALS & DIALOGS */
/* ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--neon-pink);
}

/* ==================== */
/* TABLES */
/* ==================== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 16px;
}

.table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.table tr:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ==================== */
/* LOADERS & SKELETONS */
/* ==================== */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==================== */
/* BREADCRUMBS */
/* ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.breadcrumb-item {
    color: #666;
    font-size: 0.875rem;
}

.breadcrumb-item.active {
    color: var(--neon-pink);
    font-weight: 600;
}

.breadcrumb-separator {
    color: #999;
}

/* ==================== */
/* RATING STARS */
/* ==================== */
.rating {
    display: flex;
    gap: 2px;
}

.rating-star {
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.rating-star.active {
    color: #FFD700;
}

/* ==================== */
/* PROGRESS STEPS */
/* ==================== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2rem 0;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: scale(1.1);
}

.step.completed {
    background: var(--neon-green);
    color: white;
}

/* ==================== */
/* CUSTOM CHECKBOX & RADIO */
/* ==================== */
.checkbox-container,
.radio-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-custom,
.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.radio-custom {
    border-radius: 50%;
}

.checkbox-container input:checked + .checkbox-custom,
.radio-container input:checked + .radio-custom {
    background: var(--gradient-primary);
    border-color: transparent;
}

.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-container input:checked + .checkbox-custom::after,
.radio-container input:checked + .radio-custom::after {
    opacity: 1;
}

/* ==================== */
/* DROPDOWNS */
/* ==================== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    border-color: var(--neon-pink);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 20, 147, 0.1);
    color: var(--neon-pink);
}

/* ==================== */
/* TOAST NOTIFICATIONS */
/* ==================== */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 10px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--neon-green);
}

.toast.error {
    border-left: 4px solid var(--neon-pink);
}

.toast.warning {
    border-left: 4px solid var(--amber);
}

.toast.info {
    border-left: 4px solid var(--electric-blue);
}

/* ==================== */
/* STATS CARDS */
/* ==================== */
.stats-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== */
/* TIMELINE */
/* ==================== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--neon-pink);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px;
}

/* ==================== */
/* CAROUSEL INDICATOR */
/* ==================== */
.carousel-indicator.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

/* ==================== */
/* EVENT HERO SPECIFIC */
/* ==================== */
.event-hero {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(30, 144, 255, 0.1) 100%);
}

/* ==================== */
/* TICKET CARD */
/* ==================== */
.ticket-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* COUNTDOWN */
/* ==================== */
.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

/* ==================== */
/* FEATURE ICON */
/* ==================== */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* GALLERY */
/* ==================== */
.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ==================== */
/* MAP CONTAINER */
/* ==================== */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ==================== */
/* PROGRAM ITEM */
/* ==================== */
.program-item {
    border-left: 4px solid var(--neon-pink);
    padding-left: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.program-item:hover {
    transform: translateX(10px);
    border-left-color: var(--neon-green);
}

/* ==================== */
/* TESTIMONIAL CARD */
/* ==================== */
.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.15);
}

/* ==================== */
/* PROGRESS BAR */
/* ==================== */
.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Corrigir o problema do range input fazer scroll */
.no-scroll-range {
    touch-action: none;
}

.no-scroll-range:active {
    cursor: grabbing;
}
