:root {
    --bg: #1a1d24;
    --bg-alt: #232630;
    --bg-card: #2a2e3a;
    --border: #363b47;
    --border-glow: #3b5bfd;
    --text: #e8eaed;
    --text-muted: #9aa0ac;
    --accent-teal: #2dd4bf;
    --accent-blue: #3b82f6;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --accent-green: #22c55e;
    --radius: 10px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

a { color: var(--accent-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; margin: 0 0 12px; }

/* Navbar */
.navbar {
    background: #1e2129;
    border-bottom: 1px solid var(--border);
}

.navbar__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar__logo-image {
    display: block;
    width: 172px;
    height: auto;
}

.navbar__logo-image--sidebar {
    width: 190px;
}

.navbar__lang { position: relative; }

.lang-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 14px;
}

.lang-dropdown__menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px;
    min-width: 140px;
    z-index: 20;
}

.lang-dropdown__menu.is-open { display: block; }

.lang-dropdown__item {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.lang-dropdown__item--active { color: var(--accent-blue); }
.lang-dropdown__item:hover { background: var(--bg-alt); }

.navbar__links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 15px;
}

.navbar-menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--accent-blue);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
}

.navbar-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
}

.navbar-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.navbar-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(86vw, 330px);
    padding: 60px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: #1e2129;
    border-left: 1px solid var(--border);
    transform: translateX(105%);
    transition: transform 0.2s ease;
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.35);
}

.navbar-drawer__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.navbar-drawer__logo {
    width: 178px;
    height: auto;
}

.navbar-drawer__links {
    display: grid;
    gap: 8px;
}

.navbar-drawer__links a,
.navbar-drawer__links .link-button {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 7px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.navbar-drawer__links a:hover,
.navbar-drawer__links .link-button:hover {
    background: var(--bg-alt);
    text-decoration: none;
}

.navbar-drawer__links .link-button--danger {
    justify-content: center;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.42);
    color: #fca5a5;
}

body.is-public-menu-open {
    overflow: hidden;
}

body.is-public-menu-open .navbar-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.is-public-menu-open .navbar-drawer {
    transform: translateX(0);
}

.navbar__logout-form { display: inline; }

.link-button {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.link-button:hover { text-decoration: underline; }
.link-button--danger { color: #ef4444; }

/* Hero */
.hero {
    background: #1e2129;
    padding: 64px 0 0;
    position: relative;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 64px;
}

.hero__text h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero__text p { color: var(--text-muted); font-size: 16px; }

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 24px rgba(59, 91, 253, 0.25);
    border-radius: var(--radius);
    padding: 32px;
}

.login-card--standalone { max-width: 420px; margin: 0 auto; }

.login-card__title { text-align: center; margin-bottom: 20px; }

.login-card label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.login-card input,
.simple-form input,
.simple-form select,
.simple-form textarea,
.inline-form input,
.inline-form select {
    width: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 16px;
}

.simple-form input[readonly],
.simple-form textarea[readonly] {
    color: var(--text-muted);
    cursor: default;
}

.login-card__password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-card__forgot { font-size: 13px; }

.btn {
    display: inline-block;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn--primary { background: var(--accent-blue); color: #fff; }
.btn--primary:hover { background: #2f6fe0; text-decoration: none; }
.btn--outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--block { width: 100%; }
.btn--small { padding: 8px 14px; font-size: 13px; }

.login-card__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.login-card__divider::before,
.login-card__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #3c4043;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.google-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.login-card__signup {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.wave-divider {
    line-height: 0;
    margin-top: -16px;
}

.wave-divider svg {
    width: 100%;
    height: 180px;
    display: block;
}

/* Sections */
.section { padding: 48px 0; }
.section--muted { background: var(--bg-alt); padding: 40px 0; }
.section--center { text-align: center; }

.benefits-section {
    background: #232630;
    padding: 28px 0 36px;
}

.benefits-card {
    max-width: 920px;
    margin: 0 auto;
    background: #2b2c31;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 7px;
    padding: 24px 44px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.benefits-list {
    margin: 0;
    padding-left: 20px;
    color: #f4f7fb;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.benefits-list li::marker {
    color: #f8fafc;
    font-size: 0.72em;
}

.callout-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--text-muted);
}

.plain-paragraph { color: var(--text-muted); font-size: 15px; max-width: 900px; }

/* How it works */
.how-it-works {
    background: var(--bg);
    padding: 14px 0 34px;
}

.how-it-works .container {
    max-width: 684px;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 64px 1fr;
    align-items: center;
    gap: 28px;
    min-height: 120px;
    background: #2b2c31;
    border-radius: 7px;
    padding: 26px 32px;
    margin-bottom: 14px;
}

.step-row__text--left {
    text-align: center;
}

.step-row__icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.step-row__icon--teal { color: var(--accent-teal); }
.step-row__icon--blue { color: var(--accent-blue); }
.step-row__icon--orange { color: #f8bf55; }
.step-row__icon--pink { color: var(--accent-pink); }

.step-row__number {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: #f8fafc;
    justify-self: center;
}

.step-row__text {
    color: #f8fafc;
    font-weight: 700;
    text-align: center;
}

.step-row__text h3 {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.step-row__text p {
    color: #f8fafc;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

/* Info section */
.info-section {
    background: var(--bg);
    padding: 44px 0 68px;
}

.info-section__inner {
    max-width: 760px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.info-grid--plain {
    margin-top: 58px;
    gap: 54px;
}

.info-card {
    background: #2b2c31;
    border-radius: 6px;
    padding: 24px 26px;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.info-card p,
.info-copy p,
.search-copy p {
    margin: 0 0 18px;
}

.info-card p:last-child,
.info-copy p:last-child,
.search-copy p:last-child {
    margin-bottom: 0;
}

.info-copy {
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.58;
}

.info-copy h3 {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 22px;
}

.search-copy {
    margin-top: 94px;
    color: #f8fafc;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.65;
}

.search-copy h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 18px;
}

/* Footer */
.site-footer {
    background: #16181e;
    border-top: 1px solid var(--border);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Floating buttons */
.floating-buttons {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.floating-buttons__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.floating-buttons__btn--blue { background: var(--accent-blue); }
.floating-buttons__btn--green { background: var(--accent-green); }

/* Auth pages */
.auth-page { padding: 80px 0; }
.auth-page__inner { display: flex; justify-content: center; }

.form-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.form-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #86efac;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.form-hint { color: var(--text-muted); font-size: 13px; }

/* Error page */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text);
}

.error-page__debug {
    max-width: 700px;
    white-space: pre-wrap;
    background: var(--bg-card);
    padding: 16px;
    border-radius: 8px;
    color: #fca5a5;
    font-size: 13px;
}

/* Dashboard */
.dashboard-body { background: var(--bg); }

.dashboard-menu-toggle,
.dashboard-menu-close,
.dashboard-menu-backdrop,
.dashboard-mobile-header,
.sidebar__mobile-actions {
    display: none;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: #1e2129;
    border-right: 1px solid var(--border);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}

.sidebar__brand { margin-bottom: 32px; }

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar__nav a {
    color: var(--text-muted);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.sidebar__nav a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }

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

.sidebar__icon { flex-shrink: 0; }

.sidebar__link.is-active {
    background: var(--accent-blue);
    color: #fff;
}

.sidebar__link.is-active:hover { background: var(--accent-blue); color: #fff; }

.dashboard-topbar {
    padding: 16px 32px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.dashboard-topbar__spacer { flex: 1; }

.dashboard-topbar__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.dashboard-topbar__actions > a,
.dashboard-topbar__actions .link-button {
    color: #fff;
}

.topbar-balance {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent-blue);
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.topbar-balance:hover { text-decoration: none; opacity: 0.9; }

.dashboard-content { padding: 32px; }

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-card__label { color: var(--text-muted); font-size: 13px; }
.stat-card__value { font-size: 26px; font-weight: 700; }

.info-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.info-banner p { margin: 0 0 6px; color: var(--text); }
.info-banner p:last-child { margin-bottom: 0; }

.stat-card--blue {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
    align-items: flex-start;
}

.stat-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    margin-bottom: 4px;
}

.stat-card--blue .stat-card__label { color: rgba(255, 255, 255, 0.85); }
.stat-card__value--wrap { word-break: break-word; }

.order-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
}

.order-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.order-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.order-tabs__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
}

.order-tabs__btn.is-active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #fff;
}

.order-tabs__icon {
    display: flex;
    flex-shrink: 0;
    color: var(--text);
}

.order-tabs__icon--instagram { color: #e4405f; }
.order-tabs__icon--youtube { color: #ff0000; }
.order-tabs__icon--facebook { color: #1877f2; }
.order-tabs__icon--twitter { color: #ffffff; }
.order-tabs__icon--kwai { color: #ff7a00; }
.order-tabs__icon--google-maps { color: #ea4335; }
.order-tabs__icon--telegram { color: #29a9eb; }
.order-tabs__icon--outros { color: var(--accent-blue); }

.order-tabs__btn.is-active .order-tabs__icon { color: #fff; }

.order-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.order-search input {
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    flex: 1;
    outline: none;
}

.order-form textarea { resize: vertical; }

.order-form__hint {
    color: var(--text-muted);
    font-size: 13px;
    margin: -10px 0 16px;
}

.order-average-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-average-help {
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8fafc;
    border-radius: 50%;
    color: #1f2937;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    cursor: help;
}

.order-average-help::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    width: 260px;
    max-width: calc(100vw - 48px);
    padding: 9px 10px;
    transform: translateX(-50%);
    background: #111318;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 20;
}

.order-average-help:hover::after,
.order-average-help:focus::after {
    opacity: 1;
}

.input-with-action {
    position: relative;
    margin-bottom: 16px;
}

.input-with-action input {
    margin-bottom: 0;
    padding-right: 74px;
}

.input-with-action__btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.input-with-action__btn:hover { background: #2f6fe0; }

/* Select2 dark theme (scoped with .dashboard-body so it always outranks
   select2's own CSS regardless of which stylesheet loads last) */
.dashboard-body .select2-container { margin-bottom: 16px; display: block; }

.dashboard-body .select2-container--default .select2-selection--single {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.dashboard-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text);
    line-height: normal;
    padding: 0;
}

.dashboard-body .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-muted);
}

.dashboard-body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 8px;
}

.dashboard-body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-muted) transparent transparent transparent;
}

.dashboard-body .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--accent-blue);
}

.dashboard-body .select2-dropdown {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
}

.dashboard-body .select2-search--dropdown {
    background: var(--bg-alt);
    padding: 8px;
}

.dashboard-body .select2-search--dropdown .select2-search__field {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    padding: 8px 10px;
    outline: none;
}

.dashboard-body .select2-results__options {
    background: var(--bg-alt);
}

.dashboard-body .select2-results__option {
    color: var(--text);
    padding: 8px 12px;
}

.dashboard-body .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--accent-blue);
    color: #fff;
}

.dashboard-body .select2-container--default .select2-results__option[aria-selected="true"] {
    background: var(--bg-card);
}

.order-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.order-info p { color: var(--text); margin: 0 0 8px; }
.order-info ul { margin: 0 0 16px; padding-left: 18px; }
.order-info li { margin-bottom: 4px; }
.order-info__link { display: inline-block; margin-bottom: 16px; font-weight: 600; }

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.faq-card__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-card__icon {
    flex-shrink: 0;
    color: var(--text);
}

.faq-card__icon-v {
    transform-origin: center;
    transform: rotate(90deg) scale(0);
    transition: transform 0.15s ease;
}

.faq-card.is-collapsed .faq-card__icon-v { transform: rotate(0deg) scale(1); }

.faq-card__answer {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.faq-card.is-collapsed .faq-card__answer { display: none; }

.coming-soon {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 560px;
    text-align: center;
    margin: 0 auto;
}

.coming-soon p { color: var(--text-muted); }

.mass-order-page {
    max-width: 1110px;
    margin: 0 auto;
}

.mass-order-form {
    background: var(--bg-card);
    border-radius: 7px;
    padding: 28px 24px 24px;
}

.mass-order-form label {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.mass-order-form textarea {
    width: 100%;
    height: 160px;
    margin-bottom: 11px;
    resize: vertical;
    background: var(--bg-alt);
    border: 1px solid #202023;
    border-radius: 7px;
    color: var(--text);
    padding: 11px 12px;
    font-size: 12px;
    font-family: inherit;
    outline: none;
}

.mass-order-form textarea::placeholder {
    color: #808896;
}

.mass-order-form textarea:focus {
    border-color: var(--accent-blue);
}

.mass-order-form .btn {
    height: 45px;
    border-radius: 7px;
    font-size: 12px;
}

.affiliate-page {
    max-width: 1110px;
    margin: 0 auto;
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
}

.affiliate-hero {
    min-height: 211px;
    margin-bottom: 32px;
    padding: 21px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background: var(--accent-blue);
    border-radius: 0 0 7px 7px;
    color: #fff;
    line-height: 1.7;
}

.affiliate-hero p {
    margin: 0;
}

.affiliate-table {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 7px;
    background: #2d2d30;
}

.affiliate-table th,
.affiliate-table td {
    height: 40px;
    padding: 0 16px;
    border: 0;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
}

.affiliate-table th {
    background: #1f1f22;
    color: #fff;
}

.affiliate-table td {
    color: #f7f7f7;
}

.affiliate-table--summary {
    margin-bottom: 17px;
}

.affiliate-table--summary th:nth-child(1) { width: 47%; }
.affiliate-table--summary th:nth-child(2) { width: 24%; }
.affiliate-table--summary th:nth-child(3) { width: 29%; }

.affiliate-table--metrics {
    margin-bottom: 32px;
}

.affiliate-table--payments th:nth-child(1) { width: 32%; }
.affiliate-table--payments th:nth-child(2) { width: 31%; }
.affiliate-table--payments th:nth-child(3) { width: 37%; }

.affiliate-copy {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 8px;
}

.affiliate-copy span {
    max-width: min(390px, 48vw);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.affiliate-copy__btn {
    width: 18px;
    height: 18px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
}

.affiliate-copy__btn:hover {
    color: #78a2ff;
}

.affiliate-copy__btn.is-copied {
    color: var(--accent-green);
}

.affiliate-copy__status {
    color: #86efac;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.affiliate-copy__status.is-visible {
    opacity: 1;
}

.affiliate-copy__status.is-error {
    color: #fca5a5;
}

.affiliate-withdraw-form {
    margin: -16px 0 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.affiliate-withdraw-form--compact .btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.affiliate-withdraw-hint {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 24px;
    max-width: 560px;
}

.account-card__row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.account-card__row:last-child { border-bottom: none; }
.account-card__label { color: var(--text-muted); }

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.data-table th, .data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}

.data-table th { color: var(--text-muted); font-weight: 600; background: var(--bg-alt); }

.empty-state { color: var(--text-muted); }

.orders-page {
    color: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.orders-tabs {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.orders-tabs__btn {
    min-height: 36px;
    padding: 0 10px;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.orders-tabs__btn.is-active {
    padding: 0 15px;
    background: var(--accent-blue);
    color: #fff;
}

.orders-search {
    margin-bottom: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 46px;
    background: #2d2d30;
    border-radius: 7px;
}

.orders-search input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    background: #232326;
    border: 1px solid #1a1a1d;
    border-right: 0;
    border-radius: 7px 0 0 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    outline: none;
}

.orders-search input::placeholder {
    color: #808896;
}

.orders-search button {
    width: 46px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    border: 0;
    border-radius: 0 7px 7px 0;
    color: #fff;
    cursor: pointer;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 7px;
    background: #2d2d30;
}

.orders-table th,
.orders-table td {
    height: 40px;
    padding: 0 16px;
    border: 0;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
}

.orders-table th {
    background: #1f1f22;
    color: #fff;
}

.orders-table td {
    color: #f7f7f7;
}

.orders-table a {
    color: var(--accent-blue);
}

.orders-table th:nth-child(1) { width: 7%; }
.orders-table th:nth-child(2) { width: 14%; }
.orders-table th:nth-child(3) { width: 11%; }
.orders-table th:nth-child(4) { width: 9%; }
.orders-table th:nth-child(5) { width: 14%; }
.orders-table th:nth-child(6) { width: 12%; }
.orders-table th:nth-child(7) { width: auto; }
.orders-table th:nth-child(8) { width: 10%; }
.orders-table th:nth-child(9) { width: 9%; }

.orders-status {
    color: #fff;
}

.orders-status--pending { color: #facc15; }
.orders-status--processing,
.orders-status--in_progress { color: #60a5fa; }
.orders-status--completed { color: #86efac; }
.orders-status--partial { color: #fbbf24; }
.orders-status--cancelled,
.orders-status--failed { color: #fca5a5; }

.orders-empty-row td {
    color: var(--text-muted);
}

.api-doc { max-width: 900px; }

.api-doc__info {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.api-doc__info td {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.api-doc__info td:first-child {
    width: 220px;
    color: var(--text);
    font-weight: 600;
}

.api-doc__section { margin-top: 40px; }
.api-doc__section h2 { font-size: 20px; margin-bottom: 16px; }
.api-doc__section .data-table { margin-bottom: 16px; }
.api-doc__example-label { font-weight: 600; margin-bottom: 8px; }

.api-doc__code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    overflow-x: auto;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text);
    white-space: pre;
}

.price-list-page {
    width: 100%;
}

.price-list-toolbar {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 14px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 7px;
}

.price-list-filter {
    width: 68px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--accent-blue);
    border: none;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
}

.price-list-filter.is-active {
    background: #2f6fe0;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.28);
}

.price-list-search {
    display: grid;
    grid-template-columns: 1fr 46px;
    height: 48px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid #202023;
    border-radius: 7px;
}

.price-list-search input {
    width: 100%;
    min-width: 0;
    padding: 0 13px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    outline: none;
}

.price-list-search input::placeholder {
    color: #808896;
}

.price-list-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    border: none;
    color: #fff;
    cursor: pointer;
}

.price-list-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 7px;
    background: #2d2d30;
}

.price-list-table {
    width: 100%;
    min-width: 1120px;
    table-layout: fixed;
    border-collapse: collapse;
    color: #f7f7f7;
}

.price-list-table th,
.price-list-table td {
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #242426;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.price-list-table th {
    height: 40px;
    background: #1f1f22;
    color: #fff;
}

.price-list-table th:nth-child(1),
.price-list-table td:nth-child(1) {
    width: 38px;
    text-align: center;
}

.price-list-table th:nth-child(2),
.price-list-table td:nth-child(2) {
    width: 54px;
}

.price-list-table th:nth-child(3),
.price-list-table td:nth-child(3) {
    width: auto;
}

.price-list-table th:nth-child(4),
.price-list-table td:nth-child(4) {
    width: 150px;
}

.price-list-table th:nth-child(5),
.price-list-table td:nth-child(5),
.price-list-table th:nth-child(6),
.price-list-table td:nth-child(6) {
    width: 150px;
}

.price-list-table th:nth-child(7),
.price-list-table td:nth-child(7) {
    width: 150px;
}

.price-list-category td {
    height: 48px;
    background: #2d2d30;
    font-size: 15px;
    padding-left: 12px;
}

.price-list-category__inner {
    display: flex;
    align-items: center;
    min-width: 0;
}

.price-list-category__inner span {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.price-list-service.is-hidden,
.price-list-category.is-hidden {
    display: none;
}

.price-list-star {
    width: 24px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
}

.price-list-star.is-active svg {
    fill: currentColor;
}

.price-list-view {
    min-width: 84px;
    padding: 8px 13px;
    border-radius: 7px;
    font-size: 12px;
}

button.price-list-view {
    border: none;
    cursor: pointer;
}

.price-list-service-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.service-platform {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    vertical-align: -5px;
    flex-shrink: 0;
    overflow: hidden;
}

.service-platform svg {
    width: 18px;
    height: 18px;
    display: block;
}

.service-platform img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.service-platform--twitter {
    background: #0f1419;
}

.service-platform--kwai {
    background: #ff6b00;
}

.service-platform--maps {
    background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
}

.service-platform--telegram {
    background: #2aabee;
}

.service-platform--generic {
    background: var(--accent-blue);
}

.service-description-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.service-description-modal.is-open {
    display: flex;
}

.service-description-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.service-description-modal__dialog {
    position: relative;
    width: min(100%, 500px);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    background: #2d2d30;
    border-radius: 6px;
    color: #f7f7f7;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.service-description-modal__close {
    position: absolute;
    top: 15px;
    right: 14px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #a7a7ad;
    cursor: pointer;
    font-size: 26px;
    line-height: 20px;
    font-weight: 800;
}

.service-description-modal__close:hover {
    color: #fff;
}

.service-description-modal h2 {
    margin: 0;
    padding: 14px 48px 14px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.55;
}

.service-description-modal__body {
    padding: 16px 14px 18px;
    white-space: pre-line;
    color: #f3f4f6;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
}

.service-description-modal__order {
    width: calc(100% - 28px);
    margin: 0 14px 14px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    background: var(--bg-alt);
    color: var(--text-muted);
    text-transform: capitalize;
}

.badge--completed { background: rgba(34,197,94,0.15); color: #86efac; }
.badge--pending, .badge--processing, .badge--in_progress { background: rgba(245,158,11,0.15); color: #fcd34d; }
.badge--cancelled, .badge--failed { background: rgba(239,68,68,0.15); color: #fca5a5; }

.simple-form { max-width: 480px; }
.simple-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

.order-form { max-width: none; }

.add-funds-page {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.add-funds-return {
    text-align: center;
    margin-bottom: 32px;
}

.add-funds-return p {
    margin: 0 0 10px;
    font-size: 16px;
}

.add-funds-return__btn {
    min-width: 107px;
    padding: 13px 16px;
    border-radius: 7px;
    font-size: 12px;
}

.add-funds-alert {
    margin: 0 0 16px;
}

.add-funds-form {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 27px 24px 23px;
    margin-bottom: 32px;
}

.add-funds-form label {
    display: block;
    margin: 0 0 5px;
    color: #fff;
}

.add-funds-form input,
.add-funds-form select {
    width: 100%;
    height: 48px;
    margin: 0 0 12px;
    padding: 0 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    outline: none;
}

.add-funds-form select {
    appearance: auto;
}

.add-funds-form input:focus,
.add-funds-form select:focus {
    border-color: #4e7be7;
}

.add-funds-instructions {
    min-height: 147px;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    text-align: center;
    font-size: 12px;
    line-height: 1.72;
    font-weight: 700;
}

.add-funds-instructions p {
    margin: 0 0 19px;
}

.add-funds-instructions p:last-child {
    margin-bottom: 0;
}

.add-funds-form .btn {
    height: 46px;
    margin-top: -1px;
    border-radius: 7px;
    font-size: 12px;
}

.add-funds-form .btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.add-funds-form__error {
    margin: 14px 0 0;
}

.add-funds-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-card);
}

.add-funds-table th,
.add-funds-table td {
    height: 39px;
    padding: 0 16px;
    border: 0;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
}

.add-funds-table th {
    background: var(--bg-alt);
    color: var(--text);
}

.add-funds-table td {
    color: var(--text);
}

.add-funds-table th:nth-child(1) { width: 125px; }
.add-funds-table th:nth-child(2) { width: 158px; }
.add-funds-table th:nth-child(3) { width: auto; }
.add-funds-table th:nth-child(4) { width: 266px; }

.pix-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pix-modal.is-open {
    display: flex;
}

.pix-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.pix-modal__dialog {
    position: relative;
    width: min(100%, 430px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.pix-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.pix-modal h2 {
    margin: 0 40px 8px 0;
    font-size: 20px;
}

.pix-modal__amount {
    margin: 0 0 18px;
    color: var(--text-muted);
}

.pix-modal__qr {
    display: block;
    width: 230px;
    height: 230px;
    margin: 0 auto 18px;
    background: #fff;
    border-radius: 7px;
}

.pix-modal label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.pix-modal textarea {
    width: 100%;
    min-height: 118px;
    margin-bottom: 14px;
    resize: vertical;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.45;
}

.inline-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.inline-form input, .inline-form select { margin-bottom: 0; width: auto; }

.support-page,
.support-thread-page {
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
}

.support-form,
.support-search,
.support-table,
.support-thread-card {
    background: #2d2d30;
    border-radius: 7px;
}

.support-form {
    padding: 26px 24px 24px;
}

.support-form label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.support-form input,
.support-form textarea {
    width: 100%;
    margin-bottom: 16px;
    padding: 12px;
    background: #232326;
    border: 1px solid #1a1a1d;
    border-radius: 7px;
    color: var(--text);
    font: inherit;
    outline: none;
}

.support-form input {
    height: 48px;
}

.support-form textarea {
    min-height: 160px;
    resize: vertical;
}

.support-form .btn {
    height: 45px;
}

.support-search {
    margin: 32px 0 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr 46px;
}

.support-search input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 12px;
    background: #232326;
    border: 1px solid #1a1a1d;
    border-right: 0;
    border-radius: 7px 0 0 7px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    outline: none;
}

.support-search input::placeholder {
    color: #808896;
}

.support-search button {
    width: 46px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    border: 0;
    border-radius: 0 7px 7px 0;
    color: #fff;
    cursor: pointer;
}

.support-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.support-table th,
.support-table td {
    height: 40px;
    padding: 0 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
}

.support-table th {
    background: #1f1f22;
    color: #fff;
}

.support-table td {
    color: #f7f7f7;
}

.support-table a {
    color: var(--accent-blue);
}

.support-thread-page {
    max-width: 1110px;
    margin: 0 auto;
}

.support-thread-card {
    padding: 24px;
}

.support-thread-card h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
}

.support-thread-messages {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.support-message__bubble {
    min-height: 45px;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    background: #19191c;
    border-radius: 7px;
    color: #fff;
    line-height: 1.45;
}

.support-message__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 10px;
}

.support-message__meta strong {
    font-weight: 900;
}

.support-message__meta span {
    color: #d4d4d8;
    font-weight: 700;
}

.support-form--reply {
    padding: 0;
    background: transparent;
}

.support-form--reply textarea {
    min-height: 160px;
}

.deposit-ranking-page {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.deposit-ranking-hero {
    min-height: 210px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(72, 119, 224, 0.96), rgba(52, 91, 190, 0.96)),
        var(--accent-blue);
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.deposit-ranking-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
}

.deposit-ranking-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    line-height: 1.65;
}

.deposit-ranking-eyebrow {
    margin-bottom: 8px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px;
    text-transform: uppercase;
}

.deposit-ranking-hero .btn {
    min-width: 156px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: #fff;
    color: var(--accent-blue);
}

.deposit-ranking-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
    gap: 18px;
}

.deposit-ranking-grid--main {
    grid-template-columns: minmax(360px, 1.1fr) minmax(300px, 0.9fr);
}

.deposit-ranking-card {
    padding: 18px;
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.deposit-ranking-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.deposit-ranking-card h2 {
    margin: 0;
    font-size: 16px;
}

.deposit-ranking-card__header span,
.deposit-ranking-note,
.deposit-ranking-empty,
.deposit-ranking-history span,
.deposit-ranking-history small,
.deposit-ranking-row small {
    color: var(--text-muted);
}

.deposit-ranking-countdown {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.deposit-ranking-countdown span {
    color: var(--text-muted);
    font-weight: 800;
}

.deposit-ranking-countdown strong {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.deposit-ranking-countdown small {
    color: #8fa2c7;
    font-weight: 700;
}

.deposit-ranking-winner {
    padding: 18px;
    display: grid;
    gap: 7px;
    background: linear-gradient(180deg, rgba(72, 119, 224, 0.16), rgba(72, 119, 224, 0.04));
    border: 1px solid rgba(72, 119, 224, 0.28);
    border-radius: 8px;
}

.deposit-ranking-winner strong {
    font-size: 24px;
}

.deposit-ranking-winner p {
    margin: 0;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
}

.deposit-ranking-winner small {
    color: var(--text-muted);
    font-weight: 700;
}

.deposit-ranking-badge {
    width: max-content;
    padding: 5px 9px;
    background: var(--accent-blue);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.deposit-ranking-list {
    display: grid;
    gap: 10px;
}

.deposit-ranking-row {
    min-height: 72px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 14px;
    background: var(--bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 7px;
}

.deposit-ranking-row.is-leading {
    background: linear-gradient(90deg, rgba(72, 119, 224, 0.2), var(--bg-alt));
    border-color: rgba(72, 119, 224, 0.45);
}

.deposit-ranking-position {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1b1d23;
    border-radius: 7px;
    color: var(--accent-blue);
    font-size: 17px;
    font-weight: 900;
}

.deposit-ranking-row strong,
.deposit-ranking-row small,
.deposit-ranking-row em {
    display: block;
}

.deposit-ranking-row strong {
    margin-bottom: 4px;
}

.deposit-ranking-row em {
    margin-top: 8px;
    color: #79a4ff;
    font-style: normal;
    font-weight: 900;
}

.deposit-ranking-history {
    max-height: 720px;
    display: grid;
    gap: 8px;
    overflow-y: auto;
    padding-right: 4px;
}

.deposit-ranking-history > div {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    background: var(--bg-alt);
    border-radius: 7px;
}

.deposit-ranking-history strong,
.deposit-ranking-history small:first-of-type {
    color: var(--text);
}

.deposit-ranking-history small:last-child {
    grid-column: 1 / -1;
}

.deposit-ranking-rules {
    display: grid;
    gap: 10px;
}

.deposit-ranking-rules h2,
.deposit-ranking-rules p {
    margin: 0;
}

.deposit-ranking-rules p {
    color: var(--text-muted);
    line-height: 1.55;
}

.deposit-ranking-rules strong {
    color: var(--text);
}

@media (max-width: 900px) {
    .navbar__inner { gap: 14px; }
    .navbar__logo-image { width: 142px; }
    .hero__grid { grid-template-columns: 1fr; }
    .wave-divider svg { height: 132px; }
    .benefits-section { padding-top: 18px; }
    .benefits-card { padding: 20px 22px; }
    .benefits-list { font-size: 14px; line-height: 1.5; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-mobile-header {
        position: sticky;
        top: 0;
        z-index: 50;
        min-height: 62px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        background: #1e2129;
        border-bottom: 1px solid var(--border);
    }
    .dashboard-mobile-header__brand {
        min-width: 0;
    }
    .dashboard-mobile-header__logo {
        width: 142px;
    }
    .dashboard-menu-toggle {
        position: static;
        z-index: 1;
        width: 42px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        background: var(--accent-blue);
        border: none;
        border-radius: 8px;
        color: #fff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
        cursor: pointer;
        flex-shrink: 0;
    }
    .dashboard-menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 99px;
    }
    .dashboard-menu-close {
        position: absolute;
        top: 10px;
        right: 12px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-alt);
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--text);
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
    }
    .dashboard-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 55;
        background: rgba(0, 0, 0, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
    }
    .dashboard-body.is-menu-open .dashboard-menu-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
    .dashboard-body.is-menu-open {
        overflow: hidden;
    }
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 60;
        width: min(82vw, 290px);
        display: flex;
        flex-direction: column;
        gap: 18px;
        overflow-y: auto;
        padding: 58px 18px 22px;
        border-right: 1px solid var(--border);
        border-bottom: none;
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        box-shadow: 18px 0 48px rgba(0, 0, 0, 0.35);
    }
    .dashboard-body.is-menu-open .sidebar { transform: translateX(0); }
    .sidebar__brand { display: none; }
    .sidebar__nav {
        width: 100%;
        flex-direction: column;
        gap: 6px;
        overflow: visible;
        padding: 0;
    }
    .sidebar__nav a {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        white-space: normal;
    }
    .sidebar__link.is-active {
        border-color: var(--accent-blue);
    }
    .sidebar__mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }
    .sidebar__mobile-actions .topbar-balance {
        width: 100%;
        justify-content: space-between;
        border-radius: 7px;
    }
    .sidebar__mobile-actions--top {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 12px;
        border-top: none;
        border-bottom: 1px solid var(--border);
    }
    .sidebar__mobile-link,
    .sidebar__mobile-logout .link-button {
        width: 100%;
        min-height: 40px;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        border-radius: 6px;
        color: var(--text);
        font-size: 14px;
        font-weight: 600;
        text-align: left;
    }
    .sidebar__mobile-link:hover,
    .sidebar__mobile-logout .link-button:hover {
        background: var(--bg-alt);
        text-decoration: none;
    }
    .sidebar__mobile-logout .link-button {
        justify-content: center;
        background: rgba(239, 68, 68, 0.14);
        border-color: rgba(239, 68, 68, 0.42);
        color: #fca5a5;
    }
    .sidebar__mobile-logout .link-button:hover {
        background: rgba(239, 68, 68, 0.22);
        color: #fecaca;
    }
    .info-grid { grid-template-columns: 1fr; }
    .info-grid--plain { margin-top: 34px; gap: 28px; }
    .info-card { padding: 22px; }
    .search-copy { margin-top: 46px; text-align: left; }
    .search-copy h2 { font-size: 22px; text-align: center; }
    .how-it-works .container { max-width: 560px; }
    .step-row {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: 0;
        padding: 22px;
        text-align: center;
    }
    .step-row__number { order: -1; }
    .step-row__icon { width: 64px; height: 64px; }
    .step-row__icon svg { width: 52px; height: 52px; }
    .step-row__text h3,
    .step-row__text p { font-size: 13px; }
    .order-layout { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
    .stat-card { padding: 12px; gap: 4px; }
    .stat-card__icon { width: 30px; height: 30px; margin-bottom: 0; }
    .stat-card__icon svg { width: 18px; height: 18px; }
    .stat-card__value { font-size: 17px; }
    .stat-card__label { font-size: 11px; }
    .faq-grid { grid-template-columns: 1fr; }
    .dashboard-topbar { display: none; }
    .dashboard-content { padding: 20px; }
    .add-funds-page { max-width: none; }
    .add-funds-return { margin-bottom: 24px; }
    .add-funds-form { padding: 20px 16px; }
    .add-funds-instructions { min-height: 0; padding: 8px 10px; line-height: 1.55; }
    .add-funds-table,
    .affiliate-table,
    .dashboard-content .data-table,
    .price-list-table {
        display: block;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        background: transparent;
        overflow: visible;
    }
    .add-funds-table thead,
    .affiliate-table thead,
    .dashboard-content .data-table thead,
    .price-list-table thead {
        display: none;
    }
    .add-funds-table tbody,
    .affiliate-table tbody,
    .dashboard-content .data-table tbody,
    .price-list-table tbody {
        display: grid;
        gap: 12px;
    }
    .add-funds-table tr,
    .affiliate-table tr,
    .dashboard-content .data-table tr,
    .price-list-service {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 13px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    .add-funds-table td,
    .affiliate-table td,
    .dashboard-content .data-table td,
    .price-list-table td {
        width: auto !important;
        min-width: 0;
        height: auto;
        padding: 0;
        display: grid;
        gap: 5px;
        border: 0;
        color: var(--text);
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
    }
    .add-funds-table td::before,
    .affiliate-table td::before,
    .dashboard-content .data-table td::before,
    .price-list-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
    }
    .add-funds-table td[colspan],
    .affiliate-table td[colspan] {
        min-height: 32px;
    }
    .price-list-table-wrap {
        overflow: visible;
        background: transparent;
    }
    .price-list-category {
        display: block;
        padding: 0;
        background: transparent;
    }
    .price-list-category td {
        display: block;
        height: auto;
        padding: 13px 12px;
        background: #1f1f22;
        border-radius: 8px;
    }
    .price-list-category td::before {
        content: none;
    }
    .price-list-category__inner span {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .price-list-service td:first-child,
    .price-list-service td:nth-child(2),
    .price-list-service td:nth-child(4),
    .price-list-service td:nth-child(5),
    .price-list-service td:nth-child(6),
    .price-list-service td:nth-child(7) {
        align-content: start;
    }
    .price-list-service-name,
    .dashboard-content .data-table td:nth-child(2),
    .affiliate-table--summary td:first-child {
        grid-column: 1 / -1;
    }
    .price-list-view {
        width: 100%;
        justify-content: center;
    }
    .affiliate-copy {
        width: 100%;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 28px;
        gap: 8px;
    }
    .affiliate-copy span {
        max-width: none;
    }
    .affiliate-copy__btn {
        width: 28px;
        height: 28px;
    }
    .affiliate-copy__status {
        grid-column: 1 / -1;
    }
    .price-list-toolbar {
        grid-template-columns: 52px 1fr;
        gap: 10px;
        padding: 14px;
    }
    .price-list-filter {
        width: 52px;
        height: 44px;
    }
    .price-list-search {
        height: 44px;
        grid-template-columns: 1fr 44px;
    }
    .affiliate-page { max-width: none; }
    .affiliate-hero { min-height: 0; gap: 18px; padding: 22px 16px; }
    .affiliate-copy span { max-width: none; }
    .affiliate-withdraw-form { justify-content: flex-start; margin-top: -4px; }
    .deposit-ranking-hero {
        min-height: 0;
        padding: 22px 16px;
        flex-direction: column;
        align-items: flex-start;
    }
    .deposit-ranking-hero .btn { width: 100%; }
    .deposit-ranking-grid,
    .deposit-ranking-grid--main {
        grid-template-columns: 1fr;
    }
    .deposit-ranking-card {
        padding: 14px;
    }
    .deposit-ranking-card__header {
        flex-direction: column;
        gap: 6px;
    }
    .deposit-ranking-row {
        grid-template-columns: 46px 1fr;
        padding: 10px;
    }
    .deposit-ranking-position {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .deposit-ranking-history > div {
        grid-template-columns: 1fr;
    }
    .support-form,
    .support-search,
    .support-thread-card {
        padding: 16px;
    }
    .support-form textarea,
    .support-form--reply textarea {
        min-height: 150px;
    }
    .support-search {
        margin: 22px 0 14px;
    }
    .support-table {
        display: block;
        background: transparent;
        overflow: visible;
    }
    .support-table thead {
        display: none;
    }
    .support-table tbody {
        display: grid;
        gap: 12px;
    }
    .support-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 13px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    .support-table td {
        height: auto;
        padding: 0;
        display: grid;
        gap: 5px;
        border: 0;
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
    }
    .support-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
    }
    .support-table td:nth-child(2),
    .support-table td:nth-child(4),
    .support-table td[colspan] {
        grid-column: 1 / -1;
    }
    .orders-tabs {
        gap: 8px;
        margin-bottom: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }
    .orders-tabs__btn {
        flex: 0 0 auto;
        min-height: 34px;
    }
    .orders-search {
        margin-bottom: 14px;
        padding: 14px;
    }
    .orders-table {
        display: block;
        background: transparent;
        overflow: visible;
    }
    .orders-table thead {
        display: none;
    }
    .orders-table tbody {
        display: grid;
        gap: 12px;
    }
    .orders-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 13px;
        background: var(--bg-card);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    .orders-table td {
        height: auto;
        padding: 0;
        display: grid;
        gap: 5px;
        border: 0;
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
    }
    .orders-table td::before {
        content: attr(data-label);
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
    }
    .orders-table td:nth-child(3),
    .orders-table td:nth-child(7),
    .orders-table td[colspan] {
        grid-column: 1 / -1;
    }
    .orders-empty-row td::before {
        content: none;
    }
    .support-thread-card h1 {
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    .sidebar {
        width: min(86vw, 282px);
        padding: 56px 14px 20px;
    }

    .dashboard-mobile-header__logo {
        width: 132px;
    }

    .sidebar__nav a {
        min-height: 40px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .sidebar__icon {
        width: 16px;
        height: 16px;
    }

    .dashboard-content {
        padding: 14px 10px 18px;
    }

    .dashboard-topbar__actions {
        font-size: 13px;
    }
}
