/* ===================================
   CONFIGURACIÓN GENERAL
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ===================================
   FONDO DE ESTADIO (DESDE CSS)
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    /* Fondo para ESCRITORIO */
    background-image: url('../img/fondo-desktop.png');
   
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
}

/* Fondo para MÓVIL y TABLET */
@media (max-width: 991px) {
    .hero-section {
        background-image: url('../img/fondo-mobile.png');
        background-attachment: scroll;
        background-position: center top;
    }
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
    position: absolute;
   /*  min-height: 10vh; CAMBIAR: de 100vh a min-height */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: .5rem 0;
    background-color: #E5087E; /* Transparente al inicio */
    transition: all 0.4s ease;
}
.navbar-scrolled {
      position: fixed;
    background-color: #E5087E;
     padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.mattel-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
    padding: 5px;
}

.navbar-nav .nav-link {
    color: #ff69b4 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white !important; /* Color rosa Mattel */
}

/* Navbar móvil */
@media (max-width: 991px) {
    .navbar-collapse {
       
        padding: 1rem;
        
        margin-top: 1rem;
    }
    
    .mattel-logo {
        height: 40px;
    }
      .navbar {
        padding: 1rem 0;
    }
    
    .hero-section {
        padding-top: 100px; /* Menos espacio en móvil */
    }
    
    .navbar-scrolled {
        padding: 0.8rem 0;
    }
   
}

/* ===================================
   HERO CONTENT - CENTRADO CON AIRE
   =================================== */

.hero-content {
    position: relative;
    z-index: 10;
    padding: 60px 0 60px;
}

.hero-title-wrapper {
    /* Placeholder styling */
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
     padding-top: 10px;
      width: 100%;
}

.hero-title-img {
    max-width: 40%;
    height: auto;
    /* Placeholder */
    /* background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    border: 3px dashed rgba(255, 255, 255, 0.5); */
}

.hero-marcas-wrapper {
    /* Placeholder styling */
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-marcas-img {
    max-width: 70%;
    height: auto;
    /* Placeholder */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    border: 3px dashed rgba(255, 255, 255, 0.5);
}

.hero-main-img {
    max-width: 90%;
    height: auto;
    /* Placeholder */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    border: 3px dashed rgba(255, 255, 255, 0.5);
}

/* ===================================
   RESPONSIVE - MANTENER ESTRUCTURA
   =================================== */

/* Desktop grande - Se llena de aire a los lados */
@media (min-width: 1400px) {
    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
    }
     .hero-section {
        padding-top: 100px; /* Menos espacio en móvil/tablet */
        height: auto;
        min-height: 100vh;
    }
}
@media (min-width: 992px) {
    .hero-title-wrapper.desktop-only {
        display: flex;
        justify-content: center;
    }
}
/* Tablet */
@media (max-width: 991px) {
    .hero-content {
        padding: 100px 0 40px;
    }
    
    .hero-title-img {
        max-width: 40%;
    }
    
    .hero-marcas-img {
        max-width: 80%;
    }
     
}

/* Móvil - Todo en columna */
@media (max-width: 767px) {
    .hero-content {
        padding: 80px 0 30px;
    }
    
    .hero-title-img {
        max-width: 95%;
    }
    
    .hero-marcas-img {
        max-width: 90%;
    }
    
    .hero-main-img {
        max-width: 100%;
    }
    
}
/* ===================================
   FORMULARIO DE REGISTRO - HERO
   =================================== */

.registro-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.registro-tabs {
    border: none;
    margin-bottom: 25px;
    justify-content: center;
}

.registro-tabs .nav-link {
    border: none;
    color: #ff1493;
    font-weight: 600;
    padding: 12px 25px;
    background: #fce4ec;
    border-radius: 25px 25px 0 0;
    transition: all 0.3s ease;
}

.registro-tabs .nav-link.active {
    background: #ff1493;
    color: white;
}

.registro-tab-content {
    padding: 20px 0;
}

.form-control {
    border: 2px solid #ff69b4;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #ff1493;
    box-shadow: 0 0 0 0.2rem rgba(255, 105, 180, 0.25);
}

.upload-area {
    border: 3px dashed #ff69b4;
    border-radius: 15px;
    padding: 30px 20px;
    background: #fce4ec;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: #f8bbd9;
    border-color: #ff1493;
}

.upload-area i {
    font-size: 3rem;
    color: #ff1493;
}

.upload-area p {
    color: #ff1493;
    font-size: 0.9rem;
    margin-top: 10px;
}

.btn-participar {
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-participar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.consultar-tickets {
    color: #ff1493;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.consultar-tickets:hover {
    color: #ff69b4;
    text-decoration: underline;
}

/* ===================================
   RESPONSIVE - MÓVIL
   =================================== */

@media (max-width: 991px) {
    .hero-content {
        padding-top: 25px;
        padding-bottom: 60px;
    }
    
    .registro-card {
        padding: 30px 20px;
        border-radius: 20px;
        margin-top: 40px;
    }
    
    .registro-tabs .nav-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .upload-area {
        padding: 20px 15px;
    }
    
    .upload-area i {
        font-size: 2.5rem;
    }
    
    .btn-participar {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-title-img {
        max-width: 90%;
    }
    
    .registro-card {
        padding: 25px 15px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
/* ===================================
   MOSTRAR/OCULTAR SEGÚN DISPOSITIVO
   =================================== */

.desktop-only {
    display: block !important;
    text-align: left;
}

.mobile-only {
    display: none !important;
}

/* En móvil y tablet (≤991px): ocultar desktop, mostrar móvil */
@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* ===================================
   SECCIÓN ¿CÓMO PARTICIPAR? - FONDOS
   =================================== */

.como-participar-section {
    position: relative;
    padding: 120px 0;
    min-height: 600px;
    /* Fondo para ESCRITORIO */
    background-image: url('../img/fondo-como-participar-desktop.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Fondo para MÓVIL y TABLET */
@media (max-width: 991px) {
    .como-participar-section {
        background-image: url('../img/fondo-como-participar-mobile.png');
        background-size: cover;
        background-position: center top;
        padding: 125px 0;
        min-height: auto;
    }
}

/* ===================================
   HEADER DE LA SECCIÓN
   =================================== */

.como-participar-header {
    margin-bottom: 4rem;
    color: #003159;
}

.como-participar-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

/* ===================================
   IMÁGENES DE PARTICIPACIÓN
   =================================== */

.como-participar-imagenes {
    margin-top: 3rem;
}

.imagen-participar-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    /* Placeholder styling - quitar cuando pongas las imágenes */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    border: 3px dashed rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.imagen-participar-wrapper img {
    max-width:75%;
    height: auto;
    /* Placeholder */
    background: rgba(255, 255, 255, 0.3);
    
}
/* ===================================
   BOTÓN REGISTRA TICKET - SOLO MÓVIL
   =================================== */

.registra-ticket-wrapper {
    margin-top: 2rem;
}

.btn-registra-ticket {
    display: inline-block;
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 50px;
    border-radius: 16px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-registra-ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 51, 102, 0.5);
    color: white;
}

/* Ocultar en escritorio */
@media (min-width: 992px) {
    .registra-ticket-wrapper {
        display: none !important;
    }
}

/* Mostrar en móvil */
@media (max-width: 991px) {
    .registra-ticket-wrapper {
        display: block !important;
    }
    
    .btn-registra-ticket {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .btn-registra-ticket {
        padding: 10px 35px;
        font-size:  25px;
        width: 90%;
        max-width: 300px;
    }
}
/* ===================================
   RESPONSIVE - MÓVIL
   =================================== */

@media (max-width: 991px) {
    .como-participar-header {
        margin-bottom: 3rem;
    }
    
    .como-participar-title {
        font-size: 2rem;
    }
    
    .imagen-participar-wrapper {
        min-height: 250px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .como-participar-section {
        padding: 50px 0;
    }
    
    .como-participar-title {
        font-size: 1.6rem;
    }
    
    .imagen-participar-wrapper {
        min-height: 200px;
        border-radius: 15px;
    }
}

@media (max-width: 575px) {
    .como-participar-title {
        font-size: 1.4rem;
    }
    
    .imagen-participar-wrapper {
        min-height: 107px;
        padding: 15px;
    }
}

/* ===================================
   SECCIÓN PREMIOS - MISMO FONDO QUE CÓMO PARTICIPAR
   =================================== */

.premios-section {
    position: relative;
    padding: 80px 0;
    min-height: 600px;
    /* Mismo fondo que la sección ¿Cómo participar? */
    background-image: url('../img/fondo-como-participar-desktop.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Fondo para MÓVIL y TABLET */
@media (max-width: 991px) {
    .premios-section {
        background-image: url('../img/fondo-como-participar-mobile.png');
        background-size: cover;
        background-position: center top;
        padding: 60px 0;
        min-height: auto;
    }
}

/* ===================================
   HEADER DE PREMIOS
   =================================== */

.premios-header {
    margin-bottom: 4rem;
    color:#003159;
}

.premios-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

/* ===================================
   CARRUSEL DE PREMIOS
   =================================== */

.premios-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.carousel-inner {
    border-radius: 25px;
}

.carousel-item {
    padding: 20px;
}

/* ===================================
   TARJETA DE PREMIO
   =================================== */

.premio-card {
   
    border-radius:0px;
    padding: 40px 30px;
    text-align: center;
    color: #003159;
    /* box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2); */
}

.premio-imagen-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
   
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
   
}

.premio-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    /* Placeholder */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
}

.premio-info {
    padding: 0 20px;
    color: #003159;
}

.premio-lugar {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff1493;
}

.premio-descripcion {
    font-size: 1rem;
    line-height: 1.6;
    color: #003159;
    font-weight: 500;
    margin: 0;
}

/* ===================================
   CONTROLES DEL CARRUSEL
   =================================== */

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
}

.carousel-control-prev {
    left: -60px;
}

.carousel-control-next {
    right: -60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: #ff1493;
    border-radius: 50%;
    background-size: 25px 25px;
}

/* ===================================
   INDICADORES DEL CARRUSEL
   =================================== */

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ff1493;
    opacity: 1;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #ff69b4;
    transform: scale(1.2);
}

/* ===================================
   RESPONSIVE - MÓVIL
   =================================== */
@media (min-width: 992px) {
    .premio-card {
        display: flex;
        flex-direction: row; /* Lado a lado */
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 30px;
    }
    
    .premio-imagen-wrapper {
        margin: 0; /* Quitar margen auto */
        flex-shrink: 0; /* Evita que la imagen se encoja */
        width: 220px;
        height: 220px;
    }
    
    .premio-info {
        text-align: left; /* Texto alineado a la izquierda */
        padding: 0;
        flex: 1; /* Ocupa el espacio restante */
    }
    
    .premio-lugar {
        text-align: left;
    }
    
    .premio-descripcion {
        text-align: left;
    }
}







@media (max-width: 991px) {
    .premios-header {
        margin-bottom: 3rem;
        color:#003159;
    }
    
    .premios-title {
        font-size: 2rem;
    }
    
    .premios-carousel-wrapper {
        padding: 0 20px;
    }
    
    .premio-card {
        padding: 30px 20px;
    }
    
    .premio-imagen-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .premio-lugar {
        font-size: 1.8rem;
    }
    
    .premio-descripcion {
        font-size: 0.95rem;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .premios-section {
        padding: 50px 0;
    }
    
    .premios-title {
        font-size: 1.6rem;
    }
    
    .premio-card {
        padding: 25px 15px;
        border-radius: 20px;
    }
    
    .premio-imagen-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .premio-lugar {
        font-size: 1.5rem;
    }
    
    .premio-descripcion {
        font-size: 0.9rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
        background-size: 20px 20px;
    }
    
    .carousel-indicators {
        bottom: -30px;
    }
    
    .carousel-indicators button {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 575px) {
    .premios-title {
        font-size: 1.4rem;
    }
    
    .premio-card {
        padding: 20px 12px;
    }
    
    .premio-imagen-wrapper {
        width: 130px;
        height: 130px;
    }
    
    .premio-lugar {
        font-size: 1.3rem;
    }
    
    .premio-descripcion {
        font-size: 0.85rem;
    }
}

/* ===================================
   INDICADORES DEL CARRUSEL (PUNTOS)
   ===================================  */

.carousel-indicators {
    bottom: -50px; /* Posición vertical */
    margin-bottom: 0;
    z-index: 10;
}

.carousel-indicators [data-bs-target] {
    width: 12px; /* Ancho del punto */
    height: 12px; /* Alto del punto */
    border-radius: 50%; /* Redondos */
    border: none;
    background-color: #cccccc; /* Color gris (inactivo) */
    opacity: 1;
    margin: 0 6px; /* Espacio entre puntos */
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: #ff1493; /* Color rosa (activo) */
    transform: scale(1.3); /* Más grande cuando está activo */
}

/* ===================================
   RESPONSIVE - MÓVIL
   =================================== */

@media (max-width: 991px) {
    .carousel-indicators {
        bottom: -40px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }
}

@media (max-width: 767px) {
    .carousel-indicators {
        bottom: -35px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 575px) {
    .carousel-indicators {
        bottom: -30px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

