      /* متغیرهای اصلی */
      :root {
        --primary-color: #38bdf8;
        --secondary-color: #0369a1;
        --mint-color: #00ffd5;
        --dark-bg: linear-gradient(135deg, #050b16, #0a1730, #071022);
        --error-color: #ff4d4d;
        --success-color: #00e676;
        --warning-color: #ffaa00;
        --premium-gold: linear-gradient(135deg, #ffd700, #ffaa00, #ff6b00);
        --premium-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
        --container-padding: 15px;
      }

      /* box-sizing global - جلوگیری از سرریز */
      *, *::before, *::after { box-sizing: border-box; }

      /* تنظیمات پایه برای فول‌اسکرین */
      html, body {
        height: 100%;
        height: 100dvh;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
      }

      html { direction: ltr; }
      body {
        font-family: "Roboto", "Rubik", sans-serif;
        font-variant-numeric: lining-nums tabular-nums;
        direction: ltr;
        unicode-bidi: isolate;
        background: radial-gradient(ellipse at 20% 50%, #0b2140 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, #102a4c 0%, transparent 50%),
                    radial-gradient(ellipse at 50% 80%, #071428 0%, transparent 50%),
                    linear-gradient(180deg, #050b16, #0a1730, #071022);
        color: white;
        -webkit-tap-highlight-color: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 0;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        overflow: hidden;
      }

      body::before {
        content: '';
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background:
          radial-gradient(2px 2px at 15% 25%, rgba(56,189,248,0.25), transparent),
          radial-gradient(2px 2px at 35% 65%, rgba(56,189,248,0.2), transparent),
          radial-gradient(2px 2px at 55% 15%, rgba(56,189,248,0.3), transparent),
          radial-gradient(2px 2px at 75% 55%, rgba(56,189,248,0.2), transparent),
          radial-gradient(2px 2px at 90% 80%, rgba(56,189,248,0.25), transparent),
          radial-gradient(2px 2px at 10% 85%, rgba(56,189,248,0.15), transparent),
          radial-gradient(2px 2px at 45% 45%, rgba(56,189,248,0.2), transparent),
          radial-gradient(2px 2px at 65% 35%, rgba(56,189,248,0.25), transparent),
          radial-gradient(2px 2px at 25% 75%, rgba(56,189,248,0.15), transparent),
          radial-gradient(2px 2px at 80% 10%, rgba(56,189,248,0.2), transparent),
          radial-gradient(2px 2px at 50% 90%, rgba(56,189,248,0.15), transparent),
          radial-gradient(2px 2px at 5% 45%, rgba(56,189,248,0.2), transparent),
          radial-gradient(3px 3px at 70% 70%, rgba(255,215,0,0.12), transparent),
          radial-gradient(3px 3px at 30% 30%, rgba(96,165,250,0.18), transparent);
        background-size: 200px 200px;
        animation: particleDrift 45s linear infinite;
        pointer-events: none;
        z-index: 0;
      }

      body::after {
        content: '';
        position: fixed;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background:
          radial-gradient(circle at 50% 50%, rgba(56,189,248,0.03) 0%, transparent 30%),
          radial-gradient(circle at 80% 20%, rgba(0,230,118,0.02) 0%, transparent 40%),
          radial-gradient(circle at 20% 80%, rgba(56,189,248,0.02) 0%, transparent 35%);
        animation: ambientGlow 20s ease-in-out infinite alternate;
        pointer-events: none;
        z-index: 0;
      }

      @keyframes particleDrift {
        0% { transform: translate(0, 0) rotate(0deg); }
        25% { transform: translate(30px, -20px) rotate(90deg); }
        50% { transform: translate(-20px, 30px) rotate(180deg); }
        75% { transform: translate(25px, 15px) rotate(270deg); }
        100% { transform: translate(0, 0) rotate(360deg); }
      }

      @keyframes ambientGlow {
        0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
        50% { transform: translate(2%, -2%) scale(1.1); opacity: 1; }
        100% { transform: translate(-2%, 2%) scale(0.95); opacity: 0.7; }
      }

      /* صفحه آفلاین */
      .offline-page {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--dark-bg);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 5000;
        padding: 20px;
        text-align: center;
      }

      .offline-icon {
        font-size: 80px;
        color: var(--error-color);
        margin-bottom: 20px;
        animation: pulse 2s infinite;
      }

      .offline-title {
        font-family: "Orbitron", sans-serif;
        color: var(--primary-color);
        font-size: 28px;
        margin-bottom: 10px;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
      }

      .offline-message {
        color: #aaa;
        margin-bottom: 30px;
        max-width: 400px;
        line-height: 1.5;
      }

      .offline-steps {
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid rgba(255, 77, 77, 0.3);
        border-radius: 15px;
        padding: 20px;
        margin: 20px 0;
        max-width: 400px;
        text-align: left;
      }

      .offline-step {
        display: flex;
        align-items: center;
        margin: 10px 0;
        padding: 8px;
        background: rgba(255, 77, 77, 0.1);
        border-radius: 8px;
      }

      .step-number {
        background: var(--error-color);
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
        font-weight: bold;
        flex-shrink: 0;
      }

      .retry-btn {
        background: linear-gradient(to right, var(--error-color), #ff3333);
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        margin-top: 20px;
        transition: all 0.3s;
        box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .retry-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 77, 77, 0.4);
      }
      .offline-countdown {
        margin-top: 15px;
        font-size: 13px;
        color: #ff6b6b;
        background: rgba(255,77,77,0.1);
        border: 1px solid rgba(255,77,77,0.2);
        padding: 8px 16px;
        border-radius: 8px;
        display: inline-block;
        animation: pulseCountdown 1s ease-in-out infinite;
      }
      @keyframes pulseCountdown {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.5; }
      }

      /* کانتینر اصلی - مخفی تا زمان فعالسازی لایسنس */
      .main-container {
        position: relative;
        width: 100%;
        max-width: 600px;
        height: 100%;
        height: 100dvh;
        max-height: 100%;
        overflow: hidden;
        display: none;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        box-sizing: border-box;
      }

      /* محتوای داخلی */
      .container-inner {
        position: relative;
        z-index: 1;
        background: var(--dark-bg);
        border-radius: 23px;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        padding: var(--container-padding);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
      }

      /* اسکرول بار */
      ::-webkit-scrollbar { width: 2px; height: 2px; }
      ::-webkit-scrollbar-track { background: transparent; }
      ::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
        opacity: 0.6;
      }
      ::-webkit-scrollbar-thumb:hover { background: #fff; }

      .container-inner { scrollbar-width: thin; scrollbar-color: var(--primary-color) transparent; }
      .log-box { overflow-y: hidden; }

      .log-tag { font-weight: 600; font-size: 11px; letter-spacing: 0.5px; opacity: 0.9; }
      .log-bar { opacity: 0.4; font-size: 12px; letter-spacing: 1px; }
      .log-end { color: #7d8ea3; font-size: 11px; opacity: 0.9; }
      .log-path { color: #7dd3fc; opacity: 0.7; }
      .log-addr { color: #e2e8f0; font-weight: 600; }
      .log-seed { color: #e2e8f0; font-weight: 600; letter-spacing: 0.2px; }
      .log-amt { color: #94a3b8; }
      .log-dust { color: #fbbf24; }
      .log-success { color: var(--mint-color); font-size: 13px; filter: drop-shadow(0 0 6px rgba(0,255,213,0.5)); }
      .log-action { font-size: 13px; filter: drop-shadow(0 0 6px rgba(245,158,11,0.5)); }

      /* استایل برای محتوای داخل اسکرول */
      .scroll-content {
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      /* بخش‌های داخلی */
      .header {
        text-align: center;
        margin-bottom: 15px;
        animation: fadeIn 1s ease-in-out;
        flex-shrink: 0;
      }

      .header h2 {
        font-family: "Orbitron", sans-serif;
        color: var(--primary-color);
        font-size: 24px;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
        margin: 10px 0;
      }

      .header h3 {
        font-size: 16px;
        margin: 5px 0 15px;
        color: #aaa;
        font-weight: normal;
      }

      /* بخش شمارش ساده */
      .counter-section {
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid rgba(56, 189, 248, 0.3);
        border-radius: 15px;
        padding: 15px;
        margin: 10px 0;
        text-align: center;
        flex-shrink: 0;
      }

      .counter-label {
        font-size: 14px;
        color: #aaa;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
      }

      .counter-value {
        font-family: "Orbitron", sans-serif;
        font-size: 32px;
        font-weight: bold;
        color: var(--primary-color);
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
      }

      .crypto-selection {
        margin-bottom: 15px;
        flex-shrink: 0;
        width: 100%;
      }

      .coin-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 2px 4px;
        background: rgba(15,23,42,0.4);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 0;
        position: relative;
        overflow: hidden;
      }
      .coin-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(56,189,248,0.2), transparent);
        opacity: 0;
        transition: opacity 0.3s;
      }

      .coin-card {
        user-select: none;
        -webkit-user-select: none;
      }
      .coin-card img {
        width: 32px;
        height: 32px;
        display: block;
        filter: grayscale(40%);
        transition: all 0.3s ease;
        pointer-events: none;
      }

      .coin-label {
        font-size: 8px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-weight: 500;
        transition: color 0.3s;
      }

      .coin-card:hover {
        transform: translateY(-2px);
        border-color: rgba(56,189,248,0.2);
        background: rgba(15,23,42,0.55);
      }
      .coin-card:hover::before { opacity: 1; }
      .coin-card:hover img { filter: grayscale(10%); }
      .coin-card:hover .coin-label { color: var(--primary-color); }

      .coin-card.selected {
        border-color: var(--primary-color);
        background: rgba(56,189,248,0.06);
        box-shadow: 0 0 15px rgba(56,189,248,0.15);
      }
      .coin-card.selected::before {
        opacity: 1;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      }
      .coin-card.selected img {
        filter: grayscale(0%);
        transform: scale(1.1);
      }
      .coin-card.selected .coin-label { color: var(--primary-color); font-weight: 600; }

      .log-box {
        background: rgba(15, 23, 42, 0.55);
        border: 1px solid var(--primary-color);
        border-radius: 12px;
        padding: 12px;
        height: 180px;
        font-size: 14px;
        font-family: monospace;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        margin: 10px 0;
        flex-shrink: 0;
      }

      /* دکمه‌ها */
      .toggle { display: flex; justify-content: center; margin: 15px 0; flex-shrink: 0; }

      .toggle button,
      .withdraw-btn,
      .creator-btn {
        position: relative;
        border: none;
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(3, 105, 161, 0.1));
        color: var(--primary-color);
        padding: 12px 25px;
        border-radius: 50px;
        font-weight: bold;
        cursor: pointer;
        margin: 5px;
        font-size: 15px;
        overflow: hidden;
        min-width: 140px;
        border: 1px solid rgba(56, 189, 248, 0.2);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: "Orbitron", sans-serif;
        letter-spacing: 1px;
      }

      .toggle button::after,
      .withdraw-btn::after,
      .creator-btn::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
        pointer-events: none;
        border-radius: 50px;
      }

      .toggle button:hover:not(.disabled),
      .withdraw-btn:hover:not(.disabled),
      .creator-btn:hover:not(.disabled) {
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(3, 105, 161, 0.18));
        border-color: var(--primary-color);
        box-shadow: 0 6px 25px rgba(56, 189, 248, 0.25);
        transform: translateY(-2px);
      }

      .toggle button:active:not(.disabled),
      .withdraw-btn:active:not(.disabled),
      .creator-btn:active:not(.disabled) {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15);
      }

      .toggle button:not(.disabled) {
        animation: btnPulse 2.5s ease-in-out infinite;
      }

      .toggle button:not(.disabled):hover {
        animation: none;
        transform: translateY(-3px) scale(1.03);
      }

      .toggle button.scanning:not(.disabled) {
        animation: scanPulse 1.2s ease-in-out infinite;
        border-color: #ff6b35;
        color: #ff6b35;
        background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,50,50,0.1));
      }

      .creator-btn {
        border-color: rgba(56,189,248,0.15) !important;
        background: rgba(56,189,248,0.04) !important;
        color: rgba(56,189,248,0.7) !important;
        font-size: 12px !important;
        min-width: 110px !important;
        padding: 10px 18px !important;
        letter-spacing: 0.5px !important;
      }
      .creator-btn:hover:not(.disabled) {
        background: rgba(56,189,248,0.1) !important;
        border-color: var(--primary-color) !important;
        color: var(--primary-color) !important;
        transform: translateY(-1px) !important;
      }

      .disabled {
        pointer-events: none !important;
        opacity: 0.4 !important;
        filter: grayscale(0.6);
      }

      @keyframes btnPulse {
        0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.2); border-color: rgba(56,189,248,0.2); }
        50% { box-shadow: 0 4px 30px rgba(56,189,248,0.3); border-color: var(--primary-color); }
      }

      @keyframes scanPulse {
        0%, 100% { box-shadow: 0 0 15px rgba(255,107,53,0.2); }
        50% { box-shadow: 0 0 35px rgba(255,107,53,0.4); }
      }



      .history-btn {
        background: linear-gradient(to right, var(--secondary-color), #005f60);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        margin-top: 10px;
        transition: all 0.3s;
        flex-shrink: 0;
      }

      .history-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
      }

      /* بخش Found Wallets در وسط */
      .found-section {
        text-align: center;
        margin: 15px 0;
        flex-shrink: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .found-section strong {
        display: block;
        margin-bottom: 10px;
        font-size: 16px;
        color: var(--primary-color);
      }

      #foundBox {
        width: 100%;
        max-width: 500px;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .found-wallet {
        background: linear-gradient(145deg, rgba(56, 189, 248, 0.06), rgba(3, 105, 161, 0.03));
        border: 1px solid rgba(56, 189, 248, 0.12);
        border-radius: 16px;
        padding: 16px;
        margin: 10px 0;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
        width: 100%;
        max-width: 450px;
        box-sizing: border-box;
        transition: all 0.3s ease;
      }
      .found-wallet:hover {
        border-color: rgba(56, 189, 248, 0.25);
        box-shadow: 0 8px 30px rgba(56, 189, 248, 0.06);
        transform: translateY(-2px);
      }
      .found-wallet::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      }
      .found-wallet::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 70% 20%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
        pointer-events: none;
      }

      .fw-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 1;
      }
      .fw-left {
        display: flex;
        align-items: center;
        gap: 12px;
      }
      .fw-left img {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.4);
        padding: 4px;
      }
      .fw-info { display: flex; flex-direction: column; }
      .fw-coin {
        font-family: "Orbitron", sans-serif;
        font-size: 13px;
        color: #fff;
        font-weight: 600;
        letter-spacing: 0.5px;
      }
      .fw-wallet {
        font-size: 9px;
        color: #555;
        margin-top: 1px;
        font-family: monospace;
      }
      .fw-right {
        text-align: right;
        display: flex;
        flex-direction: column;
        gap: 1px;
      }
      .fw-bal {
        font-family: "Orbitron", sans-serif;
        font-size: 16px;
        color: var(--primary-color);
        font-weight: 700;
        text-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
        letter-spacing: 0.5px;
      }

      .fw-footer {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        position: relative;
        z-index: 1;
      }
      .fw-status {
        font-size: 10px;
        color: #00e676;
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .fw-status i { font-size: 9px; }
      .fw-net {
        font-size: 10px;
        color: #555;
        display: flex;
        align-items: center;
        gap: 4px;
      }
      .fw-net i { font-size: 9px; }

      .balance {
        font-size: 20px;
        color: var(--primary-color);
        font-weight: bold;
        margin: 8px 0;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
      }

      .verified-badge {
        color: var(--primary-color);
        font-weight: bold;
        display: inline-block;
        margin-right: 10px;
      }

      .history-btn {
        background: linear-gradient(to right, var(--secondary-color), #005f60);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        margin-top: 10px;
        transition: all 0.3s;
        flex-shrink: 0;
      }

      .history-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
      }

      .history-container {
        display: none;
        margin-top: 15px;
        max-height: 180px;
        overflow-y: auto;
        border: 1px solid rgba(56, 189, 248, 0.3);
        border-radius: 10px;
        padding: 10px;
        background: rgba(15, 23, 42, 0.4);
        flex-shrink: 0;
        width: 100%;
        max-width: 450px;
        box-sizing: border-box;
      }

      .history-container::-webkit-scrollbar {
        width: 3px;
      }

      .history-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
      }

      .history-container::-webkit-scrollbar-thumb {
        background: rgba(56, 189, 248, 0.5);
      }

      .offline-warning {
        background: var(--error-color);
        text-align: center;
        padding: 12px;
        display: none;
        font-weight: bold;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        animation: shake 0.5s;
      }

      .login-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0a0a0a;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
      }

      .login-box {
        background: #121212;
        padding: 28px 22px;
        border-radius: 18px;
        width: 92%;
        max-width: 340px;
        text-align: center;
        border: 1px solid rgba(56,189,248,0.15);
        box-shadow: 0 12px 40px rgba(0,0,0,0.8);
        animation: slideUp 0.4s ease-out;
      }

      .login-box h3 {
        margin-top: 0;
        color: var(--primary-color);
        font-family: "Orbitron", sans-serif;
        font-size: 20px;
        margin-bottom: 15px;
      }

      .login-box input {
        width: 100%;
        padding: 12px;
        margin: 10px 0;
        border-radius: 5px;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 16px;
        transition: all 0.3s;
        border: 1px solid transparent;
      }

      .login-box input:focus {
        outline: none;
        border: 1px solid var(--primary-color);
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
      }

      .login-box button {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        border: none;
        padding: 12px 24px;
        border-radius: 5px;
        color: #000;
        font-weight: bold;
        cursor: pointer;
        width: 100%;
        font-size: 16px;
        margin-top: 10px;
        transition: all 0.3s;
      }

      .login-box button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
      }

      .error-message {
        color: var(--error-color);
        font-size: 14px;
        margin-top: 5px;
        display: none;
        animation: fadeIn 0.3s;
      }

      .verification-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 12px 0;
        flex-wrap: wrap;
        flex-shrink: 0;
      }

      .badge {
        background: rgba(56, 189, 248, 0.1);
        border: 1px solid var(--primary-color);
        border-radius: 5px;
        padding: 6px 10px;
        font-size: 11px;
        display: flex;
        align-items: center;
      }

      .badge i {
        color: var(--primary-color);
        margin-right: 5px;
      }

      .license-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: rgba(56, 189, 248, 0.04);
        border: 1px solid rgba(56, 189, 248, 0.12);
        border-radius: 6px;
        padding: 6px 12px;
        margin: 10px 0;
        font-family: "Rubik", sans-serif;
        font-size: 11px;
        color: #888;
        flex-shrink: 0;
        letter-spacing: 0.2px;
      }
      .license-info::before {
        content: '\f007';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--primary-color);
        font-size: 11px;
      }
      .license-info span {
        color: var(--primary-color);
        font-weight: 600;
        font-family: monospace;
        letter-spacing: 0.5px;
      }

      /* اوورلی مودال */
      .overlay,
      .security-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 3000;
        display: none;
        animation: fadeIn 0.25s ease;
        padding: 16px;
      }

      .security-box,
      .guide-box {
        background: linear-gradient(145deg, #141f2a, #0a141c);
        padding: 28px 22px 22px;
        border-radius: 20px;
        width: 100%;
        max-width: 380px;
        text-align: center;
        border: 1px solid rgba(56, 189, 248, 0.15);
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(56, 189, 248, 0.06);
        animation: slideUp 0.3s ease-out;
        max-height: 90vh;
        overflow-y: auto;
      }

      .security-box::before,
      .guide-box::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      }

      .security-box h3,
      .guide-box h3 {
        color: var(--primary-color);
        margin: 0 0 14px;
        font-family: "Orbitron", sans-serif;
        font-size: 16px;
        letter-spacing: 1px;
      }

      .security-box .shield,
      .guide-icon {
        font-size: 40px;
        color: var(--primary-color);
        margin-bottom: 10px;
        opacity: 0.7;
      }
      .guide-icon { animation: iconPulse 2s ease-in-out infinite; }

      .security-body {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 12px 0;
        text-align: left;
      }
      .sec-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 10px;
        background: rgba(15,23,42,0.4);
        border-radius: 8px;
        font-size: 12px;
        color: #ccc;
        border: 1px solid rgba(255,255,255,0.04);
      }
      .sec-item i {
        width: 18px;
        color: var(--primary-color);
        font-size: 14px;
        text-align: center;
      }
      .sec-item strong { color: #aaa; }
      .sec-item span { color: var(--primary-color); font-weight: 600; }

      .security-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(56,189,248,0.15), transparent);
        margin: 12px 0;
      }

      .security-note {
        font-size: 11px;
        color: #888;
        line-height: 1.6;
        margin: 8px 0;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 6px;
      }
      .security-note i {
        color: var(--primary-color);
        font-size: 12px;
        margin-top: 2px;
        flex-shrink: 0;
      }

      .security-close {
        position: absolute;
        top: 10px;
        right: 14px;
        background: none;
        border: none;
        color: #666;
        font-size: 24px;
        cursor: pointer;
        transition: color 0.2s;
        padding: 0;
        line-height: 1;
        z-index: 2;
      }
      .security-close:hover { color: #fff; }

      /* مودال راهنما */
      .guide-steps {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin: 14px 0;
        text-align: left;
      }
      .guide-step {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 10px;
        background: rgba(15,23,42,0.4);
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.04);
      }
      .guide-step-num {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: #000;
        font-weight: 700;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-family: "Orbitron", sans-serif;
      }
      .guide-step strong {
        color: #ddd;
        font-size: 13px;
      }
      .guide-step small {
        color: #888;
        font-size: 11px;
        line-height: 1.4;
        display: block;
        margin-top: 2px;
      }

      .guide-btn {
        width: 100%;
        padding: 12px;
        border: none;
        background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(3,105,161,0.1));
        color: var(--primary-color);
        border-radius: 12px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        font-family: "Orbitron", sans-serif;
        letter-spacing: 1px;
        border: 1px solid rgba(56,189,248,0.2);
        transition: all 0.3s;
        margin-top: 8px;
      }
      .guide-btn:hover {
        background: linear-gradient(135deg, rgba(56,189,248,0.25), rgba(3,105,161,0.18));
        border-color: var(--primary-color);
        transform: translateY(-1px);
      }

      /* دکمه‌های پایین */
      .bottom-buttons {
        display: flex;
        justify-content: center;
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 10px;
        flex-shrink: 0;
        width: 100%;
      }

      /* انیمیشن‌ها */
      @keyframes fadeIn { from {opacity:0;} to {opacity:1;} }

      @keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

      @keyframes shake {
        0%, 100% { transform: translateX(0); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
        20%, 40%, 60%, 80% { transform: translateX(5px); }
      }

      @keyframes logIn { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:translateX(0); } }
      @keyframes logSlide { from { opacity:0; transform:translateX(-8px); } to { opacity:0.9; transform:translateX(0); } }

      @keyframes pulse {
        0% { 
          box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
          transform: scale(1);
        }
        70% { 
          box-shadow: 0 0 0 15px rgba(56, 189, 248, 0);
          transform: scale(1);
        }
        100% { 
          box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
          transform: scale(1);
        }
      }

      /* ریسپانسیو برای تمام گوشی‌ها */
      @media (max-width: 480px) {
        :root {
          --container-padding: 12px;
        }
        
        .main-container {
          width: 98%;
          height: 95vh;
          height: 95dvh;
          border-radius: 20px;
        }
        
        .container-inner {
          border-radius: 18px;
          padding: 12px;
        }
        
        .header h2 {
          font-size: 20px;
        }
        
        .header h3 {
          font-size: 14px;
        }
        
        .crypto-selection { gap: 4px; }
        .coin-row { gap: 4px; }
        .coin-card { padding: 5px 2px 3px; gap: 2px; }
        .coin-card img { width: 24px; height: 24px; }
        .coin-label { font-size: 7px; }
        
        .counter-value {
          font-size: 28px;
        }
        
        .log-box {
          height: 160px;
          font-size: 13px;
          padding: 10px;
        }
        
        .toggle button,
        .withdraw-btn,
        .creator-btn {
          padding: 10px 20px;
          font-size: 14px;
          min-width: 130px;
        }
        
        .badge {
          font-size: 10px;
          padding: 5px 8px;
        }
        
        .license-info {
          font-size: 11px;
          padding: 6px;
        }
        
        .status-pill {
          font-size: 10px;
          padding: 4px 7px;
        }
        
        .found-wallet,
        .history-container {
          max-width: 100%;
          padding: 10px;
        }
        
        .offline-title {
          font-size: 24px;
        }
        
        .offline-icon {
          font-size: 60px;
        }
      }

      @media (max-width: 360px) {
        .header h2 {
          font-size: 16px;
        }
        .header h3 {
          font-size: 12px;
        }
        
        .crypto-selection { gap: 3px; }
        .coin-row { gap: 3px; }
        .coin-card { padding: 4px 1px 3px; gap: 1px; }
        .coin-card img { width: 20px; height: 20px; }
        .coin-label { font-size: 6px; letter-spacing: 0; }
        
        .counter-value {
          font-size: 24px;
        }
        
        .toggle button,
        .withdraw-btn,
        .creator-btn {
          padding: 8px 14px;
          font-size: 12px;
          min-width: 110px;
        }
        
        .log-box {
          height: 140px;
          font-size: 11px;
          padding: 8px;
        }
        
        .verification-badge {
          gap: 4px;
        }
        
        .badge {
          font-size: 9px;
          padding: 4px 6px;
        }
        
        .found-section strong {
          font-size: 13px;
        }
        
        .status-bar { gap: 4px; }
        .status-pill { font-size: 9px; padding: 3px 6px; gap: 3px; }
      }

      @media (max-width: 320px) {
        .main-container {
          width: 100%;
          height: 100vh;
          height: 100dvh;
          border-radius: 0;
        }
        .container-inner {
          border-radius: 0;
          padding: 8px;
        }
        .header h2 { font-size: 14px; }
        .header h3 { font-size: 11px; }
        .crypto-selection { gap: 2px; }
        .coin-row { gap: 2px; }
        .coin-card { padding: 3px 1px 2px; gap: 1px; }
        .coin-card img { width: 16px; height: 16px; }
        .coin-label { font-size: 5px; }
        .counter-value { font-size: 20px; }
        .badge { font-size: 8px; padding: 2px 4px; }
        .verification-badge { gap: 3px; }
        .login-box { padding: 14px; }
        .log-box { height: 100px; font-size: 10px; padding: 6px; }
        .status-bar { gap: 3px; }
        .status-pill { font-size: 8px; padding: 2px 5px; gap: 2px; }
        .toggle button, .withdraw-btn, .creator-btn { font-size: 11px; padding: 6px 12px; min-width: 90px; }
      }

      @media (min-width: 768px) {
        .main-container {
          width: 90%;
          max-width: 700px;
        }
        
        .header h2 {
          font-size: 28px;
        }
        
        .header h3 {
          font-size: 18px;
        }
        
        .coin-card { min-width: 64px; padding: 10px 8px 6px; }
        .coin-card img { width: 36px; height: 36px; }
        .coin-label { font-size: 9px; }
        
        .counter-value {
          font-size: 36px;
        }
        
        .log-box {
          height: 200px;
          font-size: 15px;
        }
        
        .toggle button,
        .withdraw-btn,
        .creator-btn {
          padding: 14px 28px;
          font-size: 16px;
          min-width: 150px;
        }
        
        .found-wallet,
        .history-container {
          max-width: 500px;
        }
      }

      /* برای تبلت‌ها و صفحه‌های بزرگ */
      @media (min-width: 1024px) {
        .main-container {
          max-width: 800px;
          max-height: 900px;
        }
      }


      /* ===== Status Bar - Online Users ===== */
      .status-bar {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin: 10px 0;
        flex-wrap: wrap;
        flex-shrink: 0;
      }
      .status-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 20px;
        font-size: 11px;
        letter-spacing: 0.2px;
        background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
        border: 1px solid rgba(255,255,255,0.15);
        backdrop-filter: blur(10px) saturate(160%);
        -webkit-backdrop-filter: blur(10px) saturate(160%);
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        color: white;
      }
      .status-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(56,189,248,0.2);
      }
      .online-pill {
        background: linear-gradient(135deg, rgba(46,213,115,0.15), rgba(46,213,115,0.05)) !important;
        border-color: rgba(46,213,115,0.2) !important;
      }
      .online-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #2ed573;
        animation: onlinePulse 1.5s ease-in-out infinite;
        flex-shrink: 0;
      }
      @keyframes onlinePulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(46,213,115,0.5); transform: scale(1); }
        50% { box-shadow: 0 0 0 6px rgba(46,213,115,0); transform: scale(1.2); }
      }
      .online-label {
        font-size: 9px;
        opacity: 0.7;
      }
      .status-pill.premium-pill {
        background: var(--premium-gold) !important;
        border: 1px solid rgba(255,215,0,0.5) !important;
        box-shadow: var(--premium-shadow);
      }
      .status-pill.premium-pill:hover {
        box-shadow: 0 0 30px rgba(255,215,0,0.8);
        transform: translateY(-3px) scale(1.05);
      }
      .guide-pill {
        background: rgba(56,189,248,0.08) !important;
        border-color: rgba(56,189,248,0.15) !important;
        font-size: 14px !important;
        padding: 6px 10px !important;
      }
      .guide-pill:hover {
        background: rgba(56,189,248,0.15) !important;
        border-color: var(--primary-color) !important;
        color: var(--primary-color) !important;
      }
      .status-pill i { opacity: 0.95; }
      .net-online { color: #2dff9b; }
      .net-offline { color: #ff4d4d; }

      /* SweetAlert2 premium theme */
      @property --swal-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
      @keyframes swalSpin { to { --swal-angle: 360deg; } }
      @keyframes swalPop { 0% { transform: translateY(12px) scale(.96); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
      .swal2-container.swal2-backdrop-show {
        background: radial-gradient(120% 120% at 50% 0%, rgba(56,189,248,0.10), rgba(3,8,20,0.84) 55%) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
      }
      .swal2-popup {
        width: min(92vw, 420px) !important;
        padding: 0 !important;
        border-radius: 28px !important;
        border: 1px solid rgba(56,189,248,0.18) !important;
        background: linear-gradient(160deg, #0f1f38 0%, #081120 58%, #060d18 100%) !important;
        color: #e2e8f0 !important;
        box-shadow: 0 30px 90px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.03) inset !important;
        overflow: visible !important;
      }
      .swal2-popup:not(.swal2-hide) { animation: swalPop .28s cubic-bezier(.2,.8,.2,1) !important; }
      /* Close instantly: a frozen/throttled hide animation can leave the dialog on screen for seconds. */
      .swal2-popup.swal2-hide { animation: none !important; display: none !important; }
      .swal2-popup::before {
        content: "";
        position: absolute;
        inset: -1px;
        padding: 1px;
        border-radius: 29px;
        background: conic-gradient(from var(--swal-angle), rgba(56,189,248,0), rgba(56,189,248,.75), rgba(0,255,213,.75), rgba(56,189,248,0) 72%);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: swalSpin 4.5s linear infinite;
        pointer-events: none;
        opacity: .85;
      }
      .swal2-popup::after {
        content: "";
        position: absolute;
        top: -80px; left: 50%; width: 220px; height: 220px;
        transform: translateX(-50%);
        background: radial-gradient(circle, rgba(56,189,248,.22), rgba(56,189,248,0) 68%);
        pointer-events: none;
      }
      .swal2-title {
        margin: 0 !important;
        padding: 22px 54px 0 !important;
        color: #eaf6ff !important;
        font-family: "Orbitron", sans-serif !important;
        font-size: clamp(17px, 4.2vw, 21px) !important;
        letter-spacing: 1.4px !important;
        font-weight: 700 !important;
        text-shadow: 0 0 24px rgba(56,189,248,.2);
      }
      .swal2-html-container {
        margin: 0 !important;
        padding: 14px 20px 22px !important;
        font-size: 13px !important;
        line-height: 1.55 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 180px) !important;
      }
      .swal2-close {
        position: absolute !important;
        top: 12px !important; right: 12px !important;
        width: 36px !important; height: 36px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        background: rgba(255,255,255,0.04) !important;
        color: #8ca2b8 !important;
        font-size: 28px !important;
        font-weight: 300 !important;
        transition: all .2s ease !important;
        z-index: 5 !important;
      }
      .swal2-close:hover { color: #fff !important; background: rgba(56,189,248,0.14) !important; transform: scale(1.03); }
      .swal2-close:focus { box-shadow: 0 0 0 3px rgba(56,189,248,0.18) !important; }
      .swal2-icon.swal2-success { display: none !important; }
      .swal2-actions { margin: 0 !important; padding: 0 20px 20px !important; }
      .swal2-confirm {
        background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(0,255,213,0.12)) !important;
        border: 1px solid rgba(56,189,248,0.28) !important;
        color: #dff6ff !important;
        border-radius: 14px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        padding: 12px 28px !important;
        font-family: "Orbitron", sans-serif !important;
        letter-spacing: 1px;
        min-height: 46px;
      }
      .swal2-confirm:hover { border-color: rgba(0,255,213,0.45) !important; transform: translateY(-1px); }

      .demo-popup { position: relative; text-align: center; max-width: 100%; overflow: visible; }
      .demo-popup * { box-sizing: border-box; }
      .demo-popup-hero { position: relative; width: 112px; height: 112px; min-width: 112px; min-height: 112px; margin: 4px auto 16px; flex: 0 0 auto; }
      .demo-popup-ring {
        position: absolute; inset: 0; border-radius: 50%;
        background: conic-gradient(from 0deg, rgba(56,189,248,0), rgba(56,189,248,.95), rgba(0,255,213,.95), rgba(56,189,248,0) 70%);
        animation: swalSpin 3.2s linear infinite;
        -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
        mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
        filter: drop-shadow(0 0 10px rgba(56,189,248,.35));
      }
      .demo-popup-ring::before {
        content: ""; position: absolute; inset: 10px; border-radius: 50%;
        border: 1px solid rgba(0,255,213,0.16);
        box-shadow: inset 0 0 24px rgba(56,189,248,0.12);
      }
      .demo-popup-ring::after {
        content: ""; position: absolute; top: -2px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
        border-radius: 50%; background: #8ff7e5; box-shadow: 0 0 12px rgba(0,255,213,.9);
      }
      .demo-popup-icon {
        position: absolute; inset: 16px; border-radius: 50%;
        background: radial-gradient(circle at 35% 30%, rgba(56,189,248,0.2), rgba(8,17,32,0.94) 68%);
        border: 1px solid rgba(56,189,248,0.22);
        display: flex; align-items: center; justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
      }
      .demo-popup-icon img { width: 52px !important; height: 52px !important; max-width: 52px !important; max-height: 52px !important; min-width: 0 !important; display: block; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(56,189,248,.35)); }
      .demo-popup-badge {
        display: inline-flex; align-items: center; gap: 7px;
        padding: 7px 14px; margin: 0 auto 14px;
        border-radius: 999px;
        background: rgba(0,255,213,0.08);
        border: 1px solid rgba(0,255,213,0.2);
        color: #8ff7e5;
        font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase;
        max-width: 100%; box-sizing: border-box;
      }
      .demo-popup-badge img { width: 14px !important; height: 14px !important; max-width: 14px !important; flex: 0 0 14px; display: block; object-fit: contain; }
      .demo-popup-amount {
        font-family: "Orbitron", sans-serif;
        font-size: clamp(28px, 7.8vw, 42px);
        line-height: 1.05;
        font-weight: 800;
        letter-spacing: .4px;
        color: #eafffb;
        text-shadow: 0 0 30px rgba(0,255,213,0.20);
        word-break: break-word;
        overflow-wrap: anywhere;
      }
      .demo-popup-amount .unit { font-size: .48em; margin-left: .22em; color: #7dd3fc; vertical-align: middle; letter-spacing: 1.5px; }
      .demo-popup-sub {
        margin-top: 16px; padding-top: 14px;
        border-top: 1px solid rgba(56,189,248,0.12);
        font-size: 12px; color: #9ab0c5;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        flex-wrap: wrap;
      }
      .demo-popup-sub .dot { width: 6px; height: 6px; border-radius: 50%; background: #00ffd5; box-shadow: 0 0 10px rgba(0,255,213,.85); flex: 0 0 6px; animation: onlinePulse 1.8s ease infinite; }
      @media (max-width: 420px) {
        .swal2-popup { border-radius: 24px !important; }
        .swal2-title { padding: 20px 48px 0 !important; font-size: 17px !important; }
        .swal2-html-container { padding: 12px 16px 20px !important; }
        .demo-popup-hero { width: 100px; height: 100px; min-width: 100px; min-height: 100px; margin-bottom: 12px; }
        .demo-popup-icon img { width: 48px !important; height: 48px !important; max-width: 48px !important; max-height: 48px !important; }
        .demo-popup-badge { font-size: 10px; letter-spacing: .7px; }
      }
      @media (max-width: 360px) {
        .swal2-popup { width: calc(100vw - 20px) !important; }
        .demo-popup-amount { font-size: 28px; }
        .demo-popup-hero { width: 92px; height: 92px; min-width: 92px; min-height: 92px; }
        .demo-popup-icon { inset: 14px; }
      }
      @media (prefers-reduced-motion: reduce) {
        .swal2-popup:not(.swal2-hide), .swal2-popup::before, .demo-popup-ring { animation: none !important; }
      }

      @supports (-webkit-touch-callout: none) {
        body { cursor: pointer; }
        input, textarea, button, select, a { -webkit-tap-highlight-color: transparent; }
        .container-inner { -webkit-overflow-scrolling: touch; }
      }

      /* ===== Login Screen - Auto License Timer ===== */
      .login-shield { font-size: 48px; color: var(--primary-color); margin-bottom: 6px; opacity: 0.8; }

      /* === Connection Intro === */
      .conn-status { margin: 14px 0 10px; }
      .conn-visual {
        position: relative; height: 48px; display: flex; align-items: center;
        justify-content: center; margin-bottom: 10px;
      }
      .conn-dots {
        display: flex; align-items: center; gap: 8px; z-index: 2;
      }
      .conn-dots span {
        width: 10px; height: 10px; border-radius: 50%;
        background: var(--primary-color); opacity: 0.2;
        animation: dotPulse 1.8s ease-in-out infinite;
      }
      .conn-dots .dot-1 { animation-delay: 0s; }
      .conn-dots .dot-2 { animation-delay: 0.3s; }
      .conn-dots .dot-3 { animation-delay: 0.6s; }
      @keyframes dotPulse {
        0%,100% { opacity: 0.2; transform: scale(0.8); box-shadow: 0 0 0 0 rgba(56,189,248,0); }
        50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 16px 4px rgba(56,189,248,0.3); }
      }
      .conn-wave {
        position: absolute; width: 56px; height: 56px; border-radius: 50%;
        border: 2px solid rgba(56,189,248,0.08);
        animation: waveExpand 2s ease-out infinite;
      }
      @keyframes waveExpand {
        0% { transform: scale(0.5); opacity: 0.6; }
        100% { transform: scale(2); opacity: 0; }
      }
      .conn-step {
        font-size: 11px; color: #aaa; text-align: center;
        min-height: 20px; margin-bottom: 10px; font-family: "Rubik", sans-serif;
        transition: all 0.3s;
      }
      .conn-step i { margin-right: 4px; font-size: 10px; }
      .conn-progress-track {
        width: 100%; height: 4px; background: rgba(255,255,255,0.06);
        border-radius: 4px; overflow: hidden; margin-bottom: 8px;
      }
      .conn-progress-fill {
        height: 100%; width: 0%; border-radius: 4px;
        background: linear-gradient(90deg, var(--primary-color), #00e676);
        transition: width 0.3s ease;
        box-shadow: 0 0 10px rgba(56,189,248,0.3);
      }
      .conn-timer {
        font-family: "Orbitron", sans-serif; font-size: 20px; color: var(--primary-color);
        text-align: center; letter-spacing: 1px; opacity: 0.6;
      }
      .conn-timer span { font-size: 24px; font-weight: 700; }

      .license-display {
        background: rgba(15,23,42,0.55); border: 1px solid rgba(56,189,248,0.2);
        border-radius: 12px; padding: 14px; margin: 10px 0; text-align: center;
        animation: slideUp 0.4s ease;
      }
      .lic-badge {
        font-size: 10px; color: #00e676; margin-bottom: 8px;
        font-family: "Orbitron", sans-serif; letter-spacing: 0.5px;
      }
      .lic-badge i { margin-right: 4px; }
      .lic-key {
        font-family: "Orbitron", monospace; font-size: 14px; color: var(--primary-color);
        letter-spacing: 2px; word-break: break-all; text-shadow: 0 0 10px rgba(56,189,248,0.3);
        user-select: all; padding: 8px; background: rgba(0,0,0,0.25); border-radius: 8px;
        border: 1px solid rgba(56,189,248,0.08);
      }
      .lic-note { font-size: 10px; color: #555; margin-top: 8px; }

      .activate-btn {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border: none; padding: 14px 24px; border-radius: 10px; color: #000;
        font-weight: 700; cursor: pointer; width: 100%; font-size: 15px;
        font-family: "Orbitron", sans-serif; letter-spacing: 1px;
        transition: all 0.3s; margin-top: 4px;
      }
      .activate-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(56,189,248,0.4);
      }
      .activate-btn:disabled {
        opacity: 0.35; cursor: not-allowed; filter: grayscale(0.5);
      }
      .activate-btn i { margin-right: 6px; }

      @media (max-width: 380px) {
        .conn-timer { font-size: 17px; }
        .conn-timer span { font-size: 20px; }
        .login-shield { font-size: 38px; }
        .lic-key { font-size: 12px; letter-spacing: 1px; }
      }

      /* ===== Section Labels ===== */
      .section-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: "Orbitron", sans-serif;
        font-size: 11px;
        color: var(--primary-color);
        margin-bottom: 10px;
        letter-spacing: 0.5px;
      }
      .section-label .slot-badge {
        margin-left: auto;
        font-size: 9px;
        padding: 3px 10px;
        border-radius: 20px;
        background: rgba(56,189,248,0.1);
        border: 1px solid rgba(56,189,248,0.2);
        color: var(--primary-color);
        font-weight: 600;
      }
      .coin-row {
        display: grid;
        grid-template-columns: repeat(9, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 6px;
        flex-shrink: 0;
        user-select: none;
        -webkit-user-select: none;
        width: 100%;
      }
      .slot-info {
        font-size: 11px;
        color: #fff;
        text-align: center;
        margin-bottom: 8px;
      }
      .scan-section {
        margin: 5px 0;
        flex-shrink: 0;
      }

      }

      /* ===== Payment Modal ===== */
      .payment-box {
        background: linear-gradient(145deg, #141f2a, #0a141c);
        padding: 28px 22px 22px;
        border-radius: 20px;
        width: 100%; max-width: 380px;
        text-align: center;
        border: 1px solid rgba(56,189,248,0.15);
        position: relative;
        box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(56,189,248,0.06);
        animation: slideUp 0.3s ease-out;
        max-height: 90vh; overflow-y: auto;
      }
      .payment-box::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      }
      .payment-box h3 { color: var(--primary-color); margin: 0 0 14px; font-family: "Orbitron", sans-serif; font-size: 16px; letter-spacing: 1px; }
      .payment-icon { font-size: 40px; color: #ffd700; margin-bottom: 8px; }

      .payment-wallets { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
      .payment-wallet-item {
        background: rgba(15,23,42,0.4); border: 1px solid rgba(56,189,248,0.1);
        border-radius: 10px; padding: 10px 12px; text-align: left;
      }
      .payment-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(56,189,248,0.15), transparent); margin: 14px 0; }

      .payment-price {
        display: flex; justify-content: center; align-items: center;
        gap: 10px; margin: 10px 0;
      }
      .price-label { font-size: 13px; color: #888; }
      .price-value {
        font-size: 24px; font-weight: 700; font-family: "Orbitron", sans-serif;
        background: linear-gradient(135deg, #ffd700, #ffaa00);
        -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      }
      .payment-desc { font-size: 11px; color: #aaa; line-height: 1.5; margin: 10px 0; }

      .payment-address-box {
        display: flex; align-items: center; gap: 8px;
        background: rgba(15,23,42,0.55); border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px; padding: 8px 12px; margin: 10px 0;
      }
      .pay-addr { flex: 1; font-size: 10px; font-family: monospace; color: #aaa; word-break: break-all; text-align: left; }
      .pay-copy-btn {
        width: 30px; height: 30px; border: none;
        background: linear-gradient(135deg, rgba(56,189,248,0.12), rgba(3,105,161,0.08));
        color: var(--primary-color); border-radius: 8px; cursor: pointer;
        font-size: 12px; display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; border: 1px solid rgba(56,189,248,0.15);
        transition: all 0.25s;
      }
      .pay-copy-btn:hover { background: rgba(56,189,248,0.2); border-color: var(--primary-color); }

      .payment-upload { margin: 14px 0; }
      .upload-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 12px; border-radius: 10px; cursor: pointer;
        background: rgba(56,189,248,0.05); border: 1px dashed rgba(56,189,248,0.2);
        color: var(--primary-color); font-size: 12px; transition: all 0.3s;
      }
      .upload-btn:hover, .upload-btn:focus-visible { background: rgba(56,189,248,0.1); border-color: var(--primary-color); outline: none; }
      .upload-btn.uploaded { border-color: #00e676; background: rgba(0,230,118,0.05); }

      .receipt-preview {
        display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 10px;
      }
      .receipt-preview img { max-width: 100%; max-height: 120px; border-radius: 8px; border: 1px solid rgba(56,189,248,0.15); }
      .receipt-status { display:none; margin-top:10px; font-size:11px; line-height:1.6; color:#4cc9f0; background:rgba(76,201,240,0.08); border:1px solid rgba(76,201,240,0.18); border-radius:10px; padding:10px 12px; text-align:center; }
      img { -webkit-user-drag: none; }
      .receipt-ok { font-size: 11px; color: #00e676; font-weight: 600; }

      .payment-note { font-size: 10px; color: #555; margin-top: 10px; }