/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #113555;
    --secondary-color: #FBF8F1;
    --tertiary-color: #0A1821;
    --quaternary-color: #E7AF36;
    --accent-color: #4CAF50;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-light: #B0B0B0;
    --white: #FFFFFF;
    --gray-light: #1A2A3A;
    --gray-medium: #2A3A4A;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--tertiary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--tertiary-color);
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(17, 53, 85, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--quaternary-color);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--quaternary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--quaternary-color);
    transition: var(--transition);
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    opacity: 1 !important;
    transform: none !important;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-logo {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--quaternary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #d19a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Screenshots Showcase - Baraja de Cartas */
.screenshots-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
    perspective: 1000px;
}

.screenshot-card {
    position: absolute;
    width: 200px;
    height: 350px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    transition: all 0.5s ease;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid var(--quaternary-color);
}

.screenshot-card:hover {
    transform: scale(1.1) translateY(-20px);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Posicionamiento de las cartas en abanico */
.screenshot-1 {
    transform: rotate(-25deg) translateX(-80px) translateY(-20px);
    z-index: 1;
}

.screenshot-2 {
    transform: rotate(-15deg) translateX(-40px) translateY(-10px);
    z-index: 2;
}

.screenshot-3 {
    transform: rotate(-5deg) translateX(0px) translateY(0px);
    z-index: 3;
}

.screenshot-4 {
    transform: rotate(5deg) translateX(40px) translateY(-10px);
    z-index: 2;
}

.screenshot-5 {
    transform: rotate(15deg) translateX(80px) translateY(-20px);
    z-index: 1;
}

.screenshot-6 {
    transform: rotate(25deg) translateX(120px) translateY(-30px);
    z-index: 1;
}

/* Hover effects para cada carta */
.screenshot-1:hover {
    transform: rotate(-25deg) translateX(-80px) translateY(-40px) scale(1.1);
}

.screenshot-2:hover {
    transform: rotate(-15deg) translateX(-40px) translateY(-30px) scale(1.1);
}

.screenshot-3:hover {
    transform: rotate(-5deg) translateX(0px) translateY(-20px) scale(1.1);
}

.screenshot-4:hover {
    transform: rotate(5deg) translateX(40px) translateY(-30px) scale(1.1);
}

.screenshot-5:hover {
    transform: rotate(15deg) translateX(80px) translateY(-40px) scale(1.1);
}

.screenshot-6:hover {
    transform: rotate(25deg) translateX(120px) translateY(-50px) scale(1.1);
}

/* Secciones */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--quaternary-color);
}

/* Changelog */
.changelog .version-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: rgba(231, 175, 54, 0.1);
    border: 1px solid rgba(231, 175, 54, 0.4);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 0.75rem;
}

.changelog .feature-card h3 {
    margin-top: 0.25rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--quaternary-color);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.feature-card p {
    color: var(--white);
    line-height: 1.6;
}

/* Technologies */
.technologies {
    background: var(--primary-color);
}

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

.tech-item {
    text-align: center;
    padding: 2rem;
}

.tech-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.tech-icon.game {
    background: #4CAF50;
}

.tech-icon.football {
    background: #FF9800;
}

.tech-icon.strategy {
    background: #9C27B0;
}

.tech-icon.development {
    background: #607D8B;
}

.tech-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.tech-item p {
    color: var(--white);
    line-height: 1.6;
}

/* Demo Section */
.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-placeholder {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    border: 2px dashed var(--quaternary-color);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--quaternary-color);
    margin-bottom: 1rem;
}

.video-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.video-placeholder span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.demo-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.demo-info p {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.demo-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.demo-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.demo-info li i {
    color: var(--accent-color);
}

/* Download Section */
.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-card {
    background: var(--primary-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--quaternary-color);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.download-card p {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-info span {
    background: var(--tertiary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--tertiary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--quaternary-color);
}

.footer-section p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--quaternary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .screenshots-showcase {
        height: 400px;
        perspective: 800px;
    }
    
    .screenshot-card {
        width: 150px;
        height: 250px;
    }
    
    /* Ajustar posicionamiento en móviles */
    .screenshot-1 {
        transform: rotate(-20deg) translateX(-60px) translateY(-15px);
    }
    
    .screenshot-2 {
        transform: rotate(-10deg) translateX(-30px) translateY(-8px);
    }
    
    .screenshot-3 {
        transform: rotate(0deg) translateX(0px) translateY(0px);
    }
    
    .screenshot-4 {
        transform: rotate(10deg) translateX(30px) translateY(-8px);
    }
    
    .screenshot-5 {
        transform: rotate(20deg) translateX(60px) translateY(-15px);
    }
    
    .screenshot-6 {
        transform: rotate(30deg) translateX(90px) translateY(-20px);
    }
} 
