.shop-page-shell .nav-link.is-active {
    color: #fff5e4;
}

.shop-page-shell .nav-link.is-active::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #efbd7b);
}

.shop-page {
    min-height: 100vh;
    padding: 118px 0 160px;
}

.shop-hero,
.shop-tier-section,
.tier-spotlight-section,
.feature-section,
.comparison-section {
    padding-bottom: 28px;
}

.shop-hero-card,
.tier-spotlight,
.comparison-table-wrap {
    border-radius: 28px;
    border: 1px solid var(--panel-border);
    background:
        radial-gradient(circle at 18% 18%, rgba(216, 154, 79, 0.14), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(88, 101, 242, 0.08), transparent 22%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        var(--panel);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.24);
}

.shop-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    padding: 38px;
}

.shop-hero-copy {
    max-width: 780px;
}

.shop-kicker,
.shop-section-kicker,
.feature-group-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: fit-content;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(216, 154, 79, 0.15);
    border: 1px solid rgba(216, 154, 79, 0.45);
    color: #f5c889;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-title,
.shop-section-title,
.tier-spotlight-title,
.modal-title {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.03em;
}

.shop-title {
    margin-top: 18px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 0.98;
    max-width: 820px;
}

.shop-subtitle,
.shop-section-copy,
.tier-spotlight-description,
.modal-lead {
    color: var(--muted);
    line-height: 1.7;
}

.shop-subtitle {
    max-width: 760px;
    margin-top: 18px;
    font-size: 18px;
}

.shop-subtitle code {
    color: #ffd39c;
    background: rgba(216, 154, 79, 0.12);
    border: 1px solid rgba(216, 154, 79, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
}

.shop-balance {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(216, 154, 79, 0.1);
    border: 1px solid rgba(216, 154, 79, 0.32);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.shop-balance-label {
    color: #f1ddc0;
    font-size: 14px;
    font-weight: 700;
}

.shop-balance-value {
    font-family: "Sora", sans-serif;
    font-size: 26px;
    color: #ffd69d;
}

.shop-section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.shop-section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.04;
}

.tier-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tier-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        rgba(13, 20, 24, 0.88);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tier-card:hover,
.tier-card:focus-visible {
    transform: translateY(-4px);
    outline: none;
}

.tier-card.is-active {
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.tier-vip {
    --tier-accent: #f5a524;
}

.tier-premium {
    --tier-accent: #b56dff;
}

.tier-deluxe {
    --tier-accent: #25c8ff;
}

.tier-legend {
    --tier-accent: #ff4fa7;
}

.tier-card.tier-vip:hover,
.tier-card.tier-vip.is-active,
.feature-state.tier-vip,
.comparison-check.tier-vip {
    border-color: rgba(245, 165, 36, 0.42);
}

.tier-card.tier-premium:hover,
.tier-card.tier-premium.is-active,
.feature-state.tier-premium,
.comparison-check.tier-premium {
    border-color: rgba(181, 109, 255, 0.42);
}

.tier-card.tier-deluxe:hover,
.tier-card.tier-deluxe.is-active,
.feature-state.tier-deluxe,
.comparison-check.tier-deluxe {
    border-color: rgba(37, 200, 255, 0.42);
}

.tier-card.tier-legend:hover,
.tier-card.tier-legend.is-active,
.feature-state.tier-legend,
.comparison-check.tier-legend {
    border-color: rgba(255, 79, 167, 0.42);
}

.tier-card.tier-vip.is-active {
    box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.2), 0 18px 36px rgba(245, 165, 36, 0.15);
}

.tier-card.tier-premium.is-active {
    box-shadow: 0 0 0 1px rgba(181, 109, 255, 0.2), 0 18px 36px rgba(181, 109, 255, 0.16);
}

.tier-card.tier-deluxe.is-active {
    box-shadow: 0 0 0 1px rgba(37, 200, 255, 0.2), 0 18px 36px rgba(37, 200, 255, 0.16);
}

.tier-card.tier-legend.is-active {
    box-shadow: 0 0 0 1px rgba(255, 79, 167, 0.2), 0 18px 36px rgba(255, 79, 167, 0.18);
}

.tier-media {
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tier-accent) 34%, transparent), transparent 58%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(7, 12, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tier-emblem,
.tier-showcase-emblem,
.modal-emblem {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-family: "Sora", sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #fff9f0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--tier-accent) 88%, white 12%), color-mix(in srgb, var(--tier-accent) 70%, black 30%));
    box-shadow: 0 18px 38px color-mix(in srgb, var(--tier-accent) 26%, transparent);
}

.tier-card-body {
    display: grid;
    gap: 10px;
}

.tier-card-badge,
.shop-sticky-tier,
.feature-state,
.tier-purchase-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: fit-content;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tier-card-badge,
.tier-purchase-label {
    background: rgba(255, 255, 255, 0.06);
    color: #d0e0e3;
}

.tier-card-title {
    font-family: "Sora", sans-serif;
    font-size: 28px;
    line-height: 1.1;
}

.tier-card-text {
    color: var(--muted);
    line-height: 1.6;
    min-height: 52px;
}

.tier-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: #d5e6e8;
}

.tier-card-footer strong {
    font-family: "Sora", sans-serif;
    font-size: 26px;
    color: #fff1db;
}

.shop-feedback,
.shop-empty {
    border-radius: 20px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    text-align: center;
    line-height: 1.6;
}

.shop-feedback[data-tone="error"] {
    border-color: rgba(255, 92, 88, 0.36);
    background: rgba(255, 92, 88, 0.08);
    color: #ffd5d3;
}

.hidden {
    display: none !important;
}

.tier-spotlight {
    padding: 34px;
}

.tier-spotlight-main {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 28px;
    align-items: stretch;
}

.tier-spotlight-title {
    margin-top: 18px;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 0.98;
}

.tier-spotlight-description {
    margin-top: 18px;
    max-width: 720px;
}

.tier-command-row,
.modal-command-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tier-command-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f0f7f8;
    font-size: 13px;
    font-weight: 700;
}

.tier-highlight-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: 24px;
}

.tier-highlight-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #d9e6e8;
}

.tier-highlight-list li::before {
    content: "•";
    color: var(--tier-accent);
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

.tier-spotlight-side {
    display: grid;
    gap: 18px;
}

.tier-showcase,
.tier-purchase-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.tier-showcase {
    min-height: 280px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.tier-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tier-showcase-emblem {
    width: 128px;
    height: 128px;
    border-radius: 34px;
    font-size: 56px;
}

.tier-purchase-card {
    padding: 24px;
    display: grid;
    gap: 14px;
}

.tier-purchase-price {
    font-family: "Sora", sans-serif;
    font-size: 38px;
    color: #ffe0b0;
}

.tier-purchase-duration {
    color: var(--muted);
}

.tier-details-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.feature-grid {
    display: grid;
    gap: 24px;
}

.feature-group {
    display: grid;
    gap: 16px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-card-modern {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    min-height: 124px;
    padding: 22px 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.feature-card-layout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-width: 0;
}

.feature-card-icon {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-card-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.feature-card-copy h3 {
    font-size: 22px;
    line-height: 1.2;
}

.feature-card-copy p {
    color: var(--muted);
    line-height: 1.65;
}

.feature-state {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f5fbfc;
}

.feature-state.is-available {
    background: rgba(46, 204, 113, 0.16);
    border-color: rgba(46, 204, 113, 0.3);
    color: #dbffea;
}

.feature-state.tier-vip {
    background: rgba(245, 165, 36, 0.16);
    color: #ffe0a9;
}

.feature-state.tier-premium {
    background: rgba(181, 109, 255, 0.16);
    color: #edd8ff;
}

.feature-state.tier-deluxe {
    background: rgba(37, 200, 255, 0.16);
    color: #daf6ff;
}

.feature-state.tier-legend {
    background: rgba(255, 79, 167, 0.16);
    color: #ffd8eb;
}

.comparison-table-wrap {
    overflow-x: auto;
    padding: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
}

.comparison-table thead th {
    padding: 18px 16px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f6dfb9;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody th,
.comparison-table tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table tbody th {
    width: 36%;
    text-align: left;
}

.comparison-table tbody th strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #f1f8f9;
}

.comparison-table tbody th span {
    display: block;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 400;
}

.comparison-table tbody td {
    text-align: center;
}

.comparison-check,
.comparison-dash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 800;
}

.comparison-check {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-dash {
    color: #6f8084;
}

.comparison-check.tier-vip {
    background: rgba(245, 165, 36, 0.2);
    color: #ffe3b9;
}

.comparison-check.tier-premium {
    background: rgba(181, 109, 255, 0.2);
    color: #edd8ff;
}

.comparison-check.tier-deluxe {
    background: rgba(37, 200, 255, 0.2);
    color: #daf6ff;
}

.comparison-check.tier-legend {
    background: rgba(255, 79, 167, 0.2);
    color: #ffd8eb;
}

.shop-sticky-bar {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 1040;
}

.shop-sticky-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 16px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 15, 19, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
}

.shop-sticky-copy {
    display: flex;
    gap: 14px;
    align-items: center;
}

.shop-sticky-tier {
    color: #131313;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, white 15%), var(--accent));
}

.shop-sticky-title {
    display: block;
    font-size: 17px;
}

.shop-sticky-text {
    color: var(--muted);
    margin-top: 4px;
}

.shop-sticky-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.shop-sticky-price {
    font-family: "Sora", sans-serif;
    font-size: 30px;
    color: #ffe0b2;
}

.shop-sticky-button {
    min-width: 200px;
    min-height: 52px;
}

.shop-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shop-buy-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.shop-buy-btn-primary {
    color: #241102;
    background: linear-gradient(135deg, #efbd7b 0%, #d89a4f 100%);
    box-shadow: 0 14px 28px rgba(216, 154, 79, 0.22);
}

.shop-buy-btn-guest,
.shop-buy-btn-locked {
    color: #d5e2e4;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.shop-buy-btn-banned {
    color: #ffd7d5;
    background: rgba(255, 92, 88, 0.12);
    border-color: rgba(255, 92, 88, 0.28);
    cursor: not-allowed;
}

.shop-buy-btn.is-loading,
.shop-buy-btn:disabled {
    filter: saturate(0.85);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: min(100%, 860px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 24px;
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
    animation: modalIn 0.18s ease-out;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
}

.modal-visual {
    min-height: 340px;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tier-accent) 34%, transparent), transparent 58%),
        rgba(255, 255, 255, 0.04);
}

.modal-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-copy,
.modal-body {
    display: grid;
    gap: 16px;
}

.modal-feature-grid {
    display: grid;
    gap: 14px;
}

.modal-feature-group {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.modal-feature-group h3 {
    font-size: 16px;
}

.modal-feature-group ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
}

.modal-price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    color: var(--muted);
}

.modal-price-row strong {
    font-family: "Sora", sans-serif;
    font-size: 34px;
    color: #ffe0b0;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.purchase-summary {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.purchase-summary-large div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.purchase-summary-large strong {
    color: var(--text);
}

.toast-container {
    position: fixed;
    top: 94px;
    right: 20px;
    z-index: 1200;
    display: grid;
    gap: 12px;
    width: min(360px, calc(100vw - 24px));
}

.toast {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4fbfc;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.26);
    animation: toastIn 0.2s ease-out;
}

.toast-success {
    background: rgba(46, 204, 113, 0.14);
    border-color: rgba(46, 204, 113, 0.34);
}

.toast-error {
    background: rgba(255, 92, 88, 0.14);
    border-color: rgba(255, 92, 88, 0.34);
}

.toast-warning {
    background: rgba(216, 154, 79, 0.16);
    border-color: rgba(216, 154, 79, 0.34);
}

.toast.is-leaving {
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font-size: 14px;
    cursor: pointer;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1279px) {
    .tier-selector {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .tier-spotlight-main,
    .modal-content-grid {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .shop-page {
        padding-top: 104px;
    }

    .shop-hero-card,
    .tier-spotlight,
    .modal-content {
        padding: 24px 20px;
    }

    .shop-hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .tier-selector {
        grid-template-columns: 1fr;
    }

    .feature-card-modern,
    .feature-card-layout {
        flex-direction: column;
    }

    .feature-card-icon {
        width: 60px;
        height: 60px;
    }

    .shop-sticky-bar {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .shop-sticky-inner,
    .shop-sticky-copy,
    .shop-sticky-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-sticky-button {
        width: 100%;
        min-width: 0;
    }

    .modal {
        padding: 12px;
    }

    .modal-content {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 20px;
    }

    .modal-actions .btn,
    .shop-buy-btn {
        width: 100%;
    }
}

@media (max-width: 479px) {
    .shop-title {
        font-size: 34px;
    }

    .tier-card-title {
        font-size: 24px;
    }

    .feature-card-copy h3 {
        font-size: 20px;
    }

    .comparison-table-wrap {
        padding: 8px;
    }
}
