/*
Theme Name: Distorsion
Author: Abyss Chronicles
Description: Tema personalizado para el juego Distorsión.
Version: 1.0
*/


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #9B59B6;
    margin: 0;
    padding: 0;
}

/* ===================== */
/* HEADER */
/* ===================== */

header {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 270px;
    height: auto;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    font-size: 2.5rem;
    color: #9B59B6;
    text-shadow: 0px 0px 10px rgba(155, 89, 182, 0.8);
}

.header-text p {
    font-size: 1.2rem;
    color: #fff;
}

/* ===================== */
/* NAVEGACIÓN */
/* ===================== */

nav {
    background-color: #222;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid #9B59B6;
}

nav a {
    color: #9B59B6;
    text-decoration: none;
    font-weight: bold;
    margin: 0 15px;
    padding: 10px 15px;
    transition: 0.3s;
}

nav a:hover,
nav a:active {
    color: white;
    background-color: #9B59B6;
    border-radius: 5px;
}

/* ===================== */
/* BANNER */
/* ===================== */

.banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================== */
/* HEADER DISTORSION */
/* ===================== */

header-distorsion {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    overflow: hidden;
    border-bottom: 2px solid #9b59b6;
}

.banner-distorsion {
    size: cover;
    overflow: hidden;
    object-fit: cover;
    object-position: center top;
    margin-top: -50px;
    transform: translateY(-20px);
}

/* ===================== */
/* SELECTOR DE IDIOMA */
/* ===================== */

.language-selector {
    text-align: right;
    margin: 10px;
}

.lang-btn {
    background: none;
    border: 2px solid #9B59B6;
    color: #9B59B6;
    padding: 5px 10px;
    margin: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.lang-btn:hover {
    background: #9B59B6;
    color: white;
}

/* ===================== */
/* SECCIONES PRINCIPALES */
/* ===================== */

.project-info {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.project-info h2 {
    font-size: 2rem;
    color: #9B59B6;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.content-box {
    background: rgba(20, 20, 20, 0.9);
    border-left: 5px solid #9B59B6;
    border-right: 5px solid #9B59B6;
    padding: 20px;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.6);
    color: #fff;
}

.content-box strong,
.content-box em {
    color: #fff;
}

.content-box ul {
    list-style-type: none;
    padding: 0;
}

.content-box li {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #ddd;
}

/* ===================== */
/* TABLAS */
/* ===================== */

.content-box table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.7);
}

.content-box td {
    border: 2px solid #9B59B6;
    padding: 10px;
    text-align: left;
    color: white;
}

.content-box td:first-child {
    width: 20%;
    font-weight: bold;
    text-align: center;
}

.content-box td:last-child {
    width: 80%;
}

/* ===================== */
/* FORMULARIO */
/* ===================== */

.contact-form {
    width: 50%;
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(20, 20, 20, 0.95);
    border: 2px solid #9B59B6;
    box-shadow: 0 0 40px rgba(155, 89, 182, 1);
    border-radius: 10px;
    text-align: center;
    animation: glowBorder 2s infinite alternate;
}

@keyframes glowBorder {
    0% {
        box-shadow: 0 0 20px rgba(155, 89, 182, 0.6);
    }
    100% {
        box-shadow: 0 0 30px rgba(155, 89, 182, 1);
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid transparent;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #9B59B6;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.9);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9B59B6;
    opacity: 0.7;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #9B59B6, #7D3C98);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.8);
}

.btn-submit:hover {
    background: linear-gradient(90deg, #7D3C98, #9B59B6);
    box-shadow: 0 0 30px rgba(155, 89, 182, 1);
    transform: scale(1.05);
}

#form-message {
    margin-top: 15px;
    font-size: 1.2rem;
    text-align: center;
    color: #9B59B6;
}

/* ===================== */
/* FOOTER */
/* ===================== */

footer {
    background: linear-gradient(to bottom, #09030f, #6c3b8b);
    text-align: center;
    padding: 20px;
    color: #9B59B6;
    position: relative;
}

.footer-logos {
    background: linear-gradient(to top, #0f0813, #4e2b5e);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-logos img {
    max-height: 60px;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.5));
}

.estado {
    width: 80%;
    height: auto;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media screen and (max-width: 768px) {
    header {
        position: static;
        padding-top: 20px;
        background: rgba(0, 0, 0, 0.8);
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 180px;
    }

    nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #111;
        padding: 15px 0;
        border-bottom: 2px solid #9B59B6;
    }

    nav a {
        display: block;
        margin: 10px 0;
        padding: 10px 20px;
        font-size: 1.1rem;
    }

    .language-selector {
        text-align: center;
        margin: 15px auto;
    }

    .lang-btn img {
        width: 24px;
        height: auto;
    }

    .content-box {
        padding: 10px;
    }

    .contact-form {
        width: 90%;
        margin: 30px auto;
        padding: 20px;
    }
}