:root {
  color-scheme: dark;
  --bg: #02060c;
  --panel: rgba(5, 16, 27, 0.84);
  --panel-2: rgba(8, 26, 43, 0.86);
  --line: rgba(65, 190, 255, 0.26);
  --line-strong: rgba(83, 214, 255, 0.58);
  --text: #eef7ff;
  --muted: #a9bbcf;
  --blue: #079ff0;
  --blue-bright: #28c7ff;
  --cyan: #5be7ff;
  --deep: #04111e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 16, 0.1), rgba(2, 6, 12, 0.85) 58%, #02060c),
    linear-gradient(90deg, rgba(2, 6, 12, 0.96), rgba(2, 6, 12, 0.48) 48%, rgba(2, 6, 12, 0.96)),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

@media (min-width: 821px) {
  body {
    background:
      linear-gradient(180deg, rgba(2, 8, 16, 0.1), rgba(2, 6, 12, 0.85) 58%, #02060c),
      linear-gradient(90deg, rgba(2, 6, 12, 0.96), rgba(2, 6, 12, 0.48) 48%, rgba(2, 6, 12, 0.96)),
      url('/assets/images/brand/bg-global-map.webp') center top / cover no-repeat fixed,
      var(--bg);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1260px;
  margin: 18px auto 0;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0.88), rgba(2, 9, 17, 0.9));
  box-shadow: 0 0 38px rgba(0, 174, 255, 0.12), inset 0 0 24px rgba(0, 163, 255, 0.06);
  backdrop-filter: blur(10px);
}

.brand,
.site-nav,
.footer-links,
.hero-actions,
.cta-actions,
.footer-status {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(40, 199, 255, 0.55));
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.12rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--cyan);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.eyebrow,
.meta {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.site-nav a,
.footer-links a,
.text-link {
  color: var(--cyan);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-select-wrap {
  display: flex;
  min-width: 178px;
}

.language-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 38px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 17, 30, 0.82);
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a {
  padding: 9px 10px;
  border-radius: 12px;
}

.site-nav a:hover {
  background: rgba(83, 231, 255, 0.08);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 72px;
}

.hero,
.section-grid,
.category-section,
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 36px;
}

.category-section {
  display: block;
}

.hero-copy,
.signal-panel,
.article-card,
.topic-list,
.cta-band,
.article-row,
.inline-cta,
.article-share,
.article-end {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0.86), rgba(3, 12, 22, 0.9));
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.34), inset 0 0 30px rgba(42, 195, 255, 0.04);
  backdrop-filter: blur(8px);
}

.hero-copy,
.signal-panel,
.topic-list,
.article-share,
.article-end {
  padding: 32px;
}

.hero-copy {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 4.9rem);
  line-height: 1.02;
  margin-bottom: 20px;
  text-shadow: 0 0 28px rgba(72, 199, 255, 0.22);
}

h2 {
  font-size: 2rem;
  line-height: 1.18;
}

.hero-copy p,
.page-intro p,
.article-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.04);
}

.button.primary {
  background: linear-gradient(180deg, #23c8ff 0%, #047fd4 100%);
  border-color: rgba(113, 231, 255, 0.82);
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 22px rgba(0, 172, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button.ghost {
  background: rgba(4, 17, 30, 0.56);
  color: var(--text);
}

.console-chip {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(4, 17, 30, 0.72);
}

.panel-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.signal-panel ul {
  padding-left: 18px;
  color: var(--muted);
}

.signal-bars {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.8fr 1.2fr;
  gap: 8px;
  margin-top: 26px;
}

.signal-bars span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(3, 85, 132, 0.45), rgba(42, 199, 255, 0.82));
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.latest-section {
  display: grid;
  gap: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0.82), rgba(3, 12, 22, 0.9));
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28), inset 0 0 28px rgba(42, 195, 255, 0.04);
}

.category-card p {
  color: var(--muted);
}

.category-card strong {
  align-self: end;
  color: var(--cyan);
  font-size: 0.86rem;
}

.category-icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(91, 231, 255, 0.34);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(91, 231, 255, 0.13), rgba(26, 111, 255, 0.04)),
    rgba(4, 16, 29, 0.72);
  box-shadow: 0 0 22px rgba(91, 231, 255, 0.16), inset 0 0 20px rgba(91, 231, 255, 0.05);
}

.category-icon::before,
.category-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.category-icon.account-protection::before {
  width: 22px;
  height: 26px;
  border: 2px solid var(--cyan);
  border-radius: 12px 12px 9px 9px;
  clip-path: polygon(50% 0, 100% 18%, 88% 82%, 50% 100%, 12% 82%, 0 18%);
}

.category-icon.account-protection::after {
  width: 8px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  box-shadow: 0 10px 0 -2px var(--cyan);
}

.category-icon.digital-privacy::before {
  width: 20px;
  height: 16px;
  bottom: 11px;
  border: 2px solid var(--cyan);
  border-radius: 5px;
}

.category-icon.digital-privacy::after {
  width: 15px;
  height: 15px;
  top: 9px;
  border: 2px solid var(--cyan);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: 10px 17px 0 -7px var(--cyan);
}

.category-icon.scam-risk-awareness::before {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 24px solid rgba(91, 231, 255, 0.82);
  filter: drop-shadow(0 0 8px rgba(91, 231, 255, 0.38));
}

.category-icon.scam-risk-awareness::after {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(91, 231, 255, 0.52);
  border-radius: 999px;
  border-left-color: transparent;
  transform: rotate(-28deg);
}

.category-icon.platform-safety::before {
  width: 16px;
  height: 26px;
  border: 2px solid var(--cyan);
  border-radius: 5px;
}

.category-icon.platform-safety::after {
  width: 25px;
  height: 18px;
  border-top: 2px solid rgba(91, 231, 255, 0.8);
  border-right: 2px solid rgba(91, 231, 255, 0.8);
  border-radius: 0 12px 0 0;
  transform: translateX(7px) rotate(-18deg);
}

.category-icon.hacker-tools-tech::before {
  width: 26px;
  height: 19px;
  border: 2px solid var(--cyan);
  border-radius: 5px;
  box-shadow: inset 0 6px 0 rgba(91, 231, 255, 0.16);
}

.category-icon.hacker-tools-tech::after {
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateX(-1px) rotate(-45deg);
}

.category-icon.vexelops-updates::before {
  content: "V";
  color: var(--cyan);
  font-size: 1.18rem;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(91, 231, 255, 0.7);
}

.category-icon.vexelops-updates::after {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(91, 231, 255, 0.42);
  border-radius: 999px;
  border-left-color: transparent;
  transform: rotate(36deg);
}

.article-card {
  padding: 22px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.article-thumb {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 18px;
  border: 1px solid rgba(83, 243, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 9, 17, 0.72);
}

.article-card:hover {
  border-color: rgba(91, 231, 255, 0.44);
  transform: translateY(-2px);
}

.article-card p,
.article-row p {
  color: var(--muted);
}

.topic-list span,
.tag-row span,
.status-chip {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 6px 10px;
  border: 1px solid rgba(83, 243, 255, 0.18);
  border-radius: 999px;
  background: rgba(83, 243, 255, 0.06);
  color: var(--cyan);
  font-size: 0.85rem;
}

.cta-band {
  padding: 28px;
  align-items: center;
}

.page-intro,
.article-hero {
  max-width: 850px;
  margin: 42px 0 28px;
}

.article-list {
  display: grid;
  gap: 16px;
}

.article-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(190px, 0.8fr) minmax(170px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0.86), rgba(3, 12, 22, 0.9));
}

.article-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-controls input,
.article-controls select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 17, 30, 0.82);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
}

.result-summary,
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
  color: var(--muted);
}

.result-summary a,
.pagination a {
  color: var(--cyan);
}

.pagination {
  justify-content: center;
}

.pagination a {
  min-width: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  background: rgba(4, 17, 30, 0.62);
}

.pagination .is-current {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(21, 134, 201, 0.52);
}

.empty-state {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(4, 17, 30, 0.76);
  text-align: center;
}

.article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
}

.article-row-thumb {
  width: 190px;
  max-width: 28%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid rgba(83, 243, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 9, 17, 0.72);
}

.article-row-copy {
  flex: 1;
}

.article-page {
  max-width: 850px;
  margin: 0 auto;
}

.article-page .article-hero {
  margin-left: auto;
  margin-right: auto;
}

.article-cover,
.article-figure {
  margin: 0 auto 28px;
}

.article-cover {
  max-width: 850px;
}

.article-cover img,
.article-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(83, 243, 255, 0.16);
  border-radius: 22px;
  background: rgba(2, 9, 17, 0.72);
}

.article-figure {
  max-width: 720px;
  padding: 0;
}

.article-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(83, 243, 255, 0.1);
  border-radius: 20px;
  background: rgba(2, 9, 17, 0.82);
  font-size: 1.1rem;
  line-height: 1.84;
}

.article-body h2 {
  margin: 38px 0 14px;
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1.25;
  border-bottom: 1px solid rgba(83, 243, 255, 0.12);
  padding-bottom: 10px;
}

.article-body h3 {
  margin: 28px 0 12px;
  color: var(--cyan);
  font-size: 1.18rem;
  line-height: 1.35;
}

.article-body p {
  color: rgba(226, 238, 255, 0.92);
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
  margin-bottom: 30px;
}

.article-body .paragraph-block {
  white-space: pre-line;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
}

.article-body a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(91, 231, 255, 0.34);
}

.article-body a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.article-body strong {
  color: var(--text);
}

.article-body blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 16px 16px 0;
  background: rgba(83, 243, 255, 0.06);
  color: var(--text);
}

.note-box,
.warning-box,
.cta-panel,
.related-links {
  margin: 30px 0;
  padding: 20px;
  border: 1px solid rgba(83, 243, 255, 0.18);
  border-radius: 18px;
  background: rgba(6, 22, 36, 0.76);
}

.note-box strong,
.warning-box strong,
.cta-panel strong,
.related-links strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
}

.warning-box {
  border-color: rgba(255, 190, 90, 0.32);
  background: rgba(255, 190, 90, 0.07);
}

.warning-box strong {
  color: #ffd18a;
}

.cta-panel a,
.related-links a {
  display: inline-flex;
  margin: 8px 12px 0 0;
}

.related-links {
  display: grid;
  gap: 8px;
}

.article-link-button-wrap {
  margin: 30px 0;
}

.article-link-button {
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, #23c8ff 0%, #047fd4 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(0, 172, 255, 0.2);
}

.inline-cta {
  margin: 34px 0;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 28, 45, 0.9), rgba(4, 14, 25, 0.92));
}

.inline-cta a {
  color: var(--cyan);
  margin-right: 16px;
}

.article-share {
  max-width: 800px;
  margin: 34px auto 0;
}

.article-share h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.1rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(83, 243, 255, 0.2);
  border-radius: 12px;
  background: rgba(4, 17, 30, 0.62);
  color: var(--cyan);
  font: inherit;
  cursor: pointer;
}

.share-button:hover {
  border-color: rgba(91, 231, 255, 0.48);
  color: #fff;
}

.share-copy-status,
.share-manual-link {
  margin: 12px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.article-end {
  margin-top: 42px;
}

.site-footer {
  margin-bottom: 24px;
  color: var(--muted);
}

.error-page {
  max-width: 760px;
  margin: 72px auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0.86), rgba(3, 12, 22, 0.9));
}

.footer-status {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
}

.footer-status span::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: #22ffc4;
  box-shadow: 0 0 12px rgba(34, 255, 196, 0.78);
}

@media (max-width: 820px) {
  body {
    background:
      linear-gradient(180deg, rgba(2, 6, 12, 0.42), rgba(2, 6, 12, 0.92) 58%, #02060c),
      url('/assets/images/brand/bg-map-mobile.webp') center top / cover no-repeat fixed,
      var(--bg);
  }

  .site-header,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin: 14px 14px 0;
    padding: 12px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav a {
    text-align: center;
    border: 1px solid rgba(83, 231, 255, 0.16);
    background: rgba(4, 17, 30, 0.62);
  }

  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .language-select-wrap {
    min-width: 0;
    width: 100%;
  }

  .language-select {
    width: 100%;
  }

  .article-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section-grid,
  .article-controls,
  .cta-band,
  .category-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
    padding: 28px 22px;
  }

  .signal-panel,
  .topic-list,
  .article-share,
  .article-end,
  .article-body {
    padding: 24px 20px;
  }

  .article-body {
    border-radius: 16px;
  }

  .button {
    width: 100%;
  }

  .article-row-thumb {
    width: 100%;
    max-width: none;
  }
}
