/* Reset y configuración global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #FFE100;
    --primary-dark: #FFD000;
    --background-color: #000;
    --text-color: #fff;
    --secondary-bg: #222;
    --tertiary-bg: #333;
    --error-color: #FF6B6B;
    --success-color: #4BB543;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

/* Encabezado */
header {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.logo {
    max-width: 150px;
    margin-bottom: 1rem;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 225, 0, 0.5);
}

.header-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 225, 0, 0.3);
}

.featured-image {
    width: 100%;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.featured-image:hover {
    transform: scale(1.02);
}

.section-title {
    margin: 1.5rem 0;
    font-size: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Selector de tickets */
.ticket-selector {
    margin: 1.5rem 0;
    background-color: rgba(255, 225, 0, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Para los botones de +10/-10 */
.counter-btn.large-increment {
    font-size: 0.9rem;
    padding: 0 5px;
    width: auto;
}

.counter-btn.large-increment i {
    margin-right: 2px;
}

.ticket-selector-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    font-weight: 600;
}

.ticket-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    gap: 15px;
}

.counter-btn {
    background-color: var(--primary-color);
    border: none;
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.counter-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

        /* Estilos para el botón de WhatsApp */
        .whatsapp-btn {
            display: block;
            background-color: #25D366;
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 12px;
            border-radius: 25px;
            margin: 15px auto;
            text-decoration: none;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
            width: 100%;
            font-size: 1.1rem;
        }
        
        .whatsapp-btn:hover {
            background-color: #128C7E;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }
        
        .whatsapp-btn i {
            margin-right: 8px;
        }
        
        /* Estilos para la información del desarrollador */
        .developer-credits {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #333 0%, #222 100%);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    border-bottom: 3px solid #FFE100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.developer-credits a {
    color: #FFE100;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
    transition: color 0.3s;
    display: inline-block;
}



.contact-note {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: normal;
}
        
        /* Estilo para el mensaje de números aleatorios */
        .random-numbers-message {
            text-align: center;
            margin: 10px 0;
            padding: 10px;
            background-color: rgba(255, 225, 0, 0.1);
            border-radius: 8px;
            font-size: 0.9rem;
            color: #FFE100;
            font-weight: 500;
        }

.counter-display {
    flex-grow: 0;
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-color);
    min-width: 60px;
    font-weight: 600;
}

.ticket-price-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 225, 0, 0.3);
}

.price-per-ticket, .total-price {
    font-size: 1rem;
}

.total-price {
    font-weight: bold;
    color: var(--primary-color);
}

/* Sección de pagos */
.payment-section {
    margin-top: 2rem;
}

.currency-tabs {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.currency-tab {
    flex-grow: 1;
    text-align: center;
    padding: 0.8rem;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    cursor: pointer;
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.currency-tab.active {
    background-color: var(--tertiary-bg);
    border-top: 3px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}

.currency-tab:hover:not(.active) {
    background-color: #2a2a2a;
}

.currency-details {
    background-color: var(--tertiary-bg);
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.account-info {
    background-color: var(--secondary-bg);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 225, 0, 0.1);
}

.account-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.account-detail {
    margin-bottom: 0.8rem;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 225, 0, 0.3);
}

.total-transfer-box {
    background-color: #FFE100;
    color: #000;
    font-weight: bold;
    padding: 15px;
    margin: 15px 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
}

.total-transfer-box .total-amount {
    font-size: 1.5rem;
    margin-top: 5px;
    display: block;
}

.total-transfer-box:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Sección del formulario */
.form-section {
    background-color: rgba(255, 225, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(34, 34, 34, 0.7);
    border: none;
    border-bottom: 1px solid var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s;
}

.form-group input::placeholder {
    color: #999;
}

.form-group input:focus {
    outline: none;
    border-bottom: 1px solid #fff;
    background-color: rgba(34, 34, 34, 0.9);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.file-upload-container {
    margin-bottom: 2rem;
}

.file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    background-color: rgba(34, 34, 34, 0.7);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    border: 1px dashed var(--primary-color);
    transition: all 0.3s;
}

.file-upload:hover {
    background-color: rgba(34, 34, 34, 0.9);
    border-color: #fff;
}

.file-upload i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 10px;
}

.file-upload-text {
    color: var(--primary-color);
    font-size: 1rem;
}

.file-preview {
    margin-top: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-content {
    max-width: 100%;
    margin-bottom: 10px;
}

.preview-content img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

.file-name {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 10px;
}

.remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-file:hover {
    background-color: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 225, 0, 0.4);
}

.form-messages {
    margin-top: 1rem;
}

.success-message {
    background-color: rgba(75, 181, 67, 0.2);
    color: var(--success-color);
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid var(--success-color);
    display: none;
}

#form-error {
    background-color: rgba(255, 107, 107, 0.2);
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid var(--error-color);
    display: none;
}

/* Footer */
.footer {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 225, 0, 0.2);
    font-size: 0.9rem;
    color: #888;
}

/* Animaciones */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

/* Estilos para modo mantenimiento */
.maintenance-container {
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.maintenance-content {
    background-color: var(--secondary-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 225, 0, 0.3);
}

.maintenance-icon {
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.maintenance-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.maintenance-content p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.maintenance-contact {
    margin-top: 30px;
}

.maintenance-btn {
    margin-top: 20px;
    display: inline-block;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .counter-btn {
        width: 36px;
        height: 36px;
    }
    
    .counter-display {
        font-size: 1.5rem;
    }
    
    .currency-tab {
        padding: 0.6rem 0.3rem;
        font-size: 0.9rem;
    }
    
    .form-title {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
    }
}