:root {
    --bg: #020513;
    --panel: #090f24;
    --panel-2: #0d1430;
    --line: #24345f;
    --text: #f8fbff;
    --muted: #aab4cf;
    --blue: #13a8ff;
    --cyan: #33e6ff;
    --violet: #b828f4;
    --green: #24d18f;
    --danger: #ff5670;
    --content-max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at 12% 16%, rgba(19, 168, 255, .22), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(184, 40, 244, .24), transparent 30%),
        linear-gradient(180deg, #01030c 0%, var(--bg) 48%, #030817 100%);
    color: var(--text);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(1, 3, 12, .18), rgba(1, 3, 12, .76)),
        url('../img/hero-background.png') center top / cover no-repeat;
    opacity: .34;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px clamp(18px, 6vw, 92px);
    background: rgba(2, 5, 19, .84);
    border-bottom: 1px solid rgba(36, 52, 95, .5);
    backdrop-filter: blur(14px);
    max-width: 100%;
    animation: slideDown .55s ease both;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 24px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 3px solid var(--blue);
    border-radius: 9px;
    color: var(--cyan);
    box-shadow: 0 0 24px rgba(19, 168, 255, .72);
}

.nav {
    display: flex;
    gap: clamp(16px, 4vw, 48px);
    color: #e8eeff;
    font-weight: 700;
}

.menu-toggle,
.admin-menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(69, 111, 195, .72);
    border-radius: 8px;
    background: rgba(9, 15, 36, .86);
    cursor: pointer;
    box-shadow: inset 0 0 18px rgba(19, 168, 255, .08);
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #eef5ff;
    box-shadow: 0 0 10px rgba(51, 230, 255, .42);
}

.mobile-buy-link {
    display: none;
}

.nav a {
    padding: 10px 0;
}

.nav .active {
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
}

.buy-btn,
.primary-button {
    border: 0;
    border-radius: 8px;
    color: white;
    background: linear-gradient(100deg, var(--blue), var(--violet));
    box-shadow: 0 0 30px rgba(19, 168, 255, .34);
    cursor: pointer;
    font-weight: 800;
}

.buy-btn {
    padding: 14px 22px;
}

.primary-button {
    width: 100%;
    padding: 16px 22px;
    font-size: 18px;
}

.link-button {
    display: inline-flex;
    justify-content: center;
    width: auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 610px);
    gap: clamp(36px, 7vw, 96px);
    align-items: center;
    padding: clamp(48px, 8vw, 92px) clamp(18px, 7vw, 112px) 30px;
    min-height: 560px;
    overflow: hidden;
    max-width: 100%;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(2, 5, 19, .92), rgba(2, 5, 19, .58) 42%, rgba(2, 5, 19, .86)),
        url('../img/hero-background.png') center / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 18% 35%, rgba(19, 168, 255, .22), transparent 32%),
        radial-gradient(circle at 86% 46%, rgba(184, 40, 244, .20), transparent 30%);
}

.hero-copy {
    position: relative;
    animation: riseIn .7s .08s ease both;
}

.bolt {
    position: absolute;
    right: 5%;
    top: -56px;
    color: var(--blue);
    font-size: 86px;
    text-shadow: 0 0 28px rgba(19, 168, 255, .9);
    transform: skew(-8deg);
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(46px, 6.8vw, 78px);
    line-height: .98;
    letter-spacing: 0;
}

.hero p {
    margin: 0 0 28px;
    max-width: 540px;
    color: #d5def5;
    font-size: 24px;
    line-height: 1.35;
}

.notice,
.alert,
.features,
.purchase-card,
.payment-card,
.summary-panel,
.success-card,
.admin-panel,
.stat-grid > div,
.detail-grid > div,
.login-card {
    border: 1px solid rgba(69, 111, 195, .58);
    background: linear-gradient(180deg, rgba(13, 20, 48, .92), rgba(5, 9, 27, .92));
    box-shadow: inset 0 0 24px rgba(19, 168, 255, .08), 0 0 28px rgba(19, 168, 255, .08);
}

.notice {
    max-width: 520px;
    padding: 14px 18px;
    border-radius: 8px;
    color: #dce7ff;
}

.purchase-card,
.payment-card,
.summary-panel,
.success-card,
.login-card {
    border-radius: 14px;
    padding: 24px;
    min-width: 0;
}

.purchase-card {
    border-color: var(--blue);
    box-shadow: 0 0 38px rgba(19, 168, 255, .24), inset 0 0 38px rgba(184, 40, 244, .12);
    animation: riseIn .7s .22s ease both;
}

.purchase-card h2,
.payment-card h2 {
    margin: 0 0 16px;
    font-size: 26px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.amount-pill input {
    display: none;
}

.amount-pill span {
    display: grid;
    place-items: center;
    min-height: 48px;
    border: 1px solid #3d4b78;
    border-radius: 8px;
    background: rgba(12, 18, 42, .92);
    font-weight: 800;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.amount-pill span:hover,
.primary-button:hover,
.buy-btn:hover {
    transform: translateY(-2px);
}

.amount-pill input:checked + span {
    border-color: var(--blue);
    color: white;
    box-shadow: 0 0 20px rgba(19, 168, 255, .45);
}

.field,
.payment-card label,
.login-card label,
.settings-form label {
    display: grid;
    gap: 8px;
    color: #d9e1f5;
    font-weight: 700;
}

.field {
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 10px;
}

.field span {
    display: grid;
    place-items: center;
    height: 46px;
    border: 1px solid #34436c;
    border-right: 0;
    border-radius: 8px 0 0 8px;
    color: var(--muted);
}

input,
select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #34436c;
    border-radius: 8px;
    background: #070d20;
    color: var(--text);
    padding: 0 14px;
    outline: 0;
}

.field input {
    border-radius: 0 8px 8px 0;
}

.field select {
    border-radius: 0 8px 8px 0;
    color: #dbe5fb;
}

input:focus,
select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(19, 168, 255, .15);
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #ccd5ea;
}

.check input {
    width: 18px;
    min-height: 18px;
}

.modal-link {
    border: 0;
    padding: 0;
    color: #7ccfff;
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modal-open {
    overflow: hidden;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(1, 3, 12, .76);
    backdrop-filter: blur(10px);
}

.modal-backdrop[hidden] {
    display: none;
}

.agreement-modal {
    position: relative;
    width: min(680px, 100%);
    max-height: min(720px, 90vh);
    overflow: auto;
    border: 1px solid rgba(51, 230, 255, .62);
    border-radius: 12px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(13, 20, 48, .98), rgba(4, 8, 24, .98));
    box-shadow: 0 0 44px rgba(19, 168, 255, .22), inset 0 0 30px rgba(184, 40, 244, .1);
}

.agreement-modal h2 {
    margin: 0 42px 16px 0;
    font-size: 26px;
}

.agreement-content {
    display: grid;
    gap: 12px;
    color: #dbe5fb;
    line-height: 1.6;
}

.agreement-content p {
    margin: 0;
}

.modal-close {
    position: absolute;
    right: 16px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid #3d4b78;
    border-radius: 8px;
    color: white;
    background: rgba(9, 15, 36, .9);
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-color: rgba(255, 86, 112, .68);
    border-radius: 8px;
    color: #ffd8df;
}

.alert.success {
    border-color: rgba(36, 209, 143, .72);
    color: #d8fff0;
}

.categories,
.steps,
.faq {
    padding: 18px clamp(18px, 7vw, 112px);
    text-align: center;
    animation: fadeIn .7s .3s ease both;
}

.categories h2,
.steps h2,
.faq h2 {
    margin: 0 0 18px;
    font-size: 30px;
}

.section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: min(760px, 100%);
    margin: 0 auto 18px;
}

.categories .section-title,
.steps .section-title,
.faq .section-title {
    margin: 0 auto 18px;
}

.section-title::before,
.section-title::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(19, 168, 255, .78));
    box-shadow: 0 0 12px rgba(19, 168, 255, .6);
}

.section-title::after {
    background: linear-gradient(90deg, rgba(19, 168, 255, .78), transparent);
}

.section-title span {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.section-title span::before,
.section-title span::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 12px var(--blue);
}

.section-title span::before {
    left: -34px;
}

.section-title span::after {
    right: -34px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 14px;
    width: min(100%, var(--content-max));
    margin: 0 auto;
}

.category-card,
.steps article {
    min-width: 0;
    min-height: 116px;
    border: 1px solid #304673;
    border-radius: 8px;
    background: linear-gradient(180deg, #111936, #080d20);
    display: grid;
    place-items: center;
    padding: 14px;
}

.category-card {
    position: relative;
    overflow: hidden;
    gap: 8px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 18%, rgba(51, 230, 255, .14), transparent 48%);
    opacity: 0;
    transition: opacity .18s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(51, 230, 255, .78);
    box-shadow: 0 0 28px rgba(19, 168, 255, .18);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card strong,
.logo-icon {
    position: relative;
    z-index: 1;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 12px;
}

.google-play .logo-icon {
    background: conic-gradient(from 140deg, #3bccff 0 26%, #40e071 0 50%, #ffd34d 0 72%, #ff5d63 0 100%);
    clip-path: polygon(18% 8%, 88% 50%, 18% 92%);
    filter: drop-shadow(0 0 15px rgba(64, 224, 113, .36));
}

.steam .logo-icon {
    border-radius: 50%;
    background: radial-gradient(circle at 65% 32%, #ffffff 0 10%, transparent 11%),
        radial-gradient(circle at 65% 32%, transparent 0 18%, #ffffff 19% 24%, transparent 25%),
        linear-gradient(135deg, #183f85, #050814);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .22), 0 0 16px rgba(35, 91, 191, .5);
}

.steam .logo-icon::before {
    content: "";
    width: 36px;
    height: 10px;
    border-radius: 999px;
    background: #fff;
    transform: rotate(-26deg) translate(-5px, 8px);
}

.app-store .logo-icon {
    border-radius: 15px;
    background: linear-gradient(135deg, #20d0ff, #1478ff);
    box-shadow: 0 0 18px rgba(32, 208, 255, .45);
}

.app-store .logo-icon::before {
    content: "A";
    color: white;
    font-size: 42px;
    font-weight: 900;
    font-family: Arial, Helvetica, sans-serif;
}

.xbox .logo-icon {
    border-radius: 50%;
    background: radial-gradient(circle at center, #21d84a 0 58%, #0a6d20 59% 100%);
    box-shadow: 0 0 18px rgba(33, 216, 74, .48);
}

.xbox .logo-icon::before {
    content: "X";
    color: #06130a;
    font-size: 42px;
    font-weight: 900;
}

.playstation .logo-icon {
    background: transparent;
}

.playstation .logo-icon::before {
    content: "PS";
    color: #1677ff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 0 18px rgba(22, 119, 255, .72);
}

.spotify .logo-icon {
    border-radius: 50%;
    background: #1ed760;
    box-shadow: 0 0 20px rgba(30, 215, 96, .4);
}

.spotify .logo-icon::before {
    content: "";
    width: 38px;
    height: 24px;
    border-top: 5px solid #05120a;
    border-radius: 50%;
    box-shadow: 0 9px 0 -3px #05120a, 0 18px 0 -6px #05120a;
    transform: rotate(8deg);
}

.netflix .logo-icon {
    background: transparent;
}

.netflix .logo-icon::before {
    content: "N";
    color: #e50914;
    font-size: 58px;
    font-weight: 900;
    text-shadow: 0 0 18px rgba(229, 9, 20, .36);
}

.pubg .logo-icon {
    width: 74px;
    border-radius: 5px;
    border: 4px solid #f3b338;
    color: #f3b338;
    font-weight: 900;
    font-size: 22px;
    text-shadow: 0 0 12px rgba(243, 179, 56, .34);
}

.pubg .logo-icon::before {
    content: "PUBG";
}

.categories p,
.muted {
    color: var(--muted);
    line-height: 1.5;
}

.step-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 2.2vw, 28px);
    width: min(var(--content-max), 100%);
    margin: 0 auto;
}

.step-card {
    position: relative;
    min-width: 0;
    min-height: 116px;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(69, 111, 195, .62);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(13, 20, 48, .94), rgba(5, 9, 27, .94));
    box-shadow: inset 0 0 26px rgba(19, 168, 255, .08), 0 0 24px rgba(19, 168, 255, .07);
    text-align: left;
    overflow: hidden;
    animation: riseIn .65s ease both;
}

.step-card:nth-of-type(2) {
    animation-delay: .08s;
}

.step-card:nth-of-type(3) {
    animation-delay: .16s;
}

.step-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(51, 230, 255, .08), transparent);
    transform: translateX(-100%);
    animation: sheen 3.6s ease-in-out infinite;
}

.step-card b {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 0 18px rgba(19, 168, 255, .45);
    position: relative;
    z-index: 1;
}

.step-card h3,
.step-card p {
    margin: 0;
}

.step-card p {
    color: var(--muted);
    line-height: 1.42;
}

.step-card > div {
    position: relative;
    z-index: 1;
}

.step-icon,
.feature-icon {
    display: grid;
    place-items: center;
    color: var(--cyan);
}

.step-icon {
    width: 72px;
    height: 72px;
    position: relative;
    z-index: 1;
}

.step-icon svg,
.feature-icon svg,
.support svg,
.social-links svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.calculator-icon {
    color: var(--blue);
    filter: drop-shadow(0 0 14px rgba(19, 168, 255, .75));
}

.shield-icon {
    color: #c65cff;
    filter: drop-shadow(0 0 14px rgba(198, 92, 255, .66));
}

.mail-fast-icon {
    color: #48f4ef;
    filter: drop-shadow(0 0 14px rgba(72, 244, 239, .65));
}

.flow-arrow {
    color: var(--blue);
    font-size: 58px;
    line-height: 1;
    text-shadow: 0 0 18px rgba(19, 168, 255, .85);
    animation: arrowPulse 1.8s ease-in-out infinite;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: min(calc(100% - 36px), var(--content-max));
    margin: 26px auto;
    padding: 18px 22px;
    border-radius: 8px;
    animation: fadeIn .7s .35s ease both;
    border: 1px solid rgba(69, 111, 195, .45);
    background: linear-gradient(180deg, rgba(9, 15, 36, .88), rgba(5, 9, 27, .92));
    box-shadow: inset 0 0 22px rgba(19, 168, 255, .05);
}

.feature-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 8px 24px;
    text-align: left;
    border-right: 1px solid rgba(69, 111, 195, .36);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-item > div {
    display: grid;
    gap: 6px;
}

.features span {
    color: var(--muted);
}

.feature-icon {
    width: 52px;
    height: 52px;
}

.lightning-icon {
    color: #33f2ff;
    filter: drop-shadow(0 0 14px rgba(51, 242, 255, .7));
}

.shield-mini-icon {
    color: #bf58ff;
    filter: drop-shadow(0 0 14px rgba(191, 88, 255, .62));
}

.envelope-icon {
    color: #51efe8;
    filter: drop-shadow(0 0 14px rgba(81, 239, 232, .62));
}

.monitor-icon {
    color: #bc58ff;
    filter: drop-shadow(0 0 14px rgba(188, 88, 255, .62));
}

.faq {
    max-width: 920px;
    margin: 0 auto 36px;
}

details {
    margin: 10px 0;
    padding: 16px 18px;
    border: 1px solid #304673;
    border-radius: 8px;
    background: rgba(9, 15, 36, .86);
    text-align: left;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

.footer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.7fr) minmax(220px, auto);
    gap: 24px;
    align-items: start;
    padding: 28px clamp(18px, 6vw, 92px) 22px;
    border-top: 1px solid rgba(36, 52, 95, .5);
    background: rgba(1, 3, 12, .88);
    color: var(--muted);
    animation: fadeIn .7s .45s ease both;
}

.content-page {
    min-height: 520px;
    padding: 76px clamp(18px, 7vw, 112px);
    background:
        linear-gradient(90deg, rgba(2, 5, 19, .94), rgba(2, 5, 19, .72)),
        url('../img/hero-background.png') center / cover no-repeat;
}

.content-page-inner {
    width: min(920px, 100%);
    border: 1px solid rgba(69, 111, 195, .58);
    border-radius: 12px;
    padding: clamp(24px, 5vw, 46px);
    background: linear-gradient(180deg, rgba(13, 20, 48, .94), rgba(5, 9, 27, .94));
    box-shadow: 0 0 32px rgba(19, 168, 255, .14);
    animation: riseIn .65s ease both;
}

.content-page-inner > span {
    color: var(--cyan);
    font-weight: 800;
}

.content-page-inner h1 {
    margin: 8px 0 20px;
    font-size: clamp(34px, 6vw, 58px);
}

.rich-content {
    color: #dbe5fb;
    font-size: 18px;
    line-height: 1.75;
}

.rich-content p {
    margin: 0 0 16px;
}

.footer .brand {
    color: var(--text);
}

.footer-brand p {
    max-width: 330px;
    line-height: 1.55;
}

.footer-center {
    display: grid;
    gap: 28px;
    justify-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px 34px;
}

.footer-links a,
.support,
.social-links a {
    transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}

.footer-links a:hover,
.support:hover,
.social-links a:hover {
    color: var(--text);
    text-shadow: 0 0 12px rgba(51, 230, 255, .42);
    transform: translateY(-2px);
}

.copyright {
    color: #8f98b2;
}

.footer-contact {
    display: grid;
    justify-items: end;
    gap: 20px;
}

.support {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.support svg {
    width: 27px;
    height: 27px;
    color: #d9e4fb;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.social-links a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: #9fa9c2;
}

.social-links svg {
    stroke-width: 2.2;
}

.payment-page,
.success-page {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(360px, 560px);
    gap: 28px;
    align-items: start;
    padding: 72px clamp(18px, 7vw, 112px);
    max-width: 100%;
}

.success-page {
    grid-template-columns: minmax(320px, 680px);
    justify-content: center;
}

.summary-panel h1,
.success-card h1 {
    margin: 8px 0;
    font-size: 36px;
}

.summary-panel strong {
    display: block;
    margin-top: 24px;
    font-size: 34px;
    color: var(--cyan);
}

.payment-card {
    display: grid;
    gap: 16px;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.success-card {
    text-align: center;
}

.success-icon {
    display: inline-grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--green);
    color: #02120b;
    font-size: 34px;
    font-weight: 900;
}

.code-box {
    margin: 24px 0;
    padding: 20px;
    border: 1px dashed var(--cyan);
    border-radius: 8px;
    background: #020817;
    color: var(--cyan);
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 900;
    word-break: break-word;
}

dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    text-align: left;
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 800;
}

.login-body,
.admin-body {
    min-height: 100vh;
}

.login-body {
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-card {
    width: min(430px, 100%);
    display: grid;
    gap: 16px;
    transform-origin: center;
    animation: adminLoginIn .72s cubic-bezier(.2, .8, .2, 1) both;
}

.login-card .brand,
.login-card h1,
.login-card label,
.login-card .primary-button,
.login-card .alert {
    animation: adminPanelRise .55s cubic-bezier(.2, .8, .2, 1) both;
}

.login-card h1 {
    animation-delay: .08s;
}

.login-card label:nth-of-type(1) {
    animation-delay: .14s;
}

.login-card label:nth-of-type(2) {
    animation-delay: .2s;
}

.login-card .primary-button {
    animation-delay: .26s;
}

.login-card h1 {
    margin: 0;
}

.admin-body {
    display: grid;
    grid-template-columns: 270px 1fr;
}

.admin-sidebar {
    min-height: 100vh;
    padding: 24px;
    border-right: 1px solid rgba(36, 52, 95, .65);
    background:
        linear-gradient(180deg, rgba(7, 13, 32, .96), rgba(1, 3, 12, .9)),
        radial-gradient(circle at 20% 10%, rgba(19, 168, 255, .18), transparent 32%);
    backdrop-filter: blur(12px);
    animation: adminSidebarIn .68s cubic-bezier(.2, .8, .2, 1) both;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.admin-sidebar nav {
    display: grid;
    gap: 10px;
    margin-top: 32px;
}

.admin-sidebar nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: #dbe4fb;
    background: rgba(13, 20, 48, .64);
    animation: adminNavIn .42s cubic-bezier(.2, .8, .2, 1) both;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.admin-sidebar nav a:nth-child(1) {
    animation-delay: .08s;
}

.admin-sidebar nav a:nth-child(2) {
    animation-delay: .13s;
}

.admin-sidebar nav a:nth-child(3) {
    animation-delay: .18s;
}

.admin-sidebar nav a:nth-child(4) {
    animation-delay: .23s;
}

.admin-sidebar nav a:nth-child(5) {
    animation-delay: .28s;
}

.admin-sidebar nav a:nth-child(6) {
    animation-delay: .33s;
}

.admin-sidebar nav a:hover {
    transform: translateX(3px);
    color: white;
    background: rgba(19, 168, 255, .18);
    box-shadow: inset 3px 0 0 rgba(51, 230, 255, .82);
}

.admin-main {
    padding: 32px;
    overflow-x: auto;
    min-width: 0;
}

.admin-main > * {
    animation: adminPanelRise .58s cubic-bezier(.2, .8, .2, 1) both;
}

.admin-main > *:nth-child(2) {
    animation-delay: .06s;
}

.admin-main > *:nth-child(3) {
    animation-delay: .12s;
}

.admin-main > *:nth-child(4) {
    animation-delay: .18s;
}

.admin-main > *:nth-child(5) {
    animation-delay: .24s;
}

.admin-panel,
.stat-grid > div {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.admin-panel:hover,
.stat-grid > div:hover {
    transform: translateY(-2px);
    border-color: rgba(51, 230, 255, .42);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2), 0 0 24px rgba(19, 168, 255, .08);
}

.admin-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.admin-title span {
    color: var(--cyan);
    font-weight: 800;
}

.admin-title h1 {
    margin: 4px 0 0;
    font-size: 34px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, 1fr)) auto auto;
    gap: 14px;
    align-items: end;
    margin-bottom: 22px;
}

.detailed-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.filter-head span,
.orders-panel-head span {
    color: var(--cyan);
    font-weight: 800;
}

.filter-head h2 {
    margin: 4px 0 0;
}

.filter-form label {
    display: grid;
    gap: 8px;
    color: #d9e1f5;
    font-weight: 700;
}

.filter-form .primary-button {
    min-width: 120px;
    height: 46px;
    padding: 0 18px;
    font-size: 15px;
}

.clear-filter {
    display: inline-grid;
    place-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #34436c;
    border-radius: 8px;
    color: #dbe5fb;
}

.stat-grid > div,
.detail-grid > div {
    border-radius: 8px;
    padding: 18px;
}

.stat-grid span,
.detail-grid span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.stat-grid strong {
    font-size: 30px;
}

.report-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 16px;
    margin-bottom: 22px;
}

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

.report-card {
    min-width: 0;
}

.report-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.report-head span {
    color: var(--cyan);
    font-weight: 900;
}

.report-head h2 {
    margin: 4px 0 0;
    font-size: 20px;
}

.report-head strong {
    color: #f7fbff;
    font-size: 20px;
    white-space: nowrap;
}

.bar-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    min-height: 270px;
}

.bar-column {
    display: grid;
    grid-template-rows: auto 170px auto auto;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.bar-value {
    min-height: 30px;
    color: #dbe5fb;
    font-size: 12px;
    font-weight: 800;
    word-break: break-word;
}

.bar-track {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border: 1px solid rgba(69, 111, 195, .4);
    border-radius: 8px;
    padding: 7px;
    background: rgba(3, 8, 24, .48);
}

.bar-track span {
    display: block;
    width: 100%;
    min-height: 8px;
    border-radius: 6px;
    background: linear-gradient(180deg, #33e6ff, #8e35ff);
    box-shadow: 0 0 22px rgba(51, 230, 255, .22);
}

.bar-column strong {
    color: #f7fbff;
    font-size: 13px;
}

.bar-column small {
    color: var(--muted);
    font-weight: 700;
}

.status-report,
.rank-list {
    display: grid;
    gap: 14px;
}

.report-row,
.rank-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 14px;
    align-items: center;
}

.report-row strong,
.rank-item strong {
    display: block;
    color: #f7fbff;
}

.report-row span,
.rank-item span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.report-row em,
.rank-item em {
    color: #dbe5fb;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.mini-progress {
    grid-column: 1 / -1;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(52, 67, 108, .42);
}

.mini-progress span {
    display: block;
    height: 100%;
    min-width: 5px;
    border-radius: inherit;
    background: linear-gradient(90deg, #13a8ff, #c22cff);
}

.empty-report {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.admin-panel {
    border-radius: 8px;
    padding: 18px;
    overflow-x: auto;
}

.orders-panel-head {
    margin-bottom: 12px;
}

.order-code {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 6px;
    color: #eaf7ff;
    background: rgba(19, 168, 255, .12);
    font-size: 13px;
    letter-spacing: 0;
}

.detail-link {
    color: var(--cyan);
    font-weight: 800;
}

.action-button,
.danger-button {
    border: 0;
    border-radius: 6px;
    padding: 9px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.action-button {
    background: rgba(51, 230, 255, .1);
}

.danger-button {
    color: #ffd8dd;
    background: rgba(255, 75, 105, .16);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

th,
td {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(52, 67, 108, .7);
    text-align: left;
    white-space: nowrap;
}

th {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(51, 230, 255, .12);
    color: var(--cyan);
    font-weight: 800;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.settings-form {
    display: grid;
    gap: 18px;
}

.user-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    align-items: end;
}

.user-create-form h2 {
    grid-column: 1 / -1;
    margin: 0;
}

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

.inline-user-form input,
.users-panel td > input {
    min-width: 180px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    color: var(--cyan);
    background: rgba(51, 230, 255, .1);
    font-size: 12px;
    font-weight: 900;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.panel-heading span {
    color: var(--cyan);
    font-weight: 800;
}

.panel-heading h2,
.panel-heading p {
    margin: 0;
}

.panel-heading h2 {
    margin-top: 4px;
}

.panel-heading p {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.5;
}

.method-card-grid {
    display: grid;
    gap: 14px;
}

.method-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.payment-method-card,
.bank-card {
    border: 1px solid rgba(69, 111, 195, .48);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(9, 15, 36, .88), rgba(4, 8, 24, .88));
    box-shadow: inset 0 0 20px rgba(19, 168, 255, .04);
}

.payment-method-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.provider-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 9px;
    border: 1px solid rgba(51, 230, 255, .32);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(51, 230, 255, .08);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.switch-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dbe5fb;
    font-weight: 800;
}

.switch-check input {
    width: 18px;
    min-height: 18px;
}

.bank-mark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 0 18px rgba(19, 168, 255, .26);
    font-weight: 900;
}

.provider-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.provider-box {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.provider-box h2 {
    margin: 0;
}

.provider-box label {
    display: grid;
    gap: 8px;
    color: #d9e1f5;
    font-weight: 700;
}

.pos-panel {
    overflow: visible;
}

.compact-heading {
    margin-bottom: 14px;
}

.pos-heading {
    align-items: center;
}

.pos-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(69, 111, 195, .44);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(9, 15, 36, .66);
}

.pos-summary strong {
    color: var(--cyan);
}

.pos-note {
    margin: -4px 0 16px;
    color: var(--muted);
    line-height: 1.55;
}

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

.bank-row {
    margin: 0;
    padding: 0;
    border: 1px solid rgba(69, 111, 195, .44);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(9, 15, 36, .88), rgba(4, 8, 24, .88));
    overflow: hidden;
}

.bank-row summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 12px 14px;
    list-style: none;
    cursor: pointer;
}

.bank-row summary::-webkit-details-marker {
    display: none;
}

.bank-row summary::after {
    content: "+";
    display: grid;
    place-items: center;
    justify-self: end;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(69, 111, 195, .5);
    border-radius: 8px;
    color: var(--cyan);
    background: rgba(13, 20, 48, .72);
    font-weight: 900;
}

.bank-row[open] summary::after {
    content: "-";
}

.bank-name {
    min-width: 0;
    font-weight: 900;
    word-break: break-word;
}

.bank-mode,
.bank-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(170, 180, 207, .08);
    font-size: 12px;
    font-weight: 900;
}

.bank-state.is-active {
    color: #d8fff0;
    background: rgba(36, 209, 143, .16);
}

.bank-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
}

.bank-fields label {
    display: grid;
    gap: 8px;
    color: #d9e1f5;
    font-weight: 700;
}

.bank-active-check {
    align-self: end;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(69, 111, 195, .36);
    border-radius: 8px;
    background: rgba(13, 20, 48, .46);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.form-grid h2 {
    grid-column: 1 / -1;
    margin: 0;
}

.full-span {
    grid-column: 1 / -1;
}

textarea {
    width: 100%;
    border: 1px solid #34436c;
    border-radius: 8px;
    background: #070d20;
    color: var(--text);
    padding: 14px;
    outline: 0;
    resize: vertical;
    font: inherit;
}

textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(19, 168, 255, .15);
}

code {
    color: var(--cyan);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes sheen {
    0% {
        transform: translateX(-120%);
    }
    42%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes arrowPulse {
    0%,
    100% {
        opacity: .55;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

@keyframes adminLoginIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes adminSidebarIn {
    from {
        opacity: 0;
        transform: translateX(-22px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes adminNavIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

.method-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: end;
    gap: 16px;
}

.admin-check {
    margin-bottom: 12px;
}

@media (max-width: 1050px) {
    .report-grid,
    .compact-report-grid {
        grid-template-columns: 1fr;
    }

    .bar-chart {
        min-height: 240px;
    }

    .bar-column {
        grid-template-rows: auto 145px auto auto;
    }

    .site-header {
        position: sticky;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
    }

    .menu-button {
        display: grid;
        margin-left: auto;
        order: 3;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 18px;
        right: 18px;
        z-index: 20;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px;
        border: 1px solid rgba(69, 111, 195, .62);
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(9, 15, 36, .98), rgba(3, 7, 20, .98));
        box-shadow: 0 18px 42px rgba(0, 0, 0, .38), 0 0 26px rgba(19, 168, 255, .14);
        backdrop-filter: blur(16px);
    }

    .nav a {
        padding: 13px 14px;
        border: 1px solid rgba(69, 111, 195, .22);
        border-radius: 8px;
        background: rgba(13, 20, 48, .58);
    }

    .nav .active {
        border-bottom: 1px solid rgba(19, 168, 255, .75);
    }

    .mobile-buy-link {
        display: block;
        color: white;
        font-weight: 900;
        background: linear-gradient(100deg, var(--blue), var(--violet)) !important;
        box-shadow: 0 0 18px rgba(19, 168, 255, .28);
    }

    .menu-toggle:checked ~ .nav {
        display: grid;
    }

    .hero,
    .payment-page {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features,
    .step-flow,
    .footer,
    .detail-grid,
    .form-grid,
    .filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .step-flow {
        gap: 16px;
    }

    .flow-arrow {
        display: none;
    }

    .feature-item:nth-child(2) {
        border-right: 0;
    }

    .footer-contact {
        justify-items: start;
    }
}

@media (max-width: 720px) {
    .site-header {
        top: 0;
        align-items: center;
        padding: 12px 14px;
    }

    .buy-btn {
        display: none;
    }

    .brand {
        font-size: 20px;
    }

    .hero {
        padding: 34px 16px 24px;
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        font-size: clamp(36px, 12vw, 56px);
        line-height: 1.04;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .bolt {
        display: none;
    }

    .purchase-card,
    .payment-card,
    .summary-panel,
    .success-card,
    .login-card {
        padding: 20px;
    }

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

    .category-grid,
    .features,
    .step-flow,
    .footer,
    .bank-fields,
    .two-cols,
    .admin-body,
    .stat-grid,
    .report-grid,
    .compact-report-grid,
    .detail-grid,
    .form-grid,
    .filter-form,
    .method-row {
        grid-template-columns: 1fr;
    }

    .bar-chart {
        gap: 8px;
        min-height: 220px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .bar-column {
        min-width: 74px;
        grid-template-rows: auto 125px auto auto;
    }

    .report-head {
        flex-direction: column;
    }

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

    .category-card {
        min-height: 104px;
        padding: 12px 8px;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .pubg .logo-icon {
        width: 64px;
        font-size: 18px;
    }

    .section-title {
        grid-template-columns: 1fr;
    }

    .section-title::before,
    .section-title::after,
    .section-title span::before,
    .section-title span::after {
        display: none;
    }

    .step-card {
        grid-template-columns: auto 1fr;
        min-height: 0;
        padding: 18px;
    }

    .step-card b {
        grid-row: 1 / span 2;
    }

    .step-icon {
        display: none;
    }

    .feature-item {
        grid-template-columns: 44px 1fr;
        border-right: 0;
        border-bottom: 1px solid rgba(69, 111, 195, .36);
        padding: 14px 4px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .footer-center {
        justify-items: start;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .footer-contact {
        justify-items: start;
    }

    .payment-page {
        padding: 36px 18px;
    }

    .admin-body {
        display: block;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 30;
        min-height: auto;
        padding: 12px 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(36, 52, 95, .65);
    }

    .admin-sidebar-head {
        min-height: 48px;
    }

    .admin-menu-button {
        display: grid;
    }

    .admin-sidebar nav {
        display: none;
        margin-top: 12px;
        grid-template-columns: 1fr;
    }

    .admin-menu-toggle:checked ~ .admin-sidebar nav {
        display: grid;
    }

    .admin-main {
        padding: 16px;
        overflow-x: hidden;
    }

    .admin-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .panel-heading {
        display: grid;
    }

    .admin-title h1 {
        font-size: 28px;
    }

    .filter-form {
        padding: 14px;
    }

    .detailed-filter {
        grid-template-columns: 1fr;
    }

    .filter-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-form .primary-button,
    .clear-filter {
        width: 100%;
    }

    .admin-panel {
        padding: 12px;
    }

    .orders-panel {
        overflow-x: visible;
    }

    .orders-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .orders-table thead {
        display: none;
    }

    .orders-table,
    .orders-table tbody,
    .orders-table tr,
    .orders-table td {
        display: block;
        width: 100%;
    }

    .orders-table tr {
        padding: 12px;
        border: 1px solid rgba(69, 111, 195, .44);
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(9, 15, 36, .92), rgba(4, 8, 24, .92));
    }

    .orders-table td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(52, 67, 108, .42);
        white-space: normal;
        word-break: break-word;
    }

    .orders-table td:last-child {
        border-bottom: 0;
    }

    .orders-table td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 800;
    }

    .provider-settings-grid,
    .method-card-grid {
        grid-template-columns: 1fr;
    }

    .user-create-form {
        grid-template-columns: 1fr;
    }

    .users-panel {
        overflow-x: visible;
    }

    .users-panel table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .users-panel thead {
        display: none;
    }

    .users-panel table,
    .users-panel tbody,
    .users-panel tr,
    .users-panel td {
        display: block;
        width: 100%;
    }

    .users-panel tr {
        padding: 12px;
        border: 1px solid rgba(69, 111, 195, .44);
        border-radius: 8px;
        background: linear-gradient(180deg, rgba(9, 15, 36, .92), rgba(4, 8, 24, .92));
    }

    .users-panel td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 10px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(52, 67, 108, .42);
        white-space: normal;
    }

    .users-panel td:last-child {
        border-bottom: 0;
    }

    .users-panel td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 800;
    }

    .inline-user-form,
    .user-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .inline-user-form input,
    .users-panel td > input {
        min-width: 0;
        width: 100%;
    }

    .pos-heading,
    .bank-row summary {
        align-items: flex-start;
    }

    .bank-row summary {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
    }

    .bank-row summary::after {
        grid-column: 4;
        grid-row: 1;
        align-self: center;
    }

    .bank-mode {
        display: none;
    }

    .bank-state {
        justify-self: start;
    }

    table:not(.orders-table) {
        min-width: 760px;
    }

    table:not(.orders-table) th,
    table:not(.orders-table) td {
        padding: 11px 8px;
        font-size: 13px;
    }

    dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .brand {
        gap: 9px;
        font-size: 18px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .purchase-card,
    .payment-card,
    .summary-panel,
    .success-card,
    .login-card,
    .agreement-modal {
        padding: 16px;
    }

    .field {
        grid-template-columns: 42px 1fr;
    }

    .field span,
    input,
    select {
        min-height: 44px;
    }

    .primary-button {
        padding: 14px 16px;
        font-size: 16px;
    }
}
