/* Colores de referencia actualizados:
    Negro Principal: #000000
    Negro Suave: #1a1a1a  
    Dorado Principal: #D4AF37
    Dorado Claro: #FFD700
    Dorado Oscuro: #B8860B
    Blanco: #FFFFFF
*/

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-padding-top: 95px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    line-height: 1.6;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding-top: 85px;
}

/* --- Estilos de la cabecera (Header) --- */
.header {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(26, 26, 26, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%
    ), url('https://sorteosjn.com/img/confeti.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    width: 100%;
    height: calc(100vh - 85px);
    
    position: relative;
    overflow: hidden;
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 0;
    z-index: 1;
    
    /* Elementos dorados decorativos */
    box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.1);
}

/* Overlay dorado sutil */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.header-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

.header-title-section {
    width: 100%;
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 0;
    z-index: 3;
}

.header-onlycars-logo-png {
    max-width: 60%;
    height: auto;
    margin-bottom: 30px;
    z-index: 3;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    
    animation: fadeInScale 1.5s ease-out forwards, elegantGlow 4s ease-in-out 1.5s infinite;
}

.header-main-text,
.header-year-text {
    display: none;
}

.principal-link {
    margin-top: 0;
    font-size: 1.2em;
    padding: 15px 40px;
    z-index: 3;
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4),
                0 0 30px rgba(255, 215, 0, 0.3);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.principal-link:hover {
    background: linear-gradient(45deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6),
                0 0 50px rgba(255, 215, 0, 0.5);
}

.header > .container {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    z-index: 2;
}

.header-main-image {
    display: none;
}

/* --- Estilos de la Navbar --- */
.navbar {
    border-top: 8px solid rgba(212, 175, 55, 0.8);
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.navbar-container {
    padding: 0 15px;
}

.navbar-brand-logo img {
    width: 300px;
    height: auto;
    max-height: 100px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.navbar-toggler {
    color: #D4AF37;
    border: 2px solid #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #FFD700;
}

.navbar-toggler i {
    font-size: 1.5em;
    color: #D4AF37;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.navbar-nav .nav-item .nav-link {
    padding: 15px 15px;
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1em;
    position: relative;

    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav .nav-item .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-item .nav-link:hover {
    color: #D4AF37 !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 100%;
}

.nav-link-menu {
    margin: 0;
    padding: 0;
}

.header-scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.9),
                0 0 20px rgba(212, 175, 55, 0.2);
}

/* --- Estilos generales de botones --- */
.learn-more-btn,
button {
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    color: #000000;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4),
                0 0 20px rgba(255, 215, 0, 0.3);
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.learn-more-btn::before,
button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.learn-more-btn:hover::before,
button:hover::before {
    left: 100%;
}

.learn-more-btn:hover,
button:hover {
    background: linear-gradient(45deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6),
                0 0 40px rgba(255, 215, 0, 0.5);
}

.btn-invert {
    background: linear-gradient(45deg, #1a1a1a 0%, #000000 100%) !important;
    color: #D4AF37 !important;
    border: 2px solid #D4AF37;
}

.btn-invert:hover {
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 100%) !important;
    color: #000000 !important;
    border-color: #FFD700;
}

/* --- Títulos de secciones --- */
.clients-section,
.blog-section,
.contact-section {
    padding-top: 80px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
}

.clients-title-section,
.blog-title-section,
.contact-title-section {
    margin-bottom: 40px;
}

.clients-subtitle {
    font-size: 1.3em;
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.clients-title,
.blog-title,
.contact-title {
    font-size: 3em;
    font-weight: 800;
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 15px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* --- Tarjetas de rifa (blog-post-card) --- */
.blog-post-card-container {
    padding: 15px;
}

.blog-post-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
    text-align: center;
    padding-bottom: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
}

.blog-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #B8860B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover::before {
    opacity: 1;
}

.blog-post-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(212, 175, 55, 0.4),
                inset 0 1px 0 rgba(212, 175, 55, 0.3);
}

.blog-post-icon.container-img-rifa {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.blog-post-icon.container-img-rifa::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.8));
    pointer-events: none;
}

.blog-post-icon.container-img-rifa img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-post-card:hover .blog-post-icon.container-img-rifa img {
    transform: scale(1.1);
}

.blog-post-title {
    font-size: 1.7em;
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: 700;
}

.blog-post-subtitle {
    font-size: 1.1em;
    color: #D4AF37;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.blog-post-card .learn-more-btn {
    margin-top: auto;
    display: inline-block;
    font-size: 1em;
    padding: 10px 25px;
}

/* --- Sección de Detalles de Rifa (Nueva) --- */
.raffle-details-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6),
                0 0 50px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(212, 175, 55, 0.1);
    padding: 40px;
    margin-top: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 60px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.raffle-details-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, transparent, #D4AF37, transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

.raffle-details-section h3 {
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8em;
    margin-bottom: 20px;
    margin-top: 30px;
    font-weight: 700;
}

.raffle-details-section h4 {
    color: #D4AF37;
    font-size: 1.4em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.raffle-ticket-selector {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.raffle-ticket-selector .ticket-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.raffle-ticket-selector .btn-ticket-minus,
.raffle-ticket-selector .btn-ticket-plus {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.raffle-ticket-selector .btn-ticket-minus:hover,
.raffle-ticket-selector .btn-ticket-plus:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.raffle-ticket-selector .ticket-quantity {
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.raffle-ticket-selector p {
    font-size: 1.2em;
    color: #CCCCCC;
    margin-top: 10px;
}

.btn-confirm-quantity,
.btn-confirm-purchase,
.btn-verify-ticket {
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 50%, #B8860B 100%);
    color: #000000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    font-size: 1.2em;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm-quantity:hover,
.btn-confirm-purchase:hover,
.btn-verify-ticket:hover {
    background: linear-gradient(45deg, #FFD700 0%, #D4AF37 50%, #B8860B 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}

.raffle-personal-data {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.raffle-personal-data .form-group {
    margin-bottom: 15px;
}

.raffle-personal-data .form-control {
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 12px 15px;
    border-radius: 8px;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #FFFFFF;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.raffle-personal-data .form-control::placeholder {
    color: #888888;
    opacity: 1;
}

.raffle-personal-data .form-control:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2),
                0 0 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.raffle-personal-data .form-control:hover:not(:focus) {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.raffle-personal-data .country-code {
    flex: 0 0 auto;
    width: auto;
    padding: 12px 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px 0 0 8px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.raffle-personal-data .country-code:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.raffle-personal-data .country-code:hover:not(:focus) {
    border-color: rgba(212, 175, 55, 0.6);
}

.raffle-personal-data .form-group.input-group input {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.raffle-payment-methods {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.raffle-payment-methods .payment-options {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.raffle-payment-methods .payment-option {
    cursor: pointer;
    padding: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.raffle-payment-methods .payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.raffle-payment-methods .payment-option:hover::before {
    left: 100%;
}

.raffle-payment-methods .payment-option img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.raffle-payment-methods .payment-option:hover img,
.raffle-payment-methods .payment-option.active img {
    filter: grayscale(0%) brightness(1.1);
}

.raffle-payment-methods .payment-option.active {
    border-color: #D4AF37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5),
                inset 0 0 20px rgba(212, 175, 55, 0.1);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
    transform: scale(1.05);
}

.raffle-payment-methods .payment-option:hover {
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
    transform: translateY(-3px);
}

.payment-details {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.1);
}

.payment-details .contact-text {
    color: #CCCCCC;
}

.payment-details .contact-text strong {
    color: #D4AF37;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.contact-text.link {
    overflow-x: auto;
    white-space: normal;
}

.raffle-payment-proof {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.raffle-payment-proof .form-control-file {
    margin-top: 10px;
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    background-clip: padding-box;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.raffle-payment-proof .form-control-file:focus {
    border-color: #D4AF37;
    outline: none;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
}

.raffle-payment-proof .form-control-file:hover:not(:focus) {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.raffle-payment-proof .form-check {
    margin-top: 15px;
    text-align: left;
}

.raffle-payment-proof .form-check-label {
    color: #CCCCCC;
    font-size: 0.9em;
}

.raffle-payment-proof .form-check-input {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.2em;
    height: 1.2em;
    border-radius: 4px;
    margin-top: 0.25em;
    margin-left: 0;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.raffle-payment-proof .form-check-input:checked {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    border-color: #D4AF37;
}

.raffle-payment-proof .form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-weight: bold;
    font-size: 0.9em;
}

.raffle-payment-proof .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
    outline: 0;
}

.raffle-confirm-consent {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.raffle-confirm-consent p {
    font-size: 0.9em;
    color: #CCCCCC;
    margin-top: 30px;
}

.raffle-confirm-consent a {
    color: #D4AF37;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.raffle-confirm-consent a:hover {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.raffle-ticket-verifier {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.raffle-ticket-verifier .form-control {
    margin-bottom: 15px;
}

.pagination-container {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-item .page-link {
    color: #D4AF37;
    border: 2px solid rgba(212, 175, 55, 0.5);
    margin: 0 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    font-weight: 600;
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    color: #000000;
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.contact-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
    font-size: 3em;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.contact-text {
    color: #CCCCCC;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.contact-text img {
    vertical-align: middle;
    margin-right: 10px;
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.contact-text.bank_name {
    font-weight: bold;
    color: #D4AF37;
    font-size: 1.3em;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.contact-text pre {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: #CCCCCC;
    white-space: pre-wrap;
}

.magic_button {
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    border: none;
    color: #000000;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.magic_button:hover {
    background: linear-gradient(45deg, #FFD700, #D4AF37);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.magic_button.copied {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #FFFFFF;
}

.payment-method-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.payment-method-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(212, 175, 55, 0.2);
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 380px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #B8860B);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-method-card:hover::before {
    opacity: 1;
}

.payment-method-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8),
                0 0 50px rgba(212, 175, 55, 0.4);
}

.payment-method-card .payment-logo img {
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.payment-method-card .contact-text {
    color: #CCCCCC;
    margin-bottom: 8px;
    font-size: 1em;
}

.payment-method-card .bank_name {
    font-size: 1.4em;
    font-weight: 700;
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.payment-method-card pre {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    line-height: 1.4;
    color: #CCCCCC;
    margin-bottom: 5px;
    white-space: pre-wrap;
}

.payment-method-card strong {
    display: block;
    margin-bottom: 8px;
    color: #D4AF37;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.payment-method-card .magic_button {
    vertical-align: middle;
    margin-left: 5px;
    font-size: 1.1em;
}

/* --- Footer --- */
.footer-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFFFFF;
    padding: 60px 0 30px;
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, #D4AF37, #FFD700, #B8860B);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
}

.footer-logo,
.footer-subsection {
    padding: 15px;
    flex: 1 1 23%;
    min-width: 250px;
}

.footer-logo-img {
    width: 200px;
    height: auto;
    margin-top: 10px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.footer-subsection-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.footer-susection-text {
    font-size: 0.9em;
    line-height: 1.8;
    color: #CCCCCC;
}

.footer-susection-text img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

.footer-subsection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-subsection-list li {
    margin-bottom: 12px;
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.footer-subsection-list li:hover {
    transform: translateX(5px);
}

.footer-subsection-list a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-subsection-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(45deg, #D4AF37, #FFD700);
    transition: width 0.3s ease;
}

.footer-subsection-list a:hover {
    color: #D4AF37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.footer-subsection-list a:hover::after {
    width: 100%;
}

.footer-social-media-icons-section {
    margin-top: 25px;
}

.footer-social-media-icon {
    color: #FFFFFF;
    font-size: 2em;
    margin-right: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social-media-icon:hover {
    color: #D4AF37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    transform: translateY(-3px);
}

.hidden {
    display: none !important;
}

.header-simple {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 25px 0;
    border-bottom: 3px solid #D4AF37;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.header-simple .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.header-simple .logo-rifas {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.header-simple .page-title {
    background: linear-gradient(45deg, #FFFFFF 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.footer-simple {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #FFFFFF;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9em;
    margin-top: 50px;
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

/* Media Queries */
@media (max-width: 991px) {
    body {
        padding-top: 75px;
    }

    .header {
        height: calc(80vh - 75px);
    }

    .header-main-text,
    .header-year-text {
        display: none;
    }

    .header-onlycars-logo-png {
        max-width: 80%;
    }

    .clients-slider .owl-carousel-clients .blog-post-card-container {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .navbar-collapse {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 15px 0;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 10px;
        margin-top: 10px;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }

    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .navbar-nav .nav-item {
        margin: 5px 10px;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 10px 15px;
        font-size: 1em;
        white-space: nowrap;
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    .navbar-nav .nav-item .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
    }

    .navbar-nav .learn-more-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo,
    .footer-subsection {
        text-align: center;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-subsection-list {
        display: inline-block;
        text-align: left;
    }

    .payment-method-card {
        max-width: 320px;
        margin: 0 auto 25px auto;
    }
    
    .payment-method-cards-container {
        gap: 25px;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 65px;
    }

    .header {
        height: calc(70vh - 65px);
    }
    
    .header-main-text,
    .header-year-text {
        display: none;
    }
    
    .header-onlycars-logo-png {
        max-width: 90%;
    }
    
    .clients-title,
    .blog-title,
    .contact-title {
        font-size: 2.2em;
    }
    
    .blog-post-title {
        font-size: 1.4em;
    }
    
    .header-subtitle {
        font-size: 1.2em;
    }
    
    .header-description {
        font-size: 1em;
    }

    .navbar-collapse {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 10px;
        margin-top: 8px;
    }

    .navbar-nav .nav-item {
        margin: 3px 5px;
    }
    
    .navbar-nav .nav-item .nav-link {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .raffle-details-section {
        padding: 25px;
        margin: 15px;
    }

    .raffle-payment-methods .payment-options {
        gap: 15px;
    }

    .raffle-payment-methods .payment-option {
        min-width: 100px;
        height: 70px;
        padding: 10px;
    }
}

/* Animaciones mejoradas */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes elegantGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) 
               drop-shadow(0 0 40px rgba(255, 215, 0, 0.3));
        transform: scale(1.02);
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
        transform: scale(1);
    }
}

/* Efecto de partículas doradas (opcional) */
@keyframes goldParticles {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0;
    }
}

.header-onlycars-logo-png {
    max-width: 60%;
    height: auto;
    margin-bottom: 30px;
    z-index: 3;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    
    animation: fadeInScale 1.5s ease-out forwards, elegantGlow 4s ease-in-out 1.5s infinite;
}

/* === LOGO DEL NAVBAR (más pequeño y sutil) === */
.navbar-brand-logo img.logo-rifas {
    width: 120px !important;  /* Reducido aún más */
    height: auto;
    max-height: none !important;  /* Sin restricción de altura para evitar aplastamiento */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)) !important;  /* Glow más sutil */
    transition: all 0.3s ease;
}

/* Hover sutil para el logo del navbar */
.navbar-brand-logo:hover img.logo-rifas {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    transform: scale(1.02);
}

/* === LOGO DEL NAVBAR (más pequeño y sutil) === */
.navbar-brand-logo img.logo-rifas {
    width: 120px !important;  /* Reducido aún más */
    height: auto;
    max-height: none !important;  /* Sin restricción de altura para evitar aplastamiento */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)) !important;  /* Glow más sutil */
    transition: all 0.3s ease;
}

/* Hover sutil para el logo del navbar */
.navbar-brand-logo:hover img.logo-rifas {
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    transform: scale(1.02);
}

/* === LOGO DEL HEADER CENTRAL (elegante pero más pequeño) === */
.header-onlycars-logo-png {
    max-width: 25% !important;  /* Reducido de 35% a 25% */
    height: auto;
    margin-bottom: 30px;
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)) !important;  /* Glow más controlado */
    
    /* Animación mejorada */
    animation: logoEntrance 2s ease-out forwards, logoFloating 4s ease-in-out 2s infinite;
}

/* Animación de entrada más dramática */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateY(180deg);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1) rotateY(90deg);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    }
}

/* Animación flotante continua */
@keyframes logoFloating {
    0% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    }
    25% {
        transform: translateY(-8px) scale(1.02);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    }
    50% {
        transform: translateY(0px) scale(1.01);
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 35px rgba(255, 215, 0, 0.2));
    }
    75% {
        transform: translateY(5px) scale(1);
        filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35));
    }
    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    }
}

/* Efecto hover para el logo central */
.header-onlycars-logo-png:hover {
    animation-play-state: paused;
    transform: scale(1.05) rotateZ(2deg);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 50px rgba(255, 215, 0, 0.4));
    transition: all 0.3s ease;
}

/* Animación más sutil para el logo central */
@keyframes subtleLogoGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
        transform: scale(1.01);
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
        transform: scale(1);
    }
}

/* === RESPONSIVE PARA LOGOS === */
@media (max-width: 991px) {
    /* Logo navbar en tablet */
    .navbar-brand-logo img.logo-rifas {
        width: 110px !important;
        max-height: none !important;  /* Sin restricción de altura */
    }
    
    /* Logo header en tablet */
    .header-onlycars-logo-png {
        max-width: 35% !important;
    }
}

@media (max-width: 767px) {
    /* Logo navbar en móvil */
    .navbar-brand-logo img.logo-rifas {
        width: 100px !important;
        max-height: none !important;  /* Sin restricción de altura */
        filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.2)) !important;
    }
    
    /* Logo header en móvil */
    .header-onlycars-logo-png {
        max-width: 45% !important;
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3)) !important;
    }
}

@media (max-width: 480px) {
    /* Para pantallas muy pequeñas */
    .navbar-brand-logo img.logo-rifas {
        width: 85px !important;
        max-height: none !important;  /* Sin restricción de altura */
    }
    
    .header-onlycars-logo-png {
        max-width: 55% !important;
    }
}

/* === AJUSTES ADICIONALES AL NAVBAR === */
.navbar {
    padding: 10px 0 !important;  /* Navbar más compacto */
}

.navbar-container {
    padding: 0 15px;
}

/* === LOGO DEL FOOTER === */
.footer-logo-img {
    width: 160px !important;  /* Ajustado también */
    height: auto;
    margin-top: 10px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

/* === HEADER CON IMAGEN DE FONDO (opacidad reducida) === */
.header {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,     /* Reducido de 0.9 a 0.4 */
        rgba(26, 26, 26, 0.3) 50%, /* Reducido de 0.8 a 0.3 */
        rgba(0, 0, 0, 0.4) 100%    /* Reducido de 0.9 a 0.4 */
    ), url('https://sorteosjn.com/img/confeti.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    width: 100%;
    height: calc(100vh - 85px);
    
    position: relative;
    overflow: hidden;
    
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 0;
    z-index: 1;
    
    /* Elementos dorados decorativos más sutiles */
    box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.05); /* Reducido de 0.1 a 0.05 */
}

/* Overlay dorado más sutil */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%); /* Reducido de 0.08 a 0.03 */
    pointer-events: none;
    z-index: 1;
}

/* === ARREGLOS PARA RESPONSIVE === */

/* Logo del navbar en responsive */
@media (max-width: 991px) {
    .navbar-brand-logo img.logo-rifas {
        width: 90px !important; /* Más pequeño en tablet */
        max-height: none !important;
    }
    
    .header-onlycars-logo-png {
        max-width: 30% !important; /* Logo central más pequeño */
    }
    
    /* Navbar collapse mejorado */
    .navbar-collapse {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 15px 10px;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 10px;
        margin-top: 10px;
        border: 1px solid rgba(212, 175, 55, 0.3);
    }
    
    /* Mejorar visibilidad del menú */
    .navbar-nav .nav-item .nav-link {
        padding: 8px 12px;
        font-size: 0.95em;
        white-space: nowrap;
        color: #FFFFFF !important;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-item .nav-link:hover {
        background: rgba(212, 175, 55, 0.1);
        color: #D4AF37 !important;
    }
}

@media (max-width: 767px) {
    .navbar-brand-logo img.logo-rifas {
        width: 80px !important; /* Aún más pequeño en móvil */
        max-height: none !important;
        filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.2)) !important;
    }
    
    .header-onlycars-logo-png {
        max-width: 40% !important; /* Logo central ajustado para móvil */
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3)) !important;
    }
    
    /* Navbar más compacto en móvil */
    .navbar {
        padding: 8px 0 !important;
    }
    
    .navbar-collapse {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 10px;
        margin-top: 8px;
    }

    .navbar-nav .nav-item {
        margin: 2px 4px;
    }
    
    .navbar-nav .nav-item .nav-link {
        padding: 6px 10px;
        font-size: 0.85em;
        color: #FFFFFF !important;
    }
    
    /* Asegurar que los textos sean visibles */
    .nav-link-menu {
        color: #FFFFFF !important;
        font-weight: 600;
        margin: 0;
        padding: 0;
    }
    
    .navbar-nav .nav-item .nav-link:hover .nav-link-menu {
        color: #D4AF37 !important;
    }
    
    /* Botón "Rifas Disponibles" más pequeño */
    .navbar-nav .learn-more-btn {
        padding: 6px 12px;
        font-size: 0.8em;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .navbar-brand-logo img.logo-rifas {
        width: 70px !important; /* Extra pequeño para pantallas muy pequeñas */
        max-height: none !important;
    }
    
    .header-onlycars-logo-png {
        max-width: 50% !important;
    }
    
    /* Menú más compacto para pantallas muy pequeñas */
    .navbar-nav .nav-item .nav-link {
        padding: 5px 8px;
        font-size: 0.8em;
    }
    
    .navbar-nav .learn-more-btn {
        padding: 5px 10px;
        font-size: 0.75em;
    }
}

/* === ASEGURAR VISIBILIDAD DEL TEXTO DEL MENÚ === */
.navbar-nav .nav-item .nav-link {
    color: #FFFFFF !important;
}

.navbar-nav .nav-item .nav-link .nav-link-menu {
    color: #FFFFFF !important;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:hover .nav-link-menu {
    color: #D4AF37 !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Botón del menú móvil mejorado */
.navbar-toggler {
    color: #D4AF37 !important;
    border: 2px solid #D4AF37 !important;
    background: rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    padding: 6px 10px;
}

.navbar-toggler:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: #FFD700 !important;
}

.navbar-toggler i {
    font-size: 1.2em;
    color: #D4AF37 !important;
}