    :root {
      --bg: #05080e;
      --bg-secondary: #0a0d16;
      --surface: rgba(12, 17, 26, 0.94);
      --surface-border: rgba(255, 255, 255, 0.12);
      --surface-hover: rgba(20, 27, 40, 0.88);
      --text: #f0f6fc;
      --text-muted: #94a3b8;
      --accent: #ffffff;
      --accent-glow: rgba(255, 255, 255, 0.15);
      --green: #2ea043;
      --green-glow: #3fb950;
      --red: #f85149;
      --shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    }

    html {
      scroll-behavior: smooth;
      background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
      background-attachment: fixed;
      height: 100%;
      background-color: var(--bg);
    }

    body {
      background: transparent;
      color: var(--text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow-x: hidden;
      transition: background 0.3s ease;
    }

    /* Ambient glow orbs */
    .glow-mesh {
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(ellipse 800px 700px at 50% 35%, rgba(0, 229, 255, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 600px 500px at 75% 55%, rgba(46, 160, 67, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 25% 70%, rgba(0, 229, 255, 0.05) 0%, transparent 75%);
    }

    /* Header */
    header {
      position: relative;
      z-index: 10;
      backdrop-filter: blur(12px);
      background: rgba(10, 14, 22, 0.5);
      border-bottom: 1px solid var(--surface-border);
      padding: 16px 24px;
    }

    .header-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 24px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 700;
      font-size: 18px;
      color: var(--text);
      text-decoration: none;
    }

    .logo-icon {
      width: auto;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      object-fit: contain;
      font-size: 18px;
    }

    nav {
      display: flex;
      gap: 32px;
      flex: 1;
    }

    .nav-links {
      display: flex;
      gap: 32px;
    }

    .menu-toggle {
      display: none;
      padding: 4px 8px;
      background: none;
      border: none;
      color: var(--text);
      font-size: 26px;
      line-height: 1;
      font-family: inherit;
      cursor: pointer;
    }

    nav a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.2s;
      cursor: pointer;
    }

    nav a:hover {
      color: var(--text);
    }

    .header-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .status-pill {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--surface-border);
      color: var(--text);
      padding: 8px 12px;
      border-radius: 6px;
      cursor: default;
      font-size: 14px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .status-dot {
      width: 6px;
      height: 6px;
      background: var(--green);
      border-radius: 50%;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* Main container - two column layout */
    main {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 560px;
      gap: 40px;
      align-items: flex-start;
      position: relative;
      z-index: 2;
      padding: 16px 40px 32px 40px;
      max-width: 1400px;
      margin: 0 auto;
    }

    .hero-section {
      display: flex;
      flex-direction: column;
      gap: 12px;
      justify-content: flex-start;
      min-height: auto;
      padding-top: 12px;
      margin-top: 28px;
    }

    .hero-title {
      font-size: 40px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text);
      letter-spacing: -1px;
      margin-bottom: 0;
    }

    @keyframes colorShift {
      0% { color: #ffffff; }
      50% { color: #00e5ff; }
      100% { color: #ffffff; }
    }

    .hero-title .gradient-text {
      color: #ffffff;
      animation: colorShift 4s ease-in-out infinite;
    }

    .trust-points {
      display: none;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      backdrop-filter: blur(10px);
      padding: 0;
      overflow: hidden;
    }

    .trust-point {
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: center;
      text-align: center;
      padding: 16px 12px;
      background: transparent;
      border: none;
      border-right: 1px solid rgba(255, 255, 255, 0.05);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 0;
      backdrop-filter: none;
      transition: all 0.3s ease;
    }

    .trust-point:nth-child(2n) {
      border-right: none;
    }

    .trust-point:nth-child(n+3) {
      border-bottom: none;
    }

    .trust-point:hover {
      background: rgba(255, 255, 255, 0.04);
    }

    .trust-icon {
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
      color: var(--accent);
    }

    .trust-text {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 100%;
    }

    .trust-title {
      font-size: 15px;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.3;
    }

    .trust-description {
      font-size: 13px;
      color: #8F9CAE;
      line-height: 1.4;
    }

    .status-check-section {
      max-width: 360px;
    }

    .status-check-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 10px;
      display: block;
    }

    .status-check-wrapper {
      display: flex;
      gap: 0;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 0;
      align-items: center;
      height: 44px;
    }

    .status-check-icon {
      padding: 0 12px;
      font-size: 16px;
      flex-shrink: 0;
      color: var(--text-muted);
    }

    .status-check-input {
      flex: 1;
      background: transparent;
      border: none;
      color: var(--text);
      font-size: 13px;
      outline: none;
      font-family: inherit;
      padding: 0;
    }

    .status-check-input::placeholder {
      color: var(--text-muted);
    }

    .status-check-btn {
      background: rgba(255, 255, 255, 0.06);
      border: none;
      color: #E2E8F0;
      cursor: pointer;
      padding: 8px 12px;
      margin: 6px;
      font-size: 16px;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      flex-shrink: 0;
      height: 32px;
      width: 32px;
    }

    .status-check-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #FFFFFF;
    }

    /* Hero subtitle */
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 600;
      color: #00e5ff;
      background: rgba(0, 229, 255, 0.06);
      border: 1px solid rgba(0, 229, 255, 0.25);
      padding: 6px 14px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 20px;
      width: fit-content;
    }

    .hero-subtitle {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-top: 16px;
      margin-bottom: 20px;
      max-width: 380px;
    }

    .hero-cta-links {
      display: flex;
      gap: 12px;
      margin-bottom: 28px;
      flex-wrap: wrap;
    }

    .cta-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      background: rgba(0, 229, 255, 0.1);
      border: 1px solid rgba(0, 229, 255, 0.3);
      color: #00e5ff;
      font-size: 13px;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .cta-link:hover {
      background: rgba(0, 229, 255, 0.2);
      border-color: rgba(0, 229, 255, 0.5);
      color: #00ffff;
      transform: translateY(-2px);
    }

    .cta-link.secondary {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.1);
      color: var(--text);
    }

    .cta-link.secondary:hover {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(255, 255, 255, 0.2);
      color: #ffffff;
    }

    /* Hero Stats Bar */
    .hero-stats {
      display: flex;
      gap: 0;
      width: 100%;
      margin-bottom: 32px;
      padding: 24px 20px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      justify-content: flex-start;
      align-items: center;
    }

    .stat-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
      padding: 0 12px;
      border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat-item:last-child {
      border-right: none;
    }

    .stat-value {
      font-size: 22px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: -0.5px;
    }

    .stat-unit {
      font-size: 0.6em;
      font-weight: 600;
      color: #8F9CAE;
      letter-spacing: 0;
    }

    .stat-label {
      font-size: 11px;
      color: #8F9CAE;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1.3;
      max-width: 80px;
    }

    /* How it works section */
    .how-it-works {
      display: none;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      width: 100%;
      margin-top: 12px;
    }

    .how-it-works-step {
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: center;
      text-align: center;
      padding: 24px 16px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 14px;
    }

    .step-number {
      width: 40px;
      height: 40px;
      background: rgba(0, 229, 255, 0.08);
      border: 1px solid rgba(0, 229, 255, 0.4);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 16px;
      color: #00e5ff;
    }

    .step-title {
      font-weight: 600;
      font-size: 14px;
      color: var(--text);
      line-height: 1.3;
    }

    .step-description {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* Widget card - monolithic center panel */
    .widget-card {
      width: 100%;
      max-width: 560px;
      background: linear-gradient(180deg, rgba(20, 26, 38, 0.75) 0%, rgba(13, 17, 24, 0.85) 100%);
      backdrop-filter: blur(24px);
      border: 1px solid var(--surface-border);
      border-radius: 16px;
      padding: 22px;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      z-index: 3;
    }

    .widget-card::after {
      content: '';
      position: fixed;
      width: 900px;
      height: 700px;
      background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 65%);
      filter: blur(140px);
      bottom: 15%;
      left: 50%;
      transform: translateX(-50%);
      pointer-events: none;
      z-index: -1;
    }

    .widget-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
      pointer-events: none;
    }

    /* Section title */
    .section-label {
      font-size: 11px;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 8px;
      margin-top: 12px;
    }

    .section-label:first-child {
      margin-top: 0;
    }

    /* Input pair */
    .input-pair {
      display: flex;
      gap: 10px;
      margin-bottom: 8px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 14px;
      padding: 12px;
    }

    .input-field {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .input-label {
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    input[type="number"],
    input[type="text"],
    select {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--surface-border);
      color: var(--text);
      padding: 10px 0;
      border-radius: 0;
      font-size: 13px;
      transition: all 0.2s;
      width: 100%;
      font-family: inherit;
    }

    input[type="number"]::-webkit-outer-spin-button,
    input[type="number"]::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    input[type="number"] {
      -moz-appearance: textfield;
    }

    #sendAmount {
      font-size: 26px;
      font-weight: 600;
      padding: 12px 0;
    }

    .input-field select {
      background-color: rgba(255, 255, 255, 0.04);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238F9CAE' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      padding: 10px 12px 10px 12px;
      padding-right: 32px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .input-field select:hover {
      background-color: rgba(255, 255, 255, 0.06);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238F9CAE' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      border-color: rgba(255, 255, 255, 0.12);
    }

    .input-field select:focus {
      outline: none;
      border-color: var(--accent);
      background-color: rgba(255, 255, 255, 0.08);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238F9CAE' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
    }

    input[type="number"]:focus,
    input[type="text"]:focus,
    select:focus {
      outline: none;
      border-bottom-color: var(--accent);
      background: transparent;
      box-shadow: none;
    }

    select {
      cursor: pointer;
      appearance: none;
      color: var(--text);
      font-size: 14px;
    }

    /* Coin picker (custom select with icons) */
    .coin-picker {
      position: relative;
    }

    .coin-picker-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 10px 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 8px;
      color: var(--text);
      font-family: inherit;
      font-size: 14px;
      cursor: pointer;
      text-align: left;
      transition: all 0.2s;
    }

    .coin-picker-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.12);
    }

    .coin-picker.open .coin-picker-btn,
    .coin-picker-btn:focus-visible {
      outline: none;
      border-color: var(--accent);
      background: rgba(255, 255, 255, 0.08);
    }

    .coin-picker-icon {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }

    .coin-picker-name {
      flex: 1;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .coin-picker-chevron {
      width: 12px;
      height: 8px;
      flex-shrink: 0;
      transition: transform 0.2s;
    }

    .coin-picker.open .coin-picker-chevron {
      transform: rotate(180deg);
    }

    .coin-picker-menu {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      min-width: 180px;
      max-height: 264px;
      overflow-y: auto;
      padding: 6px;
      background: #121a26;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
      z-index: 20;
      scrollbar-width: thin;
      scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }

    .coin-picker.open .coin-picker-menu {
      display: block;
    }

    .coin-picker-option {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 8px 10px;
      background: transparent;
      border: none;
      border-radius: 6px;
      color: var(--text);
      font-family: inherit;
      font-size: 14px;
      cursor: pointer;
      text-align: left;
    }

    .coin-picker-option:hover,
    .coin-picker-option:focus-visible {
      outline: none;
      background: rgba(255, 255, 255, 0.07);
    }

    .coin-picker-option.selected {
      background: rgba(0, 229, 255, 0.1);
    }

    .coin-picker-ticker {
      margin-left: auto;
      font-size: 12px;
      color: var(--text-muted);
    }

    /* Amount display */
    .send-amount {
      font-size: 28px;
      font-weight: 600;
      color: var(--text);
      margin: 8px 0 2px;
      letter-spacing: -0.8px;
    }

    .fiat-equivalent {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: 2px;
      margin-bottom: 5px;
    }

    /* Quick chips with top assets */
    .quick-chips {
      display: flex;
      gap: 8px;
      margin: 16px 0;
      flex-wrap: wrap;
    }

    .chip {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--surface-border);
      cursor: pointer;
      transition: all 0.2s;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-muted);
    }

    .chip:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--accent);
      color: var(--text);
    }

    .chip.active {
      background: rgba(255, 255, 255, 0.06);
      border-color: #00e5ff;
      border: 1.5px solid #00e5ff;
      color: #00e5ff;
      box-shadow: 0 0 12px rgba(0, 229, 255, 0.3), inset 0 0 12px rgba(0, 229, 255, 0.1);
    }

    .chip-icon {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    /* Swap divider */
    .swap-divider {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 28px 0;
      position: relative;
    }

    .swap-divider::before,
    .swap-divider::after {
      content: '';
      position: absolute;
      height: 1px;
      background: var(--surface-border);
      width: calc((100% - 60px) / 2);
    }

    .swap-divider::before {
      left: 0;
    }

    .swap-divider::after {
      right: 0;
    }

    .swap-arrow {
      background: rgba(0, 229, 255, 0.1);
      border: 1px solid var(--accent);
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s;
      font-size: 16px;
      color: var(--accent);
      font-weight: 600;
    }

    .swap-arrow:hover {
      background: var(--accent);
      color: #000;
      transform: rotate(180deg);
    }

    /* Receive amount display */
    .receive-amount {
      font-size: 28px;
      font-weight: 700;
      color: #ffffff;
      margin: 4px 0 2px;
      letter-spacing: -0.5px;
    }

    /* Address input */
    .address-section {
      margin: 20px 0;
    }

    .address-input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .wallet-icon {
      font-size: 16px;
      opacity: 0.6;
      flex-shrink: 0;
    }

    .address-input-wrapper input {
      flex: 1;
      padding: 10px 0 10px 0;
      border-bottom: 1px solid var(--surface-border);
    }

    .address-input-wrapper input::placeholder {
      color: var(--text-muted);
    }

    .address-status-icon {
      font-size: 14px;
      flex-shrink: 0;
      color: var(--green);
      opacity: 0;
      transition: all 0.3s;
    }

    .address-status-icon.valid {
      opacity: 1;
    }

    .paste-btn {
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      font-size: 12px;
      padding: 4px 6px;
      transition: all 0.2s;
      flex-shrink: 0;
      opacity: 0.6;
      min-width: 24px;
      text-align: center;
    }

    .paste-btn:hover {
      opacity: 1;
      color: var(--text);
      transform: scale(1.1);
    }

    /* Time delay section - cyberpunk style */
    .delay-section {
      margin: 8px 0;
    }

    .delay-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .delay-display {
      font-size: 20px;
      font-weight: 700;
      color: var(--accent);
      font-variant-numeric: tabular-nums;
    }

    .anonymity-badge {
      font-size: 10px;
      font-weight: 600;
      padding: 3px 8px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      transition: all 0.3s ease;
    }

    .anonymity-badge.basic {
      color: #F59E0B;
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .anonymity-badge.high {
      color: #10B981;
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .anonymity-badge.maximum {
      color: #00E5FF;
      background: rgba(0, 229, 255, 0.15);
      border: 1px solid rgba(0, 229, 255, 0.3);
    }

    input[type="range"] {
      width: 100%;
      height: 6px;
      border-radius: 3px;
      background: linear-gradient(90deg,
        rgba(0, 229, 255, 0.1) 0%,
        rgba(0, 229, 255, 0.15) 50%,
        rgba(16, 185, 129, 0.1) 100%);
      outline: none;
      -webkit-appearance: none;
      margin: 12px 0 8px;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--accent);
      cursor: pointer;
      transition: all 0.2s;
      box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
    }

    input[type="range"]::-webkit-slider-thumb:hover {
      transform: scale(1.15);
      box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    }

    input[type="range"]::-moz-range-thumb {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--accent);
      cursor: pointer;
      border: none;
      transition: all 0.2s;
      box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
    }

    input[type="range"]::-moz-range-thumb:hover {
      transform: scale(1.15);
      box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    }

    .delay-presets {
      display: flex;
      justify-content: space-between;
      font-size: 10px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 500;
    }

    /* Payout summary */
    .payout-summary {
      background: rgba(0, 229, 255, 0.05);
      border: 1px solid rgba(0, 229, 255, 0.15);
      border-radius: 10px;
      padding: 14px;
      margin: 20px 0;
      font-size: 12px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .summary-row:last-child {
      margin-bottom: 0;
      border-top: 1px solid rgba(0, 229, 255, 0.2);
      padding-top: 8px;
      margin-top: 8px;
      font-weight: 600;
      font-size: 13px;
    }

    .summary-label {
      color: var(--text-muted);
    }

    .summary-value {
      color: var(--text);
      font-weight: 500;
    }

    .summary-value.highlight {
      color: #ffffff;
      font-weight: 600;
      font-size: 16px;
    }

    /* CTA button */
    .cta-button {
      width: 100%;
      background: linear-gradient(135deg, var(--accent) 0%, #00b4cc 100%);
      color: #000;
      border: none;
      padding: 14px 24px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 24px;
      transition: all 0.3s;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      box-shadow: 0 0 24px var(--accent-glow);
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 32px var(--accent-glow);
    }

    .cta-button:active {
      transform: translateY(0);
    }

    .cta-button:disabled {
      background: rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.6);
      cursor: not-allowed;
      transform: none;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
    }

    .cta-button:disabled:hover {
      transform: none;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
    }

    .trust-badge {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 14px 20px;
      background: rgba(18, 24, 36, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
    }

    .trust-badge-content {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }

    .trust-badge-kicker {
      font-size: 11px;
      font-weight: 800;
      color: var(--green);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .trust-badge-title {
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: -0.01em;
      line-height: 1.15;
    }

    .trust-badge-description {
      font-size: 12px;
      color: #8F9CAE;
      line-height: 1.4;
      max-width: 460px;
    }

    .trust-badge-amount {
      flex-shrink: 0;
      padding: 10px 16px;
      background: #0a0f18;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 14px;
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-variant-numeric: lining-nums tabular-nums;
      color: #f0f6fc;
      white-space: nowrap;
    }

    /* Contacts & terms cards */
    .info-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 24px;
    }

    .info-card {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 18px 20px;
      background: rgba(13, 17, 24, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      min-width: 0;
    }

    .info-card-label {
      font-size: 11px;
      font-weight: 700;
      color: #8F9CAE;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .info-card-value {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      overflow-wrap: anywhere;
    }

    .info-card-hint {
      font-size: 12px;
      font-weight: 700;
    }

    .info-card-hint.warn { color: var(--red); }
    .info-card-hint.ok { color: var(--green); }
    .info-card-hint.muted { color: #8F9CAE; }

    /* Contacts section */
    .contacts-section {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 1400px;
      margin: 24px auto 0;
      padding: 0 40px;
      scroll-margin-top: 80px;
    }

    .contacts-panel {
      padding: 36px 40px 40px;
      background: rgba(13, 17, 24, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 20px;
    }

    .contacts-title {
      font-size: 26px;
      font-weight: 800;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: -0.01em;
      margin-bottom: 14px;
    }

    .contacts-lead,
    .contacts-text {
      font-size: 15px;
      line-height: 1.7;
      color: #8F9CAE;
      max-width: 900px;
    }

    .contacts-section .info-cards {
      margin-top: 24px;
      margin-bottom: 28px;
    }

    .contacts-subtitle {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .contacts-panel .contacts-text + .contacts-subtitle {
      margin-top: 26px;
    }

    .info-card-hint a {
      color: inherit;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .fraud-box {
      margin-top: 26px;
      padding: 20px 22px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-left: 3px solid #8F9CAE;
      border-radius: 12px;
    }

    .fraud-title {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      margin-bottom: 8px;
    }

    .fraud-text {
      font-size: 14px;
      line-height: 1.65;
      color: #8F9CAE;
      max-width: 900px;
    }


    .bw-mode { margin-bottom: 14px; }
    .bw-mode-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--surface-border); }
    .bw-mode-tab { flex: 1; padding: 9px 8px; border: 1.5px solid transparent; border-radius: 10px; background: none; color: var(--text-muted); font: 600 14px/1.25 inherit; cursor: pointer; transition: all .2s; }
    .bw-mode-tab small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; opacity: .75; }
    .bw-mode-tab.active { color: #00e5ff; border-color: #00e5ff; background: rgba(0,229,255,.06); box-shadow: 0 0 12px rgba(0,229,255,.25); }

    .contacts-panel {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      column-gap: 32px;
      align-items: start;
    }
    .contacts-title { grid-column: 1; grid-row: 1; }
    .contacts-lead { grid-column: 1; grid-row: 2; }
    .contacts-section .info-cards { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: 1fr; margin: 0; }
    .contacts-panel .fraud-box { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; }
    @media (max-width: 900px) {
      .contacts-panel { grid-template-columns: 1fr; }
      .contacts-title, .contacts-lead, .contacts-section .info-cards, .contacts-panel .fraud-box { grid-column: 1; grid-row: auto; }
      .contacts-section .info-cards { grid-template-columns: 1fr; }
    }

    footer .contacts-section { margin: 0 auto 20px; padding: 0; max-width: 1400px; }
    footer .contacts-panel { padding: 28px 0 8px; background: none; border: none; border-radius: 0; }

    footer .info-card { background: none; border: none; padding: 0; border-radius: 0; }
    footer .contacts-panel .fraud-box { background: none; border: none; border-left: none; border-radius: 0; padding: 0; margin-top: 0; }

    /* Footer */
.footer-content {
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
    }

    footer {
      position: relative;
      z-index: 2;
      background: rgba(10, 14, 22, 0.5);
      border-top: 1px solid var(--surface-border);
      padding: 24px;
      margin-top: 40px;
    }

    /* Responsive */
    @media (min-width: 1025px) and (max-height: 950px) {
      main { padding-top: 12px; padding-bottom: 16px; }
      .widget-card { padding: 16px 20px; }
      .widget-card .section-label { margin-top: 8px; margin-bottom: 6px; }
      .widget-card .input-pair { margin-bottom: 6px; padding: 10px 12px; }
      .widget-card .quick-chips { margin-top: 10px; margin-bottom: 10px; }
      .widget-card .swap-divider { margin-top: 6px; margin-bottom: 6px; }
      .widget-card .address-section { margin-top: 10px; margin-bottom: 10px; }
      .widget-card .delay-section { margin-top: 4px; margin-bottom: 4px; }
      .widget-card .payout-summary { margin-top: 10px; margin-bottom: 10px; padding: 10px 14px; }
      .widget-card .cta-button { margin-top: 10px; }
    }

    @media (min-width: 1025px) and (max-height: 800px) {
      main { padding-top: 8px; }
      .widget-card .input-pair { padding: 8px 12px; }
      .widget-card #sendAmount { padding: 4px 0; font-size: 24px; }
      .widget-card .receive-amount { font-size: 24px; }
      .widget-card .chip { padding: 4px 10px; }
      .widget-card .swap-arrow { width: 32px; height: 32px; }
      .widget-card .swap-divider { margin-top: 4px; margin-bottom: 4px; }
      .widget-card .summary-row { margin-bottom: 4px; }
      .widget-card .payout-summary { padding: 8px 14px; margin-top: 6px; margin-bottom: 6px; }
      .widget-card .cta-button { padding: 11px 24px; }
      .widget-card .delay-header { margin-bottom: 4px; }
      .widget-card #delaySlider { margin-top: 8px; margin-bottom: 6px; }
      .widget-card .section-label { margin-top: 4px; margin-bottom: 4px; }
      .widget-card .quick-chips { margin-top: 6px; margin-bottom: 6px; }
      .widget-card .address-section { margin-top: 6px; margin-bottom: 6px; }
      .widget-card .fiat-equivalent { margin-bottom: 0; }
      .widget-card .input-label { margin-bottom: 0; }
    }

    @media (min-width: 1025px) and (min-height: 801px) {
      main { align-items: stretch; }
      .widget-card { display: flex; flex-direction: column; }
      .widget-card .cta-button { margin-top: auto; }
      .trust-badge { margin-bottom: 24px; }
      .info-cards { margin-top: auto; }
    }

    @media (max-width: 1024px) {
      main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
        max-width: 100%;
      }

      .hero-title {
        font-size: 36px;
      }
    }

    @media (max-width: 900px) {
      main {
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
        gap: 16px;
      }

      .hero-section {
        order: 2;
        margin-top: 0;
      }

      .widget-card {
        order: 1;
        padding: 28px 28px 24px 28px;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
      }

      .how-it-works {
        grid-template-columns: 1fr;
        margin-top: 40px;
      }

      footer {
        margin-top: 60px;
      }
    }

    @media (max-width: 768px) {
      main {
        grid-template-columns: 1fr;
        padding: 16px 12px 24px 12px;
        gap: 20px;
      }

      .widget-card {
        padding: 20px;
        max-width: 100%;
      }

      .send-amount,
      .receive-amount {
        font-size: 22px;
      }

      .hero-title {
        font-size: 28px;
        line-height: 1.2;
      }

      .hero-section {
        gap: 16px;
      }

      .trust-points {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
      }

      .trust-point {
        gap: 10px;
        padding: 16px 12px;
      }

      .trust-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
      }

      .trust-text {
        font-size: 12px;
      }

      .how-it-works {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 32px;
      }

      .how-it-works-step {
        padding: 16px 12px;
      }

      .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
      }

      .step-title {
        font-size: 13px;
      }

      .step-description {
        font-size: 11px;
      }

      .status-check-section {
        display: none;
      }

      nav {
        display: flex;
      }

      .menu-toggle {
        display: block;
        margin-right: auto;
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 6px 24px 14px;
        background: #0a0e16;
        border-bottom: 1px solid var(--surface-border);
      }

      header.menu-open .nav-links {
        display: flex;
      }

      .nav-links a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      }

      .nav-links a:last-child {
        border-bottom: none;
      }

      footer {
        margin-top: 16px;
      }
    }

    @media (max-width: 480px) {
      main {
        padding: 12px 10px 20px 10px;
        gap: 16px;
      }

      .widget-card {
        padding: 16px;
      }

      .hero-title {
        font-size: 24px;
      }

      .hero-badge {
        font-size: 11px;
        padding: 5px 12px;
      }

      .hero-subtitle {
        font-size: 13px;
        line-height: 1.4;
      }

      .hero-cta-links {
        flex-direction: column;
        gap: 8px;
      }

      .cta-link {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
      }

      .stats-bar {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
      }

      .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 0;
        padding: 16px 8px;
      }

      .stat-item {
        padding: 0 12px;
        min-width: 0;
      }

      .stat-item:nth-child(2n) {
        border-right: none;
      }

      .stat-label {
        max-width: none;
      }

      .stat-value {
        font-size: 18px;
      }

      .stat-label {
        font-size: 10px;
      }

      .input-pair {
        flex-direction: column;
      }

      .input-field {
        flex: 1 !important;
      }

      .input-label {
        font-size: 12px;
      }

      .quick-chips {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
      }

      .chip {
        justify-content: center;
        padding: 6px 4px;
        font-size: 11px;
        gap: 4px;
      }

      .chip-icon {
        width: 14px;
        height: 14px;
      }

      .status-pill {
        white-space: nowrap;
        padding: 6px 10px;
      }

      .trust-badge {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 20px 16px;
      }

      .trust-badge-title {
        font-size: 20px;
      }

      .trust-badge-amount {
        width: 100%;
        font-size: 18px;
        padding: 14px 12px;
      }

      .info-cards {
        grid-template-columns: 1fr;
      }

      .contacts-section {
        padding: 0 12px;
      }

      .contacts-panel {
        padding: 22px 18px 26px;
      }

      .contacts-title {
        font-size: 20px;
      }

      .cta-button {
        padding: 12px 16px;
        font-size: 14px;
      }
    }

    @keyframes neon-pulse {
      0% {
        box-shadow: 0 0 0 rgba(0, 229, 255, 0.4), inset 0 0 0 1px rgba(0, 229, 255, 0.25);
      }
      50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), inset 0 0 0 1px rgba(0, 229, 255, 0.4);
      }
      100% {
        box-shadow: 0 0 0 rgba(0, 229, 255, 0.4), inset 0 0 0 1px rgba(0, 229, 255, 0.25);
      }
    }

    .widget-card.neon-flash {
      animation: neon-pulse 0.8s ease-in-out;
    }

    /* Modals */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(4px);
    }

    .modal-content {
      background: linear-gradient(180deg, rgba(20, 26, 38, 0.95) 0%, rgba(13, 17, 24, 0.98) 100%);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      margin: 10% auto;
      padding: 28px;
      max-width: 500px;
      box-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
    }

    .modal-header {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 16px;
    }

    .modal-icon {
      font-size: 28px;
    }

    .modal-header h2 {
      font-size: 18px;
      font-weight: 600;
      color: var(--text);
      margin: 0;
    }

    .modal-message {
      color: var(--text-muted);
      margin: 12px 0 20px 0;
      line-height: 1.5;
    }

    .modal-button {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--text);
      padding: 10px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.2s;
      width: 100%;
    }

    .modal-button:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .modal-button.primary {
      background: #00e5ff;
      border-color: #00e5ff;
      color: #05080e;
      font-weight: 600;
    }

    .modal-button.primary:hover {
      background: #00b8cc;
      border-color: #00b8cc;
    }

    .modal-button.secondary {
      flex: 1;
    }

    .payment-details {
      background: rgba(0, 0, 0, 0.3);
      border-radius: 8px;
      padding: 16px;
      margin-bottom: 20px;
    }

    .detail-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .detail-row:last-child {
      border-bottom: none;
    }

    .detail-row label {
      color: var(--text-muted);
      font-size: 13px;
      flex: 0 0 auto;
    }

    .detail-value {
      color: var(--text);
      font-weight: 500;
      word-break: break-all;
      flex: 1;
      text-align: right;
    }

    .detail-value.mono {
      font-family: 'Courier New', monospace;
      font-size: 12px;
    }

    .copy-btn {
      background: none;
      border: none;
      color: #00e5ff;
      cursor: pointer;
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 4px;
      transition: all 0.2s;
      margin-left: 8px;
      flex-shrink: 0;
    }

    .copy-btn:hover {
      background: rgba(0, 229, 255, 0.1);
    }

    .payment-actions {
      display: flex;
      gap: 10px;
    }

    .payment-actions .modal-button {
      flex: 1;
    }

/* Standalone pages */
.page-sub footer {
  margin-top: auto;
}

.page-sub .contacts-section {
  margin-top: 40px;
  margin-bottom: 40px;
  flex: 0 0 auto;
}

nav a[aria-current="page"] {
  color: #ffffff;
}

footer .contacts-panel { align-items: start; }
footer .contacts-title,
footer .contacts-lead,
footer .info-cards,
footer .fraud-box { margin-top: 0; align-self: start; }
footer .contacts-section .info-cards { margin: 0; }
footer .fraud-title { margin-top: 0; }

.address-input-wrapper {
  height: 46px;
  padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.address-input-wrapper:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.address-input-wrapper:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.address-input-wrapper input {
  padding: 0;
  border-bottom: none;
  height: 100%;
}

header { padding: 16px 0; }
.header-content { max-width: 1400px; padding: 0 40px; }
main { width: 100%; }
@media (max-width: 1024px) { .header-content { padding: 0 24px; } }
@media (max-width: 900px) { .header-content { padding: 0 20px; } }
@media (max-width: 768px) { .header-content { padding: 0 12px; } }
@media (max-width: 480px) { .header-content { padding: 0 10px; } }

@media (min-width: 1025px) {
  .hero-section { gap: 16px; }
  .hero-badge { font-size: 16px; padding: 8px 18px; }
  .hero-title { font-size: 52px; }
  .hero-subtitle { font-size: 19.5px; max-width: 494px; margin-top: 20px; }
  .hero-cta-links { gap: 16px; }
  .cta-link { font-size: 16.9px; padding: 13px 21px; }
}

.bw-mode-note { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--text-muted); }

.widget-card { isolation: isolate; overflow: visible; }

.widget-card::after {
  position: absolute;
  top: -120px;
  left: -140px;
  width: calc(100% + 280px);
  height: calc(100% + 240px);
  transform: none;
  background: radial-gradient(closest-side, rgba(0, 229, 255, 0.2) 45%, rgba(0, 229, 255, 0) 100%);
  filter: blur(50px);
  z-index: -1;
}

.lang-switch { display: flex; gap: 2px; align-items: center; margin-right: 8px; }
.lang-switch a { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: #8F9CAE; text-decoration: none; padding: 4px 6px; border-radius: 6px; transition: color 0.2s; }
.lang-switch a:hover { color: #ffffff; }
.lang-switch a.active { color: #00e5ff; }
html[lang="zh-CN"], html[lang="zh-CN"] * { font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }

.bw-mode-note { min-height: 68px; }

.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); overflow: hidden; z-index: -1; pointer-events: none; }
.hero-bg__planet { position: absolute; left: 50%; bottom: -424px; width: 2400px; height: 1700px; max-width: none; transform: translateX(-50%); mix-blend-mode: screen; opacity: 0.65; }
.hero-bg__noise { position: absolute; left: 50%; bottom: -96px; width: 2017px; height: 996px; transform: translateX(-50%); mix-blend-mode: overlay; opacity: 0.3; filter: url(#noise-filter); background: #1b1b1e; }
.hero-bg__globe { position: absolute; left: 50%; bottom: -504px; width: 1505px; height: 1684px; max-width: none; transform: translateX(-50%); mix-blend-mode: hard-light; opacity: 0.4; }
@media (max-width: 1024px) {
  .hero-bg__planet { width: 1650px; height: 1180px; bottom: -300px; }
  .hero-bg__noise { width: 1400px; height: 700px; bottom: -60px; }
  .hero-bg__globe { width: 1050px; height: 1180px; bottom: -350px; }
}
.hero-claims { position: relative; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; padding: 18px 24px; border-radius: 28px; background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.hero-claims::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(0, 229, 255, 0.25) 40%, rgba(255, 255, 255, 0.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-claims span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--text); }
.hero-claims span + span::before { content: "•"; color: var(--text-muted); margin-right: 18px; }

.widget-card { background: linear-gradient(180deg, rgba(20, 26, 38, 0.5) 0%, rgba(13, 17, 24, 0.6) 100%); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

@media (min-width: 1025px) {
  .hero-title br { display: none; }
  .hero-title br + .gradient-text::before { content: " "; }
}
html[lang="zh-CN"] .hero-title br + .gradient-text::before { content: none; }

.hero-bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 180px); mask-image: linear-gradient(to bottom, transparent 0, #000 180px); }

.hero-bg { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 180px, #000 calc(100% - 180px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 180px, #000 calc(100% - 180px), transparent 100%); }

body { overflow-x: clip; overflow-y: visible; }
.hero-bg__noise { left: 0; right: 0; top: 0; bottom: 0; width: auto; height: auto; transform: none; background: none; }

.lang-dd { position: relative; margin-right: 8px; }
.lang-dd summary { list-style: none; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: #A0AEC0; padding: 7px 10px; border-radius: 8px; border: 1px solid var(--surface-border); background: rgba(255, 255, 255, 0.05); user-select: none; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::after { content: " \25BE"; }
.lang-dd[open] summary { color: #ffffff; }
.lang-dd__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 140px; padding: 6px; display: flex; flex-direction: column; border-radius: 12px; background: rgba(13, 17, 24, 0.96); border: 1px solid var(--surface-border); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); z-index: 50; }
.lang-dd__menu a { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #A0AEC0; text-decoration: none; }
.lang-dd__menu a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.lang-dd__menu a.active { color: #00e5ff; }

.hero-claims { display: inline-flex; align-self: flex-start; width: fit-content; max-width: 100%; }

.bw-mode { position: relative; }
.bw-mode-head { display: flex; align-items: center; gap: 8px; }
.bw-mode-head .bw-mode-tabs { flex: 1; }
.bw-mode-help { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--surface-border); background: rgba(255, 255, 255, 0.05); color: #A0AEC0; font: 600 13px/1 inherit; cursor: pointer; }
.bw-mode-help:hover, .bw-mode-help:focus-visible { color: #00e5ff; border-color: rgba(0, 229, 255, 0.5); outline: none; }
.bw-mode-note { min-height: 34px; color: #A0AEC0; }
.bw-mode-tip { display: none; position: absolute; left: 0; right: 0; top: calc(100% - 8px); z-index: 30; padding: 12px 14px; border-radius: 12px; background: rgba(13, 17, 24, 0.97); border: 1px solid var(--surface-border); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); font-size: 12px; line-height: 1.5; color: #D6DEE9; }
.bw-mode.tip-open .bw-mode-tip { display: block; }

.section-label, .input-label, .fiat-equivalent { color: #A0AEC0; }
.fiat-equivalent { font-size: 11px; margin-top: 4px; }
.input-field #sendAmount, #sendAmount { border-bottom: none; padding: 8px 0 2px; }

.bw-mode-tabs { background: rgba(13, 17, 24, 0.9); border: 1px solid var(--surface-border); border-radius: 14px; padding: 4px; }
.bw-mode-tab { color: #94A3B8; border: 1px solid transparent; background: none; box-shadow: none; }
.bw-mode-tab small { color: inherit; opacity: 0.9; }
.bw-mode-tab:hover { color: #CBD5E1; }
.bw-mode-tab.active { color: #FFFFFF; background: #1E293B; border-color: rgba(0, 229, 255, 0.35); box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.1), 0 4px 14px rgba(0, 0, 0, 0.35); }
.bw-mode-tab.active small { color: #CBD5E1; opacity: 1; }

.hero-claims { margin: 0 0 4px; padding: 8px 16px; gap: 6px 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.hero-claims span { font-size: 12px; }
.hero-claims span + span::before { margin-right: 14px; }

/* Glass surfaces */
.widget-card, .hero-claims {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(8, 13, 20, 0.58) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.7) brightness(0.95);
  backdrop-filter: blur(10px) saturate(1.7) brightness(0.95);
  backdrop-filter: url(#bw-refract) blur(6px) saturate(1.7) brightness(0.95);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.1), inset 0 0 28px rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.4);
}
.hero-claims { border-radius: 999px; }
.hero-claims::before { display: none; }
.widget-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%); -webkit-mask: none; mask: none; padding: 0; height: auto; }

.widget-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(12, 18, 28, 0.84) 35%, rgba(8, 13, 20, 0.92) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: url(#bw-refract) blur(10px) saturate(1.3);
}

.cta-link { height: 44px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; transition: filter 0.2s, border-color 0.2s, color 0.2s; }
.cta-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.cta-link.primary { background: linear-gradient(180deg, #00e5ff 0%, #00c8e0 100%); color: #05080e; border: 1px solid #00e5ff; box-shadow: 0 0 24px rgba(0, 229, 255, 0.28); }
.cta-link.primary:hover { filter: brightness(1.08); }
.cta-link.secondary { background: rgba(13, 17, 24, 0.55); border: 1px solid #334155; color: #E2E8F0; }
.cta-link.secondary:hover { border-color: #475569; color: #ffffff; }
.cta-link.secondary:hover svg { transform: translateX(4px); }

.widget-card {
  background:
    radial-gradient(130% 95% at 0% 100%, rgba(110, 215, 232, 0.34) 0%, rgba(44, 120, 136, 0.24) 32%, rgba(14, 24, 34, 0) 70%),
    linear-gradient(0deg, rgba(10, 17, 26, 0.74), rgba(8, 13, 20, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.22), inset 0 0 28px rgba(255, 255, 255, 0.03), 0 24px 60px rgba(0, 0, 0, 0.4);
}
.widget-card::before { background: radial-gradient(85% 50% at 0% 100%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%); }

@media (max-width: 900px) {
  .hero-section { order: 1; }
  .widget-card { order: 2; }
}
@media (max-width: 1024px) {
  .hero-bg__planet { top: -235px; bottom: auto; width: 1300px; height: 1000px; opacity: 0.85; }
  .hero-bg__globe { top: -430px; bottom: auto; width: 1000px; height: 1100px; }
}

@media (max-width: 1024px) {
  .hero-bg__planet { opacity: 1; }
}
@media (max-width: 480px) {
  .header-content { gap: 8px; }
  .header-actions { gap: 6px; }
  .logo span { font-size: 15px; }
  .status-pill { padding: 6px 8px; font-size: 11px; gap: 4px; }
  .lang-dd { margin-right: 0; }
  .lang-dd summary { padding: 6px 8px; font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-subtitle { display: none; }
  .cta-link.primary { display: none; }
  .hero-title { font-size: 28px; }
  .hero-cta-links { margin: 0; }
  .cta-link.secondary { height: auto; padding: 0; width: auto; background: none; border: none; box-shadow: none; justify-content: flex-start; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: none; color: #A0AEC0; }
  .cta-link.secondary:hover { color: #ffffff; }
  .hero-bg__planet { top: -310px; }
  .hero-bg__globe { top: -505px; }
}

@media (max-width: 480px) {
  .hero-title br { display: none; }
  .hero-title br + .gradient-text::before { content: " "; }
  .hero-bg__planet { top: -280px; }
  .hero-bg__globe { top: -475px; }
}

/* Compact widget on phones */
@media (max-width: 480px) {
  .widget-card { padding: 14px 14px 16px; }
  .bw-mode { margin-bottom: 6px; }
  .bw-mode-tab { padding: 6px 6px; font-size: 13px; }
  .bw-mode-tab small { font-size: 10px; margin-top: 1px; }
  .bw-mode-note { min-height: 0; margin-top: 4px; font-size: 11px; }
  .widget-card .section-label { margin: 8px 0 6px; }
  .widget-card .input-pair { flex-direction: row; align-items: flex-end; gap: 8px; padding: 10px 12px; margin-bottom: 4px; }
  .widget-card .input-pair .input-field { min-width: 0; }
  .widget-card .input-pair .input-field:first-child { flex: 1.15 1 0 !important; }
  .widget-card .input-pair .input-field + .input-field { flex: 1 1 0 !important; }
  .widget-card #sendAmount { font-size: 22px; padding: 4px 0 2px; }
  .widget-card .receive-amount { font-size: 17px; overflow-wrap: anywhere; }
  .widget-card .fiat-equivalent { font-size: 10.5px; margin: 2px 0 0; }
  .widget-card select { font-size: 13px; padding: 8px 24px 8px 8px; }
  .widget-card .quick-chips { margin: 8px 0; gap: 6px; }
  .widget-card .chip { padding: 4px 8px; font-size: 12px; }
  .widget-card .swap-divider { margin: 4px 0; }
  .widget-card .swap-arrow { width: 30px; height: 30px; }
  .widget-card .address-section { margin: 6px 0; }
  .widget-card .address-input-wrapper { height: 40px; }
  .widget-card .payout-summary { margin: 8px 0; padding: 8px 12px; }
  .widget-card .summary-row { margin-bottom: 3px; font-size: 12px; }
  .widget-card .cta-button { margin-top: 8px; padding: 12px; }
}

@media (max-width: 480px) {
  main { padding-top: 10px; gap: 12px; }
  .hero-section { gap: 8px; }
  .widget-card .input-pair { padding: 8px 12px; }
  .widget-card select { font-size: 12px; padding: 8px 20px 8px 6px; }
  .widget-card .receive-amount { font-size: 16px; }
  .widget-card .quick-chips { margin: 6px 0; }
  .widget-card .section-label { margin: 6px 0 4px; }
}

@media (max-width: 480px) {
  .widget-card .input-pair .input-field:first-child { flex: 1 1 0 !important; }
  .widget-card .input-pair .input-field + .input-field { flex: 1.2 1 0 !important; }
}

@media (max-width: 480px) {
  .widget-card .receive-amount { font-size: 14.5px; white-space: nowrap; }
  .widget-card select { font-size: 11.5px; }
}

/* Anonymity messaging: full description on desktop, short one on phones */
.sub-short { display: none; }
@media (max-width: 480px) {
  .hero-subtitle { display: block; margin: 0; font-size: 14px; line-height: 1.4; }
  .hero-subtitle .sub-full { display: none; }
  .hero-subtitle .sub-short { display: inline; }
  .hero-cta-links { display: none; }
}

/* Stop horizontal drift on phones: keep every decorative layer inside the viewport */
html { overflow-x: hidden; }
@media (max-width: 1024px) {
  .hero-bg { left: 0; width: 100%; transform: none; }
  .widget-card::after { top: -30px; left: -8px; width: calc(100% + 16px); height: calc(100% + 60px); }
}

/* Swap button: the press animation plays on every tap and never sticks on touch screens */
.swap-arrow { transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.3s, color 0.3s, box-shadow 0.3s; }
.swap-arrow:hover { transform: none; background: rgba(0, 229, 255, 0.1); color: var(--accent); }
@media (hover: hover) {
  .swap-arrow:hover { background: var(--accent); color: #000; }
}
.swap-arrow.swap-flash, .swap-arrow:active { background: var(--accent); color: #000; box-shadow: 0 0 18px rgba(255, 255, 255, 0.35); }
@media (prefers-reduced-motion: reduce) {
  .swap-arrow { transition: background 0.2s, color 0.2s; }
}

@keyframes swap-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.swap-arrow.swap-flash { animation: swap-spin 0.55s cubic-bezier(0.3, 1.2, 0.5, 1); }
@media (prefers-reduced-motion: reduce) { .swap-arrow.swap-flash { animation: none; } }

@media (min-width: 1025px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-bg__planet, .hero-bg__globe { will-change: translate; }
}

/* Phones/tablets: the masked hero background is an isolated group, so the area below the planet image
   showed the page glow as a band. Fill it with the same dark base, and give stacked footer blocks spacing. */
@media (max-width: 1024px) {
  .hero-bg { background: #05080e; }
  .contacts-panel { row-gap: 20px; }
}

/* Landscape tablets (single column): center the widget and trim the empty space above the hero */
@media (min-width: 901px) and (max-width: 1024px) {
  main { padding-top: 20px; }
  .hero-section { margin-top: 0; padding-top: 0; }
  .widget-card { margin-left: auto; margin-right: auto; }
}

/* Hero background (<=1024px): planet and globe share ONE scale and ONE anchor so they never drift apart.
   Design stage is 2400x1700 (planet); the globe sits 96px lower, centered. */
@media (max-width: 1024px) {
  .hero-bg { --s: 0.6; --stage-top: -246px; }
  .hero-bg__planet {
    top: var(--stage-top); bottom: auto; width: 2400px; height: 1700px;
    transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 0;
  }
  .hero-bg__globe {
    top: calc(var(--stage-top) + 96px * var(--s)); bottom: auto; width: 1505px; height: 1684px;
    transform: translateX(-50%) scale(var(--s)); transform-origin: 50% 0;
  }
}
@media (max-width: 480px) {
  .hero-bg { --s: 0.56; --stage-top: -253px; }
}

/* Order screen: group headings ("You send" / "You receive") used by the order modal */
.detail-group { margin: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #A0AEC0; }
.detail-group:first-child { margin-top: 0; }

/* ===== Content blocks under the hero (how it works, modes, timing, safety, FAQ) ===== */
.bw-blocks { position: relative; z-index: 2; background: var(--bg); }
.bw-sec { padding: 72px 0 8px; }
.bw-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.bw-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #00e5ff; margin-bottom: 10px; }
.bw-h2 { font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.5px; margin: 0; color: var(--text); }
.bw-lead { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: #A0AEC0; max-width: 520px; }
.bw-note { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #94A3B8; max-width: 520px; }
.bw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.bw-textlink { color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bw-textlink:hover { color: #00e5ff; }
.bw-grid { display: grid; gap: 16px; margin-top: 28px; }
.bw-head + .bw-grid { margin-top: 0; }
.bw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bw-grid-2 { grid-template-columns: repeat(2, 1fr); }
.bw-grid-4 { grid-template-columns: repeat(4, 1fr); }
.bw-card { background: rgba(13, 17, 24, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; padding: 22px; min-width: 0; }
.bw-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--text); }
.bw-card p { margin: 0; font-size: 14px; line-height: 1.55; color: #A0AEC0; }
.bw-step { display: block; font: 600 12px ui-monospace, SFMono-Regular, Menlo, monospace; color: #00e5ff; margin-bottom: 12px; }
.bw-mode { display: flex; flex-direction: column; }
.bw-mode-main { border-color: rgba(0, 229, 255, 0.35); }
.bw-mode-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bw-mode-top h3 { font-size: 20px; margin: 0; }
.bw-tag { font-size: 11px; font-weight: 700; color: #00e5ff; background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); border-radius: 999px; padding: 3px 10px; }
.bw-sub { margin: 6px 0 16px !important; }
.bw-spec { margin: 0 0 16px; display: grid; gap: 0; }
.bw-spec div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; }
.bw-spec dt { color: #94A3B8; }
.bw-spec dd { margin: 0; color: var(--text); font-weight: 600; }
.bw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.bw-chips span { font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: #A0AEC0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: 4px 8px; }
.bw-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; border-radius: 12px; border: 1px solid #334155; color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; margin-top: auto; }
.bw-btn:hover { border-color: rgba(0, 229, 255, 0.5); }
.bw-btn-primary { background: linear-gradient(135deg, #00e5ff, #00c8e0); color: #05080e; border-color: transparent; }
.bw-split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.bw-split .bw-btn { margin-top: 20px; }
.bw-times { padding: 8px 22px; }
.bw-time { display: grid; grid-template-columns: 28px 44px 1fr 120px 70px; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 13px; }
.bw-time:first-child { border-top: none; }
.bw-time b { color: var(--text); font-size: 14px; }
.bw-time i { font-style: normal; color: #94A3B8; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bw-time em { font-style: normal; color: var(--text); text-align: right; font-size: 13px; }
.bw-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); position: relative; }
.bw-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #00e5ff; border-radius: 4px; }
.bw-coin { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.c-sol { background: #14c38e; } .c-bnb { background: #f0b90b; color: #05080e; } .c-trx { background: #ef0027; }
.c-usdt { background: #26a17b; } .c-eth { background: #627eea; } .c-ltc { background: #345d9d; } .c-btc { background: #f7931a; }
.bw-faq { display: grid; gap: 10px; }
.bw-faq details { background: rgba(13, 17, 24, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 0 20px; }
.bw-faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 15px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 12px; }
.bw-faq summary::-webkit-details-marker { display: none; }
.bw-faq summary::after { content: "+"; color: #00e5ff; font-size: 18px; line-height: 1; }
.bw-faq details[open] summary::after { content: "–"; }
.bw-faq details p { margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: #A0AEC0; }
.bw-faq .bw-textlink { margin-top: 4px; }
@media (max-width: 1024px) {
  .bw-wrap { padding: 0 24px; }
  .bw-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bw-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .bw-sec { padding-top: 52px; }
  .bw-wrap { padding: 0 16px; }
  .bw-h2 { font-size: 26px; }
  .bw-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bw-grid-3, .bw-grid-2, .bw-grid-4 { grid-template-columns: 1fr; }
  .bw-spec div { grid-template-columns: 1fr; gap: 2px; }
  .bw-time { grid-template-columns: 24px 40px 1fr 64px; }
  .bw-time i { display: none; }
  .bw-time .bw-bar { display: none; }
}

/* Coin chips under "Отдаёте" / "Получаете" removed by owner decision (2026-11-01); the asset dropdowns remain.
   Elements stay in the DOM so the widget scripts keep working. */
.quick-chips { display: none !important; }

/* Widget fields: moderately darker fills and clearer borders for contrast (owner request 2026-11-01).
   Palette values only: #05080e base, #A0AEC0 labels, white-alpha borders. */
.widget-card .input-pair {
  background: rgba(5, 8, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.widget-card .input-field select,
.widget-card .address-input-wrapper {
  background-color: rgba(5, 8, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.widget-card .input-field select:hover,
.widget-card .address-input-wrapper:hover { background-color: rgba(5, 8, 14, 0.55); border-color: rgba(255, 255, 255, 0.24); }
.widget-card .input-field select:focus,
.widget-card .address-input-wrapper:focus-within { background-color: rgba(5, 8, 14, 0.55); border-color: #00e5ff; }
.widget-card .payout-summary {
  background: rgba(5, 8, 14, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.widget-card .input-label, .widget-card .section-label { color: #A0AEC0; }
.widget-card input::placeholder { color: #94A3B8; }
.widget-card .swap-arrow { background: rgba(10, 13, 22, 0.7); border-color: rgba(255, 255, 255, 0.2); }

/* Desktop: swapping assets toggles the network row and changed the widget height by ~31px, which moved the
   planet (it is anchored to the bottom of <main>) and the content below. Keep the Russian widget at its
   tallest height so nothing shifts. */
@media (min-width: 1025px) {
  html[lang="ru"] .widget-card { min-height: 777px; }
}

/* Hero description and three fact cards under the title (owner request 2026-11-01) */
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 8px 0 4px; }
.hero-fact { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 16px; background: rgba(13, 17, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.1); min-width: 0; }
.hero-fact b { font-size: 22px; line-height: 1.1; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.hero-fact span { font-size: 12px; line-height: 1.4; color: #A0AEC0; }
@media (min-width: 1025px) and (max-width: 1180px) {
  .hero-facts { gap: 8px; }
  .hero-fact { padding: 12px 12px 10px; }
  .hero-fact b { font-size: 18px; }
}
@media (max-width: 480px) {
  .hero-subtitle, .hero-facts { display: none; }
}

/* Desktop: pin the background to a fixed box so it never follows the widget height
   (mode tabs, warnings and quotes change that height). Values are the current main heights. */
@media (min-width: 1025px) {
  .hero-bg { bottom: auto; height: 726px; }
  html[lang="ru"] .hero-bg { height: 805px; }
}
img.bw-coin { background: #000; object-fit: contain; }
.bw-tab-ico { vertical-align: -2px; margin-right: 4px; }
/* Order screen: words in the status are not broken; only addresses and txids wrap anywhere; tx links use the site accent */
.detail-value { word-break: normal; overflow-wrap: break-word; }
.detail-value.mono { word-break: break-all; }
.detail-value a { color: #00e5ff; text-decoration: none; }
.detail-value a:hover { text-decoration: underline; }
/* Blog */
.bw-post { position: relative; z-index: 2; max-width: 820px; margin: 24px auto 0; padding: 0 24px 56px; color: #CBD5E1; }
.bw-post h1 { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 8px 0 12px; }
.bw-post h2 { font-size: 23px; line-height: 1.25; font-weight: 700; color: #fff; margin: 38px 0 12px; scroll-margin-top: 90px; }
.bw-post h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.bw-post p, .bw-post li { font-size: 16px; line-height: 1.7; color: #B4C0CF; }
.bw-post p { margin: 0 0 14px; }
.bw-post ul, .bw-post ol { margin: 0 0 16px; padding-left: 22px; }
.bw-post li { margin-bottom: 8px; }
.bw-post strong { color: #fff; }
.bw-post a { color: #00e5ff; text-decoration: none; border-bottom: 1px solid rgba(0, 229, 255, 0.3); }
.bw-post a:hover { border-bottom-color: #00e5ff; }
.bw-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 13px; }
.bw-crumbs li { margin: 0; font-size: 13px; color: #94A3B8; }
.bw-crumbs li + li::before { content: "/"; margin-right: 8px; color: #475569; }
.bw-crumbs a { color: #94A3B8; border-bottom: 0; }
.bw-post-meta { font-size: 13px !important; color: #94A3B8 !important; margin-bottom: 22px !important; }
.bw-answer { padding: 18px 20px; margin: 0 0 22px; background: rgba(13, 17, 24, 0.8); border: 1px solid rgba(255, 255, 255, 0.12); border-left: 3px solid #00e5ff; border-radius: 14px; font-size: 16px; line-height: 1.65; color: #E2E8F0; }
.bw-toc { padding: 16px 20px; margin: 0 0 8px; background: rgba(13, 17, 24, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; }
.bw-toc p { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #94A3B8; font-weight: 700; }
.bw-toc ol { margin: 0; }
.bw-toc li { margin-bottom: 4px; font-size: 15px; }
.bw-post-faq { margin-top: 44px; }
.bw-post-faq .bw-q { padding: 16px 20px; margin-bottom: 10px; background: rgba(13, 17, 24, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; }
.bw-post-faq .bw-q p { margin: 0; font-size: 15px; }
.bw-post-more ul { list-style: none; padding: 0; }
.bw-post-cta { margin-top: 36px; padding: 24px; text-align: center; background: rgba(13, 17, 24, 0.8); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; }
.bw-post-cta p { color: #E2E8F0; }
.bw-post-cta .bw-btn { border-bottom: 0; color: #05080e; }
.bw-lead-p { font-size: 18px !important; max-width: 640px; margin-bottom: 28px !important; }
.bw-post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bw-post .bw-post-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: rgba(13, 17, 24, 0.75); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; color: inherit; transition: border-color .2s, transform .2s; }
.bw-post .bw-post-card:hover { border-color: rgba(0, 229, 255, 0.45); transform: translateY(-2px); }
.bw-post-card h2 { font-size: 19px; margin: 0; }
.bw-post-card p { margin: 0; font-size: 14.5px; }
.bw-post-card-main { grid-column: 1 / -1; }
.bw-post-card-main h2 { font-size: 24px; }
.bw-post-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: #00e5ff; }
.bw-post-more-link { margin-top: auto; font-size: 14px; font-weight: 600; color: #00e5ff; }
.bw-q + .bw-q { margin-top: 0; }
.contacts-panel .bw-q + .bw-q { margin-top: 26px; }
@media (max-width: 720px) {
  .bw-post { padding: 0 16px 40px; }
  .bw-post h1 { font-size: 27px; }
  .bw-post h2 { font-size: 21px; }
  .bw-post-grid { grid-template-columns: 1fr; }
}
/* While an order is open, the order screen follows the hero directly: the landing blocks are hidden */
body:has(#paymentModal[style*="display: block"]) .bw-blocks { display: none; }
/* Text pages (FAQ, rules): one readable column instead of the three-column contacts grid */
.contacts-panel.bw-doc { display: block; max-width: 900px; margin: 0 auto; }
.contacts-panel.bw-doc .contacts-title { margin-bottom: 22px; }
.contacts-panel.bw-doc .contacts-subtitle { margin: 28px 0 8px; }
.contacts-panel.bw-doc .contacts-text p { margin: 0 0 10px; font-size: inherit; line-height: inherit; color: inherit; }
/* Quote warning under "Получаете": compact, icon instead of the emoji, no shake (the script's own style uses #recvNote.bw-warn) */
#recvNote.bw-warn {
  font-size: 13px !important; font-weight: 600 !important; line-height: 1.4 !important;
  color: #fbbf24 !important; background-color: rgba(251, 191, 36, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important; border-radius: 10px !important;
  padding: 8px 12px 8px 34px !important; margin-top: 8px !important; animation: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9L1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: 10px 9px !important; background-size: 16px 16px !important;
}
#recvNote.bw-warn:before { content: none !important; }
/* Blog pages: <main> is the hero grid on the home page; here it is a plain column */
main.bw-post { display: block !important; grid-template-columns: none !important; width: 100%; box-sizing: border-box; }
/* FAQ: grouped questions with a jump list */
.contacts-panel.bw-doc .bw-faq-intro { margin: 0 0 18px; }
.bw-faq-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.bw-faq-toc a { padding: 7px 14px; font-size: 14px; font-weight: 600; color: #e6edf5; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(13, 17, 24, 0.7); }
.bw-faq-toc a:hover { border-color: #00e5ff; color: #00e5ff; }
.contacts-panel.bw-doc .bw-faq-group { margin: 40px 0 6px; padding-top: 6px; font-size: 24px; line-height: 1.25; color: #fff; scroll-margin-top: 90px; }
.contacts-panel.bw-doc .bw-faq-group + .bw-q .contacts-subtitle { margin-top: 12px; }
.contacts-panel.bw-doc .bw-q .contacts-subtitle { font-size: 18px; }
.contacts-panel.bw-doc .contacts-text a.bw-textlink { color: #00e5ff; }
@media (max-width: 720px) { .contacts-panel.bw-doc .bw-faq-group { font-size: 21px; } }
