/* ==========================================================================
   CSS Design Tokens & Modern Reset
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #0a0e17;
  --bg-surface: rgba(16, 23, 38, 0.72);
  --bg-surface-border: rgba(255, 255, 255, 0.1);
  --bg-surface-hover: rgba(26, 36, 58, 0.85);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* WhatsApp Green Theme */
  --wa-green: #25d366;
  --wa-green-deep: #128c7e;
  --wa-gradient: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --wa-glow: rgba(37, 211, 102, 0.35);
  --wa-glow-hover: rgba(37, 211, 102, 0.6);
  --wa-bg-subtle: rgba(37, 211, 102, 0.08);
  --wa-border: rgba(37, 211, 102, 0.3);

  /* Telegram Blue Theme */
  --tg-blue: #0088cc;
  --tg-blue-bright: #29b6f6;
  --tg-gradient: linear-gradient(135deg, #29b6f6 0%, #0088cc 100%);
  --tg-glow: rgba(41, 182, 246, 0.35);
  --tg-glow-hover: rgba(41, 182, 246, 0.6);
  --tg-bg-subtle: rgba(0, 136, 204, 0.08);
  --tg-border: rgba(41, 182, 246, 0.3);

  /* Elevation & Shadows */
  --shadow-card: 0 25px 60px -15px rgba(0, 0, 0, 0.6),
                 0 0 40px -10px rgba(56, 189, 248, 0.08);
  --shadow-button-wa: 0 10px 25px -5px rgba(37, 211, 102, 0.35);
  --shadow-button-tg: 0 10px 25px -5px rgba(0, 136, 204, 0.35);

  /* Dimensions & Radius */
  --radius-card: 28px;
  --radius-button: 18px;
  --radius-badge: 9999px;

  /* Font Families */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ==========================================================================
   Animated Background Canvas / Ambient Lighting
   ========================================================================== */

.page-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.16) 0%, rgba(37, 211, 102, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: absolute;
  bottom: -10%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(41, 182, 246, 0.18) 0%, rgba(0, 136, 204, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

.ambient-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* ==========================================================================
   Centered Card Container
   ========================================================================== */

.card-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bg-surface-border);
  border-radius: var(--radius-card);
  padding: 44px 36px 36px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.card-container:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Card Decorative Top Accent Line */
.card-top-accent {
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.7), rgba(41, 182, 246, 0.7), transparent);
  border-radius: 2px;
}

/* ==========================================================================
   Badge & Header Typography
   ========================================================================== */

.badge-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-badge);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #e2e8f0;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--wa-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--wa-green);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: pulseAnimation 2s infinite ease-out;
}

@keyframes pulseAnimation {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.card-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-subtitle {
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Action Buttons (WhatsApp & Telegram)
   ========================================================================== */

.buttons-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.social-button {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius-button);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  user-select: none;
}

/* Button Shimmer / Sheen Effect */
.social-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.7s ease-in-out;
  pointer-events: none;
}

.social-button:hover::before {
  left: 160%;
}

/* Automatic Shimmer Sweeping */
.btn-whatsapp::before {
  animation: autoShimmerSweep 4s ease-in-out infinite;
}

.btn-telegram::before {
  animation: autoShimmerSweep 4s ease-in-out infinite 2s;
}

@keyframes autoShimmerSweep {
  0% {
    left: -130%;
  }
  25%, 100% {
    left: 160%;
  }
}

/* Icon Container */
.btn-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Text Content within Button */
.btn-content {
  flex: 1;
  text-align: left;
  margin-left: 16px;
  margin-right: 12px;
}

.btn-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.btn-subtitle {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.35;
  margin-top: 2px;
}

/* Arrow indicator */
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  flex-shrink: 0;
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* --- WhatsApp Green Button Theme with Blinking Glow --- */
.btn-whatsapp {
  background: var(--wa-gradient);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  animation: waBlinkPulse 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.btn-whatsapp .btn-icon-box {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.btn-whatsapp .btn-subtitle {
  color: #e8fced;
}

.btn-whatsapp:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 36px -6px var(--wa-glow-hover), 0 0 25px var(--wa-glow);
  filter: brightness(1.06);
}

.btn-whatsapp:hover .btn-icon-box {
  transform: scale(1.12) rotate(-4deg);
}

.btn-whatsapp:hover .btn-arrow {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.25);
}

.btn-whatsapp:active {
  transform: translateY(-1px) scale(0.99);
}

/* WhatsApp Blinking & Pulsating Keyframes */
@keyframes waBlinkPulse {
  0%, 100% {
    box-shadow: 0 8px 22px -5px rgba(37, 211, 102, 0.35),
                0 0 0 0 rgba(37, 211, 102, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 16px 36px -4px rgba(37, 211, 102, 0.65),
                0 0 24px 6px rgba(37, 211, 102, 0.55),
                0 0 0 5px rgba(37, 211, 102, 0.2);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1.02);
  }
}

/* --- Telegram Blue Button Theme with Blinking Glow --- */
.btn-telegram {
  background: var(--tg-gradient);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  /* Offset start so buttons alternate in rhythm */
  animation: tgBlinkPulse 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.3s;
}

.btn-telegram .btn-icon-box {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.btn-telegram .btn-subtitle {
  color: #e6f6fe;
}

.btn-telegram:hover {
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 18px 36px -6px var(--tg-glow-hover), 0 0 25px var(--tg-glow);
  filter: brightness(1.06);
}

.btn-telegram:hover .btn-icon-box {
  transform: scale(1.12) rotate(4deg);
}

.btn-telegram:hover .btn-arrow {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.25);
}

.btn-telegram:active {
  transform: translateY(-1px) scale(0.99);
}

/* Telegram Blinking & Pulsating Keyframes */
@keyframes tgBlinkPulse {
  0%, 100% {
    box-shadow: 0 8px 22px -5px rgba(0, 136, 204, 0.35),
                0 0 0 0 rgba(41, 182, 246, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 16px 36px -4px rgba(41, 182, 246, 0.65),
                0 0 24px 6px rgba(41, 182, 246, 0.55),
                0 0 0 5px rgba(41, 182, 246, 0.2);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1.02);
  }
}

/* ==========================================================================
   Card Footer & Trust Indicators
   ========================================================================== */

.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-badge svg {
  width: 15px;
  height: 15px;
  color: #38bdf8;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   In-App Browser (TikTok) Warning / Guidance Banner
   ========================================================================== */

.inapp-banner {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  width: calc(100% - 24px);
  max-width: 480px;
  background: rgba(16, 23, 38, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.inapp-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.inapp-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  flex-shrink: 0;
}

.inapp-banner-icon svg {
  width: 20px;
  height: 20px;
}

.inapp-banner-content {
  flex: 1;
  text-align: left;
}

.inapp-banner-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.3;
}

.inapp-banner-desc {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 2px;
}

.inapp-banner-desc strong {
  color: #e2e8f0;
}

.inapp-banner-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.inapp-banner-close:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.inapp-banner-close svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Troubleshoot & Copy Link Action Pills
   ========================================================================== */

.troubleshoot-section {
  margin-top: -8px;
  margin-bottom: 24px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

.troubleshoot-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.copy-pills-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-badge);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.copy-pill svg {
  width: 13px;
  height: 13px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}

.copy-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.copy-pill:active {
  transform: translateY(0) scale(0.97);
}

.copy-pill.copied {
  background: rgba(37, 211, 102, 0.18);
  border-color: rgba(37, 211, 102, 0.45);
  color: #4ade80;
}

.copy-pill.copied svg {
  transform: scale(1.15);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(37, 211, 102, 0.2);
  color: #f8fafc;
  padding: 10px 18px;
  border-radius: var(--radius-badge);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-notification svg {
  width: 16px;
  height: 16px;
  color: #25d366;
  flex-shrink: 0;
}

/* ==========================================================================
   Responsive Adaptations (Mobile-friendly)
   ========================================================================== */

@media (max-width: 520px) {
  .page-wrapper {
    padding: 16px 12px;
  }

  .card-container {
    padding: 34px 20px 28px;
    border-radius: 22px;
  }

  .card-title {
    font-size: 1.75rem;
  }

  .card-subtitle {
    font-size: 0.92rem;
    margin-bottom: 26px;
  }

  .social-button {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .btn-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .btn-icon-box svg {
    width: 22px;
    height: 22px;
  }

  .btn-title {
    font-size: 0.98rem;
  }

  .btn-subtitle {
    font-size: 0.78rem;
  }

  .btn-arrow {
    width: 28px;
    height: 28px;
  }

  .troubleshoot-section {
    padding: 12px 8px;
  }

  .copy-pill {
    padding: 6px 12px;
    font-size: 0.74rem;
  }

  .ambient-glow-1,
  .ambient-glow-2 {
    width: 320px;
    height: 320px;
    filter: blur(60px);
  }
}

/* ==========================================================================
   TikTok In-App Escape Modal / Bottom Sheet
   ========================================================================== */

.tiktok-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tiktok-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.tiktok-modal-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.15);
  padding: 24px 22px 32px;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.tiktok-modal-backdrop.active .tiktok-modal-sheet {
  transform: translateX(-50%) translateY(0);
}

/* Highlighted Guidance Pill inside the modal */
.sheet-highlight-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #040e07;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0, 0, 0, 0.4);
  margin: 0 auto 16px;
  animation: pointerPulse 1.6s ease-in-out infinite alternate;
  user-select: none;
}

.sheet-highlight-pill.theme-tg {
  background: #29b6f6;
  color: #041421;
  box-shadow: 0 0 25px rgba(41, 182, 246, 0.65), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.sheet-highlight-pill .pulse-ring {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
  animation: blinkRing 1.2s infinite ease-in-out;
}

@keyframes blinkRing {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

@keyframes pointerPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-3px) scale(1.04);
  }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.sheet-header-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #ffffff;
}

.sheet-header-icon.icon-wa {
  background: var(--wa-gradient);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.sheet-header-icon.icon-tg {
  background: var(--tg-gradient);
  box-shadow: 0 8px 20px rgba(41, 182, 246, 0.4);
}

.sheet-header-icon svg {
  width: 30px;
  height: 30px;
}

.sheet-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.sheet-subtitle {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 20px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.sheet-steps-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 20px;
}

.sheet-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.sheet-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sheet-step strong {
  color: #ffffff;
}

.sheet-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sheet-btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #040e07;
  background: #25d366;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.sheet-btn-copy.theme-tg {
  background: #29b6f6;
  color: #041421;
  box-shadow: 0 8px 20px rgba(41, 182, 246, 0.35);
}

.sheet-btn-copy svg {
  width: 18px;
  height: 18px;
}

.sheet-btn-copy:active {
  transform: scale(0.98);
}

.sheet-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.sheet-btn-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.sheet-btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-btn-close svg {
  width: 16px;
  height: 16px;
}


