/* mori surface layer - self-hosted typography */
@font-face {
    font-family: 'OutfitLocal';
    src: url('/res/forge/fonts/outfit-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OutfitLocal';
    src: url('/res/forge/fonts/outfit-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OutfitLocal';
    src: url('/res/forge/fonts/outfit-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SoraLocal';
    src: url('/res/forge/fonts/sora-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --mw-bg-deep: #0a0e1a;
    --mw-bg-panel: #121931;
    --mw-bg-elevated: #1a2240;
    --mw-gold: #f5c542;
    --mw-gold-dim: #c9a032;
    --mw-azure: #4a6cf7;
    --mw-azure-soft: #3b5bdb;
    --mw-text: #e8ecf4;
    --mw-text-muted: #8b95ad;
    --mw-border: rgba(255, 255, 255, 0.08);
    --mw-radius: 12px;
    --mw-radius-sm: 8px;
    --mw-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'OutfitLocal', system-ui, sans-serif;
    line-height: 1.55;
    color: var(--mw-text);
    background: var(--mw-bg-deep);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

/* crest bar (header) */
.mw-crest-bar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--mw-bg-panel);
    border-bottom: 1px solid var(--mw-border);
}

.mw-crest-bar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 20px;
    gap: 16px;
}

.mw-crest-bar__mark img {
    max-height: 36px;
    width: auto;
    display: block;
}

.mw-crest-bar__mark span {
    font-family: 'SoraLocal', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

.mw-crest-bar__actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.mw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--mw-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, filter 0.15s;
}

.mw-btn:hover {
    filter: brightness(1.08);
}

.mw-btn--azure {
    background: linear-gradient(135deg, var(--mw-azure) 0%, var(--mw-azure-soft) 100%);
    color: #fff;
}

.mw-btn--gold {
    background: linear-gradient(135deg, var(--mw-gold) 0%, var(--mw-gold-dim) 100%);
    color: #111;
}

.mw-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--mw-text);
    border: 1px solid var(--mw-border);
}

.mw-btn--compact {
    padding: 8px 14px;
    font-size: 0.8125rem;
}

/* section rail (horizontal nav) */
.mw-section-rail {
    background: var(--mw-bg-elevated);
    border-bottom: 1px solid var(--mw-border);
}

.mw-section-rail__track {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}

.mw-section-rail__track > li {
    margin: 0;
}

.mw-section-rail__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 18px;
    color: var(--mw-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.mw-section-rail__link:hover {
    color: var(--mw-text);
    background: rgba(255, 255, 255, 0.03);
}

.mw-section-rail__link.active {
    color: var(--mw-gold);
    border-bottom-color: var(--mw-gold);
}

.mw-section-rail__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* viewport (main) */
.mw-viewport {
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

/* mobile dock trigger */
.mw-dock-trigger {
    display: none;
}

.mw-screen-dim {
    display: none;
}

.mw-slide-panel {
    display: none;
}

/* spotlight / banners */
.mw-spotlight-zone {
    margin-bottom: 28px;
}

.mw-spotlight-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--mw-radius);
    background: var(--mw-bg-panel);
}

.mw-spotlight-track {
    display: flex;
    transition: transform 0.4s ease;
}

.mw-spotlight-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.mw-spotlight-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mw-bg-panel);
    border-radius: var(--mw-radius);
    overflow: hidden;
}

.mw-spotlight-frame picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.mw-spotlight-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.mw-spotlight-caption {
    padding: 16px 20px 20px;
    width: 100%;
}

.mw-spotlight-caption__title {
    font-family: 'SoraLocal', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.mw-spotlight-caption__note {
    color: var(--mw-text-muted);
    font-size: 0.875rem;
    margin-bottom: 14px;
}

.mw-spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
}

.mw-spotlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
}

.mw-spotlight-dot.active {
    background: var(--mw-gold);
    width: 24px;
    border-radius: 4px;
}

/* catalog / games */
.mw-catalog-block {
    margin-bottom: 36px;
}

.mw-catalog-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.mw-catalog-block__label {
    font-family: 'SoraLocal', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mw-catalog-block__label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--mw-gold);
    border-radius: 2px;
}

.mw-catalog-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--mw-gold-dim) transparent;
    padding-bottom: 4px;
}

.mw-catalog-scroll::-webkit-scrollbar {
    height: 4px;
}

.mw-catalog-scroll::-webkit-scrollbar-thumb {
    background: var(--mw-gold-dim);
    border-radius: 2px;
}

.mw-catalog-row {
    display: flex;
    gap: 14px;
}

.mw-slot-tile {
    flex: 0 0 148px;
    background: var(--mw-bg-panel);
    border-radius: var(--mw-radius);
    border: 1px solid var(--mw-border);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.mw-slot-tile:hover {
    border-color: rgba(245, 197, 66, 0.35);
    transform: translateY(-2px);
}

.mw-slot-tile__visual {
    position: relative;
    background: var(--mw-bg-elevated);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mw-slot-tile__visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.mw-slot-tile__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mw-slot-tile__name {
    padding: 8px 10px 10px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mw-text-muted);
}

/* bonuses */
.mw-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.mw-promo-card {
    position: relative;
    background: linear-gradient(160deg, rgba(26, 34, 64, 0.9) 0%, var(--mw-bg-panel) 100%);
    border: 1px solid var(--mw-border);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.mw-promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 66, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 197, 66, 0.1);
}

.mw-promo-card__visual {
    position: relative;
    overflow: hidden;
}

.mw-promo-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 14, 26, 0.85) 100%);
    pointer-events: none;
}

.mw-promo-card__visual img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.mw-promo-card:hover .mw-promo-card__visual img {
    transform: scale(1.05);
}

.mw-promo-card__body {
    padding: 18px 18px 20px;
}

.mw-promo-card__title {
    font-family: 'SoraLocal', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.35;
}

.mw-promo-card__desc {
    color: var(--mw-text-muted);
    font-size: 0.8125rem;
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mw-promo-card__value {
    display: inline-block;
    color: #111;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--mw-gold) 0%, var(--mw-gold-dim) 100%);
    border-radius: 999px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(245, 197, 66, 0.2);
}

.mw-promo-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(74, 108, 247, 0.12);
    color: var(--mw-azure);
    border: 1px solid rgba(74, 108, 247, 0.25);
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mw-promo-card__terms {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--mw-border);
    font-size: 0.6875rem;
    color: var(--mw-text-muted);
    line-height: 1.5;
    opacity: 0.85;
}

/* seo text block */
.mw-article-zone {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 0;
}

.mw-viewport > .mw-article-zone {
    background: linear-gradient(180deg, rgba(18, 25, 49, 0.4) 0%, transparent 100%);
    border-radius: 16px;
    padding: 32px 28px;
}

.mw-article-zone h1 {
    font-family: 'SoraLocal', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 1.875rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--mw-text);
    line-height: 1.3;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--mw-border);
}

.mw-article-zone h2 {
    font-family: 'SoraLocal', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 32px 0 14px;
    color: var(--mw-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mw-article-zone h2::before {
    content: '';
    width: 4px;
    height: 1.1em;
    background: linear-gradient(180deg, var(--mw-gold), var(--mw-azure));
    border-radius: 2px;
    flex-shrink: 0;
}

.mw-article-zone h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 22px 0 10px;
    color: var(--mw-gold);
}

.mw-article-zone p {
    margin-bottom: 16px;
    color: var(--mw-text-muted);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.mw-article-zone a {
    color: var(--mw-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 197, 66, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.mw-article-zone a:hover {
    color: var(--mw-text);
    border-color: var(--mw-gold);
}

.mw-article-zone img {
    border-radius: var(--mw-radius);
    margin: 20px 0;
    border: 1px solid var(--mw-border);
    box-shadow: var(--mw-shadow);
}

.mw-article-zone blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--mw-gold);
    background: rgba(245, 197, 66, 0.05);
    border-radius: 0 12px 12px 0;
    color: var(--mw-text-muted);
    font-style: italic;
    line-height: 1.7;
}

.mw-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 14px;
    border: 1px solid var(--mw-border);
    background: var(--mw-bg-panel);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mw-table-scroll table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

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

.mw-table-scroll th {
    background: linear-gradient(180deg, var(--mw-bg-elevated) 0%, rgba(26, 34, 64, 0.8) 100%);
    font-weight: 600;
    white-space: nowrap;
    color: var(--mw-gold);
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
}

.mw-table-scroll td:first-child {
    font-weight: 600;
    color: var(--mw-text);
}

.mw-table-scroll tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.mw-table-scroll tr:last-child td {
    border-bottom: none;
}

.mw-list-block ul,
.mw-list-block ol {
    margin: 14px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--mw-border);
    border-radius: 12px;
    padding: 16px 16px 16px 32px;
    color: var(--mw-text-muted);
}

.mw-list-block li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.mw-list-block li::marker {
    color: var(--mw-gold);
}

/* faq / howto */
.mw-faq-stack {
    margin: 24px 0;
}

.mw-faq-entry {
    background: var(--mw-bg-panel);
    border: 1px solid var(--mw-border);
    border-radius: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.mw-faq-entry:hover {
    border-color: rgba(74, 108, 247, 0.3);
}

.mw-faq-entry__q {
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(74, 108, 247, 0.08) 0%, transparent 100%);
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mw-faq-entry__q::before {
    content: '?';
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 197, 66, 0.15);
    color: var(--mw-gold);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mw-faq-entry__a {
    padding: 14px 18px 16px 52px;
    color: var(--mw-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.mw-guide-block {
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(160deg, rgba(26, 34, 64, 0.6) 0%, var(--mw-bg-panel) 100%);
    border: 1px solid var(--mw-border);
    border-radius: 16px;
}

.mw-guide-steps {
    list-style: none;
    counter-reset: mw-step;
}

.mw-guide-steps li {
    counter-increment: mw-step;
    padding: 16px 16px 16px 48px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mw-border);
    border-radius: 12px;
    position: relative;
    font-size: 0.875rem;
    color: var(--mw-text-muted);
    line-height: 1.65;
    transition: border-color 0.2s;
}

.mw-guide-steps li:hover {
    border-color: rgba(245, 197, 66, 0.25);
}

.mw-guide-steps li::before {
    content: counter(mw-step);
    position: absolute;
    left: 14px;
    top: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--mw-gold) 0%, var(--mw-gold-dim) 100%);
    color: #111;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 197, 66, 0.3);
}

.mw-guide-steps li strong {
    display: block;
    color: var(--mw-text);
    margin-bottom: 6px;
    font-size: 0.9375rem;
}

/* breadcrumbs */
.mw-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.8125rem;
}

.mw-trail__link {
    color: var(--mw-text-muted);
    text-decoration: none;
}

.mw-trail__link:hover {
    color: var(--mw-gold);
}

.mw-trail__sep {
    color: var(--mw-text-muted);
    opacity: 0.5;
}

/* payments */
.mw-pay-strip {
    margin: 32px 0;
}

.mw-pay-strip__head {
    font-family: 'SoraLocal', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.mw-pay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.mw-pay-chip {
    background: var(--mw-bg-panel);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    padding: 14px 10px;
    text-align: center;
}

.mw-pay-chip img {
    max-height: 32px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.mw-pay-chip span {
    font-size: 0.75rem;
    color: var(--mw-text-muted);
    font-weight: 600;
}

/* app hero block */
.mw-app-hero {
    position: relative;
    margin: 8px 0 32px;
    padding: 4px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.25) 0%, rgba(245, 197, 66, 0.15) 50%, rgba(74, 108, 247, 0.1) 100%);
}

.mw-app-hero__glow {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: radial-gradient(circle at 80% 20%, rgba(245, 197, 66, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.mw-app-hero__badge {
    position: absolute;
    top: -12px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mw-bg-elevated);
    border: 1px solid rgba(245, 197, 66, 0.35);
    border-radius: 14px;
    color: var(--mw-gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.mw-app-hero__badge svg {
    width: 24px;
    height: 24px;
}

.mw-app-sheet {
    position: relative;
    margin: 0;
    border: 1px solid var(--mw-border);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(26, 34, 64, 0.98) 0%, var(--mw-bg-panel) 100%);
    box-shadow: var(--mw-shadow);
}

.mw-app-sheet table {
    width: 100%;
    border-collapse: collapse;
}

.mw-app-sheet tr {
    border-bottom: 1px solid var(--mw-border);
    transition: background 0.2s;
}

.mw-app-sheet tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.mw-app-sheet tr:first-child {
    background: linear-gradient(90deg, rgba(74, 108, 247, 0.08) 0%, transparent 100%);
}

.mw-app-sheet tr:last-child {
    border-bottom: none;
    background: rgba(245, 197, 66, 0.04);
}

.mw-app-sheet td {
    padding: 16px 20px;
    font-size: 0.875rem;
    vertical-align: middle;
}

.mw-app-sheet td:first-child {
    width: 56px;
    text-align: center;
    color: var(--mw-gold);
    background: rgba(255, 255, 255, 0.02);
}

.mw-app-sheet__logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border: 1px solid var(--mw-border);
}

.mw-app-sheet__name-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 1.125rem;
    font-family: 'SoraLocal', sans-serif;
}

.mw-app-sheet tr:first-child td:last-child {
    color: var(--mw-text);
}

.mw-app-sheet tr:nth-child(2) td:last-child {
    color: var(--mw-text-muted);
    line-height: 1.65;
}

.mw-app-sheet tr:last-child .mw-btn {
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.9375rem;
    box-shadow: 0 6px 24px rgba(245, 197, 66, 0.25);
}

/* footer */
.mw-ground {
    position: relative;
    margin-top: 56px;
    padding: 0 20px 28px;
    overflow: hidden;
}

.mw-ground__glow {
    position: absolute;
    inset: 0 0 auto;
    height: 220px;
    background:
        radial-gradient(ellipse 70% 100% at 50% -20%, rgba(74, 108, 247, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 90% 0%, rgba(245, 197, 66, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.mw-ground__shell {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(26, 34, 64, 0.95) 0%, var(--mw-bg-panel) 100%);
    border: 1px solid var(--mw-border);
    border-radius: 20px 20px 0 0;
    padding: 36px 32px 24px;
    box-shadow: var(--mw-shadow);
}

.mw-ground__shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mw-gold) 20%, var(--mw-azure) 50%, var(--mw-gold) 80%, transparent);
    border-radius: 2px;
}

.mw-ground__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--mw-border);
}

.mw-ground__mark img {
    max-height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(245, 197, 66, 0.15));
}

.mw-ground__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mw-ground__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.mw-ground__heading {
    font-family: 'SoraLocal', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--mw-gold);
}

.mw-ground__links {
    list-style: none;
}

.mw-ground__links li {
    margin-bottom: 4px;
}

.mw-ground__links a {
    color: var(--mw-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    transition: color 0.2s, transform 0.2s;
}

.mw-ground__link-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mw-border);
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s;
}

.mw-ground__links a:hover,
.mw-ground__links a.active {
    color: var(--mw-text);
    transform: translateX(3px);
}

.mw-ground__links a:hover .mw-ground__link-dot,
.mw-ground__links a.active .mw-ground__link-dot {
    background: var(--mw-gold);
    box-shadow: 0 0 8px rgba(245, 197, 66, 0.5);
}

.mw-ground__col--social {
    display: flex;
    flex-direction: column;
}

.mw-ground__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.mw-ground__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mw-border);
    color: var(--mw-text-muted);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}

.mw-ground__social-btn:hover {
    color: var(--mw-gold);
    border-color: rgba(245, 197, 66, 0.35);
    background: rgba(245, 197, 66, 0.08);
    transform: translateY(-2px);
}

.mw-ground__social-img {
    max-height: 22px;
    max-width: 22px;
    width: auto;
    object-fit: contain;
}

.mw-ground__social-svg {
    width: 20px;
    height: 20px;
}

.mw-ground__pay {
    padding: 24px 0;
    margin-bottom: 24px;
    border-top: 1px solid var(--mw-border);
    border-bottom: 1px solid var(--mw-border);
}

.mw-ground__pay-head {
    font-family: 'SoraLocal', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mw-text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.mw-ground__pay-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mw-ground__pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mw-border);
    border-radius: 999px;
    transition: border-color 0.2s, background 0.2s;
}

.mw-ground__pay-chip:hover {
    border-color: rgba(74, 108, 247, 0.4);
    background: rgba(74, 108, 247, 0.06);
}

.mw-ground__pay-chip img {
    max-height: 22px;
    object-fit: contain;
}

.mw-ground__pay-chip span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mw-text-muted);
}

.mw-ground__safe-zone {
    margin-bottom: 24px;
}

.mw-ground__safe-head {
    font-family: 'SoraLocal', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mw-text-muted);
    text-align: center;
    margin-bottom: 14px;
    opacity: 0.7;
}

.mw-ground__safe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.mw-ground__safe img {
    max-height: 36px;
    max-width: 100px;
    width: auto;
    height: auto;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.mw-ground__safe a:hover img {
    opacity: 1;
}

.mw-ground__base {
    padding-top: 20px;
    border-top: 1px solid var(--mw-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.mw-ground__copy {
    font-size: 0.75rem;
    color: var(--mw-text-muted);
    text-align: center;
    line-height: 1.6;
    max-width: 720px;
}

.mw-ground__top-btn {
    position: absolute;
    right: 0;
    top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mw-border);
    border-radius: 999px;
    color: var(--mw-text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.mw-ground__top-btn svg {
    width: 16px;
    height: 16px;
}

.mw-ground__top-btn:hover {
    color: var(--mw-gold);
    border-color: rgba(245, 197, 66, 0.35);
    background: rgba(245, 197, 66, 0.08);
}

/* error page */
.mw-error-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 280px);
    padding: 60px 24px 80px;
    overflow: hidden;
}

.mw-error-stage__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(245, 197, 66, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 20% 70%, rgba(74, 108, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.mw-error-stage__chip {
    position: relative;
    width: 100px;
    height: 100px;
    color: var(--mw-gold);
    margin-bottom: 8px;
    animation: mw-error-float 4s ease-in-out infinite;
}

.mw-error-stage__chip svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(245, 197, 66, 0.3));
}

@keyframes mw-error-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.mw-error-stage__code {
    position: relative;
    font-family: 'SoraLocal', sans-serif;
    font-size: clamp(5rem, 18vw, 8rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--mw-gold) 0%, #fff 40%, var(--mw-azure) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.mw-error-stage__title {
    position: relative;
    font-family: 'SoraLocal', sans-serif;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 12px;
    max-width: 520px;
}

.mw-error-stage__desc {
    position: relative;
    color: var(--mw-text-muted);
    margin-bottom: 32px;
    max-width: 440px;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.mw-error-stage__btn {
    position: relative;
    padding: 14px 32px;
    font-size: 0.9375rem;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(245, 197, 66, 0.25);
}

/* contact page */
.mw-contact-stage {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4px 40px;
}

.mw-contact-stage::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(74, 108, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mw-contact-stage .mw-article-zone {
    position: relative;
    background: linear-gradient(180deg, rgba(26, 34, 64, 0.6) 0%, var(--mw-bg-panel) 100%);
    border: 1px solid var(--mw-border);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--mw-shadow);
}

.mw-contact-stage .mw-article-zone h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--mw-text) 0%, var(--mw-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mw-contact-stage .mw-article-zone > p:first-of-type {
    font-size: 1rem;
    color: var(--mw-text-muted);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mw-border);
}

.mw-contact-stage .mw-article-zone h2 {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mw-gold);
    margin: 28px 0 16px;
}

.mw-contact-stage .mw-article-zone h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--mw-text);
}

.mw-contact-stage .mw-article-zone h3::before {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(245, 197, 66, 0.1);
    border: 1px solid rgba(245, 197, 66, 0.25);
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
}

.mw-contact-stage .mw-article-zone h3:nth-of-type(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5c542' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mw-contact-stage .mw-article-zone h3:nth-of-type(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5c542' stroke-width='1.6'%3E%3Cpath d='M21 12c0 4.418-4.03 8-9 8a9.86 9.86 0 01-4-.8L3 21l1.8-4.2A7.8 7.8 0 013 12c0-4.418 4.03-8 9-8s9 3.582 9 8z' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.mw-contact-stage .mw-article-zone h3 + p {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mw-border);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 14px;
    transition: border-color 0.2s;
}

.mw-contact-stage .mw-article-zone h3 + p:hover {
    border-color: rgba(74, 108, 247, 0.35);
}

.mw-contact-stage .mw-article-zone a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-top: 4px;
    background: rgba(245, 197, 66, 0.1);
    border: 1px solid rgba(245, 197, 66, 0.3);
    border-radius: 999px;
    color: var(--mw-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s, transform 0.2s;
}

.mw-contact-stage .mw-article-zone a:hover {
    background: rgba(245, 197, 66, 0.18);
    transform: translateY(-1px);
}

.mw-contact-stage .mw-article-zone h2:last-of-type + p {
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.08) 0%, rgba(245, 197, 66, 0.06) 100%);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    color: var(--mw-text);
    line-height: 1.7;
}

/* legal pages */
.mw-legal-stage {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 4px 48px;
}

.mw-legal-stage .mw-article-zone {
    background: linear-gradient(180deg, rgba(26, 34, 64, 0.5) 0%, var(--mw-bg-panel) 100%);
    border: 1px solid var(--mw-border);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: var(--mw-shadow);
}

.mw-legal-stage .mw-article-zone h1 {
    font-size: clamp(1.625rem, 4vw, 2rem);
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--mw-gold), var(--mw-azure), transparent) 1;
}

.mw-legal-stage .mw-article-zone > p:first-of-type {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mw-text-muted);
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--mw-azure);
    border-radius: 0 12px 12px 0;
    margin-bottom: 28px;
}

.mw-legal-stage .mw-article-zone h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    color: var(--mw-text);
    margin: 32px 0 14px;
    padding-top: 8px;
}

.mw-legal-stage .mw-article-zone h2::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mw-gold);
    box-shadow: 0 0 10px rgba(245, 197, 66, 0.5);
    flex-shrink: 0;
}

.mw-legal-stage .mw-article-zone h3 {
    font-size: 1rem;
    color: var(--mw-gold);
    margin: 20px 0 10px;
}

.mw-legal-stage .mw-article-zone p {
    line-height: 1.75;
}

.mw-legal-stage .mw-list-block ul,
.mw-legal-stage .mw-list-block ol {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--mw-border);
    border-radius: 12px;
    padding: 16px 16px 16px 36px;
    margin: 12px 0 20px;
}

.mw-legal-stage .mw-list-block li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.mw-legal-stage .mw-list-block li::marker {
    color: var(--mw-gold);
}

.mw-legal-stage .mw-article-zone a {
    color: var(--mw-azure);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 108, 247, 0.4);
    transition: color 0.2s, border-color 0.2s;
}

.mw-legal-stage .mw-article-zone a:hover {
    color: var(--mw-gold);
    border-color: rgba(245, 197, 66, 0.4);
}

.mw-legal-stage .mw-article-zone blockquote {
    border-left-color: var(--mw-azure);
    background: rgba(74, 108, 247, 0.06);
}

/* mobile */
@media (max-width: 992px) {
    .mw-section-rail {
        display: none;
    }

    .mw-dock-trigger {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 16px;
        left: 16px;
        z-index: 1001;
        width: 52px;
        height: 52px;
        border-radius: 14px;
        background: var(--mw-bg-elevated);
        border: 1px solid var(--mw-border);
        box-shadow: var(--mw-shadow);
        cursor: pointer;
        padding: 0;
    }

    .mw-dock-trigger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--mw-gold);
        margin: 3px 0;
        border-radius: 1px;
        transition: transform 0.2s;
    }

    .mw-dock-trigger.is-open span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .mw-dock-trigger.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mw-dock-trigger.is-open span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }

    .mw-slide-panel {
        display: block;
        position: fixed;
        left: 0;
        bottom: 0;
        width: min(300px, 88vw);
        max-height: 72vh;
        background: var(--mw-bg-panel);
        border-radius: 0 16px 0 0;
        border: 1px solid var(--mw-border);
        border-bottom: none;
        z-index: 1002;
        transform: translateY(110%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        box-shadow: var(--mw-shadow);
    }

    .mw-slide-panel.is-visible {
        transform: translateY(0);
    }

    .mw-slide-panel__list {
        list-style: none;
        padding: 12px 0 20px;
    }

    .mw-slide-panel__link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        color: var(--mw-text-muted);
        text-decoration: none;
        font-size: 0.9375rem;
        transition: background 0.15s, color 0.15s;
    }

    .mw-slide-panel__link:hover,
    .mw-slide-panel__link.active {
        background: rgba(245, 197, 66, 0.08);
        color: var(--mw-gold);
    }

    .mw-screen-dim {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }

    .mw-screen-dim.is-visible {
        display: block;
    }

    .mw-viewport {
        padding: 16px 14px 88px;
    }

    .mw-slot-tile {
        flex: 0 0 130px;
    }

    .mw-promo-grid {
        grid-template-columns: 1fr;
    }

    .mw-ground__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .mw-ground__col--social {
        grid-column: 1 / -1;
    }

    .mw-ground__shell {
        padding: 28px 20px 20px;
    }
}

@media (max-width: 768px) {
    .mw-article-zone h1 {
        font-size: 1.375rem;
    }

    .mw-article-zone h2 {
        font-size: 1.125rem;
    }

    .mw-pay-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .mw-ground__grid {
        grid-template-columns: 1fr;
    }

    .mw-ground__hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .mw-ground__cta {
        width: 100%;
    }

    .mw-ground__cta .mw-btn {
        flex: 1;
        min-width: 0;
    }

    .mw-ground__top-btn {
        position: static;
        order: -1;
        align-self: flex-end;
    }

    .mw-ground__pay-chip span {
        display: none;
    }
}
