/* Browse by category — homepage, full-width grid (no sidebar) */

/* Survey CTA — between game grid and category browse */
.survey-cta-wrap {
    width: 100%;
    padding: 0 0 28px;
    box-sizing: border-box;
}

.survey-cta-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.survey-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 16px;
    background: linear-gradient(165deg, #2a1f18 0%, #1a1512 100%);
    border: 1px solid rgba(255, 106, 0, 0.55);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 180, 120, 0.06);
}

.survey-cta__copy {
    min-width: 0;
    flex: 1;
}

.survey-cta__headline {
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: 0.02em;
    margin: 0 0 6px;
    color: #fff7ed;
    line-height: 1.25;
}

.survey-cta__sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #d4a574;
    max-width: 42ch;
}

.survey-cta__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, #ff6a00 0%, #e55f00 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.survey-cta__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 106, 0, 0.5);
    filter: brightness(1.06);
}

.survey-cta__btn:focus-visible {
    outline: 2px solid #fdba74;
    outline-offset: 3px;
}

body.light .survey-cta {
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 100%);
    border-color: rgba(255, 106, 0, 0.45);
    box-shadow: 0 6px 22px rgba(255, 106, 0, 0.12);
}

body.light .survey-cta__headline {
    color: #7c2d12;
}

body.light .survey-cta__sub {
    color: #9a3412;
}

body.light .survey-cta__btn {
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
}

/* Brand / ads promo — below category browse (compact strip) */
.home-promo-wrap {
    width: 100%;
    padding: 0 0 24px;
    box-sizing: border-box;
}

.home-promo-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 16px;
    background: linear-gradient(165deg, #2a1f18 0%, #1a1512 100%);
    border: 1px solid rgba(255, 106, 0, 0.55);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 180, 120, 0.06);
}

.home-promo__headline {
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    letter-spacing: 0.02em;
    margin: 0 0 6px;
    color: #fff7ed;
    line-height: 1.25;
}

.home-promo__sub {
    margin: 0;
    max-width: 42ch;
    font-size: 14px;
    line-height: 1.45;
    color: #d4a574;
}

.home-promo__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 12px;
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, #ff6a00 0%, #e55f00 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.home-promo__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 106, 0, 0.5);
    filter: brightness(1.06);
}

.home-promo__btn:focus-visible {
    outline: 2px solid #fdba74;
    outline-offset: 3px;
}

body.light .home-promo-inner {
    background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 100%);
    border-color: rgba(255, 106, 0, 0.45);
    box-shadow: 0 6px 22px rgba(255, 106, 0, 0.12);
}

body.light .home-promo__headline {
    color: #7c2d12;
}

body.light .home-promo__sub {
    color: #9a3412;
}

body.light .home-promo__btn {
    box-shadow: 0 4px 14px rgba(255, 106, 0, 0.28);
}

.home-browse-wrap {
    width: 100%;
    padding: 8px 0 32px;
    box-sizing: border-box;
}

.home-browse-wrap--after-survey {
    padding-top: 20px;
    padding-bottom: 36px;
}

.home-browse-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.home-browse-heading {
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    margin: 0 0 6px;
    color: var(--text);
}

.home-browse-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 18px;
    max-width: 56ch;
    line-height: 1.45;
}

.home-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}

@media (min-width: 900px) {
    .home-browse-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-browse-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(145deg, #222636 0%, #1a1d2a 100%);
    border: 1px solid #343a52;
    border-left: 4px solid #ff6a00;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-browse-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 106, 0, 0.25);
    border-color: rgba(255, 106, 0, 0.35);
}

body.light .home-browse-card {
    background: linear-gradient(145deg, #fff 0%, #f4f6fc 100%);
    border-color: #dde1ed;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.home-browse-card-thumb {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.home-browse-card-title {
    font-family: "Fredoka", system-ui, sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--text);
    line-height: 1.25;
}

.home-browse-card-desc {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 520px) {
    .home-browse-inner {
        padding: 0 16px;
    }

    .home-promo-wrap {
        padding: 0 16px 20px;
    }

    .home-promo-inner {
        margin: 0;
        padding: 18px 18px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .home-promo__sub {
        margin: 0 auto 12px;
        max-width: 42ch;
    }

    .home-promo__btn {
        width: auto;
        box-sizing: border-box;
    }

    .survey-cta-inner {
        padding: 0 16px;
    }

    .survey-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 18px 18px;
    }

    .survey-cta__sub {
        max-width: none;
    }

    .survey-cta__btn {
        width: 100%;
        box-sizing: border-box;
    }

    .home-browse-grid {
        grid-template-columns: 1fr;
    }
}
