* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #0a0a1a;
    color: #f0f0f0;
    transition: all 0.3s ease;
}

body.light {
    background: #f5f5f5;
    color: #333;
}

body.light .event-card,
body.light .carrossel-card,
body.light .sympla-card,
body.light .info-card,
body.light .admin-panel,
body.light .calendario-container,
body.light .pix-area,
body.light .instructions {
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

body.light .filter-chip {
    background: #f0f0f0;
    color: #333;
}

body.light .filter-chip.active {
    background: linear-gradient(135deg, #ff00cc, #7b2cff);
    color: white;
}

body.light .bottom-nav {
    background: rgba(255,255,255,0.95);
    border-top: 1px solid #ddd;
}

body.light .search-container input {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px;
}

.mobile-header {
    padding: 16px 0 8px;
    text-align: center;
}

.mobile-header .logo {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, #ff00cc, #7b2cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-header .slogan {
    font-size: 14px;
    color: #aaa;
}

.desktop-header {
    background: rgba(5,5,20,0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    display: none;
}

.desktop-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 12px;
}

.search-container {
    margin: 16px 0;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    background: #1e1e2e;
    border: none;
    border-radius: 40px;
    color: white;
    font-size: 16px;
}

.search-container::before {
    content: "🔍";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    opacity: 0.6;
}

.categories {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0 16px;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    background: #1e1e2e;
    padding: 8px 18px;
    border-radius: 40px;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
    background: linear-gradient(135deg, #ff00cc, #7b2cff);
    color: white;
}

.carrossel-destaque {
    margin: 20px 0 30px;
}

.carrossel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.carrossel-nav {
    display: flex;
    gap: 8px;
}

.carrossel-btn {
    background: #1e1e2e;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.carrossel-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 8px;
}

.carrossel-container::-webkit-scrollbar {
    display: none;
}

.carrossel-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.carrossel-card {
    width: 260px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e1e2e, #2a2a3a);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,0,204,0.3);
}

.carrossel-card:hover {
    transform: translateY(-5px);
    border-color: #ff00cc;
}

.carrossel-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
}

.carrossel-info {
    padding: 12px;
}

.carrossel-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.carrossel-local {
    font-size: 11px;
    color: #aaa;
}

.carrossel-data {
    font-size: 11px;
    color: #ff77cc;
    margin-top: 4px;
}

.sympla-regional {
    margin: 40px 0 50px;
}

.sympla-container {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    border-radius: 32px;
    padding: 24px 16px 32px;
}

.sympla-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff00cc, #7b2cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.sympla-carrossel {
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 16px;
    cursor: grab;
}

.sympla-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.sympla-card {
    width: 280px;
    flex-shrink: 0;
    background: #1e1e2e;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.sympla-card:hover {
    transform: translateY(-6px);
}

.sympla-img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
}

.sympla-info {
    padding: 16px;
}

.sympla-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sympla-local {
    font-size: 0.75rem;
    color: #aaa;
}

.sympla-date {
    font-size: 0.7rem;
    color: #ff77cc;
    margin-top: 6px;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 80px;
}

.event-card {
    background: #1e1e2e;
    border-radius: 16px;
    display: flex;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
}

.event-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.event-info {
    flex: 1;
}

.event-title {
    font-size: 15px;
    font-weight: bold;
}

.event-location {
    font-size: 12px;
    color: #aaa;
}

.event-datetime {
    font-size: 11px;
    color: #ff77cc;
}

.badge-hoje {
    background: #00cc66;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
}

/* BOTTOM NAVIGATION - APENAS EM MOBILE */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30,30,46,0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
}

/* Esconder bottom-nav em desktop */
@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

.nav-item {
    background: none;
    border: none;
    color: #aaa;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}

.nav-item.active {
    color: #ff00cc;
}

.nav-item span:first-child {
    font-size: 20px;
}

.calendario-container {
    background: #1e1e2e;
    border-radius: 20px;
    padding: 20px;
    margin: 30px 0;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendario-header button {
    background: #7b2cff;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.calendario-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #aaa;
}

.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendario-dia {
    background: #2a2a3a;
    border-radius: 10px;
    padding: 8px 4px;
    text-align: center;
    font-size: 12px;
}

.calendario-dia.com-evento {
    background: linear-gradient(135deg, #7b2cff, #ff00cc);
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #151525;
    max-width: 500px;
    width: 90%;
    border-radius: 40px;
    overflow: hidden;
}

.modal-image {
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #1e1e2e;
}

.modal-body {
    padding: 20px;
}

.modal-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.btn {
    padding: 10px 18px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-outline {
    border: 1px solid #ff00cc;
    background: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #ff00cc, #7b2cff);
}

.btn-queroir {
    background: #ff6b35;
}

.btn-calendar {
    background: #4285F4;
}

.btn-maps {
    background: #34A853;
}

.btn-whatsapp {
    background: #25D366;
}

.close-modal {
    background: #ff00cc;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.admin-panel {
    background: #0f0f1a;
    padding: 20px;
    border-radius: 20px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    background: #1e1e2c;
    border: 1px solid #333;
    border-radius: 15px;
    color: white;
}

.evento-admin-item {
    background: #1c1c2a;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card {
    background: #1e1e2e;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
}

.newsletter-section {
    text-align: center;
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #ff00cc20, #7b2cff20);
    border-radius: 48px;
}

.newsletter-section input {
    padding: 15px;
    background: #1e1e2e;
    border: none;
    border-radius: 30px;
    color: white;
    width: 300px;
}

.toast-success, .toast-error {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 30px;
    z-index: 10000;
    font-size: 13px;
}

.toast-success {
    background: #00cc66;
}

.toast-error {
    background: #c44569;
}

@media (min-width: 769px) {
    .desktop-header {
        display: block;
    }
    .mobile-header {
        display: none;
    }
    .bottom-nav {
        display: none;
    }
    .events-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 16px;
    }
    .event-card {
        flex-direction: column;
    }
    .event-image {
        width: 100%;
        height: 180px;
    }
}