@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap'); * {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #F4F9F0;
    color: #26351f;
    font-family: Lato,sans-serif
}

.container {
    width: min(1200px,calc(100% - 40px));
    margin: auto
}

.site-header {
    background: #FFF8E7;
    border-bottom: 1px solid #DCE8D3
}

.nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-family: Georgia,serif;
    color: #4A6B3B;
    font-size: 30px;
    text-decoration: none
}

.logo-mark:before {
    content: "🍃";
    margin-right: 8px
}

.nav-links a,.nav-email {
    color: #4A6B3B;
    text-decoration: none;
    margin-left: 18px;
    font-weight: 700
}

.active {
    text-decoration: underline
}

.hero {
    height: 500px;
    position: relative;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    overflow: hidden
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(244,249,240,.92),rgba(244,249,240,.38))
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: calc((100% - min(1200px,calc(100% - 40px)))/2);
    transform: translateY(-50%);
    max-width: 700px
}

.hero h1,.section h2,.game-content h3,.legal-doc h1,.legal-doc h2 {
    font-family: Georgia,serif;
    color: #4A6B3B
}

.hero h1 {
    font-size: 62px
}

.btn,.play-btn {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg,#8B6F3D,#4A6B3B);
    color: white;
    padding: 12px 22px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer
}

.section {
    padding: 76px 0
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    background: #E8F3DE;
    border-radius: 48px;
    padding: 46px;
    box-shadow: 0 20px 60px rgba(74,107,59,.12)
}

.about-img {
    border-radius: 36px;
    height: 300px;
    width: 100%;
    object-fit: cover
}

.badges {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    margin-top: 24px
}

.badges span {
    background: #FFF8E7;
    border-radius: 24px;
    padding: 16px;
    text-align: center
}

.game-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.game-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 18px;
    background: #FFF8E7;
    border-radius: 32px;
    padding: 18px;
    box-shadow: 0 16px 45px rgba(74,107,59,.12);
    margin: 30px 0;
}

.game-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 22px
}

.tag {
    color: #8B6F3D;
    font-weight: 900
}

.site-footer {
    background: #FFF8E7;
    padding: 36px 0;
    color: #4A6B3B
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr .7fr;
    gap: 24px
}

.footer-links a {
    display: block;
    color: #4A6B3B
}

.legal-wrap {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 28px;
    padding: 70px 0
}

.privacy-wrap {
    padding: 70px 0
}

.legal-doc {
    background: #FFF8E7;
    border-left: 12px solid #4A6B3B;
    border-radius: 32px;
    padding: 46px;
    line-height: 1.9
}

.legal-toc {
    position: sticky;
    top: 20px;
    align-self: start;
    background: #E8F3DE;
    border-radius: 24px;
    padding: 20px
}

.legal-toc a,.back-home {
    display: block;
    color: #4A6B3B;
    margin: 10px 0;
    font-weight: 900;
    text-decoration: none
}

.privacy-doc section {
    background: #FFF8E7;
    border-radius: 24px;
    padding: 22px;
    margin: 16px 0
}

@media(max-width: 900px) {
    .nav-links,.nav-email {
        display:none
    }

    .about-grid,.game-grid,.game-card,.footer-inner,.legal-wrap,.badges {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 42px
    }

    .game-card img {
        width: 100%;
        height: 180px
    }
}
