/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a2e;
    color: #f5f5f5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #fca311;
    margin: 10px auto;
}

p {
    line-height: 1.6;
}

/* Navegación */
header {
    background-color: rgba(26, 26, 46, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fca311;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 60px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fca311;
}

/* Language Selector */
.language-selector {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    z-index: 100;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.selected-lang {
    background-color: rgba(252, 163, 17, 0.2);
    border: 1px solid #fca311;
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    color: #fca311;
}

.selected-lang:hover {
    background-color: rgba(252, 163, 17, 0.3);
    transform: translateY(-2px);
}

.lang-options {
    display: none;
    background-color: #1a1a2e;
    border: 1px solid rgba(252, 163, 17, 0.3);
    border-top: none;
    border-radius: 0 0 4px 4px;
    margin-top: -1px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.language-selector.active .lang-options {
    display: block;
}

.lang-option {
    padding: 8px 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    color: #f5f5f5;
}

.lang-option:hover {
    background-color: rgba(252, 163, 17, 0.2);
    color: #fca311;
}

/* Banner principal */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px 0 80px;
    text-align: center;
    background-color: #1a1a2e;
    position: relative;
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    right: 20%;
    width: 30px;
    height: 50px;
    border: 2px solid #fca311;
    border-radius: 15px;
    z-index: 10;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: scale(1.1);
}

.scroll-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #fca311;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(25px);
        opacity: 0;
    }
}

.hero-logo {
    max-width: 320px;
    margin-bottom: 30px;
}

/* Bloque de descripción */
.about {
    background-color: #14142b;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 43, 0.8);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.company-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
}

/* Nuestros Juegos */
.games {
    background-color: #1a1a2e;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.games::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    z-index: 1;
}

.games .container {
    position: relative;
    z-index: 2;
}

.game-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    background-size: cover;
    background-position: center;
    padding: 50px 0;
}

/* Sin overlay o blur para la imagen de fondo */

.game-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 500px;
    align-items: center;
    background-color: rgba(26, 26, 46, 0.85);
    margin-left: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.game-title {
    margin-bottom: 20px;
    text-align: center;
}

.game-title img {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.game-description {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: left;
    color: #f8f0dd;
}

.game-details {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px 20px;
}

.detail-icon {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon img {
    width: 80px;
    height: 80px;
}

.detail-label {
    font-size: 1.2rem;
    color: #8B4513; /* Brown color for the labels */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px; /* Changed from margin-top to margin-bottom */
    font-weight: 500;
}

.game-action {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fca311;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: #e69500;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Nuestro Trabajo */
.services {
    background-color: #14142b;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 43, 0.8);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    color: #f5f5f5;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fca311;
}

.service-description {
    color: #f5f5f5;
}

/* Contacto */
.contact {
    background-color: #1a1a2e;
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fca311;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: #14142b;
    padding: 50px 0 30px;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #f5f5f5;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fca311;
}

.footer-contact {
    text-align: center;
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Parallax */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .game-info {
        padding: 40px 30px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .game-card {
        justify-content: center;
        padding: 40px 20px;
    }
    
    .scroll-indicator {
        right: 50%;
        transform: translateX(50%);
    }
    
    .language-selector {
        right: 20px;
    }
    
    .nav-links {
        display: none;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-image {
        width: 120px;
        height: 120px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .detail-item {
        margin: 0 15px 20px;
    }
    
    .detail-icon img {
        width: 60px;
        height: 60px;
    }
    
    .game-title, .game-description, .game-details, .game-action {
        text-align: center;
    }
    
    .game-details {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-logo {
        max-width: 250px;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}