:root {
    --green-dark: #2F6B3F;
    --green-light: #7FB77E;
    --yellow: #F7C85C;
    --cream: #FFF6C0;
    --black: #1a1a1a;
    --white: #ffffff;
}

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

body {
    font-family: 'Happy Monkey', system-ui, sans-serif;
    background: var(--cream) url('assets/bg.png') center / cover no-repeat;
    color: var(--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
}

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

.logo-icon {
    font-size: 3.5rem;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: -0.02em;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.games {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: center;
}

.game-card {
    background: var(--white);
    border: 3px solid var(--green-dark);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 360px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.game-card-image {
    width: 100%;
    aspect-ratio: 4 / 6;
    object-fit: cover;
}

.game-card-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 var(--green-dark);
}

.game-card.coming-soon {
    opacity: 0.5;
    cursor: default;
}

.game-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.game-icon {
    font-size: 1.75rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 0.25rem;
}

.game-desc {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

@media (max-width: 480px) {
    .games {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 1rem;
        width: 100%;
    }

    .game-card {
        min-width: 280px;
    }
}