* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Monotype Corsiva", "Comic Sans MS", cursive;
    background-color: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: "Monotype Corsiva", "Comic Sans MS", cursive;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);  
}

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5cm; /* Espacio entre imagen y texto */
    margin: 0 auto;
    text-align: left;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-family: 'Zen Dots', cursive;
    font-size: 2rem;
    color: #c39b6a;
    text-decoration: none;
}

.back-arrow {
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    color: #c39b6a;
    font-size: 20px;
    text-decoration: none;
    margin-right: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.back-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0.5;
}




.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c39b6a;
    transform: scale(0.95);
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;

}

.hero-media img {
    width: 100%;
    max-width: 590px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(195, 155, 106, 0.3);
    border: solid 3px #c39b6a;
}

.hero-text {
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #c39b6a;
}

.section-dark {
    padding: 5rem 5%;
    background: #1a1a1a;
}

.section-light {
    padding: 5rem 5%;
    background: #2a2a2a;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #c39b6a;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.image-content img {
    border-radius: 1cm;
    border: solid 3px #c39b6a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.enemies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.enemy-card {
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.enemy-front, .enemy-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 10px;
    padding: 1rem;
    background: #000;
}
.enemy-front img {
    width: 80%;         
    height: 80%;        
    object-fit: cover;  
    border-radius: 10px; 
    display: block;     
    margin: auto;       
}


.enemy-front {
    transform: rotateY(0deg);
}

.enemy-back {
    transform: rotateY(180deg);
    background: #2a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.enemy-card:hover .enemy-front {
    transform: rotateY(-180deg);
}

.enemy-card:hover .enemy-back {
    transform: rotateY(0deg);
}

.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #c39b6a;
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding-left: 50px;
}

.timeline-item h4 {
    color: #c39b6a;
    margin-bottom: 0.5rem;
}

.characters-flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.character-card {
    width: 300px;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.character-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
#requirements {
    width: 100%;       
    min-height: 100vh; 
    background-image: url('portada2.jpg'); 
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
    opacity: 0.7;
}
.requirements{
    display: flex;
    justify-content: center;
}/*Estilos de tabla*/
table {
    width: 50%; 
    margin: 0 auto; 
    border-collapse: collapse; 
    color: white;
    text-shadow: 2px 2px 3px black;
}
table, th, td{
    border: 1px solid white;
    padding: 1em;
    backdrop-filter: blur(2px); /* Efecto borroso */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 10px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid #c39b6a;
}

.member-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.preorder-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #c39b6a;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #b08f5e;
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: #c39b6a;
    margin-bottom: 1rem;
}

.footer-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin: 0.5rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

.social-links a:hover {
    color: #c39b6a;
    scale: 0.8;
}