/* متغیرهای اصلی */
      :root {
        --primary-color: #00ffd5;
        --secondary-color: #007f80;
        --dark-bg: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
        --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;
      }

      /* تنظیمات پایه برای فول‌اسکرین */
      html, body {
        height: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
        position: fixed;
        -webkit-overflow-scrolling: touch;
        touch-action: none;
      }

      body {
        font-family: "Rubik", sans-serif;
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
        background-size: 200% 200%;
        animation: bgShift 30s ease-in-out infinite;
        will-change: background-position;
        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;
      }

      @keyframes bgShift {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
      }

      /* صفحه آفلاین */
      .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(0, 255, 213, 0.5);
      }

      .offline-message {
        color: #aaa;
        margin-bottom: 30px;
        max-width: 400px;
        line-height: 1.5;
      }

      .offline-steps {
        background: rgba(0, 0, 0, 0.3);
        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);
      }

      /* کانتینر اصلی - مخفی تا زمان فعالسازی لایسنس */
      .main-container {
        position: relative;
        width: 95%;
        max-width: 600px;
        height: 90vh;
        max-height: 850px;
        border-radius: 25px;
        overflow: hidden;
        display: none;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        box-sizing: border-box;
        border: 2px solid rgba(0, 255, 213, 0.2);
        box-shadow: 0 0 30px rgba(0, 255, 213, 0.1),
                    inset 0 0 20px rgba(0, 255, 213, 0.05);
      }

      /* محتوای داخلی */
      .container-inner {
        position: relative;
        z-index: 1;
        background: var(--dark-bg);
        border-radius: 23px;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        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; }

      /* استایل برای محتوای داخل اسکرول */
      .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(0, 255, 213, 0.5);
        margin: 10px 0;
      }

      .header h3 {
        font-size: 16px;
        margin: 5px 0 15px;
        color: #aaa;
        font-weight: normal;
      }

      /* بخش شمارش ساده */
      .counter-section {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(0, 255, 213, 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(0, 255, 213, 0.5);
      }

      .crypto-selection {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 15px;
        flex-shrink: 0;
        user-select: none;
        -webkit-user-select: none;
      }

      .coin-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 6px 6px;
        background: rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 56px;
        position: relative;
        overflow: hidden;
      }
      .coin-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, rgba(0,255,213,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(0,255,213,0.2);
        background: rgba(0,0,0,0.3);
      }
      .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(0,255,213,0.06);
        box-shadow: 0 0 15px rgba(0,255,213,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(0, 0, 0, 0.3);
        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(0, 255, 213, 0.15), rgba(0, 127, 128, 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(0, 255, 213, 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(0, 255, 213, 0.25), rgba(0, 127, 128, 0.18));
        border-color: var(--primary-color);
        box-shadow: 0 6px 25px rgba(0, 255, 213, 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(0, 255, 213, 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(0,255,213,0.15) !important;
        background: rgba(0,255,213,0.04) !important;
        color: rgba(0,255,213,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(0,255,213,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(0,255,213,0.2); }
        50% { box-shadow: 0 4px 30px rgba(0,255,213,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(0, 255, 213, 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: rgba(0, 255, 213, 0.1);
        border: 1px solid var(--primary-color);
        border-radius: 12px;
        padding: 12px;
        margin: 10px 0;
        position: relative;
        overflow: hidden;
        flex-shrink: 0;
        width: 100%;
        max-width: 450px;
        box-sizing: border-box;
      }

      .found-wallet::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary-color);
      }

      .balance {
        font-size: 20px;
        color: var(--primary-color);
        font-weight: bold;
        margin: 8px 0;
        text-shadow: 0 0 10px rgba(0, 255, 213, 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(0, 255, 213, 0.3);
      }

      .history-container {
        display: none;
        margin-top: 15px;
        max-height: 180px;
        overflow-y: auto;
        border: 1px solid rgba(0, 255, 213, 0.3);
        border-radius: 10px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.2);
        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(0, 255, 213, 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: rgba(0, 0, 0, 0.9);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2000;
        backdrop-filter: blur(5px);
      }

      .login-box {
        background: linear-gradient(135deg, #203a43, #2c5364);
        padding: 25px;
        border-radius: 15px;
        width: 90%;
        max-width: 320px;
        text-align: center;
        border: 1px solid var(--primary-color);
        box-shadow: 0 0 30px rgba(0, 255, 213, 0.3);
        animation: slideUp 0.5s 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(0, 255, 213, 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(0, 255, 213, 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(0, 255, 213, 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(0, 255, 213, 0.04);
        border: 1px solid rgba(0, 255, 213, 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(0, 255, 213, 0.15);
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 213, 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(0,0,0,0.2);
        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(0,255,213,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(0,0,0,0.2);
        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(0,255,213,0.15), rgba(0,127,128,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(0,255,213,0.2);
        transition: all 0.3s;
        margin-top: 8px;
      }
      .guide-btn:hover {
        background: linear-gradient(135deg, rgba(0,255,213,0.25), rgba(0,127,128,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(0, 255, 213, 0.4);
          transform: scale(1);
        }
        70% { 
          box-shadow: 0 0 0 15px rgba(0, 255, 213, 0);
          transform: scale(1);
        }
        100% { 
          box-shadow: 0 0 0 0 rgba(0, 255, 213, 0);
          transform: scale(1);
        }
      }

      /* ریسپانسیو برای تمام گوشی‌ها */
      @media (max-width: 480px) {
        :root {
          --container-padding: 12px;
        }
        
        .main-container {
          width: 98%;
          height: 95vh;
          border-radius: 20px;
        }
        
        .container-inner {
          border-radius: 18px;
          padding: 12px;
        }
        
        .header h2 {
          font-size: 20px;
        }
        
        .header h3 {
          font-size: 14px;
        }
        
        .coin-card { min-width: 48px; padding: 6px 4px 4px; gap: 2px; }
        .coin-card img { width: 26px; height: 26px; }
        .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: 18px;
        }
        
        .coin-card { min-width: 42px; padding: 5px 3px 3px; }
        .coin-card img { width: 22px; height: 22px; }
        
        .crypto-selection {
          gap: 5px;
        }
        
        .counter-value {
          font-size: 24px;
        }
        
        .toggle button,
        .withdraw-btn,
        .creator-btn {
          padding: 8px 16px;
          font-size: 13px;
          min-width: 120px;
        }
        
        .log-box {
          height: 150px;
          font-size: 12px;
        }
        
        .verification-badge {
          gap: 5px;
        }
        
        .badge {
          font-size: 9px;
          padding: 4px 6px;
        }
        
        .found-section strong {
          font-size: 14px;
        }
      }

      @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;
        }
      }

      /* ===== رفرال - دیزاین کاملاً جدید و جذاب ===== */
      .ref-card {
        background: linear-gradient(145deg, rgba(0,255,213,0.05), rgba(0,127,128,0.03));
        border: 1px solid rgba(0,255,213,0.12);
        border-radius: 18px;
        padding: 18px 16px;
        margin: 14px 0;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
      }
      .ref-card:hover {
        border-color: rgba(0,255,213,0.2);
        box-shadow: 0 8px 32px rgba(0,255,213,0.08);
      }
      .ref-glow {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 20%, rgba(0,255,213,0.06) 0%, transparent 50%);
        pointer-events: none;
        animation: refGlow 8s ease-in-out infinite;
      }
      @keyframes refGlow {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(5%, 5%); }
      }

      .ref-card .ref-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
      }
      .ref-card .ref-header-left {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .ref-icon-ring {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(0,255,213,0.15), rgba(0,127,128,0.1));
        border: 1px solid rgba(0,255,213,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        color: var(--primary-color);
        animation: iconPulse 2s ease-in-out infinite;
      }
      @keyframes iconPulse {
        0%, 100% { box-shadow: 0 0 0 0 rgba(0,255,213,0.2); }
        50% { box-shadow: 0 0 0 8px rgba(0,255,213,0); }
      }
      .ref-title {
        font-family: "Orbitron", sans-serif;
        font-size: 12px;
        color: var(--primary-color);
        letter-spacing: 0.5px;
        font-weight: 600;
      }
      .ref-subtitle {
        font-size: 9px;
        color: #666;
        margin-top: 1px;
      }
      .ref-slot-badge {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        padding: 4px 12px;
        border-radius: 20px;
        background: linear-gradient(135deg, rgba(0,255,213,0.12), rgba(0,127,128,0.08));
        color: var(--primary-color);
        border: 1px solid rgba(0,255,213,0.2);
        font-weight: 600;
        font-family: "Orbitron", sans-serif;
      }
      .ref-slot-badge i { font-size: 10px; }

      .ref-card .ref-stats {
        display: flex;
        gap: 8px;
        margin-bottom: 14px;
      }
      .ref-card .ref-stats .stat {
        flex: 1;
        text-align: center;
        background: rgba(0,0,0,0.15);
        border-radius: 12px;
        padding: 10px 6px;
        border: 1px solid rgba(255,255,255,0.04);
        transition: all 0.3s ease;
      }
      .ref-card .ref-stats .stat:hover {
        background: rgba(0,0,0,0.25);
        border-color: rgba(0,255,213,0.1);
      }
      .ref-card .ref-stats .stat .num {
        font-family: "Orbitron", sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
      }
      .ref-card .ref-stats .stat .num span { color: var(--primary-color); }
      .ref-card .ref-stats .stat .lbl {
        font-size: 9px;
        color: #777;
        margin-top: 4px;
        letter-spacing: 0.3px;
      }
      .ref-card .ref-stats .stat .lbl i {
        font-size: 8px;
        margin-right: 3px;
        opacity: 0.6;
      }
      .stat-code .code-num {
        font-size: 16px !important;
        color: var(--primary-color) !important;
        letter-spacing: 1px;
      }

      .ref-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0,255,213,0.15), transparent);
        margin: 12px 0;
      }

      .ref-card .ref-bar-wrap {
        position: relative;
        margin-bottom: 12px;
      }
      .ref-card .ref-bar {
        height: 5px;
        background: rgba(255,255,255,0.06);
        border-radius: 4px;
        overflow: hidden;
      }
      .ref-card .ref-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, var(--primary-color), #00e676, var(--primary-color));
        background-size: 200% 100%;
        border-radius: 4px;
        transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        animation: barGradient 2s linear infinite;
      }
      @keyframes barGradient {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
      }
      .ref-card .ref-bar-fill::after {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        animation: barShine 2s ease-in-out infinite;
      }
      @keyframes barShine {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
      }

      .ref-card .ref-tiers {
        display: flex;
        justify-content: space-between;
        margin-top: 6px;
        padding: 0 4px;
      }
      .ref-card .ref-tiers .tier {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 9px;
        color: #444;
        transition: all 0.3s;
      }
      .ref-card .ref-tiers .tier .tier-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,0.06);
        border: 2px solid rgba(255,255,255,0.06);
        transition: all 0.3s;
        position: relative;
      }
      .ref-card .ref-tiers .tier .tier-label {
        font-size: 8px;
        white-space: nowrap;
        font-weight: 500;
      }
      .ref-card .ref-tiers .tier.unlocked .tier-dot {
        background: #00e676;
        border-color: #00e676;
        box-shadow: 0 0 8px rgba(0,230,118,0.4);
      }
      .ref-card .ref-tiers .tier.unlocked .tier-label { color: #00e676; font-weight: 600; }
      .ref-card .ref-tiers .tier.active .tier-dot {
        background: var(--primary-color);
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(0,255,213,0.5);
      }
      .ref-card .ref-tiers .tier.active .tier-label { color: var(--primary-color); font-weight: 700; }

      .ref-card .ref-share {
        margin-bottom: 10px;
      }
      .ref-link-box {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(0,0,0,0.2);
        border: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        padding: 6px 10px;
        transition: all 0.3s;
      }
      .ref-link-box:focus-within {
        border-color: rgba(0,255,213,0.3);
        box-shadow: 0 0 15px rgba(0,255,213,0.05);
      }
      .ref-link-box > i {
        color: #555;
        font-size: 12px;
        flex-shrink: 0;
      }
      .ref-link-box .code-box {
        flex: 1;
        font-size: 10px;
        font-family: monospace;
        color: var(--primary-color);
        word-break: break-all;
        user-select: all;
        min-width: 0;
        letter-spacing: 0.3px;
        background: transparent;
        border: none;
        padding: 4px 0;
        outline: none;
      }
      .copy-icon-btn {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border: none;
        background: linear-gradient(135deg, rgba(0,255,213,0.12), rgba(0,127,128,0.08));
        color: var(--primary-color);
        border-radius: 8px;
        cursor: pointer;
        font-size: 12px;
        transition: all 0.25s;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(0,255,213,0.15);
      }
      .copy-icon-btn:hover {
        background: linear-gradient(135deg, rgba(0,255,213,0.25), rgba(0,127,128,0.18));
        border-color: var(--primary-color);
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(0,255,213,0.2);
      }
      .copy-icon-btn.copied {
        background: rgba(0,230,118,0.15);
        border-color: #00e676;
        color: #00e676;
      }

      .ref-stats-link {
        text-align: center;
        margin-bottom: 12px;
      }
      .ref-stats-link .stats-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        border-radius: 8px;
        border: 1px solid rgba(0,255,213,0.12);
        background: rgba(0,0,0,0.1);
        color: var(--primary-color);
        font-size: 10px;
        text-decoration: none;
        transition: all 0.3s;
        font-weight: 500;
        letter-spacing: 0.3px;
      }
      .ref-stats-link .stats-link:hover {
        background: rgba(0,255,213,0.08);
        border-color: rgba(0,255,213,0.3);
        transform: translateY(-1px);
      }

      .ref-card .ref-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 9px;
        color: #555;
      }
      .ref-card .ref-footer i { font-size: 10px; opacity: 0.5; }
      #refMessage { display: none; }

      /* ===== 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(0,255,213,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(0,255,213,0.08) !important;
        border-color: rgba(0,255,213,0.15) !important;
        font-size: 14px !important;
        padding: 6px 10px !important;
      }
      .guide-pill:hover {
        background: rgba(0,255,213,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 dark theme for security info */
      .swal2-popup {
        background: linear-gradient(145deg, #141f2a, #0a141c) !important;
        border: 1px solid rgba(0,255,213,0.12) !important;
        border-radius: 16px !important;
        color: #ddd !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
      }
      .swal2-title {
        color: var(--primary-color) !important;
        font-family: "Orbitron", sans-serif !important;
        font-size: 16px !important;
        letter-spacing: 1px;
      }
      .swal2-html-container {
        font-size: 13px !important;
        line-height: 1.6 !important;
      }
      .swal2-html-container ul { padding-left: 20px; }
      .swal2-html-container li { margin: 6px 0; color: #aaa; }
      .swal2-html-container code {
        background: rgba(0,255,213,0.06);
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 12px;
      }
      .swal2-html-container a { color: var(--primary-color); text-decoration: none; }
      .swal2-html-container a:hover { text-decoration: underline; }
      .swal2-confirm {
        background: linear-gradient(135deg, rgba(0,255,213,0.15), rgba(0,127,128,0.1)) !important;
        border: 1px solid rgba(0,255,213,0.2) !important;
        color: var(--primary-color) !important;
        border-radius: 50px !important;
        font-weight: 600 !important;
        font-size: 13px !important;
        padding: 10px 30px !important;
        font-family: "Orbitron", sans-serif !important;
        letter-spacing: 1px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
        transition: all 0.3s !important;
      }
      .swal2-confirm:hover {
        background: linear-gradient(135deg, rgba(0,255,213,0.25), rgba(0,127,128,0.18)) !important;
        border-color: var(--primary-color) !important;
        transform: translateY(-1px);
      }
      .swal2-close {
        color: #666 !important;
        transition: color 0.2s !important;
      }
      .swal2-close:hover { color: #fff !important; }
      .swal2-close:focus { box-shadow: 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: 10px; opacity: 0.8; }
      .login-sub { font-size: 12px; color: #888; margin: 6px 0 16px; }
      .license-timer { margin: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
      .timer-circle {
        width: 64px; height: 64px; border-radius: 50%;
        border: 3px solid var(--primary-color);
        display: flex; align-items: center; justify-content: center;
        font-size: 28px; font-weight: 700; font-family: "Orbitron", sans-serif;
        color: var(--primary-color); transition: all 0.3s;
        animation: timerPulse 1s ease-in-out infinite;
      }
      @keyframes timerPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,255,213,0.3); } 50% { box-shadow: 0 0 20px 0 rgba(0,255,213,0.1); } }
      .timer-label { font-size: 11px; color: #888; letter-spacing: 0.3px; }

      .license-display {
        background: rgba(0,0,0,0.3); border: 1px solid rgba(0,255,213,0.2);
        border-radius: 12px; padding: 14px; margin: 12px 0; text-align: center;
        animation: slideUp 0.3s ease;
      }
      .lic-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
      .lic-key {
        font-family: "Orbitron", monospace; font-size: 15px; color: var(--primary-color);
        letter-spacing: 2px; word-break: break-all; text-shadow: 0 0 10px rgba(0,255,213,0.3);
        user-select: all; padding: 6px; background: rgba(0,0,0,0.2); border-radius: 6px;
      }
      .lic-note { font-size: 10px; color: #555; margin-top: 8px; }

      .activate-btn {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        border: none; padding: 14px 24px; border-radius: 8px; color: #000;
        font-weight: 700; cursor: pointer; width: 100%; font-size: 16px;
        font-family: "Orbitron", sans-serif; letter-spacing: 1px;
        transition: all 0.3s; margin-top: 8px;
      }
      .activate-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(0,255,213,0.4);
      }
      .activate-btn:disabled {
        opacity: 0.4; cursor: not-allowed; filter: grayscale(0.5);
      }

      /* ===== Simplified Referral Row ===== */
      .ref-row {
        margin: 12px 0; flex-shrink: 0;
        background: linear-gradient(145deg, rgba(0,255,213,0.04), rgba(0,127,128,0.02));
        border: 1px solid rgba(0,255,213,0.1);
        border-radius: 14px; padding: 10px 14px;
        transition: all 0.3s;
      }
      .ref-row:hover { border-color: rgba(0,255,213,0.2); }
      .ref-row-inner { display: flex; align-items: center; gap: 10px; }
      .ref-row-icon {
        width: 32px; height: 32px; border-radius: 50%;
        background: linear-gradient(135deg, rgba(0,255,213,0.12), rgba(0,127,128,0.08));
        border: 1px solid rgba(0,255,213,0.15);
        display: flex; align-items: center; justify-content: center;
        color: var(--primary-color); font-size: 12px; flex-shrink: 0;
      }
      .ref-row-info { flex: 1; min-width: 0; }
      .ref-row-title { font-size: 11px; color: var(--primary-color); font-weight: 600; margin-bottom: 2px; }
      .ref-row-code { display: flex; align-items: center; gap: 4px; font-size: 10px; }
      .ref-row-label { color: #666; }
      .ref-row-value { color: var(--primary-color); font-family: monospace; font-weight: 600; letter-spacing: 0.5px; }
      .ref-row-copy {
        width: 20px; height: 20px; border: none; background: rgba(0,255,213,0.1);
        color: var(--primary-color); border-radius: 4px; cursor: pointer;
        font-size: 9px; display: flex; align-items: center; justify-content: center;
        transition: all 0.2s;
      }
      .ref-row-copy:hover { background: rgba(0,255,213,0.2); }
      .ref-row-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
      .ref-row-invites { font-family: "Orbitron", sans-serif; font-size: 18px; color: #fff; font-weight: 700; line-height: 1; }
      .ref-row-invites-label { font-size: 8px; color: #666; text-transform: uppercase; letter-spacing: 0.3px; }
      .ref-row-slots { font-size: 8px; color: var(--primary-color); font-weight: 600; margin-top: 2px; }

      /* ===== 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(0,255,213,0.15);
        position: relative;
        box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0,255,213,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(0,0,0,0.2); border: 1px solid rgba(0,255,213,0.1);
        border-radius: 10px; padding: 10px 12px; text-align: left;
      }
      .payment-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,255,213,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(0,0,0,0.3); 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(0,255,213,0.12), rgba(0,127,128,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(0,255,213,0.15);
        transition: all 0.25s;
      }
      .pay-copy-btn:hover { background: rgba(0,255,213,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(0,255,213,0.05); border: 1px dashed rgba(0,255,213,0.2);
        color: var(--primary-color); font-size: 12px; transition: all 0.3s;
      }
      .upload-btn:hover { background: rgba(0,255,213,0.1); border-color: var(--primary-color); }
      .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(0,255,213,0.15); }
      .receipt-ok { font-size: 11px; color: #00e676; font-weight: 600; }

      .payment-note { font-size: 10px; color: #555; margin-top: 10px; }