﻿:root {
  --bg: #020818;
  --bg2: #061428;
  --panel: rgba(8, 22, 48, 0.82);
  --line: rgba(56, 189, 248, 0.28);
  --line-strong: rgba(56, 189, 248, 0.55);
  --text: #eef8ff;
  --muted: #8eb4d4;
  --dim: #5a7a9a;
  --cyan: #38bdf8;
  --blue: #2563eb;
  --mint: #34d399;
  --gold: #fbbf24;
  --glow: 0 0 40px rgba(56, 189, 248, 0.35);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(37, 99, 235, 0.22), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.12), transparent 40%),
    radial-gradient(circle at 10% 70%, rgba(52, 211, 153, 0.06), transparent 35%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

/* ── Mobile frame ── */
.app {
  position: relative;
  z-index: 2;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(88px + var(--safe-b));
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(10px + var(--safe-t)) 16px 10px;
  background: linear-gradient(to bottom, rgba(2, 8, 24, 0.96), rgba(2, 8, 24, 0.82));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

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

.logo-hex {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--glow);
  font-weight: 900;
  font-size: 0.85rem;
  color: #fff;
  animation: breathGlow 4s ease-in-out infinite;
}

.logo-text strong {
  display: block;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.logo-text span {
  display: block;
  font-size: 0.58rem;
  color: var(--dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-picker {
  position: relative;
}

.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 12, 28, 0.9);
  color: var(--text);
  font-size: 0.72rem;
  padding: 6px 26px 6px 8px;
  outline: none;
  min-width: 88px;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
}

.lang-trigger:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.lang-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lang-code {
  line-height: 1;
  text-transform: lowercase;
}

.lang-trigger i {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 0.65rem;
  pointer-events: none;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 100;
  min-width: 118px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(6, 18, 40, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--text);
  user-select: none;
}

.lang-option:hover,
.lang-option.is-active {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}

.lang-option .lang-flag {
  width: 20px;
  height: 14px;
}

/* ── Carousel ── */
.carousel-wrap {
  position: relative;
  margin: 0 12px;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow);
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 420px;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transform: scale(1.02);
  animation: slideKenBurns 12s ease-in-out infinite alternate;
}

@keyframes slideKenBurns {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.06); }
}

.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 8, 24, 0.15) 0%,
    rgba(2, 8, 24, 0.35) 35%,
    rgba(2, 8, 24, 0.88) 72%,
    rgba(2, 8, 24, 0.98) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.badge-live {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  animation: breathBorder 4s ease-in-out infinite;
}

.badge-live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 1.6s ease-in-out infinite;
}

.slide-title {
  margin: 14px 0 0;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #fff 20%, var(--cyan) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

.slide-sub {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.slide-sub em {
  color: var(--cyan);
  font-style: normal;
}

.profit-panel {
  margin-top: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 14, 32, 0.75);
  backdrop-filter: blur(12px);
}

.profit-panel .label {
  font-size: 0.65rem;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profit-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}

.profit-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--mint);
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.profit-pair {
  font-size: 0.72rem;
  color: var(--muted);
}

.mini-chart {
  height: 44px;
  margin-top: 8px;
}

.mini-chart svg { width: 100%; height: 100%; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dot-btn {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  padding: 0;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.dot-btn.active {
  width: 22px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* ── Hex features strip ── */
.hex-strip {
  display: flex;
  gap: 10px;
  padding: 20px 16px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hex-strip::-webkit-scrollbar { display: none; }

.hex-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 72px;
  text-align: center;
}

.hex-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.12));
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 1rem;
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.08);
  animation: breathGlow 5s ease-in-out infinite;
}

.hex-item:nth-child(2) .hex-icon { animation-delay: -1s; }
.hex-item:nth-child(3) .hex-icon { animation-delay: -2s; }
.hex-item:nth-child(4) .hex-icon { animation-delay: -3s; }
.hex-item:nth-child(5) .hex-icon { animation-delay: -4s; }

.hex-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.62rem;
  color: var(--muted);
  line-height: 1.3;
}

/* ── Trust pills ── */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 4px;
}

.pill {
  padding: 6px 14px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

/* ── Section common ── */
.section {
  padding: 28px 16px;
}

.section-head {
  margin-bottom: 18px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.section-tag::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.section-title {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.section-desc {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Activity ── */
.activity-card {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(10, 28, 56, 0.85), rgba(4, 12, 28, 0.7));
  overflow: hidden;
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--mint), transparent);
  animation: shimmerLine 3s linear infinite;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), transparent 50%);
  pointer-events: none;
}

.activity-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.activity-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--glow);
}

.activity-highlight h3 {
  margin: 0;
  font-size: 1rem;
}

.activity-highlight p {
  margin: 3px 0 0;
  font-size: 0.75rem;
  color: var(--gold);
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

.activity-list li i {
  color: var(--mint);
  margin-top: 3px;
  font-size: 0.7rem;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: inherit;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
  animation: breathBtn 4s ease-in-out infinite;
  cursor: pointer;
}

/* ── Activity modal ── */
body.modal-open {
  overflow: hidden;
}

.act-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-b, 0px));
}

.act-modal[hidden] {
  display: none;
}

.act-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(6px);
}

.act-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(360px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(8, 24, 48, 0.98), rgba(4, 10, 24, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.act-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.act-modal-title {
  margin: 0;
  font-size: 1rem;
  color: #fff;
}

.act-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
}

.act-modal-close:hover {
  color: var(--cyan);
  border-color: rgba(56, 189, 248, 0.4);
}

.act-modal-body {
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.act-modal-body p {
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.act-modal-body p:last-child {
  margin-bottom: 0;
}

.rtl .act-modal-head {
  flex-direction: row-reverse;
}

.rtl .act-modal-body {
  text-align: right;
}

.browse-reward-modal {
  z-index: 210;
}

.browse-reward-summary {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #fff;
  text-align: center;
}

.browse-countdown-box {
  margin: 0 0 14px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background: rgba(56, 189, 248, 0.06);
  text-align: center;
}

.browse-countdown-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.browse-countdown-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.browse-countdown-num {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.browse-reward-modal.is-ready .browse-countdown-num {
  color: var(--emerald, #34d399);
}

.browse-countdown-unit {
  font-size: 0.9rem;
  color: var(--muted);
}

.browse-progress-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.browse-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), #34d399);
  transition: width 1s linear;
}

.browse-reward-detail {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.btn-browse-claim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #020818;
  background: linear-gradient(135deg, var(--cyan), #34d399);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-browse-claim:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-browse-claim:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.browse-claim-hint {
  margin: 10px 0 0;
  font-size: 0.72rem;
  text-align: center;
  color: var(--muted);
}

.browse-claim-hint[hidden] {
  display: none;
}

/* ── Project grid 2 col ── */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.project-card {
  position: relative;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.15);
  background: linear-gradient(160deg, rgba(8, 24, 48, 0.9), rgba(4, 10, 24, 0.75));
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.project-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #0a1e3d, #020818);
}

.project-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: inset 0 0 40px rgba(56, 189, 248, 0.06);
  pointer-events: none;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 50%, rgba(2, 6, 16, 0.65) 100%);
  pointer-events: none;
}

.project-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:active .project-thumb img {
  transform: scale(1.04);
}

.project-body {
  padding: 12px 12px 14px;
}

.project-card:active {
  transform: scale(0.98);
  border-color: var(--line-strong);
}

.project-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.project-card:active::after { opacity: 1; }

.project-card h4 {
  margin: 0 0 6px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.project-card p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1.5;
}

.project-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
}

/* ── Culture ── */
.culture-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.culture-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.culture-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.1));
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.culture-item h4 {
  margin: 0 0 4px;
  font-size: 0.88rem;
}

.culture-item p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Footer stats ── */
.footer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 16px 20px;
}

.stat {
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat i {
  display: block;
  color: var(--cyan);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.stat span {
  display: block;
  font-size: 0.58rem;
  color: var(--dim);
  line-height: 1.3;
}

/* ── Bottom bar ── */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: 100%;
  max-width: 480px;
  padding: 10px 16px calc(10px + var(--safe-b));
  background: linear-gradient(to top, rgba(2, 8, 24, 0.98), rgba(2, 8, 24, 0.88));
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  display: flex;
  gap: 10px;
}

.bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-tg {
  background: linear-gradient(135deg, #2aabee, #1677b9);
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 171, 238, 0.3);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes breathGlow {
  0%, 100% { box-shadow: 0 0 16px rgba(56, 189, 248, 0.2); }
  50% { box-shadow: 0 0 32px rgba(56, 189, 248, 0.45); }
}

@keyframes breathBorder {
  0%, 100% { border-color: rgba(56, 189, 248, 0.3); }
  50% { border-color: rgba(56, 189, 248, 0.6); }
}

@keyframes breathBtn {
  0%, 100% { box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 16px 50px rgba(37, 99, 235, 0.55); }
}

@keyframes floatBot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmerLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Desktop: show as phone preview only */
@media (min-width: 520px) {
  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 50%),
      #010510;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* RTL (Arabic) */
.rtl .header {
  flex-direction: row-reverse;
}

.rtl .logo {
  flex-direction: row-reverse;
}

.rtl .lang-trigger i {
  right: auto;
  left: 9px;
}

.rtl .lang-trigger {
  padding: 6px 8px 6px 26px;
}

.rtl .lang-menu {
  right: auto;
  left: 0;
}

.rtl .activity-list li {
  flex-direction: row-reverse;
  text-align: right;
}

.rtl .culture-item {
  flex-direction: row-reverse;
  text-align: right;
}

.rtl .activity-highlight {
  flex-direction: row-reverse;
  text-align: right;
}

.rtl .section-tag::before {
  order: 1;
}

.rtl .profit-row {
  flex-direction: row-reverse;
}

.rtl .final-cta,
.rtl .section-head {
  text-align: right;
}
