body {
    background: #FFEFBA;
    background: -webkit-linear-gradient(to right, #FFFFFF, #cfbaff);
    background: linear-gradient(to right, #FFFFFF, #cfbaff);
    font-family: Arial, sans-serif;
    display: grid;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    width: 100%;
    padding: 20px 0;
    background: #FFEFBA;
    background: -webkit-linear-gradient(to right, #FFFFFF, #cfbaff);
    background: linear-gradient(to right, #FFFFFF, #cfbaff);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

header img {
    height: 60px;
    width: 240px;
    border-radius: 10px;
    margin-bottom: 10px;
}

header h1 {
    text-align: center;
    margin: 0;
    font-size: 2.5rem;
    color: #333;
}

header p {
    text-align: center;
    margin: 10px 0 0;
    font-size: 1rem;
    color: #555;
}

.juegos {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.memoria {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 200px;
    max-width: 300px;
    margin-bottom: 20px;
}

.playstore-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 2px solid #000;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 12px 20px;
    text-align: left;
    color: rgba(255, 255, 255, 1);
    outline: 0;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 60px;
    box-sizing: border-box;
}

.playstore-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 12px;
    flex-shrink: 0;
}

.texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    flex-grow: 1;
}

.text-1 {
    font-size: 0.75rem;
    opacity: 0.8;
}

.text-2 {
    font-weight: 600;
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 15px 0;
    background: #FFEFBA;
    background: -webkit-linear-gradient(to right, #FFFFFF, #cfbaff);
    background: linear-gradient(to right, #FFFFFF, #cfbaff);
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .juegos {
        flex-direction: column;
        align-items: center;
    }
    
    .memoria {
        width: 100%;
        max-width: 300px;
    }

    header h1 {
        font-size: 2rem;
    }
}