:root {
    --background: #1a1a1a;
    --surface: rgba(0, 0, 0, 0.95);
    --surface-secondary: rgba(12, 14, 16, 0.92);
    --surface-soft: rgba(255, 255, 255, 0.045);
    --field: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f7f8;
    --text-secondary: #dce5e9;
    --text-muted: #9ba7ad;
    --border: rgba(255, 255, 255, 0.14);
    --border-bright: rgba(255, 255, 255, 0.28);
    --purple: #7200ff;
    --accent: #c332f8;
    --green: #38b773;
    --blue: #2e9bd1;
    --gold: #f4c542;
    --danger: #df5b5b;
    --shadow: rgba(0, 0, 0, 0.58);
    --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    --cut-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    --cut-xs: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--background);
    color: var(--text-primary);
    font-family: "Quantico", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    scrollbar-color: rgba(46, 155, 209, 0.55) transparent;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(114, 0, 255, 0.05), transparent 380px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 80px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 80px),
        var(--background);
    color: var(--text-primary);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(115deg, rgba(195, 50, 248, 0.08), transparent 32%),
        linear-gradient(245deg, rgba(46, 155, 209, 0.08), transparent 36%);
    opacity: 0.9;
}

.landing-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.landing-main {
    width: min(100% - 2rem, 760px);
    display: grid;
    justify-items: center;
    align-content: center;
    gap: clamp(1rem, 2.6vw, 1.45rem);
    min-height: 100vh;
    padding: clamp(2rem, 7vw, 5rem) 0;
    text-align: center;
}

.landing-main h1 {
    color: var(--text-primary);
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.landing-button {
    min-width: 7.8rem;
}

.landing-button--discord {
    border-color: var(--discord);
    background: rgba(114, 0, 255, 0.14);
    color: #f2e8ff;
}

.landing-button--store {
    border-color: rgba(46, 155, 209, 0.58);
    background: rgba(46, 155, 209, 0.14);
    color: #d6f1ff;
}

.landing-button--connect {
    border-color: rgba(56, 183, 115, 0.72);
    background: rgba(56, 183, 115, 0.12);
    color: #b7f7d1;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

img,
iframe {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

ul {
    margin: 0;
    padding-left: 1.15rem;
}

li + li {
    margin-top: 0.42rem;
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.6rem 0.85rem;
    background: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--blue);
    clip-path: var(--cut-sm);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

.cut-card,
.cut-panel,
.cut-button,
.cut-capsule,
.cut-package,
.cut-nav-item {
    border: 1px solid var(--border);
    border-radius: 0;
    clip-path: var(--cut-sm);
}

.cut-panel,
.cut-card,
.cut-package {
    position: relative;
    background: var(--surface-secondary);
}

.cut-panel::after,
.cut-card::after,
.cut-package::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    border-left: 3px solid rgba(46, 155, 209, 0.24);
    opacity: 0.75;
}

.cut-button,
.cut-capsule,
.cut-nav-item {
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.62rem 0.9rem;
    background: var(--field);
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.cut-button:hover,
.cut-button:focus-visible,
.cut-capsule:hover,
.cut-capsule:focus-visible,
.cut-nav-item:hover,
.cut-nav-item:focus-visible {
    border-color: var(--accent);
    background: rgba(195, 50, 248, 0.13);
    color: #fff;
}

.landing-main .player-count.cut-capsule {
    min-width: 8.5rem;
    border-color: rgba(56, 183, 115, 0.72);
    background: rgba(56, 183, 115, 0.11);
    color: #b7f7d1;
    cursor: default;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.landing-main .player-count.cut-capsule:hover,
.landing-main .player-count.cut-capsule:focus-visible {
    border-color: rgba(56, 183, 115, 0.92);
    background: rgba(56, 183, 115, 0.16);
    color: #d5ffe6;
}

.landing-main .player-count.cut-capsule.is-offline {
    border-color: rgba(223, 91, 91, 0.58);
    background: rgba(223, 91, 91, 0.08);
    color: #ffd5d5;
}

.cut-button--primary {
    border-color: rgba(114, 0, 255, 0.72);
    background: rgba(114, 0, 255, 0.18);
    color: #efe5ff;
}

.cut-button--primary:hover,
.cut-button--primary:focus-visible {
    border-color: rgba(114, 0, 255, 0.95);
    background: rgba(114, 0, 255, 0.28);
}

.cut-button--blue {
    border-color: rgba(46, 155, 209, 0.52);
    background: rgba(46, 155, 209, 0.12);
    color: #d6f1ff;
}

.cut-button--blue:hover,
.cut-button--blue:focus-visible {
    border-color: rgba(46, 155, 209, 0.82);
    background: rgba(46, 155, 209, 0.18);
}

.cut-button--ghost {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-secondary);
}

.cut-button--disabled {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(220, 229, 233, 0.55);
    cursor: not-allowed;
}

.cut-button:disabled {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(220, 229, 233, 0.55);
    cursor: not-allowed;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(16px);
    transition: background 150ms ease, box-shadow 150ms ease;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.94);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
    width: min(100% - 2rem, var(--container));
    min-height: 74px;
    display: grid;
    grid-template-columns: auto auto minmax(1rem, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
}

.brand-link {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-link__logo {
    width: 68px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(114, 0, 255, 0.28));
}

.brand-link__name {
    color: var(--text-secondary);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-link__fallback {
    width: 4.2rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    background: rgba(114, 0, 255, 0.14);
    color: #efe5ff;
    font-weight: 700;
}

.header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-actions--account {
    justify-content: flex-end;
}

.header-button {
    min-width: 6.8rem;
    white-space: nowrap;
}

.header-button--discord {
    border-color: var(--discord);
    background: rgba(0, 0, 0, 0.34);
    color: var(--discord);
}

.header-button--discord:hover,
.header-button--discord:focus-visible {
    border-color: var(--discord);
    background: rgba(114, 0, 255, 0.14);
    color: #f2e8ff;
}

.header-button--connect {
    border-color: rgba(56, 183, 115, 0.72);
    background: rgba(0, 0, 0, 0.34);
    color: #b7f7d1;
}

.header-button--connect:hover,
.header-button--connect:focus-visible {
    border-color: rgba(56, 183, 115, 0.92);
    background: rgba(56, 183, 115, 0.13);
}

.header-button--account,
.header-button--basket {
    border-color: rgba(46, 155, 209, 0.58);
    background: rgba(0, 0, 0, 0.34);
    color: #d6f1ff;
}

.header-button--account:hover,
.header-button--basket:hover,
.header-button--account:focus-visible,
.header-button--basket:focus-visible {
    border-color: rgba(46, 155, 209, 0.88);
    background: rgba(46, 155, 209, 0.14);
}

.basket-count {
    min-width: 1.45rem;
    height: 1.45rem;
    display: inline-grid;
    place-items: center;
    padding: 0 0.35rem;
    border: 1px solid rgba(46, 155, 209, 0.5);
    clip-path: var(--cut-xs);
    color: var(--text-primary);
    font-size: 0.76rem;
}

.store-message {
    width: min(100% - 2rem, var(--container));
    margin: 1rem auto 0;
}

.store-message__inner {
    padding: 0.75rem 0.95rem;
    color: var(--text-secondary);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.store-message__inner.is-dismissing {
    opacity: 0;
    transform: translateY(-0.35rem);
}

.store-message-error .store-message__inner {
    border-color: rgba(223, 91, 91, 0.62);
    color: #ffd5d5;
}

.store-message__inner.store-message-error {
    border-color: rgba(223, 91, 91, 0.62);
    color: #ffd5d5;
}

.store-message-success .store-message__inner {
    border-color: rgba(56, 183, 115, 0.58);
    color: #d5ffe6;
}

.store-message__inner.store-message-success {
    border-color: rgba(56, 183, 115, 0.58);
    color: #d5ffe6;
}

.site-main {
    width: min(100% - 2rem, var(--container));
    flex: 1 0 auto;
    margin: 0 auto;
    padding: clamp(1.1rem, 2.4vw, 2rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.hero {
    position: relative;
    min-height: clamp(300px, 38vw, 420px);
    display: grid;
    align-items: center;
    overflow: hidden;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid var(--border);
}

.hero::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(195, 50, 248, 0.5), rgba(46, 155, 209, 0.38), transparent);
}

.hero__mark {
    position: absolute;
    right: clamp(-5rem, -2vw, -1rem);
    bottom: -5rem;
    width: clamp(260px, 34vw, 440px);
    opacity: 0.06;
    pointer-events: none;
}

.hero__content {
    position: relative;
    width: min(780px, 100%);
    padding: clamp(2rem, 6vw, 4rem) 0;
}

.eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--accent);
    font-size: clamp(0.78rem, 1.1vw, 0.92rem);
    font-weight: 700;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.package-detail h1,
.cms-page h1,
.auth-panel h1 {
    color: var(--text-primary);
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    line-height: 1.04;
    text-transform: uppercase;
}

.hero p,
.page-hero__copy,
.auth-panel > p {
    width: min(720px, 100%);
    margin-top: 0.8rem;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.hero-actions .cut-button {
    min-width: 8rem;
}

.section-action {
    flex: 0 0 auto;
}

.page-hero {
    margin-bottom: clamp(1rem, 3vw, 1.8rem);
    padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(1.25rem, 3vw, 2rem);
    border-bottom: 1px solid var(--border);
}

.page-hero--compact h1 {
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
}

.section-heading {
    margin-bottom: 1rem;
}

.section-heading h2 {
    color: var(--text-secondary);
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    line-height: 1.1;
    text-transform: uppercase;
}

.section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading--compact {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.store-description {
    margin-bottom: clamp(1rem, 3vw, 1.8rem);
    padding: clamp(1rem, 2vw, 1.25rem);
}

.services-section {
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.85rem, 1.7vw, 1.1rem);
}

.service-module {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.service-module--wide {
    grid-column: 1 / -1;
}

.module-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.module-head h2,
.module-head h3 {
    min-width: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag {
    min-height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.55rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    clip-path: var(--cut-xs);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag--purple {
    border-color: rgba(195, 50, 248, 0.55);
    color: #f4dcff;
}

.tag--blue {
    border-color: rgba(46, 155, 209, 0.55);
    color: #d6f1ff;
}

.tag--green {
    border-color: rgba(56, 183, 115, 0.52);
    color: #b7f7d1;
}

.tag--gold {
    border-color: rgba(244, 197, 66, 0.55);
    color: var(--gold);
}

.tag--danger {
    border-color: rgba(223, 91, 91, 0.58);
    color: #ffd5d5;
}

.service-price-list {
    display: grid;
    gap: 0.55rem;
}

.service-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0.8rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    clip-path: var(--cut-xs);
}

.service-row h3,
.service-feature h3,
.service-list-block h3,
.approval-note h3 {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.service-row p,
.service-feature p,
.service-list-block p,
.approval-note p,
.module-muted {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.62;
}

.service-row strong {
    color: var(--green);
    font-size: 1.05rem;
}

.service-feature {
    padding: 0.85rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    clip-path: var(--cut-xs);
}

.service-feature h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.service-feature h3 span {
    color: var(--green);
}

.service-list-block {
    display: grid;
    gap: 0.45rem;
}

.service-list-block ul {
    color: var(--text-muted);
    line-height: 1.55;
}

.service-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.approval-note {
    padding: 0.85rem;
    border: 1px solid rgba(244, 197, 66, 0.42);
    background: rgba(244, 197, 66, 0.07);
    clip-path: var(--cut-xs);
}

.approval-note strong {
    color: var(--text-secondary);
}

.approval-note--blue {
    border-color: rgba(46, 155, 209, 0.42);
    background: rgba(46, 155, 209, 0.07);
}

.packages-section {
    margin-top: clamp(1.5rem, 4vw, 3rem);
}

.category-nav {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.1rem 0 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 155, 209, 0.55) transparent;
}

.category-nav__item {
    flex: 0 0 auto;
    min-width: max-content;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text-secondary);
}

.category-nav__item.is-active {
    border-color: rgba(46, 155, 209, 0.72);
    background: rgba(46, 155, 209, 0.16);
    color: #d6f1ff;
}

.category-nav__empty {
    align-self: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.featured-section {
    display: grid;
    gap: 1rem;
}

.featured-modules {
    display: grid;
    gap: 1rem;
}

.featured-package-module {
    display: grid;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.2fr);
    gap: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(114, 0, 255, 0.13), rgba(46, 155, 209, 0.08)), var(--surface);
    border-color: rgba(195, 50, 248, 0.45);
}

.featured-package-module__media {
    min-width: 0;
    min-height: 18rem;
    border-right: 1px solid var(--border);
}

.featured-package-module__body {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.featured-package-module__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: clamp(0.85rem, 1.7vw, 1.1rem);
}

.package-grid--list {
    grid-template-columns: minmax(0, 1fr);
}

.package-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.package-card:hover,
.package-card:focus-within {
    border-color: rgba(46, 155, 209, 0.58);
    background: rgba(12, 14, 16, 0.98);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.package-card__media-link {
    display: block;
    min-width: 0;
}

.package-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(114, 0, 255, 0.2), rgba(46, 155, 209, 0.09)),
        rgba(255, 255, 255, 0.04);
}

.package-media img,
.package-media iframe,
.package-detail__media img,
.package-detail__media iframe,
.module-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(244, 247, 248, 0.22);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
}

.package-placeholder--large {
    min-height: 22rem;
}

.package-card__body {
    min-width: 0;
    display: grid;
    gap: 0.9rem;
    align-content: start;
    padding: 1rem;
}

.package-card__heading {
    min-width: 0;
    display: grid;
    gap: 0.4rem;
}

.package-card h3,
.featured-package-module h3 {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--text-primary);
    font-size: 1.06rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price strong {
    color: var(--green);
    font-size: 1.12rem;
}

.price del {
    color: rgba(223, 91, 91, 0.9);
}

.package-copy {
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    display: -webkit-box;
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.package-copy * {
    display: inline;
    margin: 0;
}

.package-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: auto;
}

.package-add-form {
    align-content: start;
}

.package-cta,
.checkout-button,
.auth-submit {
    width: 100%;
}

.package-detail {
    display: grid;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(0.85rem, 1.8vw, 1.25rem);
    margin-top: clamp(1rem, 3vw, 2rem);
}

.package-detail--stacked {
    grid-template-columns: minmax(0, 1fr);
}

.package-detail__media {
    min-width: 0;
    overflow: hidden;
}

.package-detail--stacked .package-detail__media {
    aspect-ratio: 16 / 9;
    max-height: min(58vh, 38rem);
}

.package-detail__media-track {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
}

.package-detail__media-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    clip-path: var(--cut-xs);
    background: var(--surface-soft);
}

.package-detail__content {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 1rem;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.package-detail__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.8rem;
    border: 1px solid rgba(56, 183, 115, 0.36);
    background: rgba(56, 183, 115, 0.08);
    clip-path: var(--cut-xs);
}

.package-detail__price strong {
    color: #b7f7d1;
    font-size: 1.45rem;
}

.package-detail__description,
.text-content {
    color: var(--text-muted);
    line-height: 1.65;
}

.text-content p + p,
.package-detail__description p + p {
    margin-top: 0.8rem;
}

.text-content a {
    color: #d6f1ff;
    text-decoration: underline;
    text-decoration-color: rgba(46, 155, 209, 0.5);
    text-underline-offset: 0.2em;
}

.purchase-reason {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(223, 91, 91, 0.5);
    background: rgba(223, 91, 91, 0.08);
    clip-path: var(--cut-xs);
    color: #ffd5d5;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
    gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.checkout-layout--inline {
    align-items: start;
}

.basket-panel,
.checkout-summary,
.auth-panel,
.cms-page,
.tebex-module {
    min-width: 0;
    padding: clamp(1rem, 2vw, 1.25rem);
}

.basket-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.basket-list--compact {
    margin-top: 0;
}

.basket-item {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.82rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    clip-path: var(--cut-xs);
}

.basket-item h3 {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.25;
    text-transform: uppercase;
}

.basket-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.basket-item__options span {
    padding: 0.25rem 0.42rem;
    border: 1px solid var(--border);
    clip-path: var(--cut-xs);
    color: var(--text-muted);
    font-size: 0.78rem;
}

.basket-item__meta {
    display: grid;
    justify-items: end;
    gap: 0.22rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: right;
}

.basket-item--compact {
    grid-template-columns: minmax(0, 1fr);
}

.basket-item--compact .basket-item__meta {
    justify-items: start;
    text-align: left;
}

.basket-item__meta strong {
    color: var(--green);
}

.remove-link,
.coupon-row a,
.copy-basket-link {
    color: #d6f1ff;
    font-size: 0.82rem;
    text-decoration: underline;
    text-decoration-color: rgba(46, 155, 209, 0.45);
    text-underline-offset: 0.22em;
}

.remove-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.checkout-summary {
    display: grid;
    align-content: start;
    gap: 1rem;
}

.summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(56, 183, 115, 0.36);
    background: rgba(56, 183, 115, 0.08);
    clip-path: var(--cut-xs);
}

.summary-total span {
    color: var(--text-muted);
    text-transform: uppercase;
}

.summary-total strong {
    color: #b7f7d1;
}

.checkout-trust {
    display: grid;
    justify-items: center;
    gap: 0.7rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--panel-border);
    text-align: center;
}

.checkout-trust__payments {
    width: min(100%, 260px);
    height: auto;
}

.checkout-trust__powered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1;
    text-transform: uppercase;
}

.checkout-trust__powered span {
    display: inline-flex;
    align-items: center;
    min-height: 1.1rem;
}

.checkout-trust__powered img {
    display: block;
    width: auto;
    max-width: 6.25rem;
    height: 1.1rem;
}

.checkout-trust p {
    max-width: 19rem;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.checkout-trust strong {
    color: var(--text-secondary);
}

.coupon-list {
    display: grid;
    gap: 0.45rem;
}

.coupon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.checkout-note {
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    border: 1px solid rgba(244, 197, 66, 0.38);
    background: rgba(244, 197, 66, 0.07);
    clip-path: var(--cut-xs);
}

.checkout-note strong,
.checkout-note span {
    display: block;
}

.checkout-note strong {
    color: var(--text-secondary);
    text-transform: uppercase;
}

.checkout-note span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.checkout-note--success {
    border-color: rgba(56, 183, 115, 0.48);
    background: rgba(56, 183, 115, 0.08);
}

.checkout-frame {
    min-width: 0;
    overflow: hidden;
    padding: 0;
}

.checkout-frame tebex-checkout {
    display: block;
    width: 100%;
    min-height: 840px;
}

.inline-form {
    margin: 0;
}

.store-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.store-form label,
.coupon-form label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.store-form input,
.store-form select,
.coupon-form input {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--field);
    clip-path: var(--cut-sm);
    color: var(--text-primary);
    outline: 0;
    padding: 0.65rem 0.78rem;
}

.store-form input:focus,
.store-form select:focus,
.coupon-form input:focus {
    border-color: rgba(46, 155, 209, 0.76);
    background: rgba(46, 155, 209, 0.1);
}

.coupon-form {
    display: grid;
    gap: 0.55rem;
}

.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
}

.auth-layout {
    min-height: 55vh;
    display: grid;
    place-items: center;
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.auth-layout--wide {
    place-items: start center;
}

.auth-panel {
    width: min(100%, 560px);
    display: grid;
    gap: 0.8rem;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.auth-actions .cut-button {
    flex: 1 1 10rem;
}

.linked-account {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--panel-border);
}

.linked-account > div {
    display: grid;
    gap: 0.25rem;
}

.linked-account span {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.linked-account strong {
    color: var(--text-secondary);
}

.options-panel {
    width: min(100%, 760px);
}

.option-field {
    display: grid;
    gap: 0.5rem;
}

.field-help {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.empty-state {
    display: grid;
    place-items: center;
    gap: 0.45rem;
    min-height: 13rem;
    padding: 1.25rem;
    border-style: dashed;
    color: var(--text-muted);
    text-align: center;
}

.empty-state h3 {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
}

.empty-state--compact {
    min-height: 9rem;
    margin-top: 1rem;
}

.tebex-module {
    display: grid;
    gap: 0.85rem;
}

.goal-track {
    height: 0.68rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.07);
    clip-path: var(--cut-xs);
}

.goal-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.module-image {
    aspect-ratio: 16 / 9;
    clip-path: var(--cut-xs);
}

.module-list {
    display: grid;
    gap: 0.5rem;
}

.module-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    clip-path: var(--cut-xs);
}

.module-list-row strong,
.module-list-row span {
    display: block;
}

.module-list-row span,
.module-list-row p {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.top-donor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-donor img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
    clip-path: var(--cut-xs);
}

.top-donor strong,
.top-donor span {
    display: block;
}

.top-donor span {
    color: var(--text-muted);
    font-size: 0.86rem;
}

.server-count {
    color: var(--text-muted);
}

.server-count strong {
    color: #b7f7d1;
}

.cms-page {
    width: min(100%, 880px);
    margin: clamp(1rem, 4vw, 3rem) auto;
}

.cms-page h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

.site-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.62);
}

.site-footer__inner {
    width: min(100% - 2rem, var(--container));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin: 0 auto;
    padding: 1.25rem 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.footer-brand img {
    width: 54px;
    height: 46px;
    object-fit: contain;
    opacity: 0.9;
}

.footer-brand span {
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #d6f1ff;
}

.footer-copy {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: rgba(155, 167, 173, 0.78);
    font-size: 0.82rem;
}

@media (max-width: 1024px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .header-actions--primary {
        grid-column: 2;
    }

    .header-spacer {
        display: none;
    }

    .checkout-layout,
    .package-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-summary {
        order: -1;
    }
}

@media (max-width: 768px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.65rem;
        padding: 0.55rem 0;
    }

    .brand-link {
        grid-column: 1;
    }

    .brand-link__logo {
        width: 58px;
        height: 48px;
    }

    .brand-link__name {
        font-size: 0.95rem;
    }

    .header-actions--account {
        grid-column: 2;
    }

    .header-actions--primary {
        grid-column: 1 / -1;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.1rem;
    }

    .header-button {
        min-width: 6.4rem;
    }

    .services-layout,
    .service-two-col,
    .featured-package-module,
    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-package-module__media {
        min-height: 14rem;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .featured-package-module__footer,
    .section-heading--row,
    .footer-copy {
        align-items: stretch;
        flex-direction: column;
    }

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

    .site-main {
        width: min(100% - 1.25rem, var(--container));
    }
}

@media (max-width: 430px) {
    .site-header__inner {
        width: min(100% - 0.75rem, var(--container));
    }

    .site-main {
        width: min(100% - 0.75rem, var(--container));
        padding-top: 0.8rem;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .brand-link {
        gap: 0.45rem;
    }

    .brand-link__logo {
        width: 48px;
        height: 40px;
    }

    .brand-link__name {
        font-size: 0.85rem;
    }

    .header-actions--account .header-button {
        min-width: 4.85rem;
    }

    .header-button,
    .cut-button,
    .cut-capsule,
    .cut-nav-item {
        min-height: 2.35rem;
        padding: 0.58rem 0.68rem;
        font-size: 0.82rem;
    }

    .basket-count {
        min-width: 1.25rem;
        height: 1.25rem;
        font-size: 0.68rem;
    }

    .hero {
        min-height: 260px;
    }

    .landing-actions,
    .landing-button {
        width: 100%;
    }

    .hero-actions .cut-button,
    .section-action {
        width: 100%;
    }

    .service-row,
    .basket-item,
    .input-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-row strong,
    .basket-item__meta {
        justify-self: start;
        text-align: left;
    }

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

    .module-head h2,
    .module-head h3 {
        white-space: normal;
    }

    .checkout-frame tebex-checkout {
        min-height: 760px;
    }
}
