/* Estilos inspirados en la cartelera del Día de Muertos */
/* Carga de fuente local Brastika */
@font-face {
    font-family: 'Brastika';
    src: url('../fonts/Brastika-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Fuente de respaldo de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Preload y forzar carga de la fuente */
body::before {
    content: "";
    font-family: 'Brastika';
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

:root {
    --color-background: #BF8D50;
    --color-primary: #F25922; /* Naranja fuerte del festival */
    --color-secondary: #F29D35; /* Naranja dorado del festival */
    --color-accent: #BF8D50; /* Marrón dorado del festival */
    --color-text: #F5E6D3;
    --color-text-dark: #401902;
    --color-white: #FFFFFF;
    --color-dark: #401902; /* Marrón oscuro del festival */
    --color-darker: #590902; /* Rojo oscuro del festival */
    
    --font-headings: 'Brastika', 'Brasika Display', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Legacy variables for compatibility */
    --bg-dark: #BF8D50;
    --primary-orange: #F25922;
    --secondary-orange: #F29D35;
    --accent-purple: #BF8D50;
    --text-light: #F5E6D3;
    --text-dark: #401902;
    --card-bg: #401902;
    --input-bg: #590902;
    --border-color: #F29D35;
    --success-green: #27AE60;
    --error-red: #E74C3C;
    --section-bg: #401902;
    --shadow-light: rgba(64, 25, 2, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.8;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0ibm9uZSI+PC9yZWN0PjxwYXRoIGQ9Ik0xMCA5MEw5MCAxME0xMCAxMEw5MCA5MCIgc3Ryb2tlPSIjNTkwOTAyIiBzdHJva2Utd2lkdGg9IjEiIG9wYWNpdHk9IjAuMSI+PC9wYXRoPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjIiIGZpbGw9IiNGMjlEMzUiIG9wYWNpdHk9IjAuMDUiPjwvY2lyY2xlPjwvc3ZnPg==');
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Card - Estilo Día de Muertos */
.header-card {
    background: linear-gradient(135deg, rgba(64, 25, 2, 0.95), rgba(89, 9, 2, 0.95));
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    text-align: center;
    border: 2px solid var(--color-secondary);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.7),
        0 0 0 1px rgba(242, 157, 53, 0.3);
}

.header-card h1 {
    font-family: var(--font-headings);
    font-size: clamp(2rem, 6vw, 3.5rem);
    background: linear-gradient(45deg, #F29D35, #F25922, #BF8D50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(64, 25, 2, 0.8);
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
}

.header-card .lead {
    color: var(--color-text) !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
    text-shadow: 1px 1px 2px rgba(64, 25, 2, 0.7);
}

.header-card .event-time {
    color: var(--color-secondary) !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(64, 25, 2, 0.7);
}

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Info Card - Estilo Día de Muertos */
.info-card {
    background: #1a1a1a;
    border: 2px solid var(--color-accent);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 40px;
}

.info-header {
    background: rgba(155, 89, 182, 0.2);
    padding: 20px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-accent);
    font-family: var(--font-headings);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content {
    padding: 30px;
    color: var(--color-text);
}

.info-content p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.6;
}

.info-content p:last-child {
    margin-bottom: 0;
}

/* Alert dentro de info-content */
.info-content .alert {
    background: rgba(255, 193, 7, 0.15) !important;
    border: 1px solid rgba(255, 193, 7, 0.4) !important;
    color: #fff3cd !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin: 15px 0 !important;
}

.info-content .alert small {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Mensaje de saturación */
.saturation-notice {
    background: #FFF3CD;
    border: 2px solid #FFEB3B;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(255, 235, 59, 0.3);
}

/* Form Sections - Estilo Día de Muertos */
.form-section {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.2);
}

.section-title {
    font-family: var(--font-headings);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--color-accent);
    bottom: -10px;
    left: 20%;
}

/* Custom Submit Button - Estilo Día de Muertos */
.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #F25922, #F29D35);
    color: #401902;
    border: 2px solid #BF8D50;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.4),
        0 0 0 1px rgba(191, 141, 80, 0.3);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(64, 25, 2, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(242, 89, 34, 0.4),
        0 0 25px rgba(242, 157, 53, 0.3);
    background: linear-gradient(45deg, #F29D35, #F25922);
    border-color: #F29D35;
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 15px rgba(242, 89, 34, 0.3),
        0 0 15px rgba(242, 157, 53, 0.2);
}

/* Form Controls - Estilo Día de Muertos */
.form-section .form-label {
    display: block;
    color: #F29D35;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(64, 25, 2, 0.5);
}

.form-section .form-label i {
    margin-right: 8px;
}

.form-section .form-label .text-danger {
    color: #E74C3C !important;
    font-weight: 600;
}

/* Checkbox styles - Estilo Día de Muertos */
.form-section .form-check {
    padding: 20px;
    background: #222;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.form-section .form-check:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
}

.form-section .form-check-input {
    width: 1.25em;
    height: 1.25em;
    border: 2px solid var(--color-primary) !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #333 !important;
}

.form-section .form-check-input:checked {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.form-section .form-check-input:focus {
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.3) !important;
}

.form-section .form-check-label {
    color: var(--color-text) !important;
    font-weight: 500;
    font-size: 1rem;
    margin-left: 8px;
}

.form-section .form-control, 
.form-section .form-select {
    width: 100%;
    padding: 15px;
    background: #222 !important;
    border: 2px solid #333 !important;
    border-radius: 8px;
    color: var(--color-text) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-section .form-control:focus, 
.form-section .form-select:focus {
    outline: none !important;
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 10px rgba(230, 126, 34, 0.3) !important;
    background: #222 !important;
    color: var(--color-text) !important;
}

.form-section .form-control::placeholder {
    color: #888 !important;
    font-style: normal;
    font-weight: 400;
}

.form-section .form-control:read-only {
    background: #2a2a2a !important;
    cursor: not-allowed;
}

.form-section .form-control:focus, 
.form-section .form-select:focus {
    background: white !important;
    border-color: var(--secondary-orange) !important;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.2) !important;
    color: var(--text-dark) !important;
    transform: translateY(-2px);
}

.form-section .form-control::placeholder {
    color: #6c757d !important;
    font-style: italic;
    font-weight: 400;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
    color: var(--text-light);
}

/* Cards - Updated for new design */
.card {
    background: linear-gradient(135deg, var(--card-bg), rgba(89, 9, 2, 0.9)) !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(242, 157, 53, 0.2);
    border-radius: 15px;
}

.card-header {
    border-bottom: 2px solid var(--border-color) !important;
    background: linear-gradient(45deg, #F29D35, #F25922) !important;
    color: #401902 !important;
    font-weight: bold;
    border-radius: 13px 13px 0 0 !important;
}

/* Form Controls - Keep existing dark theme for navbar and modals */
.form-control:not(.form-section .form-control), 
.form-select:not(.form-section .form-select) {
    background: var(--input-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-light) !important;
}

.form-control:not(.form-section .form-control):focus, 
.form-select:not(.form-section .form-select):focus {
    background: var(--input-bg) !important;
    border-color: var(--primary-orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
    color: var(--text-light) !important;
}

.form-control:not(.form-section .form-control)::placeholder {
    color: #999 !important;
}

/* Labels */
.form-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Buttons */
.btn-warning {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    font-weight: 700;
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: var(--secondary-orange);
    border-color: var(--secondary-orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-outline-warning {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    border-width: 2px;
    font-weight: 700;
}

.btn-outline-warning:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

/* Validation States */
.form-section .is-valid {
    border-color: var(--success-green) !important;
}

.form-section .is-invalid {
    border-color: var(--error-red) !important;
}

.form-section .valid-feedback {
    color: var(--success-green) !important;
}

.form-section .invalid-feedback {
    color: var(--error-red) !important;
}

/* CURP Verification States */
.form-section .curp-verified {
    border-color: var(--success-green) !important;
    background: rgba(39, 174, 96, 0.1) !important;
}

.form-section .curp-duplicate {
    border-color: var(--error-red) !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.form-section .curp-verifying {
    border-color: var(--primary-orange) !important;
    background: rgba(230, 126, 34, 0.1) !important;
}

/* Keep existing validation for other elements */
.is-valid:not(.form-section .is-valid) {
    border-color: var(--success-green) !important;
}

.is-invalid:not(.form-section .is-invalid) {
    border-color: var(--error-red) !important;
}

.valid-feedback:not(.form-section .valid-feedback) {
    color: var(--success-green) !important;
}

.invalid-feedback:not(.form-section .invalid-feedback) {
    color: var(--error-red) !important;
}

/* CURP Verification States - Keep existing */
.curp-verified:not(.form-section .curp-verified) {
    border-color: var(--success-green) !important;
    background: rgba(39, 174, 96, 0.1) !important;
}

.curp-duplicate:not(.form-section .curp-duplicate) {
    border-color: var(--error-red) !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.curp-verifying:not(.form-section .curp-verifying) {
    border-color: var(--primary-orange) !important;
    background: rgba(230, 126, 34, 0.1) !important;
}

/* Alerts */
.alert-success {
    background: rgba(39, 174, 96, 0.2);
    border-color: var(--success-green);
    color: var(--text-light);
}

.alert-danger {
    background: rgba(231, 76, 60, 0.2);
    border-color: var(--error-red);
    color: var(--text-light);
}

.alert-warning {
    background: rgba(230, 126, 34, 0.2);
    border-color: var(--primary-orange);
    color: var(--text-light);
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Ticket Styles */
.ticket-container {
    background: linear-gradient(135deg, var(--card-bg) 0%, #2C3E50 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.ticket-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 2px,
        rgba(230, 126, 34, 0.05) 2px,
        rgba(230, 126, 34, 0.05) 4px
    );
    pointer-events: none;
}

.ticket-header {
    text-align: center;
    border-bottom: 2px dashed var(--primary-orange);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ticket-code {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    background: rgba(230, 126, 34, 0.1);
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed var(--primary-orange);
    text-align: center;
    margin: 10px 0;
    letter-spacing: 2px;
}

.qr-container {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin: 20px 0;
}

/* QR Fallback Styles */
.qr-fallback {
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    color: #6c757d;
}

.qr-fallback strong {
    color: var(--text-dark);
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: 1px;
}

.ticket-code-large {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-orange);
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid var(--primary-orange);
    margin: 10px 0;
    letter-spacing: 2px;
}

/* Check Icons */
.check-icon {
    color: var(--success-green);
    animation: checkPulse 0.6s ease-in-out;
}

.error-icon {
    color: var(--error-red);
    animation: errorShake 0.6s ease-in-out;
}

@keyframes checkPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .card {
        margin: 10px 0;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .ticket-container {
        margin: 10px 0;
        padding: 15px;
    }
    
    .qr-container {
        padding: 15px;
    }
}

/* Dark theme for modals */
.modal-content {
    background: var(--card-bg) !important;
    color: var(--text-light) !important;
}

.modal-header {
    border-bottom-color: var(--border-color) !important;
}

.modal-footer {
    border-top-color: var(--border-color) !important;
}

.btn-close {
    filter: invert(1);
}

/* Form validation animations */
.was-validated .form-control:valid,
.form-control.is-valid {
    animation: validPulse 0.3s ease-in-out;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    animation: invalidShake 0.3s ease-in-out;
}

@keyframes validPulse {
    0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.4); }
    100% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); }
}

@keyframes invalidShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive Design - Estilo Día de Muertos */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .header-card {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .header-card h1 {
        font-size: 2.2rem;
    }
    
    .form-section {
        padding: 30px 25px;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .info-card {
        margin-bottom: 30px;
    }
    
    .info-header {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .info-content {
        padding: 20px;
    }
    
    .btn-submit {
        padding: 16px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .header-card h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .header-card {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .btn-submit {
        padding: 16px;
        font-size: 1.1rem;
    }
}

/* Checkbox and radio custom styles */
.form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--card-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-orange);
}

/* === DEBUGGING FONT === */
/* Verificación visual de carga de fuente */
.font-test {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
    font-size: 2rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Asegurar que el título principal use Brastika */
.main-title, 
.container h1:first-child,
.festival-title {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Force all headings to use Brastika */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
}

/* === MEJORAS TIPOGRÁFICAS === */
/* FORZAR aplicación de Brastika a todos los títulos y elementos principales */
h1, h2, h3, h4, h5, h6,
.main-title,
.section-title,
.form-section h2,
.form-section h3,
.festival-title,
.btn,
.ticket-code,
.ticket-code-large,
.alert-heading,
.modal-title,
.card-title {
    font-family: 'Brastika', 'Brasika Display', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px;
}

/* Aplica Open Sans a todo el texto del cuerpo */
body,
p,
span,
label,
.form-label,
.form-control,
.form-select,
.form-check-label,
.btn-text,
.text-content,
input,
textarea,
select {
    font-family: 'Open Sans', Arial, sans-serif !important;
}

/* Jerarquía tipográfica mejorada con Brastika */
h1, .main-title {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-size: 3.5rem;
    font-weight: 900 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

h2, .section-title {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-size: 2.5rem;
    font-weight: 900 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

h3 {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-size: 1.8rem;
    font-weight: 900 !important;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

h4 {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-size: 1.4rem;
    font-weight: 900 !important;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

/* Estilos específicos para labels */
.form-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Estilos para inputs y selects */
.form-control,
.form-select {
    font-family: var(--font-body) !important;
    font-size: 1rem;
    line-height: 1.5;
}

/* Botones con tipografía consistente */
.btn {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

/* Códigos de boleto con mejor tipografía */
.ticket-code,
.ticket-code-large {
    font-family: 'Brastika', Impact, Arial Black, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Texto del cuerpo con mejor legibilidad */
p, .text-content {
    font-family: var(--font-body) !important;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* Texto importante con mejor peso */
.text-emphasis, strong, b {
    font-weight: 700;
}

/* Texto pequeño pero legible */
small, .small-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === ESTILOS RESPONSIVOS PARA TIPOGRAFÍA === */
@media (max-width: 768px) {
    h1, .main-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    h2, .section-title {
        font-size: 2rem;
        letter-spacing: 0.8px;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    .btn {
        font-size: 0.9rem;
        letter-spacing: 0.8px;
    }
    
    .ticket-code,
    .ticket-code-large {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    h1, .main-title {
        font-size: 2rem;
        letter-spacing: 0.8px;
    }
    
    h2, .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .ticket-code,
    .ticket-code-large {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* === FOOTER PRIVACY LINK === */
.privacy-link:hover {
    color: var(--color-white) !important;
    background: var(--color-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    text-decoration: none !important;
}