:root {
            --usdt: #26A17B;
            --usdt-dark: #1a7a5c;
            --usdt-light: #50af95;
            --usdt-glow: rgba(38, 161, 123, 0.4);
            --usdt-dim: rgba(38, 161, 123, 0.1);
            --bg: #0a0e13;
            --bg-card: #0f1419;
            --bg-elevated: #151c25;
            --border: rgba(38, 161, 123, 0.12);
            --border-active: rgba(38, 161, 123, 0.35);
            --text: #ffffff;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;
            --danger: #ef4444;
        }

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

html {
            font-size: 14px;
            -webkit-tap-highlight-color: transparent;
        }

@media (min-width: 768px) {

 html { font-size: 15px; }
}

@media (min-width: 1024px) {

 html { font-size: 16px; }
}

body {
            font-family: 'Inter', -apple-system, sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            min-height: 100dvh;
            line-height: 1.5;
        }

/* Background */
        .bg-grid {
            position: fixed;
            inset: 0;
            background-image:
                linear-gradient(rgba(38, 161, 123, 0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(38, 161, 123, 0.03) 1px, transparent 1px);
            background-size: 50px 50px;
            pointer-events: none;
            z-index: 0;
        }

.bg-glow {
            position: fixed;
            border-radius: 50%;
            filter: blur(120px);
            opacity: 0.4;
            pointer-events: none;
            z-index: 0;
        }

.bg-glow-1 {
            width: 400px;
            height: 400px;
            top: -150px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--usdt);
        }

.bg-glow-2 {
            width: 300px;
            height: 300px;
            bottom: -100px;
            right: -50px;
            background: #1a5c4a;
        }

.app {
            position: relative;
            z-index: 1;
            max-width: 480px;
            margin: 0 auto;
            padding: 0 16px;
            padding-bottom: 100px;
        }

@media (min-width: 768px) {

            .app { max-width: 540px; padding: 0 24px; padding-bottom: 40px; }
}

/* Header */
        .header {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(10, 14, 19, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            margin: 0;
            padding: 14px 16px;
        }

@media (min-width: 768px) {

            .header { padding: 18px 24px; }
}

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

.logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

.logo-icon {
            width: 40px;
            height: 40px;
            position: relative;
        }

.logo-icon svg {
            width: 100%;
            height: 100%;
        }

.logo-icon::before {
            content: '';
            position: absolute;
            inset: -3px;
            background: radial-gradient(circle, var(--usdt-glow) 0%, transparent 70%);
            border-radius: 50%;
            animation: logoPulse 2s ease-in-out infinite;
            z-index: -1;
        }

@keyframes logoPulse {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.1); }
        }

.logo-icon .bolt {
            animation: boltGlow 1.5s ease-in-out infinite alternate;
        }

@keyframes boltGlow {
            0% { filter: drop-shadow(0 0 2px rgba(128, 255, 204, 0.5)); }
            100% { filter: drop-shadow(0 0 6px rgba(128, 255, 204, 0.9)); }
        }

.logo-text {
            font-size: 1.1rem;
            font-weight: 700;
        }

.logo-text span {
            color: var(--usdt);
        }

.network-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            background: var(--usdt-dim);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
            color: var(--usdt-light);
        }

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

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

.connect-btn {
            padding: 10px 16px;
            background: linear-gradient(135deg, var(--usdt), var(--usdt-dark));
            border: none;
            border-radius: 10px;
            font-family: inherit;
            font-size: 0.85rem;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 4px 15px var(--usdt-glow);
        }

.connect-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px var(--usdt-glow);
        }

/* Hero */
        .hero {
            text-align: center;
            padding: 40px 0 28px;
        }

@media (min-width: 768px) {

            .hero { padding: 56px 0 36px; }
}

.hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            background: var(--usdt-dim);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--usdt-light);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }

.hero-title {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.15;
            margin-bottom: 16px;
        }

@media (min-width: 768px) {

            .hero-title { font-size: 2.75rem; }
}

.hero-title .highlight {
            background: linear-gradient(135deg, var(--usdt-light), var(--usdt));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

.hero-desc {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 28px;
            max-width: 360px;
            margin-left: auto;
            margin-right: auto;
        }

/* Home page menu button */
.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: var(--usdt-dim);
  border: 1px solid var(--border-active);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.hero-menu-btn svg { width: 17px; height: 17px; flex: 0 0 17px; color: var(--usdt-light); }
.hero-menu-btn:hover { background: rgba(38, 161, 123, 0.18); border-color: var(--usdt); transform: translateY(-1px); }
.hero-menu-label { color: var(--text); }
.hero-menu-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  padding-left: 9px;
  border-left: 1px solid var(--border);
}

@media (max-width: 380px) {
  .hero-menu-sub { display: none; }
}

/* Stats */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-bottom: 28px;
        }

.stat-item {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 16px 10px;
            text-align: center;
            transition: all 0.2s;
        }

.stat-item:hover {
            border-color: var(--border-active);
        }

.stat-value {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--usdt-light);
            font-family: 'JetBrains Mono', monospace;
        }

.stat-label {
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 4px;
        }

/* Primary Button */
        .btn-primary {
            width: 100%;
            padding: 16px;
            background: linear-gradient(135deg, var(--usdt), var(--usdt-dark));
            border: none;
            border-radius: 14px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 4px 20px var(--usdt-glow);
        }

.btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--usdt-glow);
        }

.btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

/* Features Section */
        .features {
            margin: 32px 0;
        }

.features-title {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: center;
            margin-bottom: 16px;
        }

.features-grid {
            display: grid;
            gap: 12px;
        }

.feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 14px;
            padding: 16px;
            display: flex;
            gap: 14px;
            transition: all 0.2s;
        }

.feature-card:hover {
            border-color: var(--border-active);
        }

.feature-icon {
            width: 40px;
            height: 40px;
            background: var(--usdt-dim);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

.feature-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--usdt);
        }

.feature-content {
            flex: 1;
        }

.feature-name {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 4px;
        }

.feature-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

/* How It Works */
        .how-it-works {
            margin: 32px 0;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 20px;
        }

.how-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

.how-title svg {
            width: 20px;
            height: 20px;
            stroke: var(--usdt);
        }

.how-text {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
        }

.how-text p {
            margin-bottom: 12px;
        }

.how-text p:last-child {
            margin-bottom: 0;
        }

.how-text strong {
            color: var(--text);
        }

/* Info Sections */
        .info-section {
            margin: 32px 0;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 20px;
        }

.info-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

.info-title svg {
            width: 20px;
            height: 20px;
            stroke: var(--usdt);
        }

.info-grid {
            display: grid;
            gap: 16px;
        }

.info-item {
            display: flex;
            gap: 12px;
            align-items: flex-start;
        }

.info-item-icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            background: var(--usdt-dim);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.info-item-icon svg {
            width: 18px;
            height: 18px;
            stroke: var(--usdt);
        }

.info-item-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

.info-item-text strong {
            font-size: 0.85rem;
            color: var(--text);
        }

.info-item-text span {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.4;
        }

/* FAQ */
        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.faq-item {
            padding: 14px;
            background: var(--bg);
            border-radius: 12px;
            border: 1px solid var(--border);
        }

.faq-question {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 8px;
        }

.faq-answer {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }

/* Partners */
        .partners {
            padding: 24px 0;
            text-align: center;
        }

.partners-label {
            font-size: 0.65rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 16px;
        }

.partners-logos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

.partner-icon {
            width: 36px;
            height: 36px;
            opacity: 0.7;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.partner-icon:hover {
            opacity: 1;
            transform: scale(1.1);
        }

.partner-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

/* Main Card */
        .main-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 18px;
            overflow: hidden;
        }

.card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 20px;
            border-bottom: 1px solid var(--border);
            background: var(--bg-card);
        }

.card-title {
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

.card-title-icon {
            width: 24px;
            height: 24px;
            background: var(--usdt);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.card-badge {
            padding: 5px 10px;
            background: var(--usdt-dim);
            border-radius: 8px;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--usdt-light);
        }

.card-body {
            padding: 20px;
        }

/* Form */
        .form-group {
            margin-bottom: 18px;
        }

.form-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

.form-hint {
            color: var(--text-muted);
            font-weight: 400;
        }

.form-input {
            width: 100%;
            padding: 14px 16px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 1rem;
            color: var(--text);
            transition: all 0.2s;
        }

.form-input:focus {
            outline: none;
            border-color: var(--usdt);
            box-shadow: 0 0 0 3px var(--usdt-dim);
        }

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

.input-with-suffix {
            position: relative;
        }

.input-with-suffix .form-input {
            padding-right: 80px;
        }

.input-suffix {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            gap: 8px;
        }

/* Summary */
        .summary {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 18px;
        }

.summary-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            font-size: 0.85rem;
        }

.summary-row:not(:last-child) {
            border-bottom: 1px solid var(--border);
        }

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

.summary-value {
            font-weight: 500;
            font-family: 'JetBrains Mono', monospace;
        }

.summary-value.highlight { color: var(--usdt-light); }

/* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10;
            padding: 16px;
        }

.modal-overlay.active { display: flex; }

.modal {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 20px;
            width: 100%;
            max-width: 420px;
            max-height: 90vh;
            overflow: hidden;
            animation: modalIn 0.2s ease;
        }

@keyframes modalIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }

.modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid var(--border);
        }

.modal-title {
            font-size: 1.1rem;
            font-weight: 600;
        }

.modal-close {
            width: 36px;
            height: 36px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }

.modal-close:hover {
            background: var(--bg-elevated);
            color: var(--text);
        }

.modal-body {
            padding: 20px;
            max-height: 70vh;
            overflow-y: auto;
        }

@keyframes paymentSlideIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

.empty-state {
            text-align: center;
            padding: 48px 20px;
            color: var(--text-muted);
        }

/* Bottom Nav */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(10, 14, 19, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid var(--border);
            padding: 10px 0;
            padding-bottom: max(10px, env(safe-area-inset-bottom));
            z-index: 100;
        }

@media (min-width: 768px) {

 .bottom-nav { display: none; }
}

.nav-items {
            display: flex;
            justify-content: center;
            gap: 8px;
            max-width: 280px;
            margin: 0 auto;
        }

.nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 8px;
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-family: inherit;
            transition: color 0.2s;
        }

.nav-item svg { width: 22px; height: 22px; }

.nav-item span { font-size: 0.65rem; font-weight: 500; }

.nav-item.active { color: var(--usdt); }

/* Panels */
        .panel { display: none; }

.panel.active { display: block; }

@media (max-width: 480px) {

            .payment-send-crypto {
                font-size: 1.3rem;
            }
}

.payment-address-box {
            background: linear-gradient(135deg, var(--bg) 0%, var(--bg-secondary) 100%);
            border: 1px solid var(--usdt);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 16px;
            text-align: center;
        }

.payment-send-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            margin-bottom: 16px;
        }

.payment-send-label {
            font-size: 0.8rem;
            color: var(--text-muted);
        }

.payment-send-crypto {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--usdt-light);
            display: flex;
            align-items: center;
            gap: 8px;
        }

.payment-send-crypto img {
            width: 28px;
            height: 28px;
        }

.payment-note {
            font-size: 0.75rem;
            color: var(--text-muted);
            text-align: center;
            padding: 12px;
            background: rgba(239, 68, 68, 0.1);
            border-radius: 8px;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

/* Tariff Cards */
        .tariff-section {
            margin-bottom: 20px;
        }

.tariff-section-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

.tariff-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

.tariff-card {
            position: relative;
            background: var(--bg);
            border: 2px solid var(--border);
            border-radius: 14px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s;
            overflow: hidden;
        }

.tariff-card:hover {
            border-color: var(--border-active);
            transform: translateY(-2px);
        }

.tariff-card.active {
            border-color: var(--usdt);
            background: var(--usdt-dim);
        }

.tariff-amount {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            font-family: 'JetBrains Mono', monospace;
        }

.tariff-amount span {
            font-size: 0.75rem;
            color: var(--usdt-light);
            font-weight: 500;
        }

.tariff-price {
            margin-top: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--usdt-light);
        }

.tariff-price-usd {
            font-size: 0.7rem;
            color: var(--text-muted);
            font-weight: 400;
        }

.tariff-price em.tariff-inr {
            font-style: normal;
            font-size: 0.72rem;
            font-weight: 500;
            color: var(--text-muted);
            margin-left: 4px;
        }

.tariff-features {
            margin-top: 10px;
            font-size: 0.7rem;
            color: var(--text-muted);
        }

.tariff-check {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 20px;
            height: 20px;
            background: var(--usdt);
            border-radius: 50%;
            display: none;
            align-items: center;
            justify-content: center;
        }

.tariff-card.active .tariff-check {
            display: flex;
        }

.tariff-check svg {
            width: 12px;
            height: 12px;
            stroke: #fff;
        }

/* Input validation */
        .form-input.error {
            border-color: var(--danger);
        }

/* Footer */
        .footer {
            text-align: center;
            padding: 24px 0 16px;
            margin-top: 20px;
            border-top: 1px solid var(--border);
        }

.footer-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 0.7rem;
            color: var(--text-muted);
        }

.footer-brand {
            color: var(--text-secondary);
            font-weight: 500;
        }

.footer-sep {
            opacity: 0.4;
        }

.footer-sub {
            font-size: 0.65rem;
            color: var(--text-muted);
            opacity: 0.6;
            margin-top: 8px;
        }

.footer-copy {
            font-size: 0.65rem;
            color: var(--text-muted);
            opacity: 0.5;
            margin-top: 12px;
        }

@media (min-width: 768px) {

            .footer { padding: 32px 0 24px; }
}

/* =================================================================
           CoinVault additions on top of the reference theme
           ================================================================= */
        [hidden] { display: none !important; }

.header { box-sizing: border-box; }

.header-inner { max-width: 100%; }

.mono { font-family: 'JetBrains Mono', monospace; }

.hint { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.error { font-size: 0.8rem; color: #fca5a5; margin-top: 10px; min-height: 1em; }

/* amount warning: red field, red inline box, red popup */
        .form-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16); animation: amountShake 0.3s ease; }

.amount-error {
            display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; padding: 9px 12px;
            font-size: 0.8rem; font-weight: 600; line-height: 1.4; color: #fecaca;
            background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.5); border-radius: 10px;
        }

.amount-error::before { content: '!'; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--danger); color: #fff; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.limits.bad { color: #fca5a5; font-weight: 600; }

.toast.toast-error { border-color: var(--danger); background: #2a1414; color: #fecaca; font-weight: 600; }

@keyframes amountShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* asset pills */
        .asset-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pick {
            display: flex; align-items: center; gap: 10px; padding: 11px 12px; min-width: 0;
            background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
            color: var(--text); font-family: inherit; cursor: pointer; text-align: left; transition: all 0.2s;
        }

.pick:hover { border-color: var(--border-active); }

.pick.active { border-color: var(--usdt); background: var(--usdt-dim); }

.pick .pick-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; }

.pick .pick-ico img { border-radius: 50%; display: block; }

.pick-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }

.pick-text strong { font-size: 0.82rem; }

.pick-text small { font-size: 0.68rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* amount input */
        .amount-row { margin-top: 10px; }

.amount-unit { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--usdt-light); }

.limits { margin-top: 8px; font-size: 0.72rem; color: var(--text-muted); }

/* tariff cards rendered as buttons */
        #chips button.tariff-card { width: 100%; text-align: left; font-family: inherit; color: var(--text); }

#chips .tariff-check svg { fill: none; }

/* pay grid */
        .pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.pay-opt {
            display: flex; align-items: center; gap: 8px; padding: 11px 12px; min-width: 0;
            background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
            color: var(--text); font-family: inherit; font-size: 0.78rem; cursor: pointer; text-align: left; transition: all 0.2s;
        }

.pay-opt:hover { border-color: var(--border-active); }

.pay-opt.active { border-color: var(--usdt); background: var(--usdt-dim); }

.pay-opt .pay-ico { display: grid; place-items: center; flex: 0 0 22px; }

.pay-opt .pay-ico img { border-radius: 50%; display: block; }

.pay-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pay-opt .net { margin-left: auto; font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; }

.pay-badge { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--usdt); color: #fff; font-size: 0.78rem; font-weight: 700; }

#summaryNote { margin: 0 0 14px; }

.timer { font-family: 'JetBrains Mono', monospace; }

.pay-chain { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-secondary); }

.pay-chain img { border-radius: 50%; display: block; }

.qr-wrap { display: grid; place-items: center; margin: 18px auto 0; padding: 10px; background: #fff; border-radius: 12px; width: fit-content; }

.qr-wrap img { display: block; width: 168px; height: 168px; border-radius: 4px; }

.addr-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 8px 8px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }

.addr-row code { flex: 1; min-width: 0; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--usdt-light); word-break: break-all; text-align: left; }

.mini-btn { padding: 8px 14px; background: var(--usdt); border: none; border-radius: 8px; color: #fff; font-family: inherit; font-size: 0.75rem; font-weight: 600; cursor: pointer; white-space: nowrap; }

.gateway-box { display: grid; gap: 10px; margin: 16px 0 0; padding: 16px; border: 1px solid var(--border-active); border-radius: 14px; background: var(--usdt-dim); }

.gateway-box h3 { margin: 0; font-size: 0.9rem; }

.gateway-box .hint { margin: 0; }

.gateway-box .btn-primary { padding: 13px; font-size: 0.9rem; }

/* checkout + status rows */
        #checkoutSummary > div, #statusGrid > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.82rem; }

#checkoutSummary > div:not(:last-child), #statusGrid > div:not(:last-child) { border-bottom: 1px solid var(--border); }

#checkoutSummary dt, #statusGrid dt { color: var(--text-muted); }

#checkoutSummary dd, #statusGrid dd { margin: 0; font-family: 'JetBrains Mono', monospace; text-align: right; word-break: break-all; }

#checkoutSummary .total dd { color: var(--usdt-light); font-weight: 600; }

#statusGrid a { color: var(--usdt-light); }

/* status timeline */
        .timeline { list-style: none; display: grid; gap: 10px; margin: 0 0 18px; padding: 0; }

.timeline li { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--text-muted); }

.timeline li span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--border-active); flex: 0 0 12px; }

.timeline li.on { color: var(--text); }

.timeline li.on span { background: var(--usdt); border-color: var(--usdt); box-shadow: 0 0 0 4px var(--usdt-dim); }

.status-actions .btn-primary + .btn-primary { margin-top: 10px; background: var(--bg-elevated); box-shadow: none; color: var(--text-secondary); }

/* order history */
        .order-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; margin-bottom: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-family: inherit; cursor: pointer; text-align: left; }

.order-row:hover { border-color: var(--border-active); }

.order-ref { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--text-muted); }

.order-asset { font-size: 0.8rem; font-weight: 600; }

.order-total { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 0.76rem; color: var(--usdt-light); }

.badge { padding: 4px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border); white-space: nowrap; }

.badge.delivered { color: var(--usdt-light); border-color: var(--border-active); background: var(--usdt-dim); }

.badge.confirming { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); }

.badge.cancelled { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }

/* faq accordion */
        .faq-item { cursor: pointer; }

.faq-answer { display: none; }

.faq-item.open .faq-answer { display: block; }

/* toast */
        .toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--bg-elevated); border: 1px solid var(--border-active); color: var(--text); padding: 11px 18px; border-radius: 10px; font-size: 0.82rem; z-index: 60; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }

/* footer spacing above the fixed bottom nav */
        .footer { padding-bottom: 84px; }

@media (min-width: 768px) {

 .footer { padding-bottom: 24px; }
}

.btn-primary svg { flex: 0 0 auto; }

/* ---------------------------------------------------------- price menu */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.menu-btn:hover { border-color: var(--border-active); color: var(--usdt-light); }
.menu-btn svg { width: 16px; height: 16px; flex: 0 0 16px; }
.menu-btn span { display: none; }

@media (min-width: 520px) {
  .menu-btn span { display: inline; }
}

body.menu-open { overflow: hidden; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  background: rgba(4, 7, 10, 0.6);
  backdrop-filter: blur(4px);
}

.menu-panel {
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  animation: menuSlide 0.22s ease;
}

@keyframes menuSlide {
  from { transform: translateX(24px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}

.menu-title { font-size: 1.05rem; font-weight: 700; }
.menu-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; line-height: 1.45; }

.menu-close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.menu-close:hover { color: var(--text); border-color: var(--border-active); }

.menu-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 8px 18px 18px;
}

/* simple menu (Track order / Activity / Contact / Benefit / How to use) */
.menu-nav { display: grid; gap: 8px; padding: 14px 0 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }

.menu-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.menu-nav-item:hover {
  border-color: var(--border-active);
  background: var(--usdt-dim);
  transform: translateY(-1px);
}

.menu-nav-item svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--text-muted); }

.menu-group { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); scroll-margin-top: 8px; }
.menu-group:last-child { border-bottom: none; }

.menu-group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.menu-group-ico { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; }
.menu-group-ico img { border-radius: 50%; display: block; }
.menu-group-title { font-size: 0.85rem; font-weight: 700; }
.menu-group-title em { font-style: normal; font-weight: 500; color: var(--text-muted); font-size: 0.74rem; margin-left: 2px; }
.menu-group-rate { margin-left: auto; font-size: 0.68rem; color: var(--text-muted); }

.menu-pkgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.menu-pkg {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.menu-pkg:hover {
  border-color: var(--border-active);
  background: var(--usdt-dim);
  transform: translateY(-1px);
}

.menu-pkg-amt { font-size: 0.86rem; font-weight: 700; }
.menu-pkg-amt span { font-weight: 500; color: var(--text-muted); font-size: 0.7rem; }
.menu-pkg-price { font-size: 0.74rem; font-weight: 600; color: var(--usdt-light); font-family: 'JetBrains Mono', monospace; }

.menu-foot {
  display: flex;
  gap: 8px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

.menu-link {
  flex: 1;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.menu-link:hover { color: var(--text); border-color: var(--border-active); }

/* Header fits on small phones */
.header-inner { gap: 8px; flex-wrap: nowrap; }
.logo { min-width: 0; }
.connect-btn { white-space: nowrap; }
.menu-btn { flex: 0 0 auto; }

@media (max-width: 519px) {
  .network-badge { display: none; }
  .logo-text { font-size: 1rem; }
  .connect-btn { padding: 9px 12px; font-size: 0.8rem; }
  .menu-btn { padding: 9px 10px; }
}


/* Custom logo image */
.logo-icon .logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* menu: section subtitle + package tags (admin controlled) */
.menu-group-sub { margin: 2px 0 8px; font-size: 0.7rem; color: var(--text-muted); line-height: 1.4; }
.menu-pkg { position: relative; }
.menu-tag { position: absolute; top: 6px; right: 8px; font-size: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: rgba(38,161,123,0.18); color: #7ff0c0; border: 1px solid rgba(38,161,123,0.35); }
.menu-tag-featured { background: rgba(255,193,7,0.14); color: #ffd666; border-color: rgba(255,193,7,0.35); }

/* admin-controlled banner, promo image, footer policy links */
.hero-banner { display: block; width: 100%; max-width: 560px; margin: 14px auto 0; border-radius: 16px; border: 1px solid var(--border); }
.promo-img { display: block; width: 100%; border-radius: 16px; margin: 14px 0 6px; border: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
.footer-link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.7rem; color: var(--usdt-light); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.policy-body { max-height: 60vh; overflow: auto; font-size: 0.82rem; line-height: 1.6; color: var(--text-muted); }
.policy-body p { margin: 0 0 10px; }

/* display-only catalogue packages (price cannot be purchased) */
.menu-pkg-display, .tariff-display { opacity: 0.62; cursor: not-allowed; }
.menu-tag-display { background: rgba(248,113,113,0.14); color: #fca5a5; border-color: rgba(248,113,113,0.35); }
.tariff-display .tariff-price { text-decoration: line-through; }

/* menu: benefits, how to use aur contact sections */
.menu-list, .menu-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.menu-list li { padding: 9px 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 10px; display: grid; gap: 2px; }
.menu-list li strong { font-size: 0.78rem; font-weight: 600; }
.menu-list li span { font-size: 0.72rem; color: var(--text-muted); line-height: 1.45; }
.menu-steps li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.76rem; color: var(--text-secondary); line-height: 1.45; }
.menu-step-no { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--usdt-dim); border: 1px solid rgba(38, 161, 123, 0.35); color: var(--usdt-light); font-size: 0.66rem; font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.menu-contact-link { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-elevated); color: var(--usdt-light); font-size: 0.72rem; font-weight: 600; text-decoration: none; }
.menu-contact-link:hover { border-color: var(--border-active); }

#qrHint { text-align: center; margin: 14px 0 -6px; }

/* ------------------------------------------------------- menu provenance note */
.menu-note {
  margin: 14px 0 4px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* split UPI payments (bade order chhote parts me) */
.gw-parts { display: grid; gap: 8px; margin: 4px 0 6px; }
.gw-parts .hint { margin: 0; }
.gw-part {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
}
.gw-part span { font-size: 0.78rem; color: var(--text-muted); }
.gw-part b { font-family: 'JetBrains Mono', monospace; font-size: 0.95rem; text-align: right; }
.gw-part em { grid-column: 1 / -1; font-style: normal; font-size: 0.76rem; color: var(--usdt-light); }
.gw-part.paid { border-color: rgba(34, 197, 94, 0.45); opacity: 0.75; }
.gw-part.paid em { color: var(--text-muted); }
