* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a url('/assets/images/backgrounds/bk.webp') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    background: #000;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.7rem 2rem;
    max-width: 100%;
}

.menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem;
    font-weight: 400;
}

.menu-icon {
    font-size: 1.4rem;
    font-weight: 300;
}

.mobile-menu-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1.6rem;
    background: rgba(10, 14, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.6rem 0;
    display: none;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 210px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    z-index: 1200;
}

.mobile-menu-panel.is-open {
    display: flex;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.75rem 1.1rem;
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-link--accent {
    color: #ff6b6b;
    font-weight: 600;
}

.mobile-menu-badge {
    background: #d4af37;
    color: #111;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    min-width: 1.6rem;
    text-align: center;
    line-height: 1.1;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 1.2rem;
}

.logo {
    height: 55px;
    width: 200px;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.language-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.flag-icon {
    width: 44px;
    height: 30px;
    border-radius: 3px;
}

.login-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.login-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

/* ===== HEADER LOGADO ===== */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-selector .flag-icon {
    width: 44px;
    height: 30px;
    border-radius: 5px;
}

.language-selector .dropdown-arrow {
    display: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 18px;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 18px;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    min-height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.4);
}

.cart-count-badge.hidden {
    display: none;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 18px;
    transition: all 0.2s;
    font-size: 0.9rem;
    font-weight: 500;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.exit-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    display: block;
}

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
    margin-top: 65px;
    padding-top: 1.5rem;
    width: 100%;
    min-height: calc(100vh - 65px);
}

.content-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hero-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9);
}

.banner-image-section {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay escuro sobre a imagem */
.banner-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.banner-content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 3rem;
}

.conmebol-small {
    font-size: 0.65rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.libertadores-text {
    font-size: 0.85rem;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lima-title {
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(212, 175, 55, 0.2);
    letter-spacing: 10px;
}

.final-year {
    font-size: 1rem;
    letter-spacing: 7px;
    font-weight: 300;
    margin-bottom: 1rem;
}

.info-box {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 600px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.info-box p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.info-box strong {
    font-weight: 600;
}

.info-dates {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.payment-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
    font-size: 0.85rem;
}

.mastercard-logo {
    width: 32px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mastercard-logo::before,
.mastercard-logo::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
}

.mastercard-logo::before {
    background: #eb001b;
    left: 0;
}

.mastercard-logo::after {
    background: #f79e1b;
    right: 0;
}

/* ===== EVENT CARD (PARTE BRANCA) ===== */
.event-card {
    background: #fff;
    color: #000;
    padding: 1.4rem 3rem;
    text-align: center;
}

.event-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #000;
}

.event-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.event-description {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: #333;
    line-height: 1.5;
}

.sale-dates {
    font-size: 0.9rem;
    font-weight: 600;
    color: #000;
    margin: 0.8rem 0 1.2rem;
}

.buy-btn {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 0.85rem 3.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.buy-btn::after {
    content: ' →';
    margin-left: 0.4rem;
}

/* ===== CHAT HELPER ===== */
.chat-helper {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    z-index: 9999 !important;
    pointer-events: auto;
    will-change: transform;
}

.chat-support-btn {
    display: block !important;
    width: 118px !important;
    height: auto !important;
    cursor: pointer !important;
    transition: transform 0.25s ease !important;
}

.chat-support-btn:hover {
    transform: scale(1.05) !important;
}

.chat-support-icon {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 2rem;
}

.auth-form {
    background: #1a1a1a;
    padding: 3rem;
    border-radius: 18px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid #333;
}

.auth-form h1 {
    margin-bottom: 2rem;
    font-size: 2.3rem;
    text-align: center;
    color: #d4af37;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #fff;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    font-size: 1rem;
    background: #0a0a0a;
    color: #fff;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: #d4af37;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #c19b2e;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #999;
}

.auth-link a {
    color: #d4af37;
    font-weight: 600;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .lima-title {
        font-size: 5rem;
    }
    
    .banner-image-section {
        height: 400px;
    }
    
    .chat-helper {
        bottom: 20px !important;
        right: 20px !important;
    }
    
    .chat-support-btn {
        width: 105px !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.7rem 1rem;
    }
    
    .logo-container {
        margin-left: 0.8rem;
    }
    
    .logo {
        height: 36px;
        width: auto;
    }
    
    .menu-btn {
        font-size: 0.9rem;
    }
    
    .login-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
}

    .login-btn img {
        width: 18px;
        height: 18px;
    }
    
    .flag-icon {
        width: 40px;
        height: 28px;
    }
    
    .lima-title {
        font-size: 3.5rem;
    }
    
    .banner-image-section {
        height: 350px;
    }
    
    .event-card {
        padding: 2.5rem 2rem;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .chat-helper {
        bottom: 15px !important;
        right: 15px !important;
    }
    
    .chat-support-btn {
        width: 96px !important;
        height: auto !important;
    }

}

@media (max-width: 480px) {
    .chat-helper {
        bottom: 10px !important;
        right: 10px !important;
    }
    
    .chat-support-btn {
        width: 86px !important;
        height: auto !important;
    }
    
    .content-container {
        max-width: 95%;
        padding: 0 1rem;
    }
    
    .event-card {
        padding: 1.5rem 1.5rem;
    }
    
    .banner-image-section {
        height: 300px;
    }
    
    .logo-container {
        margin-left: 0.6rem;
    }

    .navbar {
        padding: 0.5rem 0.8rem;
    }
    
    .logo {
        height: 32px;
        width: auto;
    }
    
    .menu-btn {
        font-size: 0.85rem;
        gap: 0.4rem;
    }
    
    .login-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .login-btn img {
        width: 16px;
        height: 16px;
    }
    
    .flag-icon {
        width: 36px;
        height: 24px;
    }
    
    .event-title {
        font-size: 1.6rem;
    }
    
    .lima-title {
        font-size: 3rem;
    }
    
    .login-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .login-modal-header {
        padding: 1rem 1.2rem;
    }
    
    .login-modal-header h2 {
        font-size: 1rem;
    }
    
    .login-modal-body {
        padding: 0.9rem 1rem;
        gap: 0.6rem;
    }
    
    .login-option-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.7rem;
        gap: 0.65rem;
}

    .login-option-icon {
        width: 30px;
        height: 30px;
    }
    
    .login-option-icon-img {
    width: 100%;
        height: 100%;
    }
    
    .login-modal-header {
        padding: 0.8rem 1rem;
    }
    
    .login-modal-header h2 {
        font-size: 0.9rem;
    }
}

/* ===== MODAL DE LOGIN ===== */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.login-modal.active {
    display: flex;
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.login-modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-modal-header {
    background: #424242;
    color: #fff;
    padding: 0.9rem 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-modal-header h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
}

.login-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.login-modal-close:hover {
    transform: scale(1.2);
}

.login-modal-body {
    padding: 1rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.login-option-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    line-height: 1.3;
}

.login-option-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.login-option-palmeiras {
    background: #2E7D32;
}

.login-option-palmeiras:hover {
    background: #1B5E20;
}

.login-option-flamengo {
    background: #B71C1C;
}

.login-option-flamengo:hover {
    background: #880E4F;
}

.login-option-neutro {
    background: #8D6E63;
}

.login-option-neutro:hover {
    background: #6D4C41;
}

.login-option-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-option-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.login-option-btn span {
    flex: 1;
    white-space: normal;
    word-break: break-word;
}

/* ===== MODAL DE FORMULÁRIO DE LOGIN ===== */
.login-form-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.login-form-modal-header {
    background: #2E7D32;
    color: #fff;
    padding: 1rem 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.login-form-header-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
}

.login-form-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.login-form-modal-header h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.2;
}

.login-form-modal-body {
    padding: 1.2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.back-btn {
    background: #424242;
    color: #fff;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.back-btn:hover {
    background: #333;
    transform: translateX(-2px);
}

.back-btn span {
    font-size: 1rem;
}

.login-form-modal-body .form-group {
    margin-bottom: 1.5rem;
}

.form-group-name {
    display: none;
}

.login-form-modal-body.register-mode .form-group-name {
    display: block;
}

.login-form-modal-body .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000;
    font-size: 0.95rem;
}

.login-form-modal-body .form-control {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    font-size: 0.95rem;
    background: transparent;
    color: #000;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.login-form-modal-body .form-control.error {
    border-bottom-color: #B71C1C;
}

.login-form-modal-body.palmeiras .form-control.error {
    border-bottom-color: #2E7D32;
}

.login-form-modal-body.neutro .form-control.error {
    border-bottom-color: #8D6E63;
}

.error-message {
    display: block;
    color: #B71C1C;
    font-size: 0.75rem;
    margin-top: 0.3rem;
    min-height: 1.2rem;
}

.login-form-modal-body.palmeiras .error-message {
    color: #2E7D32;
}

.login-form-modal-body.neutro .error-message {
    color: #8D6E63;
}

.login-form-modal-body .form-control:focus {
    outline: none;
    border-bottom-color: #B71C1C;
}

.login-form-modal-body.palmeiras .form-control:focus,
.login-form-modal-body .form-group.palmeiras .form-control:focus {
    border-bottom-color: #2E7D32;
}

.login-form-modal-body.neutro .form-control:focus,
.login-form-modal-body .form-group.neutro .form-control:focus {
    border-bottom-color: #8D6E63;
}

.password-input-wrapper:focus-within .password-toggle {
    opacity: 1;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper .form-control {
    padding-right: 2rem;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle img {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
}

.btn-login {
    width: 100%;
    padding: 0.95rem;
    background: #424242;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.btn-login:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-register {
    width: 100%;
    padding: 0.95rem;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.btn-register:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.recover-password {
    text-align: center;
    margin-top: 0.5rem;
}

.recover-password a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: none;
    transition: color 0.2s;
}

.recover-password a:hover {
    color: #000;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-form-modal-content {
        width: 95%;
        max-width: 95%;
    }
    
    .login-form-modal-header {
        padding: 0.9rem 1.2rem;
    }
    
    .login-form-header-left {
        gap: 0.75rem;
    }
    
    .login-form-logo {
        width: 45px;
        height: 45px;
    }
    
    .login-form-modal-header h2 {
        font-size: 0.8rem;
    }
    
    .login-form-modal-body {
        padding: 1rem 1.2rem;
    }
    
    .back-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .btn-login,
    .btn-register {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
}

/* ===== PÁGINA DE APRESENTAÇÃO DO EVENTO ===== */
.event-presentation-container {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 1.6rem;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 2rem 2.4rem;
    align-items: start;
}

.event-left-column {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.checkout-container .event-left-column {
    gap: 0;
}

.sector-select-field,
.directions-field {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 16px;
    font-weight: 400;
    min-height: 52px;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
}

.field-header {
    padding: 1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
}

.field-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.3rem;
    background: #f9f9f9;
}

.field-content.active {
    max-height: 1200px;
    padding: 1rem 1.3rem 1.3rem 1.3rem;
}

.sector-map-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.sector-map-canvas {
    position: relative;
    max-width: 520px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    background: #f5f5f5;
}

.sector-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.sector-map-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.sector-zone-btn {
    --pos-x: 50%;
    --pos-y: 50%;
    position: absolute;
    top: var(--pos-y);
    left: var(--pos-x);
    transform: translate(-50%, -50%);
    min-width: 28px;
    min-height: 28px;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    background: rgba(33, 33, 33, 0.78);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(1.5px);
    text-transform: uppercase;
}

.sector-zone-btn--letter {
    min-width: 24px;
    min-height: 24px;
    padding: 0.1rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 600;
}

.sector-zone-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.06);
}

.sector-zone-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.35);
}

.sector-zone-btn.active {
    background: #1db954;
    border-color: #e9ffe5;
    box-shadow: 0 10px 24px rgba(29, 185, 84, 0.45);
}

.sector-zone-btn--aux {
    min-width: 40px;
    min-height: 40px;
    padding: 0.22rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(30, 136, 229, 0.85);
}

.sector-zone-btn--aux.active {
    background: #1e88e5;
}

.seat-selection-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 2rem 1.2rem;
}

.seat-selection-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.seat-modal-content {
    width: min(380px, 100%);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    padding: 1.15rem 1.05rem 1.35rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.seat-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.seat-modal-close:hover {
    transform: scale(1.08);
}

.seat-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
}

.seat-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.seat-modal-price-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
}

.seat-modal-price-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(0.1);
}

.seat-modal-price-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.seat-legend {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

.seat-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.seat-legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.16);
}

.seat-legend-dot--available {
    background: #2ecc71;
}

.seat-legend-dot--occupied {
    background: #9ca3af;
    border-color: rgba(0, 0, 0, 0.25);
}

.seat-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.35rem;
}

.seat {
    position: relative;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    background-image: url('/assets/assento.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.seat:disabled,
.seat--occupied {
    cursor: not-allowed;
}

.seat--available {
    box-shadow: inset 0 0 0 2px rgba(13, 104, 50, 0.18);
    filter: none;
}

.seat--occupied {
    filter: grayscale(100%) opacity(0.45);
}

.seat--available:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(29, 185, 84, 0.25);
}

.seat--selected {
    box-shadow: inset 0 0 0 3px #1db954;
    filter: none;
}

.seat-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12px;
    padding: 2px 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.52rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.seat-field-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: #f7f8fb;
    border-radius: 10px;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.seat-field-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
}

.seat-field-miniature {
    flex: none;
    width: 96px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(120deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    position: relative;
}

.seat-field-miniature::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.65);
    opacity: 0.9;
}

.seat-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.seat-modal-continue {
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    border: none;
    background: #0f172a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.seat-modal-continue:hover {
    background: #1db954;
    box-shadow: 0 12px 22px rgba(29, 185, 84, 0.25);
    transform: translateY(-1px);
}

body.seat-modal-lock {
    overflow: hidden;
}

.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2500;
    max-width: 320px;
    background: #0f172a;
    color: #fff;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.toast-notification::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7a18, #af002d 71%);
}

.toast-notification.active {
    opacity: 1;
    transform: translateY(0);
}

.toast-success::before {
    background: linear-gradient(135deg, #00b09b, #96c93d);
}

.toast-warning::before {
    background: linear-gradient(135deg, #f7971e, #ffd200);
}

.toast-error::before {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
}
.sector-selection-info {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    }
    
.selected-sector-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(29, 185, 84, 0.12);
    color: #0b7333;
    }
    
.selected-sector-label::before {
    content: '🎟️';
    font-size: 1rem;
    }
    
.directions-map {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
    }
    
.field-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

.sector-select-field:hover,
.directions-field:hover {
    box-shadow: 0 4px 6px 0 rgba(0,0,0,.12), 0 2px 4px 0 rgba(0,0,0,.08);
}

.field-text {
    color: #1a1a1a;
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.5;
    font-weight: 500;
    }
    
.info-icon {
    color: #666;
    font-size: 0.9rem;
    cursor: help;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #999;
    font-weight: 600;
    font-style: normal;
    }
    
.dropdown-arrow-field {
    color: #666;
    font-size: 0.8rem;
    margin-left: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-arrow-field.rotated {
    transform: rotate(180deg);
}

.event-right-column {
    display: flex;
        flex-direction: column;
}

.event-presentation-card {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
    font-weight: 400;
    min-height: 200px;
    overflow: hidden;
    width: 100%;
    z-index: 1;
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
    padding: 1.6rem 1.8rem 2rem 1.8rem;
}

.event-main-image {
    align-self: center;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 2;
    margin-top: 0.2rem;
    margin-bottom: 0.8rem;
    border: 2px;
    border-radius: 10px;
}

.event-card-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.65rem;
    font-weight: 400;
    line-height: 1.4;
    }
    
.event-card-match {
    font-size: 1.9rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.16;
}

.event-card-location,
.event-card-datetime {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.85rem;
    line-height: 1.45;
    font-weight: 400;
}

.event-card-location strong,
.event-card-datetime strong {
    font-weight: 700;
    color: #000;
}

.event-card-classification {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.cart-seat-wrapper {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 1.6rem 1.8rem 2rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
    color: #0f172a;
    min-height: 100%;
}

.cart-seat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cart-seat-header h1 {
    margin: 0;
    font-size: 1.4rem;
    color: #0f172a;
    font-weight: 700;
}

.cart-seat-header p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}

.back-to-event {
    font-size: 0.85rem;
    color: #1e293b;
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: all 0.2s ease;
}

.back-to-event:hover {
    border-color: rgba(15, 23, 42, 0.2);
    background: rgba(15, 23, 42, 0.05);
}

.cart-empty-box {
    background: rgba(15, 23, 42, 0.05);
    border-radius: 12px;
    padding: 1.6rem;
    font-size: 0.95rem;
    color: #475569;
}

.cart-sector-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.02);
}

.cart-sector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.cart-sector-header h2 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.cart-sector-header span {
    font-size: 0.85rem;
    color: #64748b;
}

.cart-seat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.8rem;
}

.cart-seat-item {
    border-radius: 12px;
    padding: 0.95rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 120px;
}

.cart-seat-item strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.cart-seat-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cart-seat-text {
    font-size: 0.8rem;
    color: #475569;
}

.cart-seat-time {
    font-size: 0.75rem;
    color: #64748b;
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.6rem;
}

.cart-summary {
    font-size: 0.95rem;
    color: #1e293b;
}

.cart-checkout-btn {
    width: auto;
    padding: 0.85rem 2.2rem;
}

.cart-checkout-btn::after {
    content: none;
}

.cart-seat-remove-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(220, 38, 38, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cart-seat-remove-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.cart-seat-remove-btn:hover {
    background: rgba(220, 38, 38, 0.18);
    border-color: rgba(220, 38, 38, 0.55);
    color: #991b1b;
}

.cart-seat-remove-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hidden {
    display: none !important;
}

.checkout-wrapper {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 16px;
    padding: 1.5rem 1.7rem 2rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    min-height: 100%;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-header h1 {
    margin: 0;
    font-size: 1.35rem;
    color: #0f172a;
    font-weight: 700;
}

.checkout-header p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.checkout-total-box {
    background: linear-gradient(135deg, #101929, #182538);
    border-radius: 14px;
    padding: 1rem 1.3rem;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.checkout-total-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.65;
}

.checkout-total-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9fafb;
}

.checkout-total-description {
    font-size: 0.75rem;
    opacity: 0.6;
}

.checkout-summary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-summary-group {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    background: rgba(248, 250, 252, 0.85);
}

.checkout-summary-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: #27364f;
    margin-bottom: 0.8rem;
}

.checkout-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.9rem;
}

.checkout-summary-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
    min-height: 112px;
}

.checkout-summary-seat {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.checkout-summary-event {
    font-size: 0.78rem;
    color: #4b5563;
}

.checkout-summary-date {
    font-size: 0.72rem;
    color: #6b7280;
}

.checkout-summary-price {
    margin-top: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: #111827;
}

.checkout-payment {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.2rem;
}

.checkout-method-tabs {
    display: flex;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 999px;
    padding: 0.3rem;
    gap: 0.35rem;
}

.checkout-method-tab {
    flex: 1;
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-method-tab:hover {
    color: #1f2937;
}

.checkout-method-tab.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.12);
}

.checkout-method-panel {
    display: none;
}

.checkout-method-panel.active {
    display: block;
}

.pix-card {
    background: #0f172a;
    color: #f8fafc;
    border-radius: 16px;
    padding: 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.32);
}

.pix-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.pix-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.pix-subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: rgba(226, 232, 240, 0.72);
}

.pix-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: #38bdf8;
}

.pix-code-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pix-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pix-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.55rem;
}

.pix-generate-btn {
    width: auto;
    padding: 0.75rem 1.45rem;
}

.pix-qrcode-wrapper {
    margin-top: 0.6rem;
    align-self: center;
    padding: 0.6rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
}

.pix-qrcode-wrapper img {
    display: block;
    width: 170px;
    height: 170px;
}

.pix-code-box {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    max-height: 120px;
    overflow-y: auto;
}

.pix-code-text {
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.72rem;
    line-height: 1.45;
    word-break: break-word;
}

.checkout-secondary-btn {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    background: transparent;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.checkout-secondary-btn:hover {
    border-color: rgba(148, 163, 184, 0.65);
    color: #38bdf8;
}

.checkout-instructions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: rgba(226, 232, 240, 0.78);
}

.checkout-instructions li strong {
    color: #38bdf8;
}

.checkout-submit-btn {
    border: none;
    border-radius: 12px;
    padding: 0.8rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    color: #0f172a;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.35);
}

.checkout-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pix-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.85);
    background: rgba(15, 23, 42, 0.2);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.pix-status--error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
}

.pix-note {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    color: rgba(226, 232, 240, 0.7);
}

.checkout-card-form {
    background: rgba(15, 23, 42, 0.03);
    border-radius: 15px;
    padding: 1.3rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.checkout-card-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkout-card-form label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1f2937;
}

.checkout-card-form input,
.checkout-card-form select {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 9px;
    padding: 0.6rem 0.7rem;
    font-size: 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.checkout-card-form input:focus,
.checkout-card-form select:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.6);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35);
}

.form-group-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.card-payment {
    display: flex;
    gap: 1.6rem;
    align-items: stretch;
    flex-wrap: wrap;
}

.card-visual {
    position: relative;
    width: clamp(260px, 32vw, 360px);
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-visual__front,
.card-visual__back {
    width: 100%;
    min-height: 210px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a, #1f2a44);
    color: #f8fafc;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.38);
    position: relative;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

.card-visual__back {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, #1c2740, #0f192c);
    opacity: 0.85;
    z-index: 0;
}

.card-visual__chip {
    width: 48px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffc857, #f6a700);
    margin-bottom: 1.6rem;
    position: relative;
}

.card-visual__chip::after {
    content: '';
    position: absolute;
    inset: 10px 8px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

.card-visual__number {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.7rem;
}

.card-visual__footer {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr auto;
    gap: 0.8rem;
    align-items: end;
}

.card-visual__label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.65);
    margin-bottom: 0.3rem;
}

.card-visual__value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
}

.card-visual__brands {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-end;
}

.card-visual__brand-logo {
    height: 24px;
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.35));
}

.card-visual__back .card-visual__strip {
    height: 44px;
    background: rgba(0, 0, 0, 0.65);
    margin: 0 -1.3rem 1.2rem;
}

.card-visual__cvv-box {
    background: rgba(248, 250, 252, 0.9);
    color: #0f172a;
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
        width: 120px;
    margin-left: auto;
}

.card-inline-row {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.card-inline-row .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0;
}

.card-inline-row .form-group label {
    min-height: 1.2em;
    margin-bottom: 0.4rem;
}

.card-inline-row .form-group:first-child {
    min-width: 180px;
}

.card-inline-field--cvv {
    flex: 0 0 140px;
    max-width: 160px;
}

.card-expiry-fields {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.card-expiry-fields input {
    width: 70px;
    text-align: center;
}

.card-expiry-separator {
    font-weight: 600;
    color: #1f2937;
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.35rem;
    min-height: 1em;
}

.checkout-card-form input.error,
.checkout-card-form select.error {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.checkout-safe-note {
    margin: 0.4rem 0 0;
    font-size: 0.7rem;
    color: #6b7280;
    text-align: center;
}

.checkout-container .event-right-column {
    position: sticky;
    top: 7rem;
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .checkout-container .event-right-column {
        position: static;
    }

    .card-payment {
        flex-direction: column;
    }

    .card-visual {
        width: 100%;
        max-width: 420px;
    }

    .card-visual__front,
    .card-visual__back {
        min-height: 190px;
    }
}

@media (max-width: 768px) {

    .card-form-grid {
        grid-template-columns: 1fr;
    }
    .checkout-wrapper {
        padding: 1.5rem 1.4rem 2rem;
    }

    .checkout-total-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .checkout-method-tabs {
        flex-direction: column;
    }

    .card-payment {
        flex-direction: column;
    }

    .card-visual {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .card-inline-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .card-inline-field--cvv {
        flex: 1;
        max-width: 100%;
    }
}

.classification-icon-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.classification-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.classification-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    line-height: 1.3;
}

.classification-value {
    font-size: 1rem;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (max-width: 968px) {
    .event-presentation-container {
        grid-template-columns: 1fr;
        padding: 0 1.2rem 2.6rem;
    }
    
    .event-right-column {
        order: 1;
    }
    
    .event-left-column {
        order: 2;
    }
    
    .event-card-image-section {
        min-height: 250px;
        padding: 1rem;
    }
    
    .event-card-title {
        font-size: 2rem;
    }
    
    .event-card-match {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-panel {
        display: none;
    }
    
    .nav-right {
        gap: 0.65rem;
    }
    
    .nav-right .cart-btn,
    .nav-right .logout-btn {
        display: none;
    }
    
    .event-presentation-container {
        padding: 0 0.8rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
    }
    
    .event-card-image-section {
        min-height: 220px;
        padding: 0.7rem;
    }
    
    .event-card-logo {
        width: 150px;
    }
    
    .event-card-title {
        font-size: 1.6rem;
    }
    
    .event-card-team-logo {
        width: 100px;
    }
    
    .event-card-details {
        padding: 1.1rem;
    }
    
    .event-card-match {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .cart-page .event-presentation-container {
        display: block;
    }
    
    .cart-page .event-left-column {
        width: 100%;
    }
    
    .cart-page .event-right-column {
        display: none;
    }
}

@media (max-width: 480px) {
    .event-presentation-container {
        padding: 0 0.6rem 1.4rem;
        gap: 1rem;
    }
    
    .sector-select-field,
    .directions-field {
        padding: 1rem 1.2rem;
    }
    
    .field-text {
        font-size: 0.85rem;
    }
    
    .event-card-image-section {
        min-height: 180px;
        padding: 0.55rem;
    }
    
    .event-card-logo {
        width: 120px;
    }
    
    .event-card-title {
        font-size: 1.3rem;
    }
    
    .event-card-team-logo {
        width: 80px;
    }
    
    .event-card-sale-info {
        font-size: 0.8rem;
    }
    
    .event-card-details {
        padding: 0.9rem;
    }
    
    .event-card-match {
        font-size: 1.05rem;
    }
    
    .event-card-location,
    .event-card-datetime {
        font-size: 0.8rem;
    }
}

/* ===== MODAL DE ERRO DE CARTÃO ===== */
.card-error-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.card-error-modal.active {
    opacity: 1;
    pointer-events: all;
}

.card-error-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.card-error-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease;
}

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

.card-error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
        width: 80px;
        height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 50%;
    color: #fff;
}

.card-error-icon svg {
    width: 48px;
    height: 48px;
}

.card-error-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.card-error-message {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 2rem;
    }
    
.card-error-close-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-error-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    }

.card-error-close-btn:active {
    transform: translateY(0);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000;
    color: #fff;
    padding: 3rem 2rem 2.2rem;
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: -1.7rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-links a {
    position: relative;
    padding-bottom: 0.25rem;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: left;
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-social {
    display: inline-flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.footer-partners {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.footer-partner-block {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    align-items: center;
    text-align: center;
}

.footer-partner-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-logo-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
}

.footer-logo-row img {
    height: 42px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.footer-logo-row img:hover {
    transform: translateY(-3px);
}

.footer-logo-row--single img {
    height: 48px;
}

.footer-bottom {
    opacity: 0.9;
}

.footer-bottom-logos {
    display: inline-flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.6rem;
}

.footer-bottom-logos img {
    height: 26px;
    object-fit: contain;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 2.4rem 1.4rem 2.2rem;
        gap: 2.4rem;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-logo-row {
        gap: 0.9rem;
    }
}

@media (max-width: 520px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        align-self: flex-start;
    }

    .footer-logo-row {
        gap: 0.7rem;
    }

    .footer-logo-row img {
        height: 38px;
    }
}

/* ===== FOOTER MODAL ===== */
.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 9900;
    display: none;
    align-items: center;
    justify-content: center;
}

.policy-modal.active {
    display: flex;
}

.policy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.policy-modal__dialog {
    position: relative;
    width: min(920px, 92vw);
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.35);
    display: flex;
    flex-direction: column;
}

.policy-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f1f1;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.policy-modal__header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
}

.policy-modal__close {
    border: none;
    background: transparent;
    font-size: 1.8rem;
    line-height: 1;
    color: #4b5563;
    cursor: pointer;
}

.policy-modal__close:hover {
    color: #111827;
}

.policy-modal__content {
    padding: 1.6rem 1.8rem;
    overflow-y: auto;
    color: #1f2937;
    font-size: 0.95rem;
    line-height: 1.6;
}

.policy-article h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
}

.policy-article h4 {
    margin-top: 1.4rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.policy-article p {
    margin-bottom: 0.9rem;
}

body.policy-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .policy-modal__dialog {
        width: 95vw;
    }

    .policy-modal__content {
        padding: 1.2rem 1.3rem;
    }
}

