:root {
  --bg: #050816;
  --bg-2: #07111f;
  --panel: rgba(8, 13, 30, 0.76);
  --panel-strong: rgba(11, 18, 38, 0.92);
  --line: rgba(125, 211, 252, 0.2);
  --line-strong: rgba(125, 211, 252, 0.42);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --slate: #94a3b8;
  --cyan: #38bdf8;
  --cyan-soft: #7dd3fc;
  --violet: #a78bfa;
  --lime: #a3e635;
  --rose: #fb7185;
  --amber: #fbbf24;
  --shadow: 0 24px 80px rgba(8, 13, 30, 0.42);
  --glow: 0 0 42px rgba(56, 189, 248, 0.28);
  --radius: 8px;
}

:root[data-theme="light"] {
  --bg: #f6f9fc;
  --bg-2: #eaf3f8;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(15, 23, 42, 0.12);
  --line-strong: rgba(2, 132, 199, 0.34);
  --text: #0f172a;
  --muted: #334155;
  --slate: #64748b;
  --cyan: #0369a1;
  --cyan-soft: #075985;
  --violet: #6d28d9;
  --lime: #4d7c0f;
  --rose: #e11d48;
  --amber: #b45309;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.12);
  --glow: 0 18px 58px rgba(2, 132, 199, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Noto Sans Thai", "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(167, 139, 250, 0.16), transparent 24rem),
    radial-gradient(circle at 15% 38%, rgba(56, 189, 248, 0.18), transparent 30rem),
    linear-gradient(180deg, #030712 0%, var(--bg) 48%, #06111f 100%);
}

:root[data-theme="light"] body {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 44%, #eef6fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(125, 211, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

:root[data-theme="light"] body::before {
  background:
    linear-gradient(90deg, rgba(2, 132, 199, 0.08), transparent 34%, transparent 66%, rgba(132, 204, 22, 0.08));
  background-size: auto;
  opacity: 0.85;
}

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

button,
input {
  font: inherit;
}

.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(56, 189, 248, 0.06), transparent);
  opacity: 0.55;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(20px);
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

:root[data-theme="light"] .page-grid {
  background:
    radial-gradient(circle at 24% 0%, rgba(2, 132, 199, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 8%, rgba(132, 204, 22, 0.1), transparent 18rem);
  opacity: 1;
}

.navbar,
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-frame {
  width: 82px;
  height: 52px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.brand-logo {
  width: 82px;
  height: 52px;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
}

.brand small {
  color: var(--slate);
  font-size: 0.78rem;
}

.nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.nav-panel a {
  color: var(--muted);
  padding: 10px 9px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.nav-panel a:hover {
  color: white;
  background: rgba(125, 211, 252, 0.1);
}

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(125, 211, 252, 0.18);
}

.nav-panel .social-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 8px;
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: none;
}

.nav-panel .social-icon:hover {
  color: white;
  transform: translateY(-1px);
}

.social-icon.facebook {
  background: linear-gradient(135deg, #1877f2, #0f4fb8);
}

.social-icon.youtube {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.social-icon.instagram {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 48%, #7c3aed 100%);
}

.social-icon.tiktok {
  background: #000000;
  box-shadow:
    -2px 2px 0 rgba(34, 211, 238, 0.75),
    2px -2px 0 rgba(236, 72, 153, 0.72);
}

:root[data-theme="light"] .nav-socials {
  border-left-color: rgba(15, 23, 42, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.72);
  padding: 11px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  position: relative;
  min-height: 38px;
  min-width: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 10px 0 35px;
  cursor: pointer;
  font-weight: 900;
}

.theme-knob {
  position: absolute;
  left: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, background 180ms ease;
}

.theme-toggle b {
  display: none;
}

:root[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

:root[data-theme="dark"] .theme-toggle {
  justify-content: flex-start;
  padding: 0 35px 0 10px;
  background: rgba(15, 23, 42, 0.78);
}

:root[data-theme="dark"] .theme-knob {
  transform: translateX(38px);
  background: #334155;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  padding: 76px 0 54px;
}

:root[data-theme="light"] .hero {
  position: relative;
  min-height: calc(100vh - 76px);
}

:root[data-theme="light"] .hero::before {
  content: "";
  position: absolute;
  inset: 52px auto 52px -34px;
  width: min(760px, 68vw);
  border-radius: 0 32px 32px 0;
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.88), rgba(255, 255, 255, 0.2)),
    linear-gradient(90deg, rgba(2, 132, 199, 0.08), transparent);
  border: 1px solid rgba(2, 132, 199, 0.1);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.07);
  z-index: -1;
}

:root[data-theme="light"] .hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.08);
  filter: blur(2px);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-soft);
  font-weight: 800;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: clamp(3.5rem, 6.9vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

:root[data-theme="light"] .hero h1 {
  color: #08111f;
  text-shadow: none;
}

.hero-copy {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

:root[data-theme="light"] .hero-copy {
  color: #243348;
}

.search-panel {
  width: min(720px, 100%);
  min-height: 62px;
  margin-top: 28px;
  padding: 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 13, 30, 0.72);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .search-panel {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.22);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.11);
}

.search-panel span {
  padding-left: 12px;
  color: var(--cyan-soft);
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  min-width: 0;
  color: white;
  border: 0;
  outline: 0;
  background: transparent;
}

:root[data-theme="light"] .search-panel input {
  color: var(--text);
}

:root[data-theme="light"] .search-panel input::placeholder {
  color: #94a3b8;
}

.search-panel input::placeholder {
  color: rgba(203, 213, 225, 0.62);
}

.search-panel button,
.btn,
.tool-card button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.search-help {
  width: min(720px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.6;
}

.search-help a {
  color: var(--cyan-soft);
  font-weight: 900;
  white-space: nowrap;
}

:root[data-theme="light"] .search-help {
  color: #475569;
}

:root[data-theme="light"] .search-help a {
  color: #075985;
}

.search-panel button,
.btn-primary,
.tool-card button {
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--lime) 100%);
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.22);
}

:root[data-theme="light"] .search-panel button,
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .tool-card button {
  color: white;
  background: linear-gradient(135deg, #075985 0%, #0284c7 58%, #0f766e 100%);
  box-shadow: 0 15px 34px rgba(2, 132, 199, 0.24);
}

:root[data-theme="light"] .btn-secondary {
  color: #075985;
  border-color: rgba(2, 132, 199, 0.28);
  background: rgba(224, 242, 254, 0.72);
}

:root[data-theme="light"] .btn-ghost {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.76);
}

.btn-secondary {
  color: white;
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.12);
}

.btn-ghost {
  color: var(--muted);
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.38);
}

.btn:hover,
.search-panel button:hover,
.tool-card button:hover {
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metric-row div {
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 13, 30, 0.58);
}

:root[data-theme="light"] .metric-row div,
:root[data-theme="light"] .ecosystem-strip a,
:root[data-theme="light"] .module-list span,
:root[data-theme="light"] .score-grid div {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.metric-row strong,
.metric-row span {
  display: block;
}

.metric-row strong {
  font-family: "Inter", sans-serif;
  font-size: 1.55rem;
}

.metric-row span {
  color: var(--slate);
  margin-top: 4px;
}

.hero-stage {
  display: grid;
  gap: 16px;
}

.portrait-card {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(8, 13, 30, 0.12)),
    rgba(8, 13, 30, 0.62);
  box-shadow: var(--glow);
  overflow: hidden;
}

:root[data-theme="light"] .portrait-card {
  background:
    linear-gradient(180deg, rgba(224, 242, 254, 0.86), #ffffff),
    #ffffff;
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.14);
}

.portrait-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 22, 0.72), rgba(5, 8, 22, 0.12), rgba(5, 8, 22, 0.42)),
    url("Yok.png");
  background-size: cover;
  background-position: center top;
  opacity: 0.92;
}

:root[data-theme="light"] .portrait-img {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22)),
    url("Yok.png");
  background-size: cover;
  background-position: center top;
  opacity: 1;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(5, 8, 22, 0.94));
}

:root[data-theme="light"] .portrait-card::after {
  background: linear-gradient(transparent 46%, rgba(255, 255, 255, 0.94));
}

.live-chip,
.floating-card,
.system-panel {
  position: relative;
  z-index: 1;
}

.live-chip {
  width: fit-content;
  margin: 18px;
  padding: 8px 11px;
  color: #03111f;
  border-radius: var(--radius);
  background: var(--lime);
  font-weight: 900;
  font-size: 0.78rem;
}

.floating-card {
  position: absolute;
  width: min(300px, 78%);
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius);
  background: rgba(8, 13, 30, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .floating-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

:root[data-theme="light"] .card-review {
  left: 22px;
  top: auto;
  bottom: 154px;
  width: min(290px, 58%);
}

:root[data-theme="light"] .card-ai {
  right: 22px;
  bottom: 34px;
  width: min(300px, 58%);
}

.floating-card b,
.floating-card span {
  display: block;
}

.floating-card span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.card-review {
  left: -20px;
  top: 130px;
}

.card-ai {
  right: 18px;
  bottom: 34px;
}

.social-live-panel {
  position: relative;
  z-index: 1;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 8%, rgba(163, 230, 53, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.08));
}

:root[data-theme="light"] .social-live-panel {
  border-color: rgba(2, 132, 199, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(163, 230, 53, 0.2), transparent 36%),
    linear-gradient(135deg, #e0f2fe, #f8fafc);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

.social-live-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.social-live-heading h2 {
  margin: 2px 0 0;
  font-size: 1rem;
  line-height: 1.25;
}

.social-live-kicker {
  color: var(--cyan);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.social-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.social-live-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(163, 230, 53, 0.12);
  animation: social-live-pulse 1.8s ease-in-out infinite;
}

@keyframes social-live-pulse {
  50% {
    opacity: 0.5;
    transform: scale(0.78);
  }
}

.social-live-viewport {
  position: relative;
  min-height: 214px;
}

.social-live-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 4px);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) scale(0.985);
  transition: opacity 320ms ease, transform 320ms ease;
}

.social-live-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.social-live-card:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.social-video-card {
  display: block;
  padding: 0;
  overflow: hidden;
  background: #050505;
}

.social-video-card:hover {
  transform: translateX(0) scale(1);
}

.social-video-frame {
  display: block;
  width: 100%;
  height: 214px;
  border: 0;
  background: #000000;
}

.social-video-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 900;
}

.social-video-open:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.9);
}

.platform-facebook {
  background: linear-gradient(135deg, #0b66ff, #0746ad);
}

.platform-youtube {
  background: linear-gradient(135deg, #ff2424, #a90000);
}

.platform-tiktok {
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 244, 238, 0.4), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(254, 44, 85, 0.46), transparent 32%),
    #111111;
}

.platform-lemon8 {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #f97316, #f43f5e 58%, #7c3aed);
}

.social-live-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.social-live-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.social-live-copy small {
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

.social-live-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.social-live-copy > span {
  font-size: 0.75rem;
  font-weight: 800;
  opacity: 0.88;
}

.social-live-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.social-live-arrow,
.social-live-dots button {
  border: 0;
  cursor: pointer;
}

.social-live-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(148, 163, 184, 0.14);
  font-weight: 900;
}

.social-live-arrow:hover {
  background: rgba(56, 189, 248, 0.2);
}

.social-live-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.social-live-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  overflow: hidden;
  color: transparent;
  font-size: 0;
  transition: width 200ms ease, background 200ms ease, color 200ms ease;
}

.social-live-dots button.is-active {
  width: 76px;
  height: 26px;
  color: #ffffff;
  background: var(--cyan);
  font-size: 0.65rem;
  font-weight: 900;
}

.social-live-dots button span {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .social-live-status i {
    animation: none;
  }

  .social-live-card {
    transition: none;
  }
}

.ecosystem-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: 70px;
}

.ecosystem-strip a {
  padding: 18px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(8, 13, 30, 0.7);
  transition: transform 180ms ease, border-color 180ms ease;
}

.ecosystem-strip a:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.ecosystem-strip b,
.ecosystem-strip span {
  display: block;
}

.ecosystem-strip span {
  margin-top: 6px;
  color: var(--slate);
}

.apps-section {
  padding: 0 0 76px;
}

.apps-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  gap: 16px;
}

.app-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(167, 139, 250, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.app-card-main {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(163, 230, 53, 0.1)),
    var(--panel-strong);
}

.app-card-creative {
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.16), rgba(236, 72, 153, 0.1)),
    var(--panel);
}

.app-card h3 {
  margin: 16px 0 0;
  font-size: 1.25rem;
  line-height: 1.32;
}

.app-card p {
  color: var(--muted);
  line-height: 1.72;
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.app-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(3, 7, 18, 0.28);
  font-size: 0.86rem;
  font-weight: 800;
}

:root[data-theme="light"] .app-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

:root[data-theme="light"] .app-card-main {
  background:
    linear-gradient(135deg, rgba(224, 242, 254, 0.94), rgba(240, 253, 244, 0.9)),
    #ffffff;
}

:root[data-theme="light"] .app-card-creative {
  background:
    linear-gradient(135deg, rgba(237, 233, 254, 0.96), rgba(252, 231, 243, 0.88)),
    #ffffff;
}

:root[data-theme="light"] .app-meta span {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.content-band {
  padding: 76px 0;
  border-top: 1px solid rgba(125, 211, 252, 0.1);
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
  background: rgba(8, 13, 30, 0.38);
}

:root[data-theme="light"] .content-band {
  background:
    linear-gradient(180deg, #ffffff, #f1f8fc);
}

:root[data-theme="light"] .feature-card,
:root[data-theme="light"] .tool-card,
:root[data-theme="light"] .video-card,
:root[data-theme="light"] .review-panel,
:root[data-theme="light"] .phone-spec-card,
:root[data-theme="light"] .deal-card,
:root[data-theme="light"] .product-card,
:root[data-theme="light"] .travel-stack a,
:root[data-theme="light"] .community-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

:root[data-theme="light"] .badge {
  color: #ffffff;
  background: #0369a1;
}

:root[data-theme="light"] .badge.violet {
  background: #6d28d9;
}

:root[data-theme="light"] .badge.lime {
  background: #4d7c0f;
}

:root[data-theme="light"] .badge.hot {
  background: #b45309;
}

:root[data-theme="light"] .feature-card:hover,
:root[data-theme="light"] .tool-card:hover,
:root[data-theme="light"] .video-card:hover,
:root[data-theme="light"] .mini-card:hover,
:root[data-theme="light"] .product-card:hover,
:root[data-theme="light"] .travel-stack a:hover {
  border-color: rgba(2, 132, 199, 0.34);
  box-shadow: 0 24px 58px rgba(2, 132, 199, 0.16);
}

main > .section-shell {
  padding: 76px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-heading h2,
.split-section h2,
.community-card h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
}

.section-heading a {
  color: var(--cyan-soft);
  font-weight: 900;
  white-space: nowrap;
}

.section-intro {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 20px;
}

.article-room-tabs a {
  padding: 10px 16px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  color: var(--slate);
  background: var(--panel);
  font-weight: 800;
}

.article-room-tabs a:hover,
.article-room-tabs a.active {
  color: #03111f;
  border-color: transparent;
  background: var(--cyan-soft);
}

.article-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 18px;
}

.article-spotlight,
.article-quick-list > a,
.article-category-grid > a {
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-spotlight:hover,
.article-quick-list > a:hover,
.article-category-grid > a:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.article-spotlight {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  display: flex;
  align-items: end;
  color: #fff;
}

.article-spotlight-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.04) 24%, rgba(2, 6, 23, 0.92) 100%),
    url("/articles/media/travel-1-1.jpg") center / cover no-repeat;
  transition: transform 300ms ease;
}

.article-spotlight:hover .article-spotlight-media {
  transform: scale(1.025);
}

.article-spotlight-copy {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 5vw, 42px);
}

.article-spotlight-copy h3 {
  max-width: 720px;
  margin: 16px 0 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.18;
}

.article-spotlight-copy p {
  max-width: 680px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.article-spotlight-copy strong {
  color: #fff;
}

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

.article-quick-list > a {
  min-height: 154px;
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
}

.article-thumb {
  display: block;
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.article-thumb-ads {
  background-image: url("/articles/android-popup-ads-after-football-video-cover.png");
}

.article-thumb-wifi {
  background-image: url("/articles/wifi-connected-no-internet-cover.png");
}

.article-thumb-storage {
  background-image: url("/articles/phone-storage-full-safe-cleanup-cover.png");
}

.article-quick-list > a > span:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.article-quick-list small {
  color: var(--cyan-soft);
  font-weight: 800;
}

.article-quick-list strong {
  margin: 7px 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.35;
}

.article-quick-list em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.article-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.article-category-grid > a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
}

.article-category-grid span {
  margin-bottom: auto;
  font-size: 1.45rem;
}

.article-category-grid strong,
.article-category-grid small {
  display: block;
}

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

.article-category-grid small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.card-grid,
.tool-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.tool-card,
.video-card,
.review-panel,
.phone-spec-card,
.mini-card,
.deal-card,
.product-card,
.travel-stack a,
.community-card {
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.tool-card:hover,
.video-card:hover,
.mini-card:hover,
.product-card:hover,
.travel-stack a:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.feature-card {
  overflow: hidden;
}

.card-media {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 220ms ease;
}

.feature-card:hover .card-media {
  transform: scale(1.035);
}

.media-phone {
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.32), rgba(5, 8, 22, 0.28)),
    url("https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?auto=format&fit=crop&w=900&q=80");
}

.media-ai {
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.34), rgba(5, 8, 22, 0.28)),
    url("https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&w=900&q=80");
}

.media-safety {
  background:
    linear-gradient(135deg, rgba(163, 230, 53, 0.2), rgba(5, 8, 22, 0.34)),
    url("https://images.unsplash.com/photo-1551650975-87deedd944c3?auto=format&fit=crop&w=900&q=80");
}

.feature-card h3,
.feature-card p,
.feature-card a,
.feature-card .badge {
  margin-left: 18px;
  margin-right: 18px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #03111f;
  background: var(--cyan-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.violet {
  background: var(--violet);
}

.badge.lime {
  background: var(--lime);
}

.badge.hot {
  background: var(--amber);
}

.feature-card h3,
.tool-card h3,
.video-card h3,
.review-panel h3,
.deal-card h3,
.product-card h3 {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1.22rem;
  line-height: 1.38;
}

.feature-card p,
.tool-card p,
.video-card p,
.review-panel p,
.deal-card p,
.product-card p,
.split-section p,
.community-card p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.feature-card a {
  display: inline-flex;
  margin-top: 4px;
  margin-bottom: 20px;
  color: var(--cyan-soft);
  font-weight: 900;
}

.mobile-dashboard {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  gap: 18px;
}

.review-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(167, 139, 250, 0.1)),
    var(--panel);
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.score-grid div {
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 7, 18, 0.38);
}

.score-grid b,
.score-grid span {
  display: block;
}

.score-grid b {
  color: var(--lime);
  font-size: 1.45rem;
}

.score-grid span {
  color: var(--slate);
}

.phone-spec-card {
  padding: 24px;
}

.phone-top,
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.phone-top span,
.price-row span {
  color: var(--slate);
}

.phone-top strong,
.price-row strong {
  color: var(--cyan-soft);
}

.phone-spec-card dl {
  margin: 22px 0 0;
}

.phone-spec-card div {
  margin: 0;
}

.phone-spec-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(125, 211, 252, 0.1);
}

.phone-spec-card dt {
  color: var(--slate);
}

.phone-spec-card dd {
  margin: 0;
  font-weight: 800;
}

.mini-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.mini-card {
  min-height: 98px;
  display: flex;
  align-items: end;
  padding: 16px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(56, 189, 248, 0.08));
}

:root[data-theme="light"] .mini-card {
  color: #0f172a;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(224, 242, 254, 0.78));
}

:root[data-theme="light"] .feature-card a,
:root[data-theme="light"] .section-heading a {
  color: #075985;
}

.tool-card,
.video-card,
.product-card {
  padding: 22px;
}

.featured-tool {
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(56, 189, 248, 0.08)),
    var(--panel);
}

.tool-card button {
  width: 100%;
  margin-top: 14px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.deal-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.1), rgba(5, 8, 22, 0.88)),
    linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(56, 189, 248, 0.12));
}

:root[data-theme="light"] .deal-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.94)),
    linear-gradient(135deg, rgba(254, 243, 199, 0.9), rgba(224, 242, 254, 0.86));
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-card {
  min-height: 220px;
}

.product-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius);
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan-soft), white);
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.travel-stack {
  display: grid;
  gap: 14px;
}

.travel-stack a {
  padding: 20px;
}

.travel-stack b,
.travel-stack span {
  display: block;
}

.travel-stack span {
  margin-top: 6px;
  color: var(--slate);
}

.video-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.video-card span {
  color: rgba(125, 211, 252, 0.45);
  font-family: "Inter", sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1;
}

.youtube-section {
  padding: 0 0 76px;
}

.youtube-section,
.tiktok-section {
  padding-left: 0;
  padding-right: 0;
}

.youtube-card {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.16), rgba(56, 189, 248, 0.08)),
    var(--panel-strong);
  box-shadow: 0 28px 80px rgba(239, 68, 68, 0.12);
}

.tiktok-section {
  padding: 0 0 76px;
}

.tiktok-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.22), transparent 13rem),
    radial-gradient(circle at 86% 78%, rgba(236, 72, 153, 0.22), transparent 14rem),
    linear-gradient(135deg, #020617 0%, #050816 48%, #111827 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.tiktok-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
}

.tiktok-copy p:not(.eyebrow) {
  color: #dbeafe;
  line-height: 1.75;
}

.tiktok-copy h2 {
  color: #ffffff;
}

.btn-tiktok {
  color: white;
  background: linear-gradient(135deg, #000000 0%, #06b6d4 46%, #ec4899 100%);
  box-shadow: 0 16px 42px rgba(236, 72, 153, 0.26);
}

.tiktok-preview {
  min-height: 300px;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 28% 24%, rgba(34, 211, 238, 0.22), transparent 8rem),
    radial-gradient(circle at 72% 76%, rgba(236, 72, 153, 0.18), transparent 9rem),
    #000000;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tiktok-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.18);
}

.tiktok-phone {
  width: min(210px, 80%);
  aspect-ratio: 9 / 16;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: white;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, 0.08), rgba(3, 7, 18, 0.86)),
    url("Yok.png");
  background-size: cover;
  background-position: center top;
  box-shadow:
    -18px 18px 0 rgba(34, 211, 238, 0.18),
    18px -18px 0 rgba(236, 72, 153, 0.16),
    0 28px 58px rgba(0, 0, 0, 0.24);
}

.tiktok-phone span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: var(--radius);
  color: #03111f;
  background: #67e8f9;
  font-size: 0.76rem;
  font-weight: 900;
}

.tiktok-phone b {
  margin-top: 10px;
  font-size: 1.25rem;
}

.tiktok-phone small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

:root[data-theme="light"] .tiktok-card {
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.22), transparent 13rem),
    radial-gradient(circle at 86% 78%, rgba(236, 72, 153, 0.2), transparent 14rem),
    linear-gradient(135deg, #020617 0%, #050816 48%, #111827 100%);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

:root[data-theme="light"] .tiktok-preview {
  background:
    radial-gradient(circle at 28% 24%, rgba(34, 211, 238, 0.22), transparent 8rem),
    radial-gradient(circle at 72% 76%, rgba(236, 72, 153, 0.16), transparent 9rem),
    #000000;
}

.youtube-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.18;
}

.youtube-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.youtube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn-youtube {
  color: white;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 16px 42px rgba(239, 68, 68, 0.24);
}

.youtube-preview {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 8, 22, 0.1), rgba(5, 8, 22, 0.78)),
    url("Yok.png");
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.youtube-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.18);
}

.play-button {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #ef4444;
  box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.14), 0 20px 44px rgba(239, 68, 68, 0.32);
  font-size: 2rem;
}

.youtube-preview span {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: white;
  background: rgba(5, 8, 22, 0.64);
  font-weight: 900;
}

.youtube-preview small,
.tiktok-preview em {
  padding: 7px 10px;
  border-radius: var(--radius);
  color: white;
  background: rgba(5, 8, 22, 0.62);
  font-style: normal;
  font-weight: 900;
  font-size: 0.86rem;
}

:root[data-theme="light"] .youtube-card {
  background:
    linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(255, 255, 255, 0.92)),
    #ffffff;
  border-color: rgba(185, 28, 28, 0.16);
  box-shadow: 0 24px 58px rgba(185, 28, 28, 0.12);
}

:root[data-theme="light"] .youtube-preview {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(15, 23, 42, 0.54)),
    url("Yok.png");
  background-size: cover;
  background-position: center top;
}

.community-section {
  padding: 0 0 82px;
}

.search-hero {
  min-height: calc(72vh - 76px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
  padding: 78px 0 56px;
}

.search-hero-engine {
  min-height: calc(82vh - 76px);
}

.search-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
}

.search-engine-copy h1 {
  max-width: 760px;
}

.search-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.search-console {
  padding: 22px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(167, 139, 250, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

.search-console-featured {
  padding: 26px;
  background:
    radial-gradient(circle at 8% 12%, rgba(56, 189, 248, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(163, 230, 53, 0.08)),
    var(--panel-strong);
}

.search-console-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--slate);
  font-weight: 900;
}

.search-console-top span {
  color: var(--cyan-soft);
}

.search-console-top b {
  color: var(--text);
}

.search-engine-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.search-engine-stats span {
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--panel);
}

.search-engine-stats b {
  display: block;
  color: var(--text);
}

.search-panel-large {
  width: 100%;
  margin-top: 0;
}

.quick-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.platform-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.platform-filter button,
.quick-search-row button {
  min-height: 38px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(3, 7, 18, 0.28);
  padding: 0 12px;
  cursor: pointer;
  font-weight: 900;
}

.platform-filter button.is-active {
  color: #03111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.search-section {
  padding-top: 24px;
}

.topic-grid,
.suggest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.topic-card,
.suggest-grid button {
  min-height: 92px;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover,
.suggest-grid button:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.suggest-grid button {
  min-height: 74px;
}

.help-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 76px;
  margin-bottom: 76px;
  padding: 30px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.help-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.help-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

:root[data-theme="light"] .search-console,
:root[data-theme="light"] .search-engine-stats span,
:root[data-theme="light"] .platform-filter button,
:root[data-theme="light"] .quick-search-row button,
:root[data-theme="light"] .topic-card,
:root[data-theme="light"] .suggest-grid button,
:root[data-theme="light"] .help-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

:root[data-theme="light"] .search-console-featured {
  background:
    radial-gradient(circle at 8% 12%, rgba(2, 132, 199, 0.12), transparent 12rem),
    linear-gradient(135deg, #ffffff, #e0f2fe);
  border-color: rgba(2, 132, 199, 0.18);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .quick-search-row button:hover {
  border-color: rgba(2, 132, 199, 0.34);
}

:root[data-theme="light"] .platform-filter button.is-active {
  color: white;
  background: linear-gradient(135deg, #075985 0%, #0284c7 58%, #0f766e 100%);
}

.community-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.14), rgba(163, 230, 53, 0.1)),
    var(--panel-strong);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer {
  padding: 54px 0 24px;
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(3, 7, 18, 0.92);
}

:root[data-theme="light"] .footer {
  background: rgba(255, 255, 255, 0.92);
  border-top-color: rgba(15, 23, 42, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.62fr 0.82fr 0.62fr;
  gap: 28px;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer a:not(.brand) {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.copyright {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 18px;
  color: var(--slate);
  border-top: 1px solid rgba(125, 211, 252, 0.12);
}

@media (max-width: 1040px) {
  .navbar {
    gap: 10px;
  }

  .brand small,
  .nav-socials {
    display: none;
  }

  .nav-panel a {
    padding-inline: 7px;
    font-size: 0.82rem;
  }

  .hero,
  .search-hero,
  .article-hub-layout,
  .mobile-dashboard,
  .shop-layout,
  .split-section,
  .community-card,
  .help-card,
  .youtube-card,
  .tiktok-card {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .article-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid,
  .ecosystem-strip,
  .apps-grid,
  .topic-grid,
  .suggest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(3, 7, 18, 0.96);
    box-shadow: var(--shadow);
  }

  :root[data-theme="light"] .nav-panel {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-panel a {
    padding: 13px 14px;
  }

  .nav-socials {
    justify-content: flex-start;
    margin-left: 0;
    padding: 10px 4px 4px;
    border-left: 0;
    border-top: 1px solid rgba(125, 211, 252, 0.18);
  }

  .card-grid,
  .tool-grid,
  .video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .portrait-card {
    min-height: 430px;
  }
}

.planned-card {
  position: relative;
  border-style: dashed;
}

.planned-card::after {
  content: "เปิดเมื่อระบบพร้อม";
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.mini-card-planned {
  cursor: default;
  opacity: 0.72;
}

.mini-card-planned small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

@media (max-width: 620px) {
  .brand {
    gap: 8px;
  }

  .brand-logo-frame,
  .brand-logo {
    width: 70px;
    height: 44px;
  }

  .navbar,
  .section-shell,
  .copyright {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 44px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.9rem);
  }

  .theme-toggle b {
    display: none;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .search-help {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-panel span {
    padding-left: 0;
  }

  .hero-actions .btn,
  .search-panel button,
  .community-actions .btn,
  .youtube-actions .btn {
    width: 100%;
  }

  .metric-row,
  .score-grid,
  .search-engine-stats,
  .module-list,
  .article-category-grid,
  .mini-grid,
  .product-grid,
  .ecosystem-strip,
  .apps-grid,
  .topic-grid,
  .suggest-grid {
    grid-template-columns: 1fr;
  }

  .article-spotlight {
    min-height: 430px;
  }

  .article-quick-list > a {
    grid-template-columns: 112px 1fr;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 14px;
  }

  .portrait-card {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }
}
