/* Variables globales */
:root {
    --transition-smooth: all 0.3s ease;
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-unit: clamp(0.5rem, 2vw, 1rem);
}

/* Estilos base y reset */
html {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    font-weight: 400;
}

/* Navbar ajustado */
.navbar {
    padding: 0.5rem 0;
    margin-bottom: 0;
    min-height: auto;
}

/* Contenedor principal */
.container {
    animation: fadeIn 0.6s ease-out;
    padding-top: 0.5rem;
}

/* Título */
.title-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: slideUp 0.8s ease-out;
    margin: 0 0 var(--spacing-unit);
    line-height: 1.2;
}

/* Botones sociales */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.btn-default {
    padding: 0.5rem;
    transition: var(--transition-smooth);
    border: none;
    background: transparent;
    animation: fadeIn 0.8s ease-out backwards;
}

.btn-default:nth-child(1) { animation-delay: 0.2s; }
.btn-default:nth-child(2) { animation-delay: 0.3s; }
.btn-default:nth-child(3) { animation-delay: 0.4s; }
.btn-default:nth-child(4) { animation-delay: 0.5s; }

.btn-default:hover {
    transform: translateY(-3px);
}

.btn-default img {
    width: 23px;
    height: 23px;
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.btn-default:hover img {
    opacity: 1;
}

/* Separadores */
hr {
    height: 1px;
    background-color: #6c757d;
    margin: 1rem 0;
    opacity: 0.2;
}

/* Sección de tags */
.tags-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin: 1rem 0;
    padding: 1rem;
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s backwards;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tags-section:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.01);
}

.tag-line {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0.5rem 0;
    transition: var(--transition-smooth);
    font-weight: 400;
}

/* Contenedor del juego */
.game-container {
    width: 100%;
    height: 600px;  /* Altura aumentada para mostrar todo el contenido */
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.8s backwards;
    border-radius: 12px;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
    transition: var(--transition-smooth);
}

/* Footer */
.footer-text {
    margin-top: 1rem;
    font-size: 0.95rem;
    animation: fadeIn 1s ease-out 1s backwards;
    opacity: 0.8;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .game-container {
        height: 600px;
    }
}

@media (max-width: 992px) {
    .game-container {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0.5rem 1rem;
    }

    .game-container {
        height: 500px;
    }

    .btn-default {
        padding: 0.4rem;
    }

    .btn-default img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .game-container {
        height: 400px;
    }

    .social-buttons {
        gap: 0.5rem;
    }

    .btn-default {
        padding: 0.3rem;
    }

    .tags-section {
        padding: 0.8rem;
    }

    .tag-line {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}