/* =========================================================
   CONTENT / INFO PAGES (More menu) — Privacy, Terms, Paid Services,
   FAQ, Contact, Tournament Guide. Shared, page-owned styles (R5),
   light/dark design-system parity (R9), responsive (R6).
   ========================================================= */

/* page background image (stadium) — webp with jpg fallback, light overlay keeps
   text readable; dark overlay keeps dark-theme intact (R9) */
body {
    background-color: var(--bg, #f3f7fb);
    background-image: linear-gradient(rgba(244, 249, 253, 0.88), rgba(244, 249, 253, 0.74)), url(../../images/backgrounds/more-bg.jpg);
    background-image: linear-gradient(rgba(244, 249, 253, 0.88), rgba(244, 249, 253, 0.74)), image-set(url(../../images/backgrounds/more-bg.webp) type("image/webp"), url(../../images/backgrounds/more-bg.jpg) type("image/jpeg"));
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
[data-theme="dark"] body {
    background-color: #060b14;
    background-image: linear-gradient(rgba(6, 11, 20, 0.82), rgba(6, 11, 20, 0.92)), url(../../images/backgrounds/more-bg.jpg);
    background-image: linear-gradient(rgba(6, 11, 20, 0.82), rgba(6, 11, 20, 0.92)), image-set(url(../../images/backgrounds/more-bg.webp) type("image/webp"), url(../../images/backgrounds/more-bg.jpg) type("image/jpeg"));
}

.cp-page { max-width: 980px; margin: 0 auto; padding: 24px 24px 70px; box-sizing: border-box; }
.cp-page--wide { max-width: 1100px; }

/* breadcrumb */
.cp-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; margin-bottom: 16px; flex-wrap: wrap; }
.cp-crumb a { color: #0088ea; text-decoration: none; }
.cp-crumb a:hover { text-decoration: underline; }
.cp-crumb svg { width: 14px; height: 14px; opacity: 0.6; }
.cp-crumb .cp-crumb__cur { color: #64748b; font-weight: 600; }
[data-theme="dark"] .cp-crumb .cp-crumb__cur { color: #9fb5c9; }

/* hero */
.cp-hero { text-align: center; margin-bottom: 30px; }
.cp-hero__badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px; border-radius: 999px; background: #eef4ff; color: #0077d4; font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.cp-hero__badge svg { width: 14px; height: 14px; }
[data-theme="dark"] .cp-hero__badge { background: #0b2a3f; color: #5cc0ff; }
.cp-hero__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 34px; font-weight: 700; letter-spacing: -0.5px; margin: 14px 0 0; color: var(--text-primary,#0f2033); }
[data-theme="dark"] .cp-hero__title { color: #eef4fb; }
.cp-hero__title .cp-accent { color: #0088ea; }
.cp-hero__divider { width: 64px; height: 4px; border-radius: 4px; background: #0088ea; margin: 14px auto 0; opacity: 0.85; }
.cp-hero__sub { font-size: 15px; color: #64748b; margin: 14px auto 0; max-width: 640px; line-height: 1.6; }

/* content card */
.cp-card { background: var(--surface,#fff); border: 1px solid var(--border,#e8eef5); border-radius: 20px; box-shadow: 0 14px 34px rgba(15,23,42,0.06); padding: 10px 30px; }
[data-theme="dark"] .cp-card { background: #0f2231; border-color: #1e3a52; box-shadow: 0 14px 34px rgba(0,0,0,0.3); }

/* ---- legal sections (id badge + title + prose) ---- */
.cp-sec { padding: 26px 0; border-bottom: 1px solid #eef1f6; }
.cp-sec:last-child { border-bottom: none; }
[data-theme="dark"] .cp-sec { border-bottom-color: #1b3147; }
.cp-sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cp-sec__badge { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #eef4ff; color: #0077d4; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
[data-theme="dark"] .cp-sec__badge { background: #0b2a3f; color: #5cc0ff; }
.cp-sec__title { font-size: 18px; font-weight: 700; color: var(--text-primary,#0f2033); line-height: 1.25; }
[data-theme="dark"] .cp-sec__title { color: #eef4fb; }
.cp-prose { font-size: 14.5px; line-height: 1.8; color: #475569; }
.cp-prose a { color: #0088ea; text-decoration: none; }
[data-theme="dark"] .cp-prose { color: #aebfcf; }

/* ---- FAQ ---- */
.cp-faq-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.cp-faq-tab { height: 40px; padding: 0 20px; border-radius: 22px; border: 1.5px solid var(--border,#e2e8f0); background: var(--surface,#fff); color: #334155; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.15s ease; }
.cp-faq-tab:hover { border-color: #bcdcf7; color: #0088ea; }
.cp-faq-tab.is-active { background: #0088ea; border-color: #0088ea; color: #fff; }
[data-theme="dark"] .cp-faq-tab { background: #0f2231; border-color: #27425a; color: #aebfcf; }
.cp-faq-cat { display: none; }
.cp-faq-cat.is-active { display: block; }
.cp-acc { border: 1px solid var(--border,#e8eef5); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--surface,#fff); }
[data-theme="dark"] .cp-acc { background: #0f2231; border-color: #1e3a52; }
.cp-acc__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: 16px 20px; border: none; background: none; cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-primary,#0f2033); }
[data-theme="dark"] .cp-acc__q { color: #eef4fb; }
.cp-acc__q:hover { background: #f8fbff; }
[data-theme="dark"] .cp-acc__q:hover { background: #12293b; }
.cp-acc__ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: #eef4ff; color: #0088ea; display: grid; place-items: center; transition: transform 0.2s ease; }
[data-theme="dark"] .cp-acc__ic { background: #0b2a3f; color: #5cc0ff; }
.cp-acc.is-open .cp-acc__ic { transform: rotate(45deg); }
.cp-acc__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.cp-acc__a-inner { padding: 0 20px 18px; font-size: 14px; line-height: 1.75; color: #475569; white-space: pre-line; }
[data-theme="dark"] .cp-acc__a-inner { color: #aebfcf; }

/* ---- Contact ---- */
.cp-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.cp-contact-info { display: flex; flex-direction: column; gap: 14px; }
.cp-info-card { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--border,#e8eef5); border-radius: 16px; background: var(--surface,#fff); }
[data-theme="dark"] .cp-info-card { background: #0f2231; border-color: #1e3a52; }
.cp-info-card__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: #eef4ff; color: #0088ea; display: grid; place-items: center; }
[data-theme="dark"] .cp-info-card__ic { background: #0b2a3f; color: #5cc0ff; }
.cp-info-card__k { font-size: 12.5px; color: #94a3b8; font-weight: 600; }
.cp-info-card__v { font-size: 15px; font-weight: 700; color: var(--text-primary,#0f2033); word-break: break-word; }
.cp-info-card__v a { color: inherit; text-decoration: none; }
[data-theme="dark"] .cp-info-card__v { color: #eef4fb; }
.cp-form { background: var(--surface,#fff); border: 1px solid var(--border,#e8eef5); border-radius: 18px; padding: 24px; }
[data-theme="dark"] .cp-form { background: #0f2231; border-color: #1e3a52; }
.cp-field { margin-bottom: 16px; }
.cp-field label { display: block; font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 7px; }
[data-theme="dark"] .cp-field label { color: #aebfcf; }
.cp-input, .cp-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border,#e2e8f0); border-radius: 12px; font-size: 14px; color: #0f172a; background: #fff; outline: none; box-sizing: border-box; font-family: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.cp-input:focus, .cp-textarea:focus { border-color: #0088ea; box-shadow: 0 0 0 3px rgba(0,136,234,0.12); }
.cp-textarea { min-height: 120px; resize: vertical; }
[data-theme="dark"] .cp-input, [data-theme="dark"] .cp-textarea { background: #0b1b28; border-color: #27425a; color: #e6edf6; }
.cp-submit { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 26px; border-radius: 24px; background: #0088ea; color: #fff; border: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.16s ease; }
.cp-submit:hover { background: #006fc0; }

/* ---- Guide ---- */
.cp-guide-sec { padding: 26px 0; border-bottom: 1px solid #eef1f6; }
.cp-guide-sec:last-child { border-bottom: none; }
[data-theme="dark"] .cp-guide-sec { border-bottom-color: #1b3147; }
.cp-guide-sec__title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: var(--text-primary,#0f2033); margin: 0 0 14px; }
[data-theme="dark"] .cp-guide-sec__title { color: #eef4fb; }
.cp-guide-sec__num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #eef4ff; color: #0077d4; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.cp-guide-sec__num svg { width: 18px; height: 18px; }
[data-theme="dark"] .cp-guide-sec__num { background: #0b2a3f; color: #5cc0ff; }
.cp-guide-sec p { font-size: 14.5px; line-height: 1.8; color: #475569; margin: 0 0 12px; }
[data-theme="dark"] .cp-guide-sec p { color: #aebfcf; }
.cp-guide-sec ul { margin: 0 0 12px; padding-left: 20px; }
.cp-guide-sec li { font-size: 14.5px; line-height: 1.8; color: #475569; margin-bottom: 6px; }
[data-theme="dark"] .cp-guide-sec li { color: #aebfcf; }
.cp-guide-sec b { color: var(--text-primary,#0f2033); }
[data-theme="dark"] .cp-guide-sec b { color: #eef4fb; }

/* ---- Responsive (R6) ---- */
@media (max-width: 720px) {
    .cp-page { padding: 18px 16px 56px; }
    .cp-hero__title { font-size: 26px; }
    .cp-card { padding: 6px 18px; }
    .cp-contact-grid { grid-template-columns: 1fr; }
    .cp-faq-tabs { gap: 6px; }
    .cp-faq-tab { height: 36px; padding: 0 14px; font-size: 13px; }
}
