
:root {
    --au-bg: #040507;
    --au-bg-soft: #0a0c10;
    --au-panel: rgba(13, 15, 20, 0.92);
    --au-panel-2: rgba(17, 20, 27, 0.96);
    --au-panel-3: rgba(23, 26, 34, 0.98);
    --au-border: rgba(255, 255, 255, 0.08);
    --au-border-red: rgba(255, 31, 48, 0.35);
    --au-red: #ff1f30;
    --au-red-dark: #9b0f1b;
    --au-red-soft: rgba(255, 31, 48, 0.12);
    --au-text: #f5f7fb;
    --au-text-soft: #d3d9e4;
    --au-muted: #9198a6;
    --au-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --au-radius: 20px;
}

html, body { min-height: 100%; }
body.au-body {
    margin: 0;
    background-color: var(--au-bg) !important;
    background-image:
        radial-gradient(circle at 92% 0%, rgba(255, 31, 48, 0.18), transparent 22%),
        radial-gradient(circle at 0% 0%, rgba(120, 11, 21, 0.18), transparent 24%),
        linear-gradient(135deg, #020304 0%, #06070b 50%, #160107 100%) !important;
    background-attachment: fixed;
    color: var(--au-text);
    font-family: Inter, Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.au-background-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, transparent 0 62%, rgba(255, 31, 48, 0.08) 62% 100%);
    z-index: -1;
}

a { color: #ff4453; transition: color .18s ease, border-color .18s ease, transform .18s ease, background .18s ease; }
a:hover, a:focus { color: #fff; text-decoration: none; }

.au-app {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.au-sidebar-shell {
    width: 300px;
    flex: 0 0 300px;
    position: sticky;
    top: 20px;
    background: rgba(8, 10, 14, 0.95);
    border: 1px solid var(--au-border);
    border-radius: 26px;
    box-shadow: var(--au-shadow);
    overflow: hidden;
}

.au-side-brand {
    padding: 26px 24px 22px;
    border-bottom: 1px solid var(--au-border);
    background: linear-gradient(180deg, rgba(255, 31, 48, 0.08), transparent 70%);
}
.au-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}
.au-brand:hover { color: #fff; }
.au-brand-mark,
.au-brand-fallback {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f29, #090a0d);
    border: 1px solid var(--au-border);
    overflow: hidden;
}
.au-brand-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.au-brand-fallback { font-size: 28px; font-weight: 900; }
.au-brand-copy strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.04em;
}
.au-brand-copy span {
    display: block;
    margin-top: 5px;
    color: var(--au-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 800;
}
.au-server-box {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--au-border-red);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.4);
}
.au-server-box small {
    display: block;
    color: var(--au-red);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .18em;
    font-weight: 800;
    margin-bottom: 8px;
}
.au-server-box .au-ip-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.au-server-box code {
    flex: 1;
    padding: 0;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    font-family: "Courier New", monospace;
}

.au-sidebar-nav { padding: 22px; }
.au-mobile-nav {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.au-mobile-nav strong {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    color: var(--au-muted);
}
.au-side-toggle {
    float: none;
    margin: 0;
    border: 1px solid var(--au-border-red);
    border-radius: 12px;
    padding: 10px 12px;
}
.au-side-toggle .icon-bar { background: #fff; }
.au-side-menu,
.au-side-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.au-side-menu > li,
.au-side-group { margin-bottom: 8px; }
.au-side-link,
.au-side-submenu a,
.au-side-group-title {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: #edf1f8;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.02);
}
.au-side-link:hover,
.au-side-submenu a:hover,
.au-side-group-title:hover {
    background: rgba(255, 31, 48, 0.09);
    border-color: var(--au-border-red);
    color: #fff;
    transform: translateX(2px);
}
.au-side-group-title {
    background: rgba(255, 255, 255, 0.03);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    color: var(--au-muted);
}
.au-side-submenu {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.au-side-submenu li { margin-bottom: 8px; }
.au-side-basket,
.au-side-player {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--au-border-red);
    font-weight: 900;
    text-align: center;
    color: #fff;
}
.au-side-basket {
    background: linear-gradient(135deg, rgba(255, 31, 48, 0.20), rgba(155, 15, 27, 0.2));
}
.au-side-player {
    margin-top: 10px;
    border-color: var(--au-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--au-text-soft);
}

.au-content-shell { flex: 1; min-width: 0; }
.au-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 22px 26px;
    border-radius: 22px;
    border: 1px solid var(--au-border);
    background: rgba(10, 12, 16, 0.82);
    box-shadow: var(--au-shadow);
}
.au-topbar p { margin: 0 0 6px; }
.au-topbar h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
    letter-spacing: -.05em;
    font-weight: 950;
    color: #fff;
}
.au-topbar h1 span { color: var(--au-red); }
.au-topbar .au-eyebrow {
    color: var(--au-red);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .2em;
    font-weight: 900;
}
.au-topbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.au-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 999px;
    border: 1px solid var(--au-border);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-weight: 800;
}
.au-pill--accent { border-color: var(--au-border-red); background: rgba(255, 31, 48, 0.1); }

.au-main { min-width: 0; }
.au-card,
.au-module,
.au-package-card,
.au-feature-card {
    background: var(--au-panel);
    border: 1px solid var(--au-border);
    border-radius: var(--au-radius);
    box-shadow: var(--au-shadow);
    color: var(--au-text);
}
.au-card { padding: 24px; margin-bottom: 22px; }
.au-card-flat { padding: 0; overflow: hidden; }
.au-muted { color: var(--au-muted); line-height: 1.7; }
.au-section-heading { margin: 0; }
.au-section-heading p {
    margin: 0 0 8px;
    color: var(--au-red);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 900;
}
.au-section-heading h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -.04em;
    font-weight: 950;
    color: #fff;
}

.au-home-layout .au-home-sidebar,
.au-home-layout .au-home-main {
    margin-bottom: 20px;
}
.au-category-panel .au-module-heading,
.au-featured-section .au-module-heading,
.au-home-copy .au-module-heading,
.au-module-heading {
    padding: 16px 20px;
    border-bottom: 1px solid var(--au-border);
    background: linear-gradient(90deg, rgba(255, 31, 48, 0.12), transparent 70%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 900;
}
.au-module-body { padding: 18px 20px 20px; }

.au-category-list,
.au-category-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.au-category-list > li { margin-bottom: 10px; }
.au-category-list a,
.au-category-parent {
    display: block;
    padding: 15px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid transparent;
    color: #fff;
    font-weight: 800;
}
.au-category-list a:hover,
.au-category-parent:hover {
    background: rgba(255, 31, 48, 0.08);
    border-color: var(--au-border-red);
    color: #fff;
}
.au-category-parent {
    color: var(--au-text-soft);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}
.au-category-sublist { margin-top: 10px; padding-left: 12px; }
.au-category-sublist li { margin-bottom: 8px; }
.au-category-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--au-muted);
}

.au-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 20px 20px;
}
.au-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    margin-bottom: 0;
}
.au-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 60%);
    pointer-events: none;
}
.au-feature-card { border-color: rgba(255, 31, 48, 0.35); background: linear-gradient(135deg, rgba(255, 31, 48, 0.14), rgba(13, 15, 20, 0.92) 60%); }
.au-feature-media {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.au-feature-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.au-feature-placeholder {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
}
.au-feature-copy { position: relative; z-index: 1; flex: 1; min-width: 0; }
.au-feature-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.au-feature-copy h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 900;
    color: #fff;
}
.au-feature-price {
    display: block;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
}
.au-feature-price span { color: var(--au-muted); font-size: 13px; font-weight: 800; }
.au-feature-placeholder-card {
    border-style: dashed;
    background: rgba(255,255,255,0.02);
}
.au-feature-placeholder-card p {
    margin: 0;
    color: var(--au-muted);
    font-size: 14px;
    line-height: 1.6;
}

.au-page-copy,
.au-page-copy > div,
.au-page-copy > section,
.au-rich-text,
.au-rich-text > div,
.au-rich-text > section {
    background: transparent !important;
}
.au-page-copy [style*="background"],
.au-rich-text [style*="background"] {
    background: transparent !important;
}
.au-page-copy,
.au-page-copy p,
.au-page-copy li,
.au-page-copy span,
.au-page-copy div,
.au-rich-text,
.au-rich-text p,
.au-rich-text li,
.au-rich-text span,
.au-rich-text div {
    color: var(--au-text-soft) !important;
    line-height: 1.8;
}
.au-page-copy h1,
.au-page-copy h2,
.au-page-copy h3,
.au-page-copy h4,
.au-page-copy h5,
.au-page-copy h6,
.au-rich-text h1,
.au-rich-text h2,
.au-rich-text h3,
.au-rich-text h4,
.au-rich-text h5,
.au-rich-text h6 {
    color: #fff !important;
    font-weight: 900 !important;
    letter-spacing: -.03em;
    margin-top: 0;
}
.au-page-copy strong,
.au-rich-text strong { color: #fff !important; }
.au-page-copy img,
.au-rich-text img,
.au-product-image img { max-width: 100%; height: auto; }
.au-page-copy table,
.au-rich-text table { width: 100%; background: transparent !important; }
.au-page-copy iframe,
.au-rich-text iframe { max-width: 100%; }

.au-module-grid > [class*="col-"] { margin-bottom: 20px; }
.au-module { padding: 0; overflow: hidden; margin-bottom: 0; }
.au-payment-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--au-border);
}
.au-payment-row:last-child { border-bottom: 0; }
.au-payment-row img,
.au-avatar-large {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 31, 48, 0.35);
}
.au-avatar-large {
    width: 84px;
    height: 84px;
    margin: 0 auto 14px;
}
.au-payment-row span,
.au-donor-total { display: block; color: var(--au-muted); font-size: 13px; }
.au-donor-name { display: block; font-size: 20px; }
.au-goal-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    margin-bottom: 12px;
}
.au-progress {
    height: 12px;
    border-radius: 999px;
    background: #090a0d;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--au-border);
}
.au-progress .progress-bar {
    background: linear-gradient(90deg, var(--au-red-dark), var(--au-red));
    box-shadow: none;
}
.au-server-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.au-status-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
}
.au-featured-image { display: block; margin-bottom: 14px; }
.au-featured-image img { max-width: 130px; max-height: 130px; object-fit: contain; }
.au-card-alert { margin-top: 10px; }

.au-category-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 31, 48, 0.11), rgba(17, 20, 27, 0.95));
    border-color: var(--au-border-red);
}
.au-category-hero h1,
.au-result h1,
.au-auth-card h1,
.au-product-card h1,
.au-section-title h2 {
    margin: 0;
    font-weight: 950;
    letter-spacing: -.04em;
    color: #fff;
}
.au-package-grid .col-sm-6,
.au-category-grid .col-sm-6 { margin-bottom: 20px; }
.au-package-card { overflow: hidden; height: 100%; padding: 0; }
.au-package-media {
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0b10, #21030a);
    border-bottom: 1px solid var(--au-border);
}
.au-package-media img { max-width: 100%; max-height: 150px; object-fit: contain; padding: 12px; }
.au-package-placeholder {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 31, 48, 0.18);
    color: #fff;
    font-size: 36px;
    font-weight: 950;
    text-transform: uppercase;
}
.au-package-body { padding: 18px; }
.au-package-body h3 { min-height: 48px; margin: 0 0 10px; color: #fff; font-weight: 950; font-size: 20px; }
.au-price { color: #fff; font-size: 20px; font-weight: 950; }
.au-price span { color: var(--au-muted); font-size: 13px; font-weight: 800; }
.au-price del { color: var(--au-muted); margin-right: 6px; }
.au-price-large { font-size: 34px; }
.au-product-image { background: #090a0d; border: 1px solid var(--au-border); border-radius: 16px; padding: 22px; text-align: center; margin-bottom: 18px; }
.au-description { color: var(--au-text-soft); line-height: 1.7; }

.au-table-card { padding: 0; overflow: hidden; }
.au-table { color: #eef0f3; margin-bottom: 0; }
.au-table > thead > tr > th { color: #fff; border-bottom: 1px solid var(--au-border-red); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.au-table > tbody > tr > td { border-top: 1px solid var(--au-border); vertical-align: middle; }
.au-table > tbody > tr:hover > td { background: rgba(255, 31, 48, 0.06); }

.au-btn {
    border: 0;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: .01em;
    padding: 11px 16px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.au-btn:hover,
.au-btn:focus { transform: translateY(-1px); color: #fff; }
.au-btn-red {
    background: linear-gradient(135deg, var(--au-red), var(--au-red-dark));
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(255, 31, 48, 0.24);
}
.au-btn-red:hover { background: linear-gradient(135deg, #ff4453, #b01221); }
.au-btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff !important;
    border: 1px solid var(--au-border);
}
.au-btn-danger { background: #7d0f17; color: #fff !important; }
.au-btn-xs { padding: 7px 10px; font-size: 12px; }

.form-control.au-input,
.au-input,
select.au-input {
    background: #090a0d !important;
    border: 1px solid var(--au-border) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    min-height: 42px;
}
.au-input::placeholder { color: #737987; }
.au-input:focus { border-color: var(--au-red) !important; box-shadow: 0 0 0 3px rgba(255, 31, 48, .16) !important; }
label { color: #e9ebef; }
.au-small-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; }
.au-auth-wrap { max-width: 520px; margin: 34px auto; }
.au-auth-card { padding: 36px; }
.au-steam-login img { max-width: 100%; }

.au-basket-card,
.au-payment-card { padding: 26px; }
.au-quantity-form { display: flex; align-items: center; gap: 8px; }
.au-qty-input { width: 70px; min-height: 32px; }
.au-total { color: #fff; font-size: 18px; }
.au-coupon-form { margin-top: 18px; }
.au-gateways { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.au-gateway { display: block; margin: 0; cursor: pointer; }
.au-gateway input { position: absolute; opacity: 0; }
.au-gateway span {
    display: block;
    border: 1px solid var(--au-border);
    background: #090a0d;
    color: #fff;
    border-radius: 12px;
    padding: 13px;
    text-align: center;
    font-weight: 900;
}
.au-gateway input:checked + span {
    border-color: var(--au-red);
    background: var(--au-red-soft);
    box-shadow: 0 0 0 3px rgba(255, 31, 48, .14);
}
.au-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; color: var(--au-muted); }
.au-submit-row { margin-top: 18px; }
.au-alert-inline {
    color: #ffd5d8;
    background: rgba(255, 31, 48, .13);
    border: 1px solid var(--au-border-red);
    padding: 14px;
    border-radius: 12px;
    text-align: left;
}
.au-alert {
    background: rgba(255,193,7,.1);
    border-color: rgba(255,193,7,.35);
    color: #ffe8a1;
    border-radius: 14px;
}
.au-alert-list { margin-bottom: 0; }

.au-modal .modal-content,
.au-modal-content {
    background: var(--au-panel-3);
    color: var(--au-text);
    border: 1px solid var(--au-border-red);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--au-shadow);
}
.au-modal .modal-header,
.au-modal .modal-footer { border-color: var(--au-border); }
.au-modal .close { color: #fff; opacity: .9; text-shadow: none; }

.au-result {
    max-width: 720px;
    margin: 46px auto;
    text-align: center;
    padding: 46px;
    border-color: var(--au-border-red);
}
.au-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--au-red-soft);
    color: #fff;
    font-size: 36px;
    font-weight: 950;
    border: 1px solid var(--au-border-red);
    margin-bottom: 18px;
}

.au-footer {
    margin: 28px 0 10px;
    padding: 18px 4px 10px;
    color: var(--au-muted);
    border-top: 1px solid var(--au-border);
}
.au-footer a { color: #dce0e8; font-weight: 800; }
.au-footer-links span { color: var(--au-red); padding: 0 7px; }
.au-powered { text-align: right; }

@media (max-width: 1199px) {
    .au-featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .au-app { display: block; }
    .au-sidebar-shell {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    .au-mobile-nav { display: flex; }
    .au-topbar { padding: 20px; }
}

@media (max-width: 767px) {
    .au-app { padding: 12px; }
    .au-side-brand,
    .au-sidebar-nav,
    .au-card,
    .au-topbar { padding-left: 18px; padding-right: 18px; }
    .au-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .au-topbar-actions { width: 100%; }
    .au-topbar-actions .au-pill,
    .au-topbar-actions .au-btn { width: 100%; justify-content: center; }
    .au-server-box .au-ip-row {
        flex-direction: column;
        align-items: stretch;
    }
    .au-feature-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .au-feature-media { width: 82px; height: 82px; }
    .au-category-hero { padding: 24px; }
    .au-gateways { grid-template-columns: 1fr; }
    .au-powered { text-align: left; }
}

.au-sub-period {
    display: inline-block;
    margin-left: 5px;
    color: var(--au-muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
}
