/* Global Styles */
:root {
    --primary-red: #ff1f36;
    --primary-red-strong: #d80818;
    --dark-bg: #070809;
    --dark-surface: #111317;
    --dark-surface-soft: #171b21;
    --text-white: #f6f8fb;
    --text-muted: #b3bac5;
    --text-dim: #9099a6;
    --border-soft: #242a32;
    --success: #29cc7a;
    --warning: #ffd45d;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.45);
    --font-main: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% -10%, rgba(255, 31, 54, 0.28), transparent 38%),
        radial-gradient(circle at 90% 0%, rgba(70, 83, 105, 0.2), transparent 34%),
        linear-gradient(180deg, #060607 0%, #0a0c0f 45%, #060607 100%);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.25;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
}

body.embed-register-mode {
    min-height: auto;
    background:
        radial-gradient(circle at 12% -10%, rgba(255, 31, 54, 0.22), transparent 34%),
        linear-gradient(180deg, #07090d 0%, #090c12 100%);
}

body.embed-register-mode::before {
    opacity: 0.18;
}

body.embed-register-mode .site-header,
body.embed-register-mode .hero,
body.embed-register-mode .features,
body.embed-register-mode footer {
    display: none !important;
}

body.embed-register-mode section {
    scroll-margin-top: 0;
}

body.embed-register-mode .services-section {
    padding: 16px 0 14px;
}

body.embed-register-mode .container {
    width: min(980px, calc(100% - 16px));
}

body.embed-register-mode .section-title {
    margin-bottom: 22px;
}

body.embed-register-mode .service-box {
    border-radius: 20px;
    padding: clamp(18px, 3vw, 28px);
}

section {
    scroll-margin-top: 110px;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-red);
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

/* Header / Navigation */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 8, 10, 0.72);
    backdrop-filter: blur(12px);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.logo {
    white-space: nowrap;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 900;
    font-size: clamp(1.22rem, 2.5vw, 2.02rem);
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(255, 31, 54, 0.36);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: rgba(15, 17, 21, 0.9);
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav ul li a {
    display: block;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #eef1f6;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-nav ul li a:hover {
    color: #fff;
    border-color: rgba(255, 31, 54, 0.58);
    background: rgba(255, 31, 54, 0.16);
}

/* Hero Section */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 132px 20px 76px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 31, 54, 0.22), transparent 42%),
        radial-gradient(circle at 85% 12%, rgba(44, 56, 74, 0.3), transparent 35%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: min(920px, 100%);
    padding: clamp(30px, 4vw, 48px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(20, 24, 30, 0.82), rgba(10, 11, 14, 0.92));
    box-shadow: var(--shadow-lg);
}

.hero-content h1 {
    margin: 0 0 16px;
    color: var(--text-white);
    font-size: clamp(2rem, 6vw, 3.9rem);
    line-height: 1.08;
    letter-spacing: 0.02em;
}

.hero-content h1 span {
    color: var(--primary-red);
}

.hero-content p {
    margin: 0 auto 32px;
    width: min(760px, 100%);
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.26rem);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-strong) 100%);
    box-shadow: 0 10px 22px rgba(216, 8, 24, 0.34);
}

.btn-primary:hover {
    box-shadow: 0 14px 28px rgba(216, 8, 24, 0.46);
}

.btn-secondary {
    color: #fff;
    background: rgba(19, 23, 28, 0.8);
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.38);
}

/* Features Section */
.features {
    padding: 96px 0;
}

.section-title {
    margin: 0 0 50px;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-white);
}

.features-grid {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(20, 24, 30, 0.88), rgba(11, 13, 16, 0.9));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 31, 54, 0.45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--primary-red);
    font-size: 1.45rem;
    background: rgba(255, 31, 54, 0.14);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
}

/* Services Section */
.services-section {
    padding: 96px 0 106px;
}

.service-box {
    width: min(860px, 100%);
    margin: 0 auto;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 22px;
    border: 1px solid var(--border-soft);
    background: linear-gradient(180deg, rgba(17, 19, 23, 0.94), rgba(9, 11, 14, 0.96));
    box-shadow: var(--shadow-lg);
}

#instruction-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.message-area {
    margin-top: 16px;
    min-height: 24px;
    font-weight: 700;
}

.service-input-list {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-input-group {
    padding: 13px;
    border-radius: var(--radius-md);
    border: 1px solid #2a313b;
    background: rgba(15, 18, 22, 0.9);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.service-input-group:hover {
    border-color: #3a4552;
    background: rgba(17, 21, 26, 0.92);
}

.service-input-label {
    margin: 0;
    color: #d8dde6;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.input-group {
    margin-top: 11px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.service-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-action-buttons .btn {
    min-height: 42px;
    padding: 8px 14px;
}

.service-action-buttons .service-lookup-btn {
    min-width: 118px;
}

.service-lookup-row {
    margin-top: 10px;
    display: none;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.service-lookup-row.is-visible {
    display: grid;
}

.service-lookup-note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ff8692;
}

.service-lookup-row .btn {
    min-height: 42px;
    padding: 8px 14px;
    min-width: 126px;
}

.input-field {
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #333b46;
    background: #07090c;
    color: #f7faff;
    font-size: 0.98rem;
}

.input-field::placeholder {
    color: #7e8898;
}

.input-field:focus {
    outline: none;
    border-color: rgba(255, 31, 54, 0.65);
    box-shadow: 0 0 0 3px rgba(255, 31, 54, 0.2);
}

.service-process-btn {
    min-width: 122px;
}

/* Payment Panel */
.payment-panel {
    margin-top: 22px;
    padding: clamp(16px, 2.6vw, 24px);
    border-radius: var(--radius-md);
    border: 1px solid #2a313c;
    background: linear-gradient(180deg, rgba(12, 15, 19, 0.95), rgba(7, 9, 12, 0.96));
    text-align: left;
}

.payment-title {
    margin: 0;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.selected-service-name {
    margin: 6px 0 16px;
    color: var(--text-dim);
    font-size: 0.92rem;
}

.payment-network-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.payment-network-btn {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #374151;
    background: rgba(20, 24, 29, 0.92);
    color: #d8deea;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.payment-network-btn:hover {
    border-color: #586476;
    color: #f5f8ff;
}

.payment-network-btn.active {
    border-color: rgba(255, 31, 54, 0.82);
    background: rgba(255, 31, 54, 0.14);
    color: #fff;
}

.price-highlight {
    margin: 12px 0 14px;
    padding: 14px 12px;
    border-radius: var(--radius-md);
    border: 1px solid #2f3948;
    background: linear-gradient(180deg, rgba(20, 25, 32, 0.95), rgba(11, 15, 20, 0.95));
    text-align: center;
}

.price-highlight-label {
    margin: 0;
    color: #aeb8c8;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-highlight-value {
    margin-top: 2px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-weight: 900;
}

.payment-instruction {
    margin: 0 0 10px;
}

.payment-amount {
    color: #fff;
    font-size: clamp(2.05rem, 6vw, 2.8rem);
    line-height: 1;
}

#payment-symbol {
    font-size: clamp(1.05rem, 2.7vw, 1.3rem);
    color: #f2f5fb;
    letter-spacing: 0.02em;
}

.price-highlight-network {
    margin: 2px 0 0;
    color: #9ba5b6;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.wallet-address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px dashed #4b5668;
    background: rgba(27, 32, 38, 0.82);
    margin-bottom: 16px;
}

.wallet-display {
    color: #4dd08f;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.wallet-copy-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid #353f4c;
    background: rgba(20, 24, 29, 0.9);
    color: #f3f6fb;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wallet-copy-icon:hover {
    border-color: var(--primary-red);
    color: #fff;
}

.token-uri-note {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.token-uri-code {
    margin-top: 2px;
    display: inline-block;
    max-width: 100%;
    color: #4dd08f;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.tip-note {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Wallet QR Switching */
.wallet-qr-grid {
    margin-bottom: 14px;
}

.qr-method-buttons {
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.qr-method-btn {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 11px;
    border: 1px solid #2c343f;
    background: linear-gradient(180deg, #161b22 0%, #0f1318 100%);
    color: #f6f8fb;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-method-btn:hover {
    transform: translateY(-1px);
    border-color: #445060;
}

.qr-method-btn.active {
    border-color: rgba(255, 31, 54, 0.8);
    box-shadow: 0 0 0 1px rgba(255, 31, 54, 0.25);
}

.wallet-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 0.95rem;
    flex: 0 0 32px;
}

.wallet-brand-text {
    line-height: 1.2;
}

.wallet-brand-icon-address {
    color: #f3f7ff;
    border-color: #5c6777;
    background: linear-gradient(135deg, #424b57 0%, #2a313d 100%);
}

.wallet-brand-icon-token {
    color: #e2fff3;
    border-color: #37d2a6;
    background: linear-gradient(135deg, #0f766e 0%, #065f46 100%);
}

.wallet-brand-icon-metamask {
    color: #fff8ef;
    border-color: #fb923c;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
}

.wallet-brand-icon-trust {
    color: #eff6ff;
    border-color: #60a5fa;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.wallet-brand-icon-binance {
    color: #121821;
    border-color: #f9d34f;
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
}

.qr-card {
    display: none;
    padding: 14px;
    border-radius: var(--radius-md);
    border: 1px solid #2c3440;
    background: linear-gradient(180deg, rgba(13, 16, 21, 0.95), rgba(9, 12, 16, 0.96));
    text-align: center;
}

.qr-card.is-visible {
    display: block;
}

.qr-card-title {
    margin: 0 0 10px;
    color: #aeb6c4;
    font-size: 0.9rem;
}

.qr-canvas-wrap {
    width: 220px;
    height: 220px;
    margin: 0 auto 10px;
    padding: 7px;
    border-radius: var(--radius-sm);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.wallet-copy-btn {
    width: 100%;
    margin-top: 8px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-strong) 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.wallet-copy-btn:hover {
    filter: brightness(1.06);
}

.wallet-app-link {
    display: inline-block;
    margin-top: 6px;
    color: #ff5a6c;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
}

.hidden-code {
    display: none;
}

/* Manual TX Verify */
.txid-verify-box {
    margin-top: 14px;
    padding: 13px;
    border-radius: var(--radius-md);
    border: 1px solid #2d3642;
    background: linear-gradient(180deg, rgba(14, 17, 21, 0.96), rgba(9, 12, 15, 0.96));
}

.txid-verify-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
}

.txid-verify-note {
    margin: 4px 0 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.txid-verify-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.txid-input-field {
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #344050;
    background: #06080b;
    color: #fff;
    font-size: 0.92rem;
}

.txid-input-field:focus {
    outline: none;
    border-color: rgba(255, 31, 54, 0.65);
    box-shadow: 0 0 0 2px rgba(255, 31, 54, 0.2);
}

.txid-verify-btn {
    padding: 0 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #c11222;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-strong) 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.txid-verify-btn:hover {
    filter: brightness(1.06);
}

.txid-verify-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.txid-verify-status {
    min-height: 20px;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

/* Waiting / Completed */
.waiting-panel {
    margin-top: 20px;
    padding: 20px 14px 14px;
    border-radius: var(--radius-md);
    border: 1px solid #262e39;
    background: rgba(9, 12, 16, 0.86);
    text-align: center;
}

.waiting-title {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
}

.waiting-timer {
    margin-top: 4px;
    font-size: clamp(1.85rem, 5vw, 2.25rem);
    font-family: "Consolas", "Courier New", monospace;
    color: var(--warning);
    font-weight: 700;
}

.waiting-note {
    margin: 8px 0 0;
    color: #a8b0bc;
    font-size: 0.9rem;
}

.waiting-loader {
    margin: 12px auto 0;
}

.payment-success-card {
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid #2c3541;
    background: linear-gradient(180deg, rgba(11, 16, 20, 0.96), rgba(8, 10, 14, 0.96));
}

.success-title {
    margin: 0;
    color: var(--success);
    font-size: 1.3rem;
}

.success-message {
    margin: 8px 0 0;
}

.order-ref-row {
    margin: 8px 0 0;
    color: #d8deea;
}

.order-details-box {
    margin-top: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #2f3a48;
    background: rgba(8, 11, 14, 0.85);
}

.order-details-title {
    margin: 0 0 8px;
    color: #b8c0cd;
    font-size: 0.92rem;
}

.order-field {
    margin: 0 0 6px;
    overflow-wrap: anywhere;
}

.order-field-last {
    margin: 0;
}

.process-another-btn {
    margin-top: 14px;
}

/* Payments Summary */
.accepted-title {
    margin: 28px 0 10px;
    color: #fff;
}

.payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 31, 54, 0.55);
    color: #ff5365;
    background: rgba(255, 31, 54, 0.08);
    font-weight: 800;
    font-size: 0.92rem;
}

.payment-badge-icon {
    font-size: 0.9rem;
}

/* Requests Section */
.requests-section {
    padding: 0 0 88px;
}

.requests-box {
    padding: clamp(16px, 3vw, 24px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: linear-gradient(165deg, rgba(14, 17, 22, 0.9) 0%, rgba(9, 11, 14, 0.94) 100%);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.requests-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 10px;
}

.requests-title {
    margin: 0;
    font-size: clamp(1.18rem, 2vw, 1.5rem);
    color: #fff;
}

.requests-auth-box {
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 13, 18, 0.84);
}

.requests-auth-title {
    margin: 0 0 4px;
    color: #fff;
    font-weight: 800;
}

.requests-auth-note {
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.requests-auth-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto;
    gap: 10px;
}

.requests-auth-input,
.requests-filter-input,
.requests-filter-select {
    height: 40px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(13, 16, 21, 0.9);
    color: #eef3f9;
    font-size: 0.9rem;
    padding: 0 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.requests-auth-input:focus,
.requests-filter-input:focus,
.requests-filter-select:focus {
    border-color: rgba(255, 31, 54, 0.68);
    box-shadow: 0 0 0 3px rgba(255, 31, 54, 0.16);
}

.requests-auth-btn,
.requests-filter-btn,
.requests-refresh-btn,
.requests-page-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 31, 54, 0.55);
    background: rgba(255, 31, 54, 0.12);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.requests-auth-btn:hover:not(:disabled),
.requests-filter-btn:hover:not(:disabled),
.requests-refresh-btn:hover:not(:disabled),
.requests-page-btn:hover:not(:disabled) {
    background: rgba(255, 31, 54, 0.24);
    border-color: rgba(255, 31, 54, 0.8);
}

.requests-auth-btn:disabled,
.requests-filter-btn:disabled,
.requests-refresh-btn:disabled,
.requests-page-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.requests-filter-btn-secondary {
    border-color: rgba(170, 178, 196, 0.42);
    background: rgba(136, 146, 168, 0.12);
}

.requests-filter-btn-secondary:hover:not(:disabled) {
    border-color: rgba(188, 196, 214, 0.72);
    background: rgba(154, 165, 187, 0.2);
}

.requests-auth-status {
    margin: 8px 0 0;
    min-height: 19px;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.requests-auth-status.is-ok {
    color: #73efaf;
}

.requests-auth-status.is-error {
    color: #ff8f9b;
}

.requests-controls {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(120px, 1fr)) auto auto auto;
    gap: 10px;
    margin-bottom: 12px;
}

.requests-refresh-btn {
    white-space: nowrap;
}

.requests-meta {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.requests-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.requests-table th,
.requests-table td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.requests-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #111821;
    color: #d6dde7;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.requests-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.requests-table td {
    color: #eef2f7;
    font-size: 0.87rem;
}

.requests-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 24px 12px;
}

.request-status-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.status-pill-ok {
    color: #87f7b7;
    background: rgba(28, 143, 82, 0.18);
    border-color: rgba(75, 197, 133, 0.4);
}

.status-pill-warn {
    color: #ffe280;
    background: rgba(176, 125, 23, 0.2);
    border-color: rgba(255, 201, 87, 0.45);
}

.status-pill-error {
    color: #ff9a9a;
    background: rgba(171, 38, 47, 0.2);
    border-color: rgba(255, 98, 112, 0.5);
}

.status-pill-neutral {
    color: #d1d8e3;
    background: rgba(123, 139, 164, 0.18);
    border-color: rgba(156, 172, 196, 0.38);
}

.request-order-ref {
    margin-bottom: 4px;
    color: #dbe3ee;
    font-weight: 700;
    font-size: 0.82rem;
}

.request-txid {
    display: inline-block;
    max-width: 220px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #8ce6a9;
    background: rgba(17, 20, 24, 0.8);
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.requests-pagination {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.requests-page-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-width: 92px;
    text-align: center;
}

/* Footer */
footer {
    padding: 54px 0 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 12, 0.82);
    text-align: center;
}

.social-links {
    margin-bottom: 14px;
}

.social-links a {
    margin: 0 8px;
    color: #aeb6c2;
    font-size: 1.28rem;
}

.social-links a:hover {
    color: var(--primary-red);
}

footer p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Loader */
.loader {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 4px solid #e8edf7;
    border-top-color: var(--primary-red);
    border-right-color: #111317;
    animation: spin 1.1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-content p {
        margin-bottom: 26px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        border-radius: 14px;
        border: 1px solid #2a323f;
        background: linear-gradient(180deg, rgba(20, 24, 30, 0.98), rgba(9, 12, 16, 0.98));
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        padding: 8px;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .site-nav ul li a {
        border-radius: 10px;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(1140px, calc(100% - 22px));
    }

    .hero-content {
        padding: 24px 16px;
    }

    .btn-secondary {
        margin-top: 10px;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    .service-action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .service-lookup-row {
        grid-template-columns: 1fr;
    }

    .service-process-btn,
    .service-lookup-row .btn,
    .service-lookup-btn,
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .qr-method-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-network-buttons {
        flex-direction: column;
    }

    .payment-network-btn {
        width: 100%;
    }

    .qr-canvas-wrap {
        width: 196px;
        height: 196px;
    }

    .wallet-address-box {
        align-items: stretch;
        flex-direction: column;
    }

    .wallet-copy-icon {
        width: 100%;
    }

    .txid-verify-row {
        grid-template-columns: 1fr;
    }

    .txid-verify-btn {
        height: 42px;
    }

    .waiting-panel {
        padding-top: 18px;
    }

    .requests-head {
        margin-bottom: 12px;
    }

    .requests-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .requests-auth-row {
        grid-template-columns: 1fr;
    }

    .requests-auth-btn,
    .requests-filter-btn,
    .requests-refresh-btn {
        width: 100%;
    }

    .requests-pagination {
        justify-content: center;
    }

    .requests-page-btn {
        min-width: 96px;
    }

    body.embed-register-mode .services-section {
        padding-top: 10px;
    }
}

@media (max-width: 520px) {
    .logo {
        letter-spacing: 0.12em;
        font-size: 1.26rem;
    }

    .site-header {
        padding: 10px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .service-box {
        border-radius: 16px;
    }

    .qr-method-buttons {
        grid-template-columns: 1fr;
    }

    .payment-panel {
        padding: 14px;
    }

    .waiting-timer {
        font-size: 1.95rem;
    }

    .requests-controls {
        grid-template-columns: 1fr;
    }
}
