:root {
  --blue: #1A3A6B;
  --blue-2: #25548F;
  --blue-3: #102747;
  --yellow: #FFCA1A;
  --yellow-2: #FFE27A;
  --ink: #102033;
  --muted: #5d6f86;
  --bg: #f6f8fc;
  --card: rgba(255, 255, 255, 0.88);
  --line: rgba(26, 58, 107, 0.13);
  --shadow: 0 24px 80px rgba(16, 39, 71, 0.16);
  --radius: 26px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  --ink: #f7fbff;
  --muted: #b7c8dd;
  --bg: #071321;
  --card: rgba(12, 30, 54, 0.86);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --blue: #6ba6ff;
  --blue-2: #94beff;
  --blue-3: #08172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 202, 26, 0.18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(26, 58, 107, 0.22), transparent 32%),
    linear-gradient(135deg, var(--bg), #ffffff 48%, #eef3ff);
  overflow-x: hidden;
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 202, 26, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(106, 166, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #06101d, #0a1728 48%, #08111e);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

code {
  padding: 0.12rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(26, 58, 107, 0.08);
  font-family: var(--mono);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-1 {
  top: 15%;
  left: -160px;
  background: rgba(255, 202, 26, 0.5);
}

.ambient-2 {
  right: -180px;
  bottom: 8%;
  background: rgba(26, 58, 107, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}

[data-theme="dark"] .site-header {
  background: rgba(7, 19, 33, 0.72);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #1A3A6B;
  background: var(--yellow);
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 12px 28px rgba(255, 202, 26, 0.35);
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

[data-theme="dark"] .top-nav {
  background: rgba(255, 255, 255, 0.06);
}

.top-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.top-nav a:hover {
  color: #1A3A6B;
  background: rgba(255, 202, 26, 0.22);
}

.nav-toggle,
.mini-btn {
  border: 0;
  cursor: pointer;
  color: #1A3A6B;
  background: var(--yellow);
  font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 202, 26, 0.26);
}

.nav-toggle {
  width: 46px;
  height: 46px;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 4rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--blue);
  background: rgba(255, 202, 26, 0.22);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero p,
.section-title p,
.split p,
.progress-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -42px -28px auto auto;
  width: 140px;
  height: 140px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(26, 58, 107, 0.16) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(26, 58, 107, 0.16) 50%, transparent 52%);
  background-size: 28px 28px;
  border-radius: 24px;
  transform: rotate(8deg);
}

.hero-actions,
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.command-card:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: #102747;
  box-shadow: 0 14px 34px rgba(255, 202, 26, 0.35);
  border-color: transparent;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
}

[data-theme="dark"] .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
}

.notice {
  margin-top: 1.35rem;
  max-width: 720px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 202, 26, 0.65);
  border-radius: 18px;
  background: rgba(255, 202, 26, 0.16);
  color: var(--muted);
}

.notice strong {
  color: var(--ink);
}

.hero-panel,
.command-card,
.checklist-card,
.progress-card,
.report-builder,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 1.2rem;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 1.2rem;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1bd180;
  box-shadow: 0 0 0 0 rgba(27, 209, 128, 0.7);
  animation: pulse 1.7s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 14px rgba(27, 209, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 209, 128, 0); }
}

.hero-panel label,
.report-builder label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

.target-box {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: rgba(26, 58, 107, 0.08);
  border-radius: 18px;
  border: 1px solid var(--line);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  outline: none;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  background: rgba(255, 255, 255, 0.07);
}

.target-box input {
  border: 0;
  background: transparent;
  font-family: var(--mono);
}

.mini-btn {
  padding: 0.68rem 0.92rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.stat-grid div {
  padding: 1rem 0.7rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(26, 58, 107, 0.1), rgba(255, 202, 26, 0.18));
  border: 1px solid var(--line);
}

.stat-grid strong {
  display: block;
  font-size: 1.8rem;
  color: var(--blue);
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.section {
  padding: 4rem 0;
}

.section-title {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

.section-title.compact {
  max-width: 980px;
}

.section h2 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.5rem 0.1rem 1rem;
}

.timeline-item {
  min-width: 165px;
  padding: 1rem;
  box-shadow: 0 16px 38px rgba(16, 39, 71, 0.1);
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #102747;
  background: var(--yellow);
  border-radius: 12px;
  font-weight: 900;
}

.timeline-item h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1rem;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.88rem;
}

.toolbar {
  position: sticky;
  top: 82px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px 180px;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 46px rgba(16, 39, 71, 0.08);
}

[data-theme="dark"] .toolbar {
  background: rgba(7, 19, 33, 0.78);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding-left: 0.85rem;
  background: rgba(26, 58, 107, 0.05);
}

.search-wrap input {
  border: 0;
  background: transparent;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.command-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.command-card-header {
  padding: 1rem 1rem 0;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 58, 107, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.badge.safe {
  background: rgba(23, 188, 123, 0.14);
  color: #0b8e5a;
}

.badge.lab {
  background: rgba(255, 202, 26, 0.22);
  color: #9a6b00;
}

.badge.concept {
  background: rgba(120, 120, 120, 0.13);
  color: var(--muted);
}

.badge.restricted {
  background: rgba(220, 70, 70, 0.14);
  color: #b22424;
}

.command-card h3 {
  margin: 0.25rem 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.command-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.9rem;
}

.terminal {
  margin: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #081421;
}

.term-bar {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  background: #0e2035;
}

.term-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff6b6b;
}

.term-dot:nth-child(2) { background: #ffd166; }
.term-dot:nth-child(3) { background: #1bd180; }

.terminal pre {
  min-height: 76px;
  margin: 0;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d8eaff;
  font-family: var(--mono);
  font-size: 0.83rem;
  line-height: 1.55;
}

.card-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: auto;
  padding: 0 1rem 1rem;
}

.copy-btn,
.done-btn {
  flex: 1;
  min-height: 42px;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  font-weight: 900;
}

.copy-btn {
  background: var(--yellow);
  color: #102747;
}

.copy-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
  background: rgba(120, 120, 120, 0.18);
  color: var(--muted);
}

.done-btn {
  border: 1px solid var(--line);
  color: var(--blue);
  background: transparent;
}

.done-btn.active {
  color: #102747;
  background: var(--yellow-2);
  border-color: transparent;
}

.empty-state {
  display: none;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
  align-items: start;
}

.progress-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-top: 1.3rem;
  box-shadow: 0 16px 38px rgba(16, 39, 71, 0.1);
}

.progress-ring {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
}

.progress-ring svg {
  width: 112px;
  height: 112px;
  transform: rotate(-90deg);
}

.ring-bg,
.ring-value {
  fill: none;
  stroke-width: 12;
}

.ring-bg {
  stroke: rgba(26, 58, 107, 0.12);
}

.ring-value {
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 0.4s ease;
}

.progress-ring strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.2rem;
}

.checklist-card {
  padding: 0.8rem;
  box-shadow: 0 16px 38px rgba(16, 39, 71, 0.1);
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 18px;
}

.check-item + .check-item {
  border-top: 1px solid var(--line);
}

.check-item:hover {
  background: rgba(26, 58, 107, 0.06);
}

.check-item input {
  width: 20px;
  height: 20px;
  accent-color: #FFCA1A;
  margin-top: 0.2rem;
}

.check-item strong {
  display: block;
}

.check-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.2rem;
}

.report-builder {
  padding: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.report-preview {
  min-height: 180px;
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 18px;
  background: #081421;
  color: #d8eaff;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 99;
  max-width: 320px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: #102747;
  background: var(--yellow);
  font-weight: 900;
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .command-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar {
    grid-template-columns: 1fr;
    top: 76px;
  }

  .top-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  main,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .site-header {
    padding: 0.75rem;
  }

  .brand small {
    display: none;
  }

  .command-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================================================
   Final theme override: DJPb internal penetration testing
   Dominan biru #1A3A6B dan kuning #FFCA1A
   ========================================================= */

:root {
  --blue: #1A3A6B;
  --blue-2: #244F87;
  --blue-3: #0D2140;
  --yellow: #FFCA1A;
  --yellow-2: #FFE78A;
  --ink: #0F172A;
  --muted: #60718B;
  --bg: #0E2446;
  --card: rgba(255, 255, 255, 0.94);
  --line: rgba(26, 58, 107, 0.18);
  --shadow: 0 24px 80px rgba(6, 18, 38, 0.24);
}

html {
  background: var(--blue-3);
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 202, 26, 0.34), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #071831 0%, #1A3A6B 46%, #244F87 100%);
  background-attachment: fixed;
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 202, 26, 0.28), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #050E1C 0%, #102747 50%, #1A3A6B 100%);
}

.site-header {
  background: rgba(26, 58, 107, 0.86);
  border-bottom: 1px solid rgba(255, 202, 26, 0.28);
  box-shadow: 0 14px 42px rgba(3, 12, 26, 0.25);
}

[data-theme="dark"] .site-header {
  background: rgba(9, 23, 44, 0.88);
}

.brand strong,
.top-nav a {
  color: #FFFFFF;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
}

.header-prayer-widget {
  flex: 1 1 620px;
  max-width: 860px;
  margin: 0 1.25rem;
  padding: 0.52rem 0.8rem;
  border: 1px solid rgba(255, 202, 26, 0.22);
  border-radius: 20px;
  background: rgba(8, 25, 50, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.prayer-caption {
  margin-bottom: 0.34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.prayer-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(70px, 1fr));
  gap: 0.38rem;
}

.prayer-time-item {
  display: grid;
  gap: 0.08rem;
  min-height: 48px;
  padding: 0.36rem 0.42rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(7, 24, 49, 0.42);
  text-align: center;
}

.prayer-time-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.prayer-time-item strong {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.prayer-time-item.next {
  border-color: rgba(255, 202, 26, 0.75);
  background: linear-gradient(160deg, rgba(255, 202, 26, 0.96), rgba(255, 231, 138, 0.92));
  box-shadow: 0 10px 28px rgba(255, 202, 26, 0.24);
}

.prayer-time-item.next span,
.prayer-time-item.next strong {
  color: var(--blue);
}

.prayer-time-item.is-loading {
  grid-column: 1 / -1;
}

.brand-mark {
  width: 58px;
  height: 58px;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(255, 202, 26, 0.32);
}

.top-nav {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 202, 26, 0.28);
}

.top-nav a:hover {
  color: var(--blue);
  background: var(--yellow);
}

main {
  position: relative;
}

.hero {
  min-height: auto;
  padding: clamp(3.2rem, 7vw, 6rem) 0 clamp(2.2rem, 5vw, 4rem);
}

.hero h1 {
  max-width: 950px;
  color: #FFFFFF;
  text-shadow: 0 18px 42px rgba(2, 8, 20, 0.28);
}

.hero p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  color: var(--blue);
  background: var(--yellow);
  box-shadow: 0 16px 32px rgba(255, 202, 26, 0.25);
}

.hero-copy::before {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 202, 26, 0.28) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 202, 26, 0.28) 50%, transparent 52%);
  background-size: 28px 28px;
}

.hero-panel,
.command-card,
.toolbar {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 202, 26, 0.26);
}

[data-theme="dark"] .hero-panel,
[data-theme="dark"] .command-card,
[data-theme="dark"] .toolbar {
  background: rgba(10, 26, 49, 0.92);
  border-color: rgba(255, 202, 26, 0.18);
}

.panel-top {
  color: var(--blue);
}

.section {
  padding: 2rem 0 4.5rem;
}

.command-section {
  padding-top: 0.5rem;
}

.toolbar {
  top: 92px;
  box-shadow: 0 22px 56px rgba(4, 14, 30, 0.24);
}

.search-wrap {
  background: rgba(26, 58, 107, 0.08);
}

.command-card {
  box-shadow: 0 22px 56px rgba(5, 16, 34, 0.2);
}

.command-card h3 {
  color: var(--blue-3);
}

[data-theme="dark"] .command-card h3 {
  color: #FFFFFF;
}

.badge {
  background: rgba(26, 58, 107, 0.12);
  color: var(--blue);
  border: 1px solid rgba(26, 58, 107, 0.08);
}

.badge.lab,
.badge.restricted {
  background: rgba(255, 202, 26, 0.24);
  color: #735500;
  border-color: rgba(255, 202, 26, 0.3);
}

.badge.restricted {
  background: rgba(255, 117, 117, 0.13);
  color: #9B1C1C;
  border-color: rgba(255, 117, 117, 0.22);
}

.copy-btn,
.nav-toggle,
.mini-btn,
.toast {
  background: var(--yellow);
  color: var(--blue);
}

.done-btn.active {
  color: var(--blue);
  background: var(--yellow-2);
}

.terminal {
  background: #071831;
  border-color: rgba(255, 202, 26, 0.16);
}

.term-bar {
  background: #102747;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 202, 26, 0.24);
}

.snow-layer {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.snow-layer span {
  position: absolute;
  top: -8vh;
  left: var(--left);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--size);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.65),
    0 0 22px rgba(255, 202, 26, 0.35);
  opacity: 0.72;
  animation: snowFall var(--duration) linear var(--delay) infinite;
}

.snow-layer span:nth-child(3n) {
  color: rgba(255, 202, 26, 0.82);
}

.snow-layer span:nth-child(4n) {
  color: rgba(185, 213, 255, 0.8);
}

@keyframes snowFall {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.78;
  }
  100% {
    transform: translate3d(var(--drift), 112vh, 0) rotate(360deg);
    opacity: 0.08;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snow-layer {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero {
    gap: 1.25rem;
  }

  .toolbar {
    top: 86px;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    font-size: 0.85rem;
  }

  .brand small {
    display: block;
    max-width: 240px;
  }

  .hero h1 {
    font-size: 2.75rem;
  }
}

/* Floating button: rounded arrow with hover label */
.floating-top-btn {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--blue);
  background: var(--yellow);
  font-family: inherit;
  font-weight: 950;
  cursor: pointer;
  overflow: visible;
  box-shadow:
    0 18px 42px rgba(3, 12, 26, 0.34),
    0 0 0 7px rgba(255, 202, 26, 0.16),
    0 0 0 1px rgba(255, 202, 26, 0.38) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-top-btn:hover,
.floating-top-btn:focus-visible {
  transform: translateY(-3px);
  background: var(--yellow-2);
  box-shadow:
    0 24px 54px rgba(3, 12, 26, 0.42),
    0 0 0 9px rgba(255, 202, 26, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  outline: none;
}

.floating-top-btn:active {
  transform: translateY(0);
}

.floating-top-btn .floating-icon {
  display: grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 1.7rem;
  font-weight: 1000;
  line-height: 1;
  transform: translateY(-1px);
}

.floating-top-btn .floating-label {
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: max-content;
  max-width: 190px;
  padding: 0.62rem 0.82rem;
  border: 1px solid rgba(255, 202, 26, 0.34);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(13, 33, 64, 0.96);
  box-shadow: 0 16px 32px rgba(3, 12, 26, 0.32);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.floating-top-btn:hover .floating-label,
.floating-top-btn:focus-visible .floating-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.toast {
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 74px);
}

@media (max-width: 640px) {
  .floating-top-btn {
    right: max(0.8rem, env(safe-area-inset-right));
    bottom: max(0.8rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  }

  .floating-top-btn .floating-icon {
    font-size: 1.45rem;
  }

  .floating-top-btn .floating-label {
    display: none;
  }

  .toast {
    right: 12px;
    left: 12px;
    bottom: calc(max(0.8rem, env(safe-area-inset-bottom)) + 68px);
    max-width: none;
  }
}

@media (max-height: 520px) {
  .floating-top-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .floating-top-btn .floating-icon {
    font-size: 1.3rem;
  }
}


/* Header prayer schedule responsiveness */
@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-prayer-widget {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin: 0.35rem 0 0;
  }

  .toolbar {
    top: 154px;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    max-width: calc(100% - 64px);
  }

  .header-prayer-widget {
    padding: 0.55rem;
    border-radius: 18px;
  }

  .prayer-caption {
    font-size: 0.6rem;
    line-height: 1.35;
  }

  .prayer-strip {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 0.16rem;
    scrollbar-width: thin;
  }

  .prayer-time-item {
    min-width: 76px;
  }

  .toolbar {
    top: 168px;
  }
}

@media (max-width: 420px) {
  .brand strong {
    font-size: 0.86rem;
    line-height: 1.15;
  }

  .brand small {
    max-width: 210px;
    font-size: 0.66rem;
  }

  .header-prayer-widget {
    margin-top: 0.2rem;
  }

  .prayer-time-item {
    min-width: 72px;
    min-height: 44px;
  }

  .prayer-time-item strong {
    font-size: 0.95rem;
  }
}

/* Mobile prayer header fix: wrap cards instead of clipping horizontally */
@media (max-width: 760px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.9rem clamp(0.75rem, 4vw, 1.1rem);
  }

  .header-prayer-widget {
    width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    overflow: visible;
  }

  .prayer-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.42rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .prayer-time-item {
    min-width: 0;
    width: 100%;
    min-height: 52px;
    padding: 0.42rem 0.3rem;
    border-radius: 14px;
  }

  .prayer-time-item span {
    font-size: clamp(0.52rem, 2.25vw, 0.64rem);
    letter-spacing: 0.06em;
  }

  .prayer-time-item strong {
    font-size: clamp(0.9rem, 4.4vw, 1.1rem);
  }
}

@media (max-width: 480px) {
  .header-prayer-widget {
    padding: 0.5rem;
    border-radius: 18px;
  }

  .prayer-caption {
    max-width: 92%;
    margin-inline: auto;
    font-size: 0.58rem;
    line-height: 1.35;
  }

  .prayer-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .prayer-time-item {
    min-height: 50px;
    padding: 0.38rem 0.24rem;
  }
}

@media (max-width: 360px) {
  .prayer-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v10: Simple Pentest Tools shortcut button */
.tool-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.tool-shortcut::after {
  content: "↗";
  margin-left: 10px;
  font-size: .9em;
  line-height: 1;
}

.tool-shortcut:hover,
.tool-shortcut:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(255, 202, 26, .22);
  filter: brightness(1.04);
  outline: none;
}

@media (max-width: 640px) {
  .tool-shortcut {
    max-width: calc(100vw - 32px);
    text-align: center;
    white-space: normal;
  }
}
