:root {
  --bg-0: #0b0705;
  --bg-1: #140b08;
  --bg-2: #1b110b;
  --card: rgba(22, 14, 9, 0.88);
  --text: #f7eee4;
  --muted: #cdb8a3;
  --accent: #f38a21;
  --accent-soft: #ffb65e;
  --border: rgba(243, 138, 33, 0.25);
  --shadow: rgba(0, 0, 0, 0.4);
  --grid-line: rgba(243, 138, 33, 0.06);
  --block-size: 26px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background-color: var(--bg-0);
  overflow-x: hidden;
}

button,
input,
select,
textarea,
.ghost-btn,
.nav-btn,
.doc-icon {
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(243, 138, 33, 0.2), transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(255, 182, 94, 0.18), transparent 45%),
    linear-gradient(160deg, var(--bg-0), var(--bg-1) 45%, var(--bg-0) 100%);
  background-attachment: fixed;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(255, 182, 94, 0.08),
    transparent 45%
  );
  opacity: 0.5;
  pointer-events: none;
}

.terminal-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: var(--block-size) var(--block-size);
  opacity: 0.8;
}

.crt-overlay {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.85);
}

.tetromino {
  position: absolute;
  top: -120px;
  width: var(--block-size);
  height: var(--block-size);
  background-color: var(--accent-soft);
  opacity: 0.12;
  box-shadow: 0 0 12px rgba(217, 119, 87, 0.25);
  animation: fall linear infinite;
}

.shape-l {
  box-shadow:
    0 var(--block-size) 0 0 var(--accent-soft),
    0 calc(var(--block-size) * 2) 0 0 var(--accent-soft),
    var(--block-size) calc(var(--block-size) * 2) 0 0 var(--accent-soft);
  left: 12%;
  animation-duration: 70s;
  animation-delay: -12s;
}

.shape-t {
  box-shadow:
    var(--block-size) 0 0 0 var(--accent-soft),
    calc(var(--block-size) * 2) 0 0 0 var(--accent-soft),
    var(--block-size) var(--block-size) 0 0 var(--accent-soft);
  left: 48%;
  animation-duration: 85s;
  animation-delay: -22s;
}

.shape-i {
  box-shadow:
    0 var(--block-size) 0 0 var(--accent-soft),
    0 calc(var(--block-size) * 2) 0 0 var(--accent-soft),
    0 calc(var(--block-size) * 3) 0 0 var(--accent-soft);
  left: 78%;
  animation-duration: 65s;
  animation-delay: -30s;
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.12;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(115vh) rotate(4deg);
    opacity: 0;
  }
}

.desktop-frame {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 1.6rem auto;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  background: rgba(10, 6, 4, 0.85);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.6rem 1rem;
  background: #f4eee8;
  color: #2b1b12;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  direction: ltr;
}

.window-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.dot-red {
  background: #ff5f57;
}

.dot-yellow {
  background: #febc2e;
}

.dot-green {
  background: #28c840;
}

.window-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.window-name {
  font-weight: 700;
}

.ad-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(140deg, #f0d8bd, #caa27c);
  color: #1d130d;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tab-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem 0;
  background: #f2e9e1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  direction: ltr;
}

.tab-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-bottom: 2px solid transparent;
  background: #e7ddd3;
  padding: 0.4rem 0.85rem;
  border-radius: 12px 12px 0 0;
  font-size: 0.85rem;
  color: #3f3026;
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.tab-button.is-active {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  border-bottom-color: #ffffff;
  color: #1f140d;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.tab-button:hover {
  background: #f4ebe3;
  border-color: rgba(0, 0, 0, 0.1);
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
}

.ts-icon {
  background: #3178c6;
  color: #fff;
}

.js-icon {
  background: #f7df1e;
  color: #1f1f1f;
}

.ad-icon {
  background: #3b2a1f;
  color: #ffd7a8;
}

.frame-content {
  position: relative;
  z-index: 2;
}

.mobile-hero {
  display: none;
  width: min(92vw, 640px);
  margin: 1.4rem auto 0;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: rgba(243, 138, 33, 0.18);
  border: 1px solid var(--border);
  color: var(--accent-soft);
  font-size: 0.95rem;
}

.hero-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 138, 33, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.hero-x svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-x:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 138, 33, 0.6);
  background: rgba(243, 138, 33, 0.2);
}

.mobile-status,
.mobile-lang-footer {
  display: none;
}

.mobile-status-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
}

.mobile-status-left,
.mobile-status-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-status-left {
  justify-self: start;
}

.mobile-status-right {
  justify-self: end;
}

.mobile-time {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.lang-toggle.is-footer {
  background: rgba(14, 9, 6, 0.7);
  border-color: rgba(243, 138, 33, 0.3);
}

.lang-switch {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.lang-switch.is-active {
  background: rgba(243, 138, 33, 0.35);
  color: #fff3e6;
}

.status-chip {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.mobile-island {
  justify-self: center;
  min-width: 88px;
  height: 32px;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(5, 3, 2, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: #f7eee4;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  opacity: 0.6;
  transform: scale(0.92);
  transition: min-width 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mobile-island span {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.mobile-island.is-visible {
  min-width: 220px;
  opacity: 1;
  transform: scale(1);
}

.mobile-island.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

.ad-float {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 138, 33, 0.35);
  background: rgba(12, 8, 6, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: var(--text);
  cursor: pointer;
  z-index: 4;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.ad-float:hover {
  transform: translateY(-50%) translateX(2px);
  border-color: rgba(255, 182, 94, 0.75);
  background: rgba(18, 12, 8, 0.82);
}

.ad-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1d120a;
  background: linear-gradient(145deg, rgba(243, 138, 33, 0.95), rgba(255, 182, 94, 0.75));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.ad-float-bubble {
  position: relative;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 138, 33, 0.4);
  background: rgba(243, 138, 33, 0.16);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ad-float-bubble::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-inline-end-color: rgba(243, 138, 33, 0.35);
}

.btn-icon {
  font-size: 1rem;
}

.btn-label {
  font-weight: 600;
}

.glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  filter: blur(90px);
  opacity: 0.55;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-top {
  top: -12rem;
  inset-inline-start: -10rem;
  background: radial-gradient(circle, rgba(243, 138, 33, 0.7), transparent 60%);
}

.glow-bottom {
  bottom: -16rem;
  inset-inline-end: -12rem;
  background: radial-gradient(circle, rgba(255, 182, 94, 0.6), transparent 60%);
}

.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
}

.hero-title {
  margin: 1rem 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
}

.hero-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.shell {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.is-hidden {
  display: none !important;
}

.ad-shell {
  max-width: 900px;
  margin: 1.2rem auto 2rem;
  padding: 0 1.5rem 2rem;
}

.ad-card {
  background: rgba(22, 14, 9, 0.9);
  border: 1px dashed rgba(243, 138, 33, 0.5);
  border-radius: 20px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.ad-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ad-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(243, 138, 33, 0.6), rgba(255, 182, 94, 0.2));
  color: #1f1208;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
}

.ad-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.ad-header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.ad-markdown {
  background: rgba(10, 6, 4, 0.6);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  color: #f3dcc7;
  line-height: 1.7;
}

.viewer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: stretch;
}

.video-card,
.content-card {
  background: var(--card);
  border: 1px solid rgba(243, 138, 33, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 60px var(--shadow);
  backdrop-filter: blur(16px);
}

.video-card {
  padding: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0806;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 16 / 9;
}

.video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.expand-btn {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.expand-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-1px);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(243, 138, 33, 0.08));
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ghost-btn:hover {
  border-color: rgba(243, 138, 33, 0.5);
  background: rgba(243, 138, 33, 0.12);
  transform: translateY(-1px);
}

.ghost-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.content-card {
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.day-badge {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 138, 33, 0.3);
  background: rgba(243, 138, 33, 0.12);
  font-weight: 600;
  color: var(--accent-soft);
}

.progress-text {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-title {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1.4;
}

.content-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.summary {
  margin: 0;
  font-weight: 600;
  color: #f1d9c3;
}

.details {
  margin: 0;
  color: var(--muted);
}

.doc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  color: #ffd4a6;
  border: 1px solid rgba(243, 138, 33, 0.55);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 182, 94, 0.35), transparent 55%),
    linear-gradient(145deg, rgba(243, 138, 33, 0.45), rgba(255, 182, 94, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.doc-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-icon:hover {
  transform: translateY(-1px);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 182, 94, 0.55), transparent 55%),
    linear-gradient(145deg, rgba(243, 138, 33, 0.6), rgba(255, 182, 94, 0.25));
  border-color: rgba(255, 182, 94, 0.8);
}

.pager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
}

.nav-btn {
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 138, 33, 0.4);
  font-weight: 600;
  background: linear-gradient(130deg, rgba(243, 138, 33, 0.45), rgba(255, 182, 94, 0.25));
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(12, 6, 3, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.nav-btn:hover {
  background: linear-gradient(130deg, rgba(243, 138, 33, 0.65), rgba(255, 182, 94, 0.4));
  border-color: rgba(255, 182, 94, 0.8);
  transform: translateY(-1px);
}

.progress {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.progress-track {
  width: 100%;
  max-width: 320px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  transition: width 0.4s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .reveal:nth-child(1) {
  transition-delay: 0.1s;
}

body.is-ready .reveal:nth-child(2) {
  transition-delay: 0.2s;
}

body.is-ready .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

#trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}

.cert-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 4, 2, 0.72);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 20;
}

.cert-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cert-card {
  width: min(900px, 100%);
  background: rgba(18, 11, 7, 0.95);
  border-radius: 24px;
  border: 1px solid rgba(243, 138, 33, 0.25);
  padding: 1.8rem;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: grid;
  gap: 1.2rem;
}

.cert-header h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.cert-header p {
  margin: 0;
  color: var(--muted);
}

.cert-form {
  display: grid;
  gap: 0.6rem;
}

.cert-form label {
  font-weight: 600;
  color: #f2dbc5;
}

.cert-form input {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1rem;
  text-align: start;
}

.cert-form input:focus-visible {
  outline: 2px solid var(--accent-soft);
  border-color: rgba(255, 182, 94, 0.7);
}

.cert-preview {
  display: grid;
  gap: 0.75rem;
}

.cert-preview canvas {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0705;
}

.cert-preview.is-hidden {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --block-size: 18px;
  }

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

  .desktop-frame {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .window-bar {
    display: none;
  }

  .tab-bar {
    display: none;
  }

  .mobile-status {
    display: grid;
    gap: 0.5rem;
    padding: calc(0.6rem + env(safe-area-inset-top)) 1rem 0.5rem;
    background: rgba(8, 5, 3, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 6;
    backdrop-filter: blur(14px);
    direction: ltr;
  }

  .mobile-lang-footer {
    display: flex;
    justify-content: center;
    padding: 1.8rem 1rem 2.6rem;
  }

  .lang-switch {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .ad-float {
    left: 12px;
    top: auto;
    bottom: 16px;
    transform: none;
    padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  }

  .ad-float:hover {
    transform: translateX(2px);
  }

  .ad-float-icon {
    width: 32px;
    height: 32px;
    font-size: 0.62rem;
  }

  .ad-float-bubble {
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .hero-signature {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-hero {
    display: none;
  }

  .tetromino {
    display: none;
  }

  .cert-card {
    padding: 1.3rem;
  }

  .progress-track {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .nav-btn,
  .ghost-btn,
  .expand-btn {
    transition: none;
  }

  .tetromino {
    animation: none;
    opacity: 0.05;
  }
}
