:root {
    --rojo-pasion: #E13030;
    --negro: #000;
    --blanco: #FFF;
    --gris-oscuro: #1a1a1a;
    --overlay: rgba(0, 0, 0, 0.75);
    --descuento: #4CAF50;
    --verde-oscuro: #2E7D32;
    --azul-confianza: #1976D2;
    --gris-input: #2a2a2a;
    --gris-borde: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: var(--negro);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.active {
    opacity: 1;
    visibility: visible;
}

.preloader-content {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding: 0 15px;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #E13030;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.index-body {
    background: url('../img/background.jpg') center/cover no-repeat fixed;
}

body.index-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: -1;
}

body.form-body {
    background: url('../img/background.jpg') center/cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

body.form-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: -1;
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    z-index: 1;
}

.logo-container {
    margin-bottom: 25px;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 3px solid var(--rojo-pasion);
    box-shadow: 0 0 20px rgba(225, 48, 48, 0.5);
    position: relative;
}

.logo {
    max-width: 140px;
    height: auto;
}

.partner-logo {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 80px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--blanco);
    background: var(--blanco);
    padding: 5px;
}

h1 {
    font-size: 2.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    line-height: 1.2;
}

.subheadline {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 25px;
    max-width: 95%;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.discount-badge {
    background: linear-gradient(135deg, var(--descuento), var(--verde-oscuro));
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    margin: 15px 0;
    display: inline-block;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
    width: 90%;
    max-width: 350px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 48, 48, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(225, 48, 48, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(225, 48, 48, 0); }
}

.contador {
    background: var(--rojo-pasion);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 20px 0;
    display: inline-block;
    animation: pulse 2s infinite;
    width: 90%;
    max-width: 350px;
}

.promo-section {
    background: rgba(76,175,80,0.1);
    padding: 25px 20px;
    margin: 0 auto 30px;
    border-radius: 10px;
    border: 2px dashed var(--descuento);
    max-width: 95%;
}

.promo-title {
    color: var(--descuento);
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
}

.promo-section p {
    font-size: 1.1rem;
    margin: 12px 0;
    padding-left: 10px;
    text-align: left;
}

.promo-highlight {
    color: var(--descuento);
    font-weight: bold;
}

.testimonios {
    background: rgba(26,26,26,0.85);
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
    max-width: 95%;
    margin: 0 auto 30px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.trust-seals {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    text-align: center;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 95%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-title {
    color: var(--blanco);
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sellos-confianza {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0;
}

.sello-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 150px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sello-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.sello-img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.sello-item p {
    font-size: 0.9rem;
    color: var(--blanco);
    font-weight: 500;
    margin: 0;
}

.site-footer {
    background: rgba(0,0,0,0.9);
    padding: 25px 15px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--blanco);
    background: var(--blanco);
    padding: 5px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--rojo-pasion);
}

.site-footer p {
    color: #777;
    font-size: 0.85rem;
    margin: 8px 0;
}

.event-info {
    background: rgba(0,0,0,0.4);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 15px 0;
    width: 90%;
    max-width: 350px;
}

.event-info p {
    margin: 8px 0;
    text-align: center;
}

.price-comparison-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    width: 90%;
    max-width: 350px;
}

.price-original-comparison {
    text-decoration: line-through;
    color: #aaa;
    font-size: 1.1rem;
}

.price-discounted-comparison {
    color: var(--descuento);
    font-size: 1.3rem;
    font-weight: bold;
}

.artist-info {
    background: rgba(0,0,0,0.7);
    padding: 25px 20px;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 95%;
    text-align: center;
}

.artist-info h2 {
    color: var(--rojo-pasion);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.artist-details p {
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.6;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-style: italic;
    border-left: 3px solid var(--rojo-pasion);
}

.testimonios h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--blanco);
    text-align: center;
}

.payment-methods {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-methods h4 {
    margin-bottom: 15px;
    color: var(--blanco);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons svg {
    background: white;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-section {
    background: rgba(0,0,0,0.7);
    padding: 25px 20px;
    margin: 30px auto;
    border-radius: 10px;
    max-width: 95%;
}

.faq-section h2 {
    color: var(--blanco);
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h3 {
    color: var(--rojo-pasion);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #ccc;
    line-height: 1.5;
}

.footer-note {
    font-size: 0.75rem;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

/* Estilos para formularios */
.form-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(225, 48, 48, 0.5);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--blanco);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gris-borde);
    border-radius: 5px;
    background: var(--gris-input);
    color: var(--blanco);
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--rojo-pasion);
    box-shadow: 0 0 5px rgba(225, 48, 48, 0.5);
}

.cta-btn {
    background: var(--rojo-pasion);
    color: var(--blanco);
    border: none;
    padding: 16px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(225, 48, 48, 0.4);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.5s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    width: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 48, 0.6);
}

.cta-btn:disabled {
    background: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cta-btn:disabled:hover::before {
    width: 0;
}

.subtitle {
    color: #ccc;
    margin-bottom: 20px;
}

.price-comparison {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    color: var(--blanco);
}

.original-price {
    text-decoration: line-through;
    color: #aaa;
}

.discounted-price {
    color: var(--descuento);
    font-weight: bold;
    font-size: 1.2em;
}

.security-note {
    margin-top: 20px;
    font-size: 0.8em;
    color: #aaa;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--blanco);
}

/* Estilos para la página de confirmación */
.confirmation-container {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(225, 48, 48, 0.5);
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 50px auto;
}

.success-icon {
    font-size: 4rem;
    color: var(--descuento);
    margin-bottom: 20px;
}

.highlight {
    color: var(--descuento);
    font-weight: bold;
}

.purchase-summary {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.discount-saved {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--descuento);
}

.next-steps {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.next-steps p {
    margin-bottom: 10px;
}

/* Estilos responsivos */
@media (max-width: 767px) {
    .sellos-confianza {
        gap: 15px;
    }
    
    .sello-item {
        min-width: 130px;
        padding: 10px;
    }
    
    .sello-img {
        width: 50px;
        height: 50px;
    }
    
    .artist-info, .faq-section {
        padding: 20px 15px;
    }
    
    .payment-icons {
        gap: 10px;
    }
    
    .payment-icons svg {
        width: 35px;
        height: 22px;
    }
    
    body.form-body {
        padding: 10px;
        align-items: flex-start;
        padding-top: 30px;
    }
    
    .form-container {
        padding: 20px 15px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    .confirmation-container {
        padding: 20px 15px;
        margin: 20px auto;
    }
}

@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.discount-badge {
    animation: highlight 2s infinite;
}

@media (min-width: 768px) {
    .logo-container {
        width: 220px;
        height: 220px;
    }

    .logo {
        max-width: 170px;
    }

    .partner-logo {
        width: 90px;
        bottom: -25px;
        right: -25px;
    }

    h1 {
        font-size: 2.8rem;
    }

    .subheadline {
        font-size: 1.5rem;
    }

    .discount-badge {
        font-size: 1.2rem;
        padding: 12px 25px;
    }

    .contador {
        font-size: 1.2rem;
        padding: 15px 25px;
    }

    .cta-btn {
        padding: 18px 40px;
        font-size: 1.3rem;
    }

    .promo-title {
        font-size: 1.8rem;
    }
    
    .footer-links a {
        font-size: 1rem;
    }
    
    .site-footer p {
        font-size: 0.9rem;
    }

    .footer-partner-logo {
        max-width: 150px;
    }
    
    .sellos-confianza {
        gap: 40px;
    }
    
    .sello-item {
        min-width: 180px;
    }
    
    .sello-img {
        width: 70px;
        height: 70px;
    }
}

@media (min-width: 992px) {
    .logo-container {
        width: 250px;
        height: 250px;
    }

    .logo {
        max-width: 200px;
    }

    .partner-logo {
        width: 100px;
    }

    h1 {
        font-size: 3.2rem;
    }
    
    .trust-seals {
        max-width: 900px;
    }
}