:root {
  --bg: #020818;
  --bg2: #061428;
  --panel: rgba(8, 22, 48, 0.82);
  --panel-deep: rgba(4, 14, 32, 0.92);
  --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;
  --blue-deep: #1d4ed8;
  --mint: #34d399;
  --accent: #22d3ee;
  --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);
}

[hidden] { display: none !important; }
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;
  contain: strict;
}

.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%);
  animation: ambientBreath 8s ease-in-out infinite;
}

.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%);
}

.app {
  position: relative;
  z-index: 2;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: calc(24px + 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-size: 0.9rem;
  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;
  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;
}

.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);
}

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

/* Hero */
.hero { padding: 12px 16px 0; }

.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--glow);
}

.hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
  background: linear-gradient(180deg, transparent 20%, rgba(2, 8, 24, 0.6) 55%, rgba(2, 8, 24, 0.95) 100%);
}

.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;
}

.hero-title {
  margin: 12px 0 0;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  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));
}

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

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

.hero-metrics {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.metric { flex: 1; text-align: center; }

.metric-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cyan);
}

.metric-val.accent { color: var(--mint); }
.metric-val.gold { color: var(--accent); }

.metric-label {
  display: block;
  margin-top: 3px;
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

/* Rent form */
.rent-form-section {
  padding: 16px 16px 4px;
}

.rent-form-card {
  position: relative;
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(10, 28, 56, 0.92), rgba(4, 12, 28, 0.88));
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.08) inset,
    var(--glow);
  overflow: hidden;
  animation: cardBreath 5s ease-in-out infinite;
}

.rent-form-glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18), transparent 65%);
  pointer-events: none;
  animation: ambientBreath 6s ease-in-out infinite;
}

.rent-form-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 4s linear infinite;
}

.form-group {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 10px;
  background: rgba(2, 8, 24, 0.75);
  color: var(--text);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder { color: var(--dim); }

.form-input:focus {
  border-color: var(--cyan);
  background: rgba(4, 14, 32, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15), 0 0 20px rgba(56, 189, 248, 0.12);
}

.form-free-hint {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-free-hint strong {
  color: var(--mint);
  font-size: 0.95rem;
  font-weight: 800;
}

.rent-form-card.is-highlight {
  animation: formHighlight 2.2s ease-out;
}

@keyframes formHighlight {
  0%, 100% {
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.08) inset, var(--glow);
  }
  35%, 65% {
    border-color: rgba(52, 211, 153, 0.65);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(52, 211, 153, 0.2) inset, 0 0 48px rgba(52, 211, 153, 0.25);
  }
}

.btn-rent {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
  animation: breathBtn 4s ease-in-out infinite;
  transition: transform 0.15s, opacity 0.2s;
}

.btn-rent-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: btnShine 3.5s ease-in-out infinite;
}

.btn-rent:active:not(:disabled) { transform: scale(0.98); }

.btn-rent:disabled,
.btn-rent.is-loading {
  opacity: 0.75;
  cursor: wait;
}

/* Toast */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  background: linear-gradient(135deg, rgba(8, 28, 48, 0.97), rgba(4, 16, 36, 0.98));
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(52, 211, 153, 0.15);
  transform: translate(-50%, -50%) scale(0.92);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.3s;
  pointer-events: none;
}

.toast[hidden] { display: none; }

.toast.is-show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--mint);
  font-size: 0.9rem;
}

.toast-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* Feature bar */
.feature-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 16px 16px 4px;
}

.feature-item {
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

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

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

/* Sections */
.section {
  padding: 28px 16px;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.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;
}

/* Pricing */
.price-stack { display: flex; flex-direction: column; gap: 10px; }

.price-card {
  position: relative;
  padding: 18px;
  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));
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.45);
  background: linear-gradient(160deg, rgba(10, 32, 64, 0.95), rgba(4, 12, 28, 0.85));
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-size: 0.62rem;
  font-weight: 800;
  color: #fff;
}

.price-card h3 { margin: 0 0 8px; font-size: 0.95rem; }

.price-amount {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.price-amount .num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan);
}

.price-amount .unit { font-size: 0.75rem; margin-left: 2px; }

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

.price-specs li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.price-specs li i {
  color: var(--cyan);
  margin-top: 2px;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.burn-compare {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}

.burn-compare i { color: var(--cyan); margin-top: 2px; flex-shrink: 0; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }

.steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--blue));
  opacity: 0.35;
}

.step { display: flex; gap: 14px; padding: 14px 0; }

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: 2px solid rgba(56, 189, 248, 0.3);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  z-index: 1;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.step-body h4 { margin: 0 0 4px; font-size: 0.88rem; }

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

/* Services */
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.service-card {
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s;
}

.service-card:active { border-color: var(--line-strong); }

.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.12));
  color: var(--cyan);
  font-size: 1rem;
  margin-bottom: 10px;
}

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

.service-card p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--dim);
  line-height: 1.55;
}

/* 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-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(--cyan); }

.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;
}

/* Advantages */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.adv-item {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.adv-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--cyan);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.adv-item h4 { margin: 0 0 4px; font-size: 0.84rem; }

.adv-item p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--dim);
  line-height: 1.55;
}

/* 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(56, 189, 248, 0.08);
}

.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;
}

/* Modals */
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), var(--glow);
  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: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.15), rgba(4, 12, 28, 0.95));
  color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.act-modal-close:hover,
.act-modal-close:focus-visible {
  border-color: var(--cyan);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  outline: none;
}

.act-modal-close:active { transform: scale(0.94); }

.modal-close-icon { display: block; pointer-events: none; }

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

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

.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;
}

.browse-reward-modal.is-ready .browse-countdown-num { color: var(--mint); }

.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), var(--mint));
  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), var(--mint));
  cursor: pointer;
}

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

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

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

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

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

/* Animations */
@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 cardBreath {
  0%, 100% { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.08) inset, 0 0 30px rgba(56, 189, 248, 0.12); }
  50% { box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.15) inset, 0 0 48px rgba(56, 189, 248, 0.22); }
}

@keyframes ambientBreath {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes btnShine {
  0% { transform: translateX(-100%); }
  40%, 100% { transform: translateX(100%); }
}

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

@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 */
.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 .activity-highlight { flex-direction: row-reverse; text-align: right; }
.rtl .section-head { text-align: right; }
.rtl .step { flex-direction: row-reverse; text-align: right; }
.rtl .steps::before { left: auto; right: 19px; }
.rtl .price-specs li { flex-direction: row-reverse; text-align: right; }
.rtl .burn-compare { flex-direction: row-reverse; text-align: right; }
.rtl .act-modal-head { flex-direction: row-reverse; }
.rtl .act-modal-body { text-align: right; }
.rtl .form-group label { text-align: right; }

/* ── TikTok in-app browser guide ── */
.bottom-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 280;
  width: 100%;
  max-width: 480px;
  transform: translateX(-50%);
  padding: 10px 12px calc(12px + var(--safe-b));
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 8, 24, 0), rgba(2, 8, 24, 0.82) 24%, rgba(2, 8, 24, 0.96) 100%);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
}

.bottom-bar-inner {
  pointer-events: auto;
  background: #fff;
  border-radius: 20px 20px 16px 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.bottom-bar-label {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #8b95ab;
  text-transform: uppercase;
}

.bottom-bar-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
  color: #17203a;
}

.bottom-bar-desc {
  margin: 0 0 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #66728d;
}

.bottom-bar-btn,
.tt-guide-copy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.4);
  transition: transform 0.15s, opacity 0.2s;
}

.bottom-bar-btn-shine,
.tt-guide-copy-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: btnShine 3.5s ease-in-out infinite;
  pointer-events: none;
}

.bottom-bar-btn > span:not(.bottom-bar-btn-shine),
.tt-guide-copy > span:not(.tt-guide-copy-shine) {
  position: relative;
  z-index: 1;
}

.bottom-bar-btn:active,
.tt-guide-copy:active { transform: scale(0.98); }

.tt-guide-copy {
  margin-top: 14px;
  min-height: 50px;
  font-size: 0.94rem;
}

.tt-guide-copy.is-copied {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}

.bottom-bar-foot,
.tt-guide-foot {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: #9ba4b8;
  text-align: center;
  line-height: 1.45;
  font-weight: 700;
}

body.has-bottom-bar .app {
  padding-bottom: calc(190px + var(--safe-b));
}

.tt-guide {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
}

.tt-guide[hidden] { display: none; }

.tt-guide-backdrop {
  position: absolute;
  inset: 0;
}

.tt-guide-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 26px 26px 0 0;
  padding: 16px 16px calc(20px + var(--safe-b));
  animation: ttSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ttSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.tt-guide-handle {
  width: 42px;
  height: 4px;
  background: #dfe3ec;
  border-radius: 2px;
  margin: 0 auto 16px;
}

.tt-guide-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  color: #17203a;
}

.tt-guide-hero {
  margin: 2px 0 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f6ff;
  border: 1px solid rgba(24, 32, 51, 0.06);
}

.tt-guide-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.tt-guide-hint {
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #66728d;
}

.tt-guide-steps {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tt-guide-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fafbff;
  border: 1px solid rgba(24, 32, 51, 0.05);
  border-radius: 14px;
  padding: 10px;
}

.tt-guide-num {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tt-guide-txt {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #66728d;
}

.tt-guide-txt b {
  color: #17203a;
  font-weight: 800;
}

.tt-guide-copy-ok {
  margin-top: 10px;
  background: #eaf6ea;
  color: #2e7d32;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.tt-guide-copy-ok[hidden] { display: none; }

.tt-guide-copy-ok.is-error {
  background: #fdecea;
  color: #c62828;
}

body.tt-guide-open {
  overflow: hidden;
}

body.tt-guide-open .browse-reward-modal,
body.tt-guide-open .act-modal {
  visibility: hidden;
  pointer-events: none;
}

body.tt-in-tiktok .bottom-bar {
  display: block;
}

