body {
    margin: 0;
    padding: 0;
    background-color: #0d0e12;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

header {
    background-color: rgba(22, 23, 30, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo img {
    height: 40px;
    vertical-align: middle;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #000d6b;
    object-fit: cover;
}

.btn-login {
    background: linear-gradient(135deg, #000d6b 0%, #001299 100%);
    border: none;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 13, 107, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 13, 107, 0.6);
}

.hero {
    margin-top: 70px;
    padding: 80px 5% 50px 5%;
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 13, 107, 0.15) 0%, transparent 60%);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.hero p {
    color: #a0a0a5;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.container {
    padding: 0 5% 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: #16171e;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 13, 107, 0.4);
}

.event-banner {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(22, 23, 30, 0.9);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #00e676;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-date {
    color: #00e676;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.event-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.event-location {
    color: #a0a0a5;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* Modais / Overlays */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.modal {
    background-color: #16171e;
    width: 90%;
    max-width: 550px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(22, 23, 30, 0.8);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    z-index: 10;
}

.modal-banner {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.modal-content {
    padding: 30px;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #a0a0a5;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-desc {
    font-size: 14px;
    color: #a0a0a5;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
}

.modal-price {
    font-size: 24px;
    font-weight: 700;
    color: #00e676;
}

.btn-buy {
    background: linear-gradient(135deg, #00e676 0%, #00b0ff 100%);
    border: none;
    color: #0d0e12;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.6);
}

/* Spinner Loader */
.spinner {
    border: 3px solid rgba(255,255,255,0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border-left-color: #000d6b;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
