:root {
    --color-blue-primary: #3B2A60;
    --color-orange-accent: #F9A01B;
    --color-green-success: #0F8645;
    --color-dark-text: #000000;
    --color-light-text: #FFFFFF;
    --color-bg-light: #FFFFFF;
    --color-bg-white: #FFFFFF;
    --font-main: 'Arial', system-ui, -apple-system, sans-serif;
    --transition-default: all 0.3s ease;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', system-ui, -apple-system, sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

.protected-image {
    position: relative;
}

.protected-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.main-header {
    background-color: #3B2A60;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}

.brand-logo {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 1px;
    padding-left: 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    padding-right: 2rem;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.85;
}

.main-nav a.active {
    border-bottom: 2px solid #F9A01B;
    padding-bottom: 4px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 1.5rem;
    padding-right: 2rem;
}

.hero-composite-section {
    margin-top: 80px;
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-weight: bold;
    overflow: hidden;
}

.hero-full-banner {
    width: 100%;
    height: auto;
    display: block;
}

.invisible-interactive-btn {
    position: absolute;
    left: 10.45%;
    top: 59.4%;
    width: 25.5%;
    height: 9.2%;
    color: transparent;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.invisible-interactive-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 12px rgba(15, 134, 69, 0.3);
}

.proyecto-section {
    position: relative;
    color: #FFFFFF;
    width: 100%;
    overflow: hidden;
}

.proyecto-section .bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.proyecto-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    padding: 0 2rem;
    width: 100%;
    z-index: 1;
}

.proyecto-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.proyecto-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.interactiva-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.interactiva-section .bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.interactiva-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    padding: 0 2rem;
    z-index: 1;
}

.interactiva-space-holder {
    display: block;
}

.interactiva-text-box {
    background-color: transparent;
    padding: 0;
    color: #FFFFFF;
}

.interactiva-text-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.interactiva-subtext {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
    margin-top: 0.5rem;
    max-width: 500px;
    line-height: 1.4;
}

.lsc-composite-section {
    background-color: #FFFFFF;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.lsc-banner-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 1000 / 535;
    overflow: hidden;
}

.lsc-full-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lsc-interactive-btn {
    position: absolute;
    left: 10.5%;
    top: 68%;
    width: 26%;
    height: 10%;
    color: transparent;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    border-radius: 8px;
    z-index: 10;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.lsc-interactive-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(15, 134, 69, 0.4);
}

.games-section {
    margin-top: 80px;
    background-color: #F9F9F9;
}

.games-header {
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.games-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000000;
}

.games-header p {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 420px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.card-green {
    background-color: #0F8645;
}

.card-orange {
    background-color: #F9A01B;
}

.card-blue {
    background-color: #3B2A60;
}

.card-info h2 {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    text-align: left;
}

.btn-jugar {
    display: inline-block;
    padding: 0.5rem 1.75rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.card-green .btn-jugar,
.card-blue .btn-jugar {
    background-color: #F9A01B;
    color: #000000;
}

.card-orange .btn-jugar {
    background-color: #0F8645;
    color: #FFFFFF;
}

.btn-jugar:hover {
    opacity: 0.9;
}

.card-icon-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 2rem;
}

.card-icon {
    width: 130px;
    height: 130px;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-green .card-icon {
    stroke: #F9A01B;
}
.card-orange .card-icon {
    stroke: #0F8645;
}
.card-blue .card-icon {
    stroke: #F9A01B;
}

.main-footer {
    background-color: #3B2A60;
    color: #FFFFFF;
    padding: 4rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h4 {
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 0.6rem;
    display: block;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    opacity: 0.75;
}

@media (max-width: 950px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .menu-icon {
        display: block;
    }
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #3B2A60;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        padding-right: 0;
    }
    .menu-toggle:checked~.main-nav {
        max-height: 300px;
    }
    .main-nav a.active {
        border-bottom: none;
        color: #F9A01B;
    }
    .proyecto-content-wrapper {
        padding: 0 1rem;
    }
    .proyecto-section h2 {
        font-size: 2.2rem;
    }
    .proyecto-section p {
        font-size: 1.1rem;
    }
    .interactiva-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
        padding: 0 1rem;
    }
    .interactiva-space-holder {
        display: none;
    }
    .interactiva-text-box {
        padding: 0;
    }
    .interactiva-text-box h3 {
        font-size: 2rem;
    }
    .interactiva-subtext {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 650px) {
    .games-header h1 {
        font-size: 2.2rem;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .game-card {
        min-height: 380px;
    }
}

.faq-container {
    background-color: #FFFFFF;
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 3rem 2.5rem;
    border-radius: 24px;
}

.faq-container h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #000000;
}

.faq-container .subtitle {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background-color: #0F8645;
    color: #FFFFFF;
    margin-bottom: 15px;
    border-radius: 50px;
    padding: 18px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    background-image: url('../assets/Line1.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 4px;
    position: absolute;
    left: 25px;
    top: 22px;
    bottom: 22px;
    transition: all 0.3s ease;
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1.15rem;
    width: 100%;
    padding-left: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '';
    background-image: url('../assets/Down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 35px;
    height: 35px;
    display: block;
    margin-left: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item[open] summary::after {
    background-image: url('../assets/Up.png');
}

.faq-item .answer {
    background-color: #FFFFFF;
    color: #000000;
    padding: 20px;
    margin-top: 15px;
    border-radius: 12px;
    line-height: 1.6;
    cursor: default;
}

.faq-item[open] .answer {
    animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .faq-container {
        padding: 2rem 1rem;
    }
    .faq-item {
        padding: 15px 20px;
    }
    .faq-item::before {
        left: 15px;
        top: 17px;
    }
    .faq-item summary {
        padding-left: 15px;
        font-size: 1.05rem;
    }
}

.puntajes-container {
    max-width: 800px;
    margin: 100px auto 40px;
    padding: 0 20px;
}
.puntajes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.puntajes-table th {
    background: #3B2A60;
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
}
.puntajes-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #eef2f5;
}
.puntajes-table tr:last-child td {
    border-bottom: none;
}
.puntaje-valor {
    font-weight: 700;
    color: #F9A01B;
    font-size: 1.2rem;
}
.btn-volver {
    display: inline-block;
    background: #F9A01B;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.btn-volver:hover {
    background: #e08e0b;
}
.mensaje-vacio {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    padding: 40px 0;
}
.titulo-puntajes {
    color: #3B2A60;
    font-size: 2.2rem;
}
.centrado-margen {
    margin-top: 30px;
    text-align: center;
}

.auth-section {
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.auth-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.auth-section input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
}
.auth-section button {
    width: 100%;
    padding: 14px;
    background: #3B2A60;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.auth-section button:hover {
    background: #083f7a;
}
.alert {
    padding: 12px 18px;
    border-radius: 12px;
    margin: 1rem auto;
    max-width: 420px;
    text-align: center;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert a {
    color: #0056b3;
    text-decoration: underline;
}

.nav-usuario-saludo {
    color: white;
    padding: 5px 15px;
}
.nav-mis-puntajes {
    color: white;
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;
}
.nav-btn-logout {
    background: #e74c3c;
    padding: 5px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}
.nav-btn-login {
    background: #F9A01B;
    padding: 5px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}
.nav-btn-registro {
    border: 1px solid white;
    padding: 5px 15px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

@media (max-width: 480px) {
    .hero-banner-container {
        aspect-ratio: auto;
        min-height: 40vh;
    }
    .hero-full-banner {
        height: 100%;
        min-height: 40vh;
        object-fit: cover;
    }
    .proyecto-content-wrapper {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 12px;
        padding: 1rem;
        width: 90%;
    }
    .proyecto-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .proyecto-section p {
        font-size: 1rem;
        text-align: center;
    }
    .interactiva-grid {
        padding: 0 1rem;
    }
    .interactiva-text-box {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 12px;
        padding: 1rem;
        width: 90%;
        margin: 0 auto;
    }
    .interactiva-text-box h3 {
        font-size: 1.6rem;
        text-align: center;
    }
    .interactiva-subtext {
        font-size: 1rem;
        max-width: 100%;
        text-align: center;
    }
    .lsc-banner-container {
        aspect-ratio: auto;
        min-height: 40vh;
        width: 100%;
        overflow: hidden;
    }
    .lsc-full-banner {
        height: 100%;
        min-height: 40vh;
        width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
    .container {
        padding: 0 1rem;
    }
    .section-padding {
        padding: 2rem 0;
    }
    .games-header h1 {
        font-size: 1.8rem;
    }
    .games-header p {
        font-size: 1rem;
    }
    .game-card {
        min-height: 300px;
        padding: 1.5rem;
    }
    .card-info h2 {
        font-size: 1.4rem;
    }
    .btn-jugar {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
    }
    .main-footer {
        padding: 2rem 0 1rem 0;
    }
    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .footer-column h4 {
        font-size: 1rem;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-logo {
        font-size: 1.6rem;
    }
    .auth-section {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    .auth-section h2 {
        font-size: 1.4rem;
    }
    .auth-section input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    .auth-section button {
        font-size: 1rem;
        padding: 12px;
    }
    .alert {
        font-size: 0.9rem;
        padding: 10px 12px;
        margin: 0.5rem auto;
    }
    .puntajes-container {
        margin: 80px auto 20px;
        padding: 0 10px;
    }
    .puntajes-table th,
    .puntajes-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    .puntaje-valor {
        font-size: 1rem;
    }
    .btn-volver {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .titulo-puntajes {
        font-size: 1.6rem;
    }
    .faq-container {
        padding: 1.5rem 1rem;
        margin: 100px auto 30px;
    }
    .faq-container h1 {
        font-size: 2rem;
    }
    .faq-container .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .faq-item {
        padding: 12px 16px;
    }
    .faq-item summary {
        font-size: 0.95rem;
        padding-left: 12px;
    }
    .faq-item summary::after {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    .faq-item .answer {
        padding: 15px;
        font-size: 0.9rem;
    }
    .faq-item::before {
        left: 15px;
        top: 15px;
        bottom: 15px;
    }
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-info .btn-jugar {
    align-self: flex-start;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.card-info img {
    align-self: center;
    margin-top: auto;
}

.brand-logo {
    padding-left: 0;
}