body {
    background-color: #ffb700;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100%;
    min-width: 100%;
}
a {
    color: rgb(0, 0, 0) !important;
}
a:hover {
    color: rgb(59, 46, 0) !important;
}
h1,
h2,
h3,
h4 {
    font-weight: 600 !important;
}
/* .ui.inverted.menu {
    background-color: #0f0f0f;
    border-radius: 0;
    display: inline-block;
    text-align: center;
} */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.788), rgba(0, 0, 0, 0.7));
    background-size: contain;
    margin: auto;
    border: none;
    padding: 35rem 2rem 2rem 2rem;
    text-align: center;
    align-content: center;
    color: white;
    position: relative;
    min-height: 10%;
    max-height: 60rem;
    height: 60rem;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1920px;
    height: 1080px;
    min-width: 25%;
    min-height: 25%;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
}
/**
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.788), rgba(0, 0, 0, 0.7)),
        url("src/LOGOS-12.png") no-repeat center center;
    background-size: contain;
    padding: 150px;
    display: flex;
    text-align: center;
    color: white;
}**/
.cta-button {
    margin-top: 30px;
    display: inline-block !important;
    text-size-adjust: 80%;
}
.column {
    display: inline-flex !important;
    justify-content: center !important;
    width: 100%;
}
.game-features {
    padding: 80px 0;
    background-color: oklab(16.842% 0 -0.00002);
    color: white;
}
.screenshot-section {
    padding: 80px 0;
    background-color: #1b1c1d;
}
.character-card {
    background: #ffffff !important;
    border-radius: 10px !important;
    transition: transform 0.3s;
}
.character-card:hover {
    transform: translateY(-15px);
}
.newsletter-form {
    background-color: #2c2d2e;
    padding: 30px;
    border-radius: 10px;
}
#ramonresize {
    margin: auto;
    padding: 70px;
}
#downloader {
    position-visibility: always;
    color: black !important;
    display: inline-flex;
}
#downloader:hover {
    color: white;
}
#downloader:visited {
    color: gray;
}
#trailer {
    color: #ffb700 !important;
}
#trailer:hover {
    color: black !important;
}
.column p {
    color: #ccc;
    line-height: 1.5;
}
/* Footer y columnas - Estilos mejorados */
.footer {
    background-color: #0f0f0f;
    color: white;
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    border-top: 2px solid #ff5722;
}

.ui.stackable.three.column.grid {
    display: flex;
    align-items: stretch; /* Asegura que todas las columnas tengan la misma altura */
}

.column.qr-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Asegura que todas las columnas ocupen toda la altura disponible */
    padding: 20px 15px; /* Añade padding consistente */
}

/* Encabezados consistentes */
.ui.inverted.header.footer {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.column.qr-column > p {
    flex-grow: 1; /* Hace que los párrafos ocupen el espacio disponible */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    min-height: 80px; /* Altura mínima para mantener consistencia */
}

.qr-container,
.logo-container-movilnet {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Alinea el contenido hacia abajo */
    flex-grow: 1;
    padding: 15px 0;
}

.qr-container img,
.logo-container-movilnet img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 10px;
}

.qr-container img:hover,
.logo-container-movilnet img:hover {
    transform: scale(1.05);
}

/* Ajustes responsivos */
@media (max-width: 767px) {
    .column.qr-column {
        margin: 1.5rem 0;
    }

    .ui.inverted.header.footer {
        min-height: auto;
        margin-bottom: 0.8rem;
    }

    .column.qr-column > p {
        min-height: auto;
        margin-bottom: 1rem;
    }
}
.nav-container {
    display: flex;
    min-width: 25%;
    flex-direction: column;
}
.custom-navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #1b1c1d;
    padding: 0 4rem;
    box-shadow: 0 0.3rem 5rem rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 100%;
    min-width: 100%;
    width: 100rem;
}

.nav-section {
    display: flex;
    flex: 1;
}

.nav-section.left {
    justify-content: flex-end;
    width: 10rem;
}

.nav-section.right {
    justify-content: flex-start;
    width: 10rem;
}

.logo-container {
    padding: 0 30px;
    display: flex;
    justify-content: center;
    max-width: 4rem;
}

.nav-item {
    color: #ffb700 !important;
    padding: 18px 20px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
}

.nav-item:hover {
    background-color: #ffb700ff !important;
    transform: translateY(-2px);
}

.nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #ffb700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::after {
    width: 70%;
}

.logo {
    height: 2rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(360deg);
}

.gallery-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 240ms ease;
    opacity: 0;
    -webkit-tap-highlight-color: transparent;
}

.gallery-overlay.open {
    display: flex;
    opacity: 1;
}

.gallery-inner {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-stage img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 300ms ease, opacity 300ms ease;
    will-change: transform, opacity;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    border-radius: 6px;
}

.gallery-close,
.gallery-prev,
.gallery-next {
    position: absolute;
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
    backdrop-filter: blur(4px);
}

.gallery-close { top: 18px; right: 18px; font-size: 2.2rem; padding: 6px 10px; z-index: 3; }
.gallery-prev { left: 8px; top: 50%; transform: translateY(15%); z-index: 2; }
.gallery-next { right: 8px; top: 50%; transform: translateY(15%); z-index: 2; }

.gallery-close:hover,
.gallery-prev:hover,
.gallery-next:hover { background: rgba(0,0,0,0.65); transform: scale(1.03); }

.gallery-caption {
    position: absolute;
    bottom: 18px;
    left: 18px;
    color: #fff;
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.gallery-counter {
    position: absolute;
    bottom: 18px;
    right: 18px;
    color: #fff;
    font-size: 0.95rem;
    opacity: 0.9;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* Make gallery items clickable and slightly scale on hover */
.gallery-item {
    cursor: zoom-in;
    transition: transform 160ms ease, box-shadow 160ms ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Responsive tweaks */
@media (max-width: 720px) {
    .gallery-inner { width: 100%; padding: 0 12px; }
    .gallery-close { font-size: 1.8rem; }
    .gallery-prev, .gallery-next { font-size: 1.6rem; padding: 8px 10px; }
    .gallery-caption, .gallery-counter { font-size: 0.85rem; }
}
