* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Tema Padrão */
body.tema-padrao {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

body.tema-padrao::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.tema-padrao .evento-info-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

body.tema-padrao .evento-nome {
    color: #fff;
}

body.tema-padrao .evento-atracoes {
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-line;
}

/* Tema Claro */
body.tema-claro {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

body.tema-claro::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.tema-claro .evento-info-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

body.tema-claro .evento-nome {
    color: #333;
}

body.tema-claro .evento-atracoes {
    color: #666;
    white-space: pre-line;
}

/* Tema Escuro */
body.tema-escuro {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.tema-escuro::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.tema-escuro .evento-info-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
}

body.tema-escuro .evento-nome {
    color: #fff;
}

body.tema-escuro .evento-atracoes {
    color: rgba(255, 255, 255, 0.8);
    white-space: pre-line;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease;
    position: relative;
}


h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.subtitle {
    font-size: 1.2rem;
    color: #FFF;
    margin-bottom: 20px;
}

.eventos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    gap: 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.evento-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.evento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.evento-imagem-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
    margin: 0;
    padding: 0;
}

.evento-imagem-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.evento-imagem {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.evento-imagem.active {
    opacity: 1;
    z-index: 1;
}

.evento-card:hover .evento-imagem.active {
    transform: scale(1.05);
    transition: transform 0.5s, opacity 2s ease-in-out;
}

.evento-info-container {
    width: 100%;
    padding: 30px;
    border-radius: 0 0 20px 20px;
    transition: background-color 0.3s, border-color 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.evento-data {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.evento-nome {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: bold;
    transition: color 0.3s;
}

.evento-atracoes {
    font-size: 1rem;
    margin-bottom: 20px;
    transition: color 0.3s;
    white-space: pre-line;
}

.btn-lista {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-lista:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.loading {
    text-align: center;
    padding: 40px;
    color: white;
    font-size: 1.2rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .eventos-container {
        grid-template-columns: 1fr;
    }
    
    .evento-card {
        width: 100%;
        max-width: 600px;
    }
    
    .evento-imagem-container {
        height: 300px;
    }
    
    
    header {
        text-align: center;
        padding-top: 10px;
    }
}

