@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;700&display=swap');

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

:root {
    --primary-color: #ff4500;
    --secondary-color: #ff6b35;
    --accent-color: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --shadow-color: rgba(255, 69, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--primary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    font-weight: 400;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--shadow-color);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--darker-bg), var(--dark-bg));
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.fire-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--secondary-color) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, var(--accent-color) 0%, transparent 50%);
    opacity: 0.05;
    animation: fireFlicker 3s ease-in-out infinite alternate;
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

@keyframes fireFlicker {
    0% { opacity: 0.05; }
    100% { opacity: 0.1; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--shadow-color);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px var(--shadow-color)); }
    100% { filter: drop-shadow(0 0 30px var(--primary-color)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-logo {
    text-align: center;
}

.about-logo img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px var(--shadow-color);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.about-text h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--shadow-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.services {
    padding: 60px 0 0 0;
    background: var(--dark-bg);
}

.service-section {
    margin-bottom: 0;
}

.service-block {
    position: relative;
    padding: 80px 0;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.service-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* What We Do Best Block */
.intro-block {
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0f23 50%, #0a0a0a 100%);
    min-height: 400px;
}

.intro-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 69, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(255, 107, 53, 0.05) 50%, transparent 52%);
    background-size: 200px 200px, 300px 300px, 100px 100px;
    animation: introGlow 18s ease-in-out infinite;
}

@keyframes introGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

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

.intro-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Custom Mechanics Block */
.mechanics-block {
    background: linear-gradient(135deg, #0a1a0a 0%, #1a2e1a 50%, #0f230f 100%);
}

.mechanics-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        linear-gradient(60deg, transparent 49%, rgba(0, 255, 127, 0.03) 50%, transparent 51%);
    background-size: 150px 150px, 200px 200px, 80px 80px;
    animation: mechanicsFlow 22s ease-in-out infinite;
}

@keyframes mechanicsFlow {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(30px) rotate(2deg); }
}

/* Optimization Block */
.optimization-block {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #0f0f23 100%);
}

.optimization-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 69, 0, 0.08) 0%, transparent 50%),
        conic-gradient(from 45deg at 50% 50%, transparent 0deg, rgba(0, 122, 255, 0.04) 90deg, transparent 180deg);
    background-size: 180px 180px, 250px 250px, 120px 120px;
    animation: optimizationSpin 28s linear infinite;
}

@keyframes optimizationSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 3D Modeling Block */
.modeling-block {
    background: linear-gradient(135deg, #2d1b69 0%, #1a0a2e 50%, #0f0f23 100%);
}

.modeling-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 40% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(30deg, transparent 48%, rgba(147, 51, 234, 0.06) 50%, transparent 52%);
    background-size: 220px 220px, 160px 160px, 90px 90px;
    animation: modelingFloat 25s ease-in-out infinite;
}

@keyframes modelingFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.03); }
}

/* UI/UX Block */
.ui-block {
    background: linear-gradient(135deg, #1a1a0a 0%, #2e2e1a 50%, #23230f 100%);
}

.ui-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 40%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 69, 0, 0.08) 0%, transparent 50%),
        linear-gradient(120deg, transparent 47%, rgba(255, 215, 0, 0.05) 50%, transparent 53%);
    background-size: 190px 190px, 140px 140px, 70px 70px;
    animation: uiPulse 20s ease-in-out infinite;
}

@keyframes uiPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Why Work With Us Block */
.why-block {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #2a1a0a 100%);
    min-height: 600px;
}

.why-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 25%, rgba(255, 215, 0, 0.03) 50%, transparent 75%);
    background-size: 300px 300px, 200px 200px, 150px 150px, 100px 100px;
    animation: whySpectrum 30s ease-in-out infinite;
}

@keyframes whySpectrum {
    0%, 100% { opacity: 0.8; transform: scale(1) rotate(0deg); }
    33% { opacity: 1; transform: scale(1.02) rotate(120deg); }
    66% { opacity: 0.9; transform: scale(1.01) rotate(240deg); }
}

.service-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 69, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.service-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(255, 69, 0, 0.2);
}


.service-content h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--shadow-color);
    text-align: center;
}

.service-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.service-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-description p:last-child {
    margin-bottom: 0;
}

.service-description strong {
    color: var(--accent-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-item {
    background: rgba(255, 69, 0, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-item:hover {
    background: rgba(255, 69, 0, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

.quote {
    background: rgba(255, 69, 0, 0.12);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 6px solid var(--primary-color);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 2rem 0 0 0;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.quote::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
}

@media (max-width: 768px) {
    .service-block {
        padding: 60px 0;
        min-height: 350px;
    }
    
    .service-content {
        padding: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 2rem;
    }
    
    
    .intro-content p {
        font-size: 1.1rem;
    }
    
    .service-description p {
        font-size: 1rem;
    }
    
    .quote {
        font-size: 1.1rem;
        padding: 2rem;
    }
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--shadow-color);
}

.games {
    padding: 100px 0;
    background: var(--dark-bg);
}

.games .container {
    max-width: 1400px; /* Aumentamos el contenedor para más espacio */
}

.games-carousel {
    position: relative;
    overflow: visible;
    padding: 20px 60px; /* Agregado padding vertical */
    margin: 0 auto;
    max-width: 100%;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    align-items: stretch;
}

.game-card {
    flex: 0 0 350px;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 69, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.3);
    z-index: 10;
    border-color: var(--primary-color);
}

.game-image {
    position: relative;
    height: 200px;
    background: linear-gradient(45deg, var(--dark-bg), var(--darker-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.placeholder-image {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.game-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.game-tag {
    background: rgba(255, 69, 0, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.game-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.game-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.game-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.game-genre {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.video-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark-bg), var(--darker-bg));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.video-placeholder h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.video-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.video-overlay h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.team {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 69, 0, 0.3);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 0 20px var(--shadow-color);
}

.team-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact {
    padding: 100px 0;
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: var(--dark-bg);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.contact-info h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1.5rem;
}

.footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-color);
}

.footer-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-logo img {
        width: 150px;
        height: 150px;
    }
    
    .games-carousel {
        padding: 20px 20px; /* Padding vertical también en móvil */
    }
    
    .carousel-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .game-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about,
    .games,
    .team,
    .contact {
        padding: 60px 0;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-menu.active {
    left: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}