/* =========================
   Ganadores.css
   Imagen centrada y responsive
   ========================= */

:root {
    --brand-red: #c92d2a;
    --page-bg: #ffffff;
}

 RESET 
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background: var(--page-bg);
    overflow-x: hidden;
}

/* =========================
   HEADER
   ========================= */

.site-header {
    background: var(--brand-red);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    text-align: center;
}

.header-logo {
    height: 48px;
    max-width: 100%;
    display: inline-block;
}

/* =========================
   MAIN
   ========================= */

/*.login-container {
    padding: 24px 16px;
    width: 100%;
    margin: 0 auto;
}*/

/* =========================
   HERO
   ========================= */

/*.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}*/

/* CONTENEDOR PROPORCIONAL */
/*.hero-wrap {
    width: 100%;
    max-width: 420px;*/ /* desktop */
    /*aspect-ratio: 9 / 16;*/ /* 720 x 1280 */
    /*display: flex;
    justify-content: center;
    align-items: center;
}*/

/* IMAGEN */
/*.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;*/ /* NO recorta */
    /*display: block;
}*/

/* =========================
   BOTÓN
   ========================= */

/*.hero-cta {
    width: 100%;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    border: 3px solid #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    }*/

/* =========================
   RESPONSIVE
   ========================= */

/* Tablets */
/*@media (max-width: 768px) {
    .hero-wrap {
        max-width: 360px;
    }
}*/

/* Móviles */
/*@media (max-width: 480px) {
    .header-logo {
        height: 40px;
    }

    .hero-wrap {
        max-width: 100%;
    }

    .btn-primary {
        width: 100%;
        max-width: 320px;
    }
}*/

/* RESET BÁSICO */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}
*/
/* =========================
   HEADER
========================= */
/*.site-header {
    width: 100%;
    padding: 16px 24px;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    max-height: 50px;
    width: auto;
}*/

/* =========================
   MAIN CONTAINER
========================= */
.login-container {
    width: 100%;
    min-height: calc(100vh - 82px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   HERO
========================= */
.hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.hero-wrap {
    width: 100%;
    max-width: 720px; /* Tamaño ideal en desktop */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* IMAGEN RESPONSIVA */
.hero-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

/* =========================
   TABLETS
========================= */
@media (max-width: 1024px) {
    .hero-wrap {
        max-width: 600px;
    }
}

/* =========================
   CELULARES
========================= */
@media (max-width: 600px) {
    .site-header {
        padding: 12px 16px;
    }

    .header-logo {
        max-height: 40px;
    }

    .hero {
        padding: 16px;
    }

    .hero-wrap {
        max-width: 100%;
    }

    .hero-image {
        max-height: 85vh;
    }
}

