/* Estilo de scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(245, 137, 255, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(245, 137, 255, 0.7);
}

/* Animaciones y efectos visuales */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Aplicar animaciones a elementos */
.container, .game-details, .mods-section {
    animation: fadeIn 0.8s ease-out forwards;
}

.button-group {
    animation: fadeIn 1s ease-out 0.4s both;
}


/* Estilo general */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --color: rgba(253, 190, 241, 0.538);
    --accent-color: #4CAF50;
    --accent-hover: #45a049;
    --pink-accent: rgba(245, 137, 255, 0.76);
    --dark-bg: rgba(0, 0, 0, 0.473);
    background-color: #000;
    background-image: linear-gradient(0deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent),
        linear-gradient(90deg, transparent 24%, var(--color) 25%, var(--color) 26%, transparent 27%,transparent 74%, var(--color) 75%, var(--color) 76%, transparent 77%,transparent);
    background-size: 55px 55px;
    width: 100vw;
    overflow: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    line-height: 1.6;
}

/* Header simplificado */
.header {
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    text-align: center;
    padding: 20px;
    color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--pink-accent);
    position: relative;
}

.header h1 {
    margin: 0;
    font-size: 2.2em;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(245, 137, 255, 0.5);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
}

.header h1:hover {
    transform: scale(1.02);
    text-shadow: 0 0 15px rgba(245, 137, 255, 0.7);
}

/* Área principal del contenido */
.content {
    flex: 1; /* Esto hace que el contenido principal se expanda para llenar el espacio disponible */
    padding: 20px;
    text-align: center;
    color:#fff;
}



/* Contenedor principal */
.container {
    backdrop-filter: blur(8px);
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background-color: var(--dark-bg);
    border-style: dashed;
    border-color: var(--pink-accent);
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 137, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pink-accent), transparent);
    opacity: 0.7;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 137, 255, 0.3);
}

.container p, .container h2, .container h3, .container h4 {
    color: #fff;
    transition: color 0.3s ease;
}

.container h1 {
    color: var(--accent-color);
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.container h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-50%);
}
/* Imagen del juego optimizada */
.game-image {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    position: relative;
}

.game-image:hover {
    transform: scale(1.01);
}

/* Imagen de info */
.info-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 137, 255, 0.2);
    margin-bottom: 25px;
    transition: all 0.4s ease;
    filter: contrast(1.05);
}

.info-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(245, 137, 255, 0.4);
}


/* Botones */
.button-group {
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(76, 175, 80, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.button:hover::before {
    opacity: 1;
}

.button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.button-secondary {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.button-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pink-accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(245, 137, 255, 0.3);
}

.button-secondary:hover::after {
    opacity: 1;
}

.button-secondary:active {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.tabla-datos {
    width: 90%;
    max-width: 900px;
    margin: 25px auto;
    border-collapse: separate;
    border-spacing: 0;
    font-family: inherit;
    font-size: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(245, 137, 255, 0.2);
}

.tabla-datos th, .tabla-datos td {
    border: none;
    border-bottom: 1px solid rgba(245, 137, 255, 0.3);
    padding: 12px 15px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.tabla-datos tr:last-child td {
    border-bottom: none;
}

.tabla-datos thead {
    background-color: rgba(53, 22, 50, 0.8);
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 14px;
}

.tabla-datos thead th {
    padding: 15px;
    border-bottom: 2px solid var(--pink-accent);
}

.tabla-datos tbody tr:hover {
    background-color: rgba(245, 137, 255, 0.1);
}

.tabla-datos a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.tabla-datos a:hover {
    color: #fff;
    background-color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.tabla-datos .align-left {
    text-align: left;
}

.tabla-datos .highlight-row {
    color: var(--pink-accent);
}

/* Estilos para la sección de mods */
.mods-section {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 137, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.mods-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245, 137, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.mods-section h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8em;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.mods-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transform: translateX(-50%);
}

.mods-section h3 {
    color: var(--pink-accent);
    margin: 25px 0 15px;
    border-bottom: 1px solid rgba(245, 137, 255, 0.3);
    padding-bottom: 8px;
    font-size: 1.4em;
    display: flex;
    align-items: center;
}

.mods-section h3::before {
    content: '•';
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.5em;
}

.mods-section ul {
    list-style-type: none;
    padding-left: 25px;
    margin-bottom: 25px;
}

.mods-section li {
    margin-bottom: 18px;
    color: #fff;
    position: relative;
    padding-left: 20px;
    transition: transform 0.2s ease;
}

.mods-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    transition: transform 0.2s ease;
}

.mods-section li:hover {
    transform: translateX(5px);
}

.mods-section li:hover::before {
    transform: translateX(3px);
}

.mods-section strong {
    color: var(--pink-accent);
    font-weight: 600;
    margin-right: 5px;
}

.mods-section ol {
    padding-left: 25px;
    counter-reset: item;
    list-style-type: none;
}

.mods-section ol li {
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    padding-left: 30px;
    counter-increment: item;
}

.mods-section ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--accent-color);
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: bold;
}

.mod-download-btn {
    display: inline-block;
    margin: 8px 0;
    padding: 8px 15px;
    background: rgba(0, 182, 61, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mod-download-btn:hover {
    background: rgba(0, 255, 0, 0.9);
    color: white;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(0, 255, 0, 0.3);
}

.mod-download-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos para los detalles del juego */
.game-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 20px;
    position: relative;
}

.game-info,
.game-requirements {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 18px;
    padding: 25px;
    border: 1px solid var(--pink-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 137, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-info:hover,
.game-requirements:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 137, 255, 0.2);
}

.game-info::before,
.game-requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--pink-accent), transparent);
    opacity: 0.7;
}

.game-details h2 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.6em;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

.game-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.game-info:hover h2::after,
.game-requirements:hover h2::after {
    width: 80px;
}

.game-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.game-details li {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1em;
    padding: 8px 0;
    border-bottom: 1px solid rgba(245, 137, 255, 0.2);
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

.game-details li:last-child {
    border-bottom: none;
}

.game-details li:hover {
    transform: translateX(5px);
    padding-left: 5px;
}

.game-details strong {
    color: var(--pink-accent);
    margin-right: 10px;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(245, 137, 255, 0.3);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink-accent), transparent);
    opacity: 0.7;
}

.footer p {
    margin: 0;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer:hover p {
    color: #fff;
}

/* Estilos para dispositivos pequeños */
@media (max-width: 768px) {
    html, body {
        font-size: 15px;
    }

    .header {
        padding: 15px 10px;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .container {
        padding: 20px 15px;
        margin: 15px auto;
        border-radius: 25px;
    }

    .container h1 {
        font-size: 2em;
    }

    .game-image {
        margin-bottom: 20px;
    }

    .button-group {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .button, .button-secondary {
        width: 90%;
        padding: 12px 0;
        font-size: 15px;
    }

    .game-details {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
        margin-top: 25px;
    }

    .game-info, .game-requirements {
        padding: 20px 15px;
    }

    .game-details h2 {
        font-size: 1.4em;
    }

    .game-details li {
        font-size: 1em;
    }

    .tabla-datos {
        width: 100%;
        font-size: 14px;
    }

    .tabla-datos th, .tabla-datos td {
        padding: 8px 10px;
    }

    .mods-section {
        padding: 20px 15px;
    }

    .mods-section h2 {
        font-size: 1.5em;
    }

    .mods-section h3 {
        font-size: 1.2em;
    }
}

/* Estilos para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }

    .game-details {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .button-group {
        flex-wrap: wrap;
    }
}