/* =============================================================
   STARTRADER Help Center — dark banner + glass + clean FAQ
   Font: Plus Jakarta Sans only · Brand palette · No turquoise
   ============================================================= */
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
:root {
  /* Brand */
  --navy: #0D0D4B;
  --blue: #0047BB;
  --deep-blue: #001489;
  --light: #DAE3ED;
  --charcoal: #1C1F2A;
  --gray: #50555B;
  --beige: #DFC5AE;
  --bronze: #AC7C59;
  --silver: #A0A8AE;

  /* Light theme (content) */
  --ink: #0F1130;
  --body: #565C6B;
  --muted: #8A90A0;
  --bg: #ffffff;
  --bg-soft: #F4F6FB;
  --line: rgba(13, 13, 75, 0.10);
  --line-2: rgba(13, 13, 75, 0.16);
  --blue-soft: rgba(0, 71, 187, 0.07);
  --ring: rgba(0, 71, 187, 0.24);

  /* Dark theme (banner / footer) */
  --d-grad: linear-gradient(168deg, #05060f 0%, #080a24 40%, #0b0c3a 68%, #0d1a63 100%);
  --d-text: rgba(255, 255, 255, 0.94);
  --d-soft: rgba(255, 255, 255, 0.66);
  --d-faint: rgba(255, 255, 255, 0.5);
  --d-line: rgba(255, 255, 255, 0.12);
  --accent: #7EA2FF;          /* light periwinkle-blue (no turquoise) */

  /* Blue gradient (CTA) */
  --blue-grad: linear-gradient(120deg, #0b0c3a 0%, #0047BB 62%, #1E63E9 100%);

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(15, 17, 48, 0.05);
  --sh-md: 0 10px 28px rgba(15, 17, 48, 0.07);
  --sh-lg: 0 24px 60px rgba(15, 17, 48, 0.12);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Motion */
  --dur: 240ms;
  --dur-slow: 620ms;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);

  /* Type scale — one consistent modular system */
  --fs-xs: 0.75rem;      /* 12px — eyebrows, legal, captions */
  --fs-sm: 0.875rem;     /* 14px — sidebar, nav, secondary */
  --fs-base: 1rem;       /* 16px — body copy */
  --fs-md: 1.0625rem;    /* 17px — lead text, FAQ questions */
  --fs-lg: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);   /* 20–24px — section titles */
  --fs-xl: clamp(1.5rem, 1.28rem + 0.95vw, 2.05rem);  /* 24–33px — hero / page titles */
  --fs-2xl: clamp(1.5rem, 1.28rem + 0.95vw, 2.05rem); /* alias of xl (compat) */

  --container: 1120px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.7;
  color: var(--body); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(0, 71, 187, 0.16); }
:focus-visible { outline: 2.5px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-block: clamp(44px, 6vw, 80px); }
.bg-soft { background: var(--bg-soft); }

.kicker {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; max-width: 100%;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
}

.section-head { max-width: 640px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-lg); margin-top: 12px; }
.section-head p { margin-top: 12px; color: var(--body); font-size: var(--fs-base); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--fs-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0053d8; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 71, 187, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-light { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-light:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-ghost-light { color: rgba(255,255,255,0.9); }
.btn-ghost-light:hover { color: #fff; }

/* ---------- Top strips (risk warning + utility) ---------- */
.topstrip { background: #fff; color: var(--gray); text-align: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.topstrip p { max-width: 1000px; margin-inline: auto; font-size: 0.72rem; line-height: 1.5; }
.utilstrip { background: #05060f; color: rgba(255, 255, 255, 0.82); }
.utilstrip-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 9px; }
.utilstrip .u-left { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.utilstrip .u-right { display: flex; align-items: center; gap: 16px; }
.utilstrip a { font-size: var(--fs-xs); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); font-weight: 500; transition: color var(--dur) var(--ease); }
.utilstrip a:hover { color: #fff; }
.u-login { text-transform: uppercase; }
.u-openlive { text-transform: uppercase; border: 1px solid var(--blue); border-radius: var(--r-pill); padding: 7px 16px; font-weight: 600; color: #fff !important; transition: background var(--dur) var(--ease); }
.u-openlive:hover { background: var(--blue); }
.u-lang { display: inline-flex; align-items: center; gap: 6px; }





/* language_box_mask */
.language_box_mask {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #00000073;
    z-index: 100000;
}


.inner {
    width: 100%;
    max-width: 1496px;
    padding: 0 100px;
    margin: 0 auto;
}
@media (max-width: 1400px) {
    .inner {
        padding: 0 65px;
    }
}
@media (max-width: 1024px) {
    .inner {
        padding: 0 40px;
    }
}

@media (max-width: 510px) {
    .inner {
        padding: 0 20px;
    }
}

.language_box_content {
    position: relative;
    padding: 30px 42px 0;
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.language_box {max-width: 500px;}

.language_box_content .close_change_box {
    position: absolute;
    top: 14px;
    right: 20px;
    cursor: pointer;
}
.language_box_content ul {
    padding-bottom: 23px;
    flex-wrap: wrap;
    justify-content: center;
}

.flex {
    display: flex;
    align-items: center;
}

.language_box_content ul li {
    border-radius: 10px;
}
.language_box_content ul li a {
    text-transform: none;
    display: block;
    padding: 23px 0;
}
.language_box_content .language_list_name {
    font-size: 16px;
    line-height: 1.223;
    color: #0D0D4B;
}
.language_box_content .language_list_en_name {
    font-size: 14px;
    line-height: 1.215;
    margin-top: 6px;
    color: #494851;
}


















/* ---------- Main nav ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(9, 10, 32, 0.86);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hdr.scrolled { background: rgba(7, 8, 24, 0.94); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 26px; width: auto; }
.hdr .nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 9px 13px; border-radius: var(--r-pill);
  color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav_right{display: none;}
.nav-toggle { display: none; padding: 8px; border-radius: 10px; color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Submenu (dropdown) ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item .nav-link { display: inline-flex; align-items: center; gap: 8px; }
/* 不显示小箭头 */
.subnav {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 150px;
  width: max-content; display: flex; flex-direction: column; gap: 6px;
  background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 18px 40px rgba(15,17,48,0.10);
  border: 1px solid rgba(15,17,48,0.06); z-index: 220;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.99);
  transform-origin: top left; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) ease;
  pointer-events: none;
}
.subnav a { display: block; width: 100%; padding: 5px 10px; color: var(--ink); border-radius: 8px; }
.subnav a + a { margin-top: 6px; }
.subnav a:hover { background: linear-gradient(90deg, rgba(126,162,255,0.06), rgba(172,124,89,0.03)); color: var(--blue); }
.nav-item.open > .subnav { opacity: 1; display:flex; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }

@media (max-width: 1400px) {
.nav-item:nth-of-type(5) > .subnav{
    left: auto;
    right: 0;
}
}
@media (max-width: 1200px) {
.nav-item:nth-of-type(4) > .subnav{
    left: auto;
    right: 0;
}
}


@media (max-width: 780px) {
.nav-link{padding: 9px 7px;}

}


/* 增加小分隔线（可选） */
.subnav { box-shadow: 0 12px 34px rgba(15,17,48,0.12); }
.subnav a { border-left: 3px solid transparent; }
/* .subnav a:hover { border-left-color: var(--blue); } */

/* Mobile / narrow: make nav vertical and subnav flow inline (accordion-like) */
@media (max-width: 720px) {
  .nav-item { display: block; }
  .subnav { position: static; display:none; width:100%; box-shadow: none; border: 1px solid var(--line); background: #fff; padding: 8px 12px; margin-top: 6px; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .subnav a { border-radius: 6px; }
  .subnav a + a { margin-top: 4px; }
  .nav-item .nav-link{width:100%;}
}


/* ---------- Dark banner region ---------- */
/* Pull the banner up behind the sticky (translucent) header so the top
   reads as one cohesive dark surface instead of showing the white body. */
/* No `overflow: hidden` here — the search dropdown must be able to extend
   past the dark banner. Decorative layers below are inset to the box anyway. */
.dark-wrap { position: relative; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); background: var(--d-grad); color: var(--d-text); }
.dark-wrap::before {
  will-change: transform;
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(760px 420px at 84% -6%, rgba(30, 99, 233, 0.4), transparent 62%),
    radial-gradient(620px 360px at 8% 108%, rgba(126, 162, 255, 0.12), transparent 64%);
}
.dark-wrap > * { position: relative; z-index: 1; }
.dark-wrap .kicker { color: var(--accent); }
.dark-wrap .section-head h2 { color: #fff; }
.dark-wrap .section-head p { color: var(--d-soft); }

/* ---------- Hero ---------- */
/* z-index 3 keeps the search dropdown above the section that follows. */
.hero { position: relative; z-index: 3; text-align: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero .kicker { justify-content: center; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.125rem); font-weight: 700; color: #fff; max-width: 16ch; margin-inline: auto; letter-spacing: -0.025em; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {background-color: transparent; margin: 18px auto 0; max-width: 54ch; color: var(--d-soft); font-size: var(--fs-md); }

/* Search */
.search { position: relative; width: min(620px, 100%); margin: 34px auto 0; }
.search-box {
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: var(--r-pill);
  background: #fff; box-shadow: 0 18px 46px rgba(0,0,0,0.4);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.search.focused .search-box { transform: translateY(-1px); box-shadow: 0 22px 56px rgba(0,0,0,0.5), 0 0 0 4px rgba(126,162,255,0.3); }
.search-box .s-ico { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-box input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-family: inherit; font-size: var(--fs-base); color: var(--ink); padding: 10px 0; }
.search-box input::placeholder { color: var(--muted); }
.search-box .btn { padding: 11px 20px; }

/* .search-results-wrap { margin-top: 14px; } */
.search-results-title {
  font-size: 0.9rem; color: var(--muted); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px;
}
.search-results {
  position: absolute; top:115%; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  overflow: hidden; text-align: left; max-height: 56vh; overflow-y: auto; display: none;
}
.search-results.open { display: block; }
.sr-head { padding: 13px 18px; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.sr-item { display: block; padding: 13px 18px; border-bottom: 1px solid var(--line); transition: background var(--dur) var(--ease); }
.sr-item:last-child { border-bottom: none; }
.sr-item:hover, .sr-item.active { background: var(--bg-soft); }
.sr-q { color: var(--ink); font-weight: 500; font-size: var(--fs-sm); }
.sr-q:hover{background: var(--bg-soft);}
.sr-q span{
    font-size: 16px;
    font-weight: bold;
    background: #c4c1c1;
    display: inline-block;
    border-radius: 5px;
    padding: 2px;
    line-height: 1;
}
.sr-cat { color: var(--blue); font-size: var(--fs-xs); font-weight: 600; margin-top: 3px; }
.sr-empty { padding: 24px 18px; text-align: center; color: var(--muted); }
mark { background: rgba(172, 124, 89, 0.24); color: inherit; border-radius: 3px; padding: 0 2px; }

/* ---------- Category glass grid (light section) ---------- */
.cat-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #eef3fb 100%); }
.cat-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(560px 340px at 10% 6%, rgba(0, 71, 187, 0.12), transparent 58%),
    radial-gradient(520px 340px at 94% 22%, rgba(126, 162, 255, 0.16), transparent 60%),
    radial-gradient(460px 320px at 72% 104%, rgba(172, 124, 89, 0.09), transparent 60%);
}
.cat-section > .container { position: relative; z-index: 1; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: flex; flex-direction: column; gap: 5px; padding: 26px; border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(15, 17, 48, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.72); border-color: rgba(0, 71, 187, 0.3); box-shadow: 0 18px 44px rgba(15, 17, 48, 0.12); }
.cat-ico {
  width: 46px; height: 46px; border-radius: var(--r-md); flex: none; margin-bottom: 16px;
  display: grid; place-items: center; color: var(--blue); background: var(--blue-soft);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cat-card:hover .cat-ico { background: var(--navy); color: #fff; }
.cat-ico svg { width: 22px; height: 22px; }
.cat-card h3 { font-size: var(--fs-base); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color var(--dur) var(--ease); }
.cat-card:hover h3 { color: var(--blue); }

/* ---------- FAQ / accordion (clean rows) ---------- */
.faq { max-width: 900px; }
.faq.center { margin-inline: auto; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 24px;
  padding: 20px 16px; color: var(--ink); font-weight: 500; font-size: var(--fs-md); line-height: 1.5;
  border-radius: 12px; transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.acc-head:hover { color: var(--blue); background: var(--bg-soft); }
.acc-q-text { flex: 1; }
.acc-plus {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line-2); background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.acc-plus svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.acc-head:hover .acc-plus { border-color: var(--blue); color: var(--blue); }
.acc-item.open .acc-plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.acc-item.open .acc-plus svg { transform: rotate(45deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease); }
.acc-body { padding: 4px 58px 24px 16px; color: var(--body); font-size: var(--fs-base); max-width: 70ch; }
.acc-body p { margin-bottom: 13px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-body ul { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; }
.acc-body li { position: relative; padding-left: 24px; }
.acc-body li::before { content: ""; position: absolute; left: 2px; top: 0.66em; width: 7px; height: 7px; border-radius: 2px; background: var(--bronze); }
.acc-body a { font-weight: 600; word-break: break-word; }

/* ---------- Popular list (home, links) ---------- */
.pop-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 44px; }
.pop-item { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.pop-item .pop-q { flex: 1; color: var(--ink); font-weight: 500; transition: color var(--dur) var(--ease); }
.pop-item:hover .pop-q { color: var(--blue); }
.pop-item .pop-chev { color: var(--silver); flex: none; transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.pop-item .pop-chev svg { width: 18px; height: 18px; }
.pop-item:hover .pop-chev { transform: translateX(4px); color: var(--blue); }

/* ---------- CTA (full-bleed blue gradient) ---------- */
.cta-full { position: relative; overflow: hidden; background: var(--blue-grad); color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 104px); }
.cta-full::after { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 320px at 78% 0%, rgba(126,162,255,0.35), transparent 60%); }
.cta-full > .container { position: relative; z-index: 1; }
.cta-full h2 { color: #fff; font-size: var(--fs-lg); font-weight: 600; }
.cta-full p { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 12px auto 26px; font-size: var(--fs-sm); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Promo band (flat blue gradient, no decorative layers) ---------- */
.promo {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(118deg, #00105f 0%, #0047BB 58%, #1E63E9 100%);
  padding-block: clamp(68px, 9vw, 124px);
}
.promo-in { position: relative; z-index: 1; }
.promo h2 { color: #fff; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.14; max-width: none; margin-inline: auto; }
.promo-sub { margin-top: 16px; color: rgba(255, 255, 255, 0.85); font-size: var(--fs-md); }
.promo-sub a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.promo-actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.42); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; transform: translateY(-1px); }

/* ---------- Legal links row ---------- */
.legal-links { background: #090a26; border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.legal-links-in { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(36px, 9vw, 130px); padding-block: 24px; }
.legal-links a { color: #fff; text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--fs-sm); transition: color var(--dur) var(--ease); }
.legal-links a:hover { color: var(--accent); }

/* ---------- Legal footer ---------- */
.footer { position: relative; background: var(--d-grad); color: rgba(255, 255, 255, 0.55); overflow: hidden; }
.footer-in { padding-block: clamp(44px, 6vw, 72px); position: relative; z-index: 1; }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 26px; width: auto; margin-bottom: 28px; }
.legal-body { max-width: 1040px; }
.legal-body p { font-size: var(--fs-xs); line-height: 1.75; color: rgba(255, 255, 255, 0.55); margin-bottom: 16px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body a { color: var(--accent); font-weight: 500; }
.legal-body .copyright { margin-top: 26px; color: rgba(255, 255, 255, 0.5); }

/* ---------- Breadcrumb (on dark banner) ---------- */
.crumb { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: var(--fs-sm); }
.crumb a { color: var(--d-soft); font-weight: 500; transition: color var(--dur) var(--ease); }
.crumb a:hover { color: #fff; }
.crumb svg { width: 14px; height: 14px; opacity: 0.5; }
.crumb .current { color: #fff; font-weight: 600; }

/* ---------- Category banner ---------- */
.cat-banner { padding-top: 26px; padding-bottom: clamp(34px, 5vw, 56px); }
.cat-head { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.cat-head .cat-ico { margin: 0; width: 56px; height: 56px; }
.cat-head .cat-ico svg { width: 27px; height: 27px; }
.cat-head h1 { font-size: var(--fs-2xl); font-weight: 600; color: #fff; }
.cat-head p { color: var(--d-soft); font-size: var(--fs-sm); margin-top: 5px; }

/* ---------- Category layout ---------- */
.cat-layout { display: grid; grid-template-columns: 258px 1fr; gap: clamp(30px, 5vw, 68px); align-items: start; }
.side-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.side-nav h4 { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; padding-inline: 16px; }
.side-nav a { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-radius: 12px; color: var(--body); font-weight: 500; font-size: var(--fs-sm); line-height: 1.4; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.side-nav a .sn-ico { width: 18px; height: 18px; flex: none; color: var(--silver); transition: color var(--dur) var(--ease); }
.side-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.side-nav a:hover .sn-ico { color: var(--blue); }
.side-nav a.active { color: var(--navy); background: var(--blue-soft); font-weight: 600; box-shadow: inset 3px 0 0 var(--blue); }
.side-nav a.active .sn-ico { color: var(--blue); }
.cat-faq .accordion { border-top: none; }
.cat-faq .acc-item:first-child { border-top: 1px solid var(--line); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 90px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--navy); box-shadow: var(--sh-md);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; margin-bottom: 8px; }
  .side-nav a.active { box-shadow: none; }
}
@media (max-width: 720px) {
  .hdr .nav {
    display: none; position: absolute; top: calc(var(--header-h) - 4px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(10, 11, 30, 0.97); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg);
    box-shadow: var(--sh-lg); padding: 12px;
    flex-direction: column; gap: 6px; align-items: stretch; 
  }
  .hdr .nav.open { display: flex; }
  .nav_right{display: block;}
  .nav-toggle { display: inline-grid; place-items: center; }
  .utilstrip .u-left, .utilstrip .u-lang { display: none; }
  .utilstrip-in { justify-content: center; gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .pop-list { grid-template-columns: 1fr; gap: 0; }
  .cat-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .acc-head { gap: 16px; padding: 18px 12px; }
  .acc-plus { width: 36px; height: 36px; }
  .acc-body { padding-left: 12px; padding-right: 10px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 2.1rem; }
  .legal-links-in { gap: 28px; }
  .promo-actions { flex-direction: column; }
  .promo-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
