/* A2-1247: the feature pages (/features/<slug>), from the approved design canvas. Scoped to .fp. */
.fp {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
    font-size: 17px;
    line-height: 1.6;
}
.fp *, .fp *::before, .fp *::after { box-sizing: border-box; }
.fp a { color: #5a2bd6; }
.fp .fp_wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.fp h1, .fp h2, .fp h3 { font-family: inherit; }

/* Buttons */
.fp .fp_btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 26px; border-radius: 24px;
    font-weight: 700; font-size: 16px; text-decoration: none; border: 0;
}
.fp .fp_btn_red { background: #d80621; color: #fff; }
.fp .fp_btn_red:hover, .fp .fp_btn_red:focus { background: #b0051b; color: #fff; }
.fp .fp_btn_ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.fp .fp_btn_ghost:hover, .fp .fp_btn_ghost:focus { background: #fff; color: #18014d; }

/* Hero (below the fixed site header) */
.fp .fp_hero { background: #2E0F7B; color: #fff; padding: 84px 0 72px; }
.fp .fp_crumbs { font-size: 14px; color: #d8d0f0; padding-top: 20px; }
.fp .fp_crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.fp .fp_crumbs li + li::before { content: "\203A"; margin: 0 8px; }
.fp .fp_crumbs a { color: #fff; }
.fp .fp_hero_grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 36px; }
.fp .fp_hero h1 { font-size: 50px; line-height: 1.1; margin: 0 0 18px; font-weight: 800; color: #fff; }
.fp .fp_lede { font-size: 20px; color: #eee8ff; margin: 0 0 28px; }
.fp .fp_ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.fp .fp_kicker {
    display: inline-block; background: #FB698E; color: #180054; font-weight: 800; font-size: 13px;
    letter-spacing: .06em; text-transform: uppercase; border-radius: 14px; padding: 4px 12px; margin-bottom: 16px;
}
.fp .fp_hero_icon {
    width: 120px; height: 120px; background: #fff; border-radius: 28px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.fp .fp_hero_icon img { width: 72px; height: 72px; object-fit: contain; }

/* Games collage */
.fp .fp_collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fp .fp_collage img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }
.fp .fp_collage img:first-child { grid-column: span 2; grid-row: span 2; }

/* Sections */
.fp .fp_sec { padding: 72px 0; }
.fp .fp_sec_alt { background: #f1eef9; }
.fp .fp_sec h2 { font-size: 36px; line-height: 1.2; color: #18014d; margin: 0 0 16px; font-weight: 800; }
.fp .fp_sec p { margin: 0 0 16px; }
.fp .fp_intro { font-size: 19px; color: #3c3c4a; max-width: 780px; margin: 0 0 36px; }
.fp .fp_two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fp .fp_card { background: #fff; border: 1px solid #e6e1f0; border-radius: 18px; padding: 26px; }
.fp .fp_card_soft { background: #f1eef9; border: 0; }
.fp .fp_card h3 { margin: 0 0 8px; font-size: 20px; color: #18014d; font-weight: 700; }
.fp .fp_card p { margin: 0; color: #444; }

/* Tick list */
.fp .fp_tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fp .fp_tick li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.fp .fp_tick li::before {
    content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
    background: #FB698E; box-shadow: inset 0 0 0 6px #fde3ea;
}

/* Steps */
.fp .fp_steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: fp_step; }
.fp .fp_steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.fp .fp_steps li::before {
    counter-increment: fp_step; content: counter(fp_step);
    width: 44px; height: 44px; border-radius: 50%; background: #18014d; color: #fff; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.fp .fp_steps h3 { margin: 6px 0 4px; font-size: 19px; color: #18014d; font-weight: 700; }
.fp .fp_steps p { margin: 0; color: #444; }

/* Screens: a phone and a laptop */
.fp .fp_phone { background: #1d1a26; border-radius: 44px; padding: 12px; max-width: 300px; width: 100%; justify-self: center; margin: 0 auto; }
.fp .fp_phone img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16.3; object-fit: cover; object-position: top; border-radius: 34px; }
.fp .fp_laptop { background: #1d1a26; border-radius: 18px 18px 6px 6px; padding: 14px 14px 22px; }
.fp .fp_laptop img { display: block; width: 100%; height: auto; border-radius: 6px; }
.fp .fp_placeholder {
    background: #fff; border: 2px dashed #b9b1cf; border-radius: 8px; color: #5b5670; font-size: 15px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-align: center; padding: 24px; aspect-ratio: 16 / 10;
}
.fp .fp_phone .fp_placeholder { aspect-ratio: 9 / 19.5; border-radius: 34px; }
.fp .fp_placeholder strong { color: #c0365a; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.fp .fp_caption { font-size: 14px; color: #5b5670; margin-top: 10px; text-align: center; }

/* Games list */
.fp .fp_games { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.fp .fp_game { background: #fff; border: 1px solid #e6e1f0; border-radius: 18px; overflow: hidden; }
.fp .fp_game img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.fp .fp_game div { padding: 16px; }
.fp .fp_game h3 { margin: 0 0 6px; font-size: 18px; color: #18014d; font-weight: 700; }
.fp .fp_game p { margin: 0 0 8px; font-size: 15px; color: #444; }
.fp .fp_game .fp_players { display: block; font-size: 13px; font-weight: 700; color: #5a2bd6; }

/* Search filters list */
.fp .fp_filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* FAQs */
.fp .fp_faq { display: grid; gap: 12px; max-width: 900px; }
.fp .fp_faq details { background: #fff; border: 1px solid #e6e1f0; border-radius: 14px; padding: 18px 22px; }
.fp .fp_faq summary { font-weight: 700; color: #18014d; font-size: 18px; cursor: pointer; }
.fp .fp_faq details p { margin: 10px 0 0; color: #333; }

/* More features */
.fp .fp_more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fp .fp_more a {
    display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e6e1f0; border-radius: 14px;
    padding: 16px; color: #18014d; font-weight: 700; text-decoration: none; height: 100%;
}
.fp .fp_more a:hover, .fp .fp_more a:focus { border-color: #5a2bd6; text-decoration: underline; }
.fp .fp_more img { width: 36px; height: 36px; object-fit: contain; flex: none; }

/* Closing band */
.fp .fp_band { background: #18014d; color: #fff; text-align: center; padding: 64px 24px; }
.fp .fp_band h2 { color: #fff; font-size: 34px; margin: 0 0 12px; font-weight: 800; }
.fp .fp_band p { color: #e4dff5; margin: 0 0 26px; font-size: 18px; }
.fp .fp_stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.fp .fp_stores img { display: block; height: 48px; width: auto; }

@media (max-width: 991.98px) {
    .fp .fp_games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .fp .fp_hero_grid, .fp .fp_two { grid-template-columns: 1fr; }
    .fp .fp_filters, .fp .fp_more { grid-template-columns: 1fr; }
    .fp .fp_games { grid-template-columns: 1fr 1fr; }
    .fp .fp_hero h1 { font-size: 36px; }
    .fp .fp_sec { padding: 56px 0; }
    .fp .fp_sec h2 { font-size: 30px; }
}

/* Find your gaming profile (Games page, #find) */
.fp .fp_btn_purple { background: #18014d; color: #fff; border: 0; cursor: pointer; }
.fp .fp_btn_purple:hover, .fp .fp_btn_purple:focus { background: #2c0b7a; color: #fff; }
.fp .fp_find { background: #fff; border: 1px solid #e6e1f0; border-radius: 20px; padding: 28px; }
.fp .fp_find label { font-weight: 700; color: #18014d; display: block; }
.fp .fp_find_row { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 8px; }
.fp .fp_find_row input { flex: 1; min-width: 220px; height: 52px; border: 2px solid #b9b1cf; border-radius: 26px; padding: 0 20px; font-size: 17px; }
.fp .fp_find_row input:focus { outline: 3px solid #5a2bd6; outline-offset: 2px; }
.fp .fp_find_result { display: flex; align-items: center; gap: 16px; border: 1px solid #e6e1f0; border-radius: 16px; padding: 16px; margin-top: 18px; }
.fp .fp_find_av { width: 64px; height: 64px; border-radius: 14px; background: #f1eef9; flex: none; object-fit: cover; }
.fp .fp_find_result h3 { margin: 0; font-size: 19px; font-weight: 700; color: #18014d; }
.fp .fp_find_result p { margin: 2px 0 0; font-size: 14px; color: #555; }
.fp .fp_find_copy { background: none; border: 0; padding: 0; color: #5a2bd6; font: inherit; text-decoration: none; cursor: pointer; }
.fp .fp_find_miss { margin-top: 14px; font-size: 15px; color: #444; background: #faf9fd; border-radius: 12px; padding: 12px 16px; }
@media (max-width: 860px) { .fp .fp_find { padding: 20px; } .fp .fp_find_row input { min-width: 0; width: 100%; } .fp .fp_find_row .fp_btn { width: 100%; } }

/* A2-1247: translated pages. Long words (Malayalam, Tamil, Dutch compounds) wrap inside their column
   at 320 px instead of widening the page; English is unchanged. */
html:not([lang="en"]) .fp .fp_hero_grid > *, html:not([lang="en"]) .fp .fp_two > *,
html:not([lang="en"]) .fp .fp_steps li > *, html:not([lang="en"]) .fp .fp_tick li > * { min-width: 0; }
html:not([lang="en"]) .fp h1, html:not([lang="en"]) .fp h2, html:not([lang="en"]) .fp h3,
html:not([lang="en"]) .fp p, html:not([lang="en"]) .fp li, html:not([lang="en"]) .fp summary,
html:not([lang="en"]) .fp .fp_btn, html:not([lang="en"]) .fp .fp_crumbs { overflow-wrap: break-word; hyphens: auto; }
html:not([lang="en"]) .fp .fp_btn { white-space: normal; max-width: 100%; text-align: center; padding-top: 8px; padding-bottom: 8px; }
html:not([lang="en"]) .fp .fp_tick, html:not([lang="en"]) .fp .fp_steps, html:not([lang="en"]) .fp .fp_faq { grid-template-columns: minmax(0, 1fr); }
html:not([lang="en"]) .fp .fp_tick > li, html:not([lang="en"]) .fp .fp_steps > li, html:not([lang="en"]) .fp .fp_faq > details { min-width: 0; }
html:not([lang="en"]) .fp .fp_tick li { grid-template-columns: 26px minmax(0, 1fr); }
html:not([lang="en"]) .fp .fp_steps li { grid-template-columns: 44px minmax(0, 1fr); }
