
/* Minebox home shell, header and footer overrides. */
body.mbx-home-theme {
    margin: 0;
    min-height: 100vh;
    color: #fff;
    font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #071020;
}

body.mbx-home-theme .container { max-width: 1280px; }
body.mbx-home-theme a { transition: color .18s ease, opacity .18s ease, transform .18s ease, filter .18s ease, box-shadow .18s ease; }

body.mbx-home-theme .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: linear-gradient(180deg, rgba(7,17,36,.76), rgba(7,17,36,.48));
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 34px rgba(0,0,0,.20);
    backdrop-filter: blur(14px);
}

body.mbx-home-theme .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
}

body.mbx-home-theme .logo-text-container a {
    display: inline-flex;
    align-items: center;
    min-width: 150px;
}

body.mbx-home-theme .logo-text-img {
    max-height: 46px;
    width: auto;
    filter: drop-shadow(0 3px 0 rgba(0,0,0,.55));
}

body.mbx-home-theme .nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.mbx-home-theme .nav-item { position: relative; margin: 0; }

body.mbx-home-theme .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 0;
    color: #f8fbff !important;
    font-family: "Lilita One", "Paytone One", "Rubik", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .02em;
    text-decoration: none !important;
    text-transform: uppercase;
    text-shadow: 0 .075em 0 #000, -.02em .075em 0 #000, .02em .075em 0 #000;
}

body.mbx-home-theme .nav-link i:first-child {
    color: #ffd21a;
    filter: drop-shadow(0 2px 0 rgba(0,0,0,.45));
}

body.mbx-home-theme .nav-item.active .nav-link,
body.mbx-home-theme .nav-link:hover {
    color: #ffd21a !important;
    opacity: 1;
    transform: translateY(-1px);
}

body.mbx-home-theme .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 230px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: linear-gradient(180deg, rgba(24,47,78,.98), rgba(13,24,48,.98));
    border: 3px solid #0a1a33;
    border-radius: 14px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.28), 0 6px 0 #061226, 0 10px 24px rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity .18s ease, transform .18s ease;
}

body.mbx-home-theme .has-dropdown:hover .nav-dropdown-menu,
body.mbx-home-theme .has-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

body.mbx-home-theme .nav-dropdown-item {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: #e9f2ff !important;
    font-weight: 800;
    text-decoration: none !important;
}

body.mbx-home-theme .nav-dropdown-item:hover { background: rgba(255,255,255,.10); color: #ffd21a !important; }
body.mbx-home-theme .nav-right { display: flex; align-items: center; gap: 9px; }

body.mbx-home-theme .discord-btn,
body.mbx-home-theme .account-btn,
body.mbx-home-theme .cart-btn,
body.mbx-home-theme .mobile-menu-btn,
body.mbx-home-theme .user-profile,
body.mbx-home-theme .language-btn,
body.mbx-home-theme .ip-box {
    border: 3px solid #0a1a33 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #2f527d, #192f4e) !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.14), inset 0 -3px 0 rgba(0,0,0,.28), 0 4px 0 #061226, 0 8px 18px rgba(0,0,0,.30) !important;
    color: #fff !important;
}

body.mbx-home-theme .discord-btn,
body.mbx-home-theme .account-btn,
body.mbx-home-theme .cart-btn,
body.mbx-home-theme .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

body.mbx-home-theme .discord-btn { background: linear-gradient(180deg, #6475ff, #4354d6) !important; }
body.mbx-home-theme .ip-box { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; cursor: pointer; }
body.mbx-home-theme .ip-address,
body.mbx-home-theme .player-count { font-family: "Lilita One", "Paytone One", sans-serif; font-weight: 900; text-shadow: 0 .06em 0 #000; }
body.mbx-home-theme .player-count { color: #ffd21a; }
body.mbx-home-theme .ip-box .player-count::after,
body.mbx-home-theme .mobile-ip-box .player-count::after { content: " online"; font-size: .75em; opacity: .85; }

body.mbx-home-theme .discord-btn:hover,
body.mbx-home-theme .account-btn:hover,
body.mbx-home-theme .cart-btn:hover,
body.mbx-home-theme .mobile-menu-btn:hover,
body.mbx-home-theme .user-profile:hover,
body.mbx-home-theme .ip-box:hover { transform: translateY(-2px); filter: brightness(1.08); }

body.mbx-home-theme .user-avatar { border: 2px solid rgba(255,255,255,.25); border-radius: 8px; }
body.mbx-home-theme .user-name,
body.mbx-home-theme .user-rank { color: #fff !important; font-weight: 800; }
body.mbx-home-theme .user-dropdown { border: 3px solid #0a1a33; background: linear-gradient(180deg, rgba(24,47,78,.98), rgba(13,24,48,.98)); box-shadow: 0 14px 30px rgba(0,0,0,.38); }
body.mbx-home-theme .dropdown-grid-item,
body.mbx-home-theme .user-dropdown-item { color: #e9f2ff !important; font-weight: 800; }
body.mbx-home-theme .dropdown-grid-item:hover,
body.mbx-home-theme .user-dropdown-item:hover { background: rgba(255,255,255,.1); color: #ffd21a !important; }

body.mbx-home-theme .mobile-menu-overlay { background: rgba(5,12,26,.68); backdrop-filter: blur(6px); }
body.mbx-home-theme .mobile-menu { background: linear-gradient(180deg, #102142, #071124); border-left: 3px solid #0a1a33; box-shadow: -18px 0 42px rgba(0,0,0,.45); }
body.mbx-home-theme .mobile-menu-item,
body.mbx-home-theme .mobile-discord-btn,
body.mbx-home-theme .mobile-logout-btn,
body.mbx-home-theme .mobile-ip-box {
    border: 3px solid #0a1a33 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #2f527d, #192f4e) !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.26), 0 3px 0 #061226 !important;
    color: #fff !important;
    font-weight: 900;
    text-transform: uppercase;
}
body.mbx-home-theme .mobile-menu-item.active,
body.mbx-home-theme .mobile-menu-item:hover { color: #ffd21a !important; }

body.mbx-home-theme .footer {
    background: #0b1426 !important;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #fff;
}
body.mbx-home-theme .footer-wrapper,
body.mbx-home-theme .footer-top,
body.mbx-home-theme .footer-bottom-content { background: transparent !important; }
body.mbx-home-theme .footer-ip-box,
body.mbx-home-theme .footer-players-box,
body.mbx-home-theme .footer-social-link {
    border: 3px solid #0a1a33 !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #2f527d, #192f4e) !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.14), inset 0 -2px 0 rgba(0,0,0,.26), 0 3px 0 #061226 !important;
    color: #fff !important;
}
body.mbx-home-theme .footer-section-title,
body.mbx-home-theme .footer-info p:first-child,
body.mbx-home-theme .footer-ip,
body.mbx-home-theme .footer-player-count {
    font-family: "Lilita One", "Paytone One", sans-serif;
    color: #fff !important;
    text-transform: uppercase;
    text-shadow: 0 .055em 0 #000;
}
body.mbx-home-theme .footer-quick-list a,
body.mbx-home-theme .footer-disclaimer { color: rgba(229,238,255,.78) !important; }
body.mbx-home-theme .footer-quick-list a:hover { color: #ffd21a !important; }

body.mbx-home-theme .copy-notification {
    border: 3px solid #14532d;
    border-radius: 12px;
    background: linear-gradient(180deg, #22c55e, #15803d) !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.25), 0 4px 0 #14532d, 0 10px 24px rgba(0,0,0,.35) !important;
    color: #fff !important;
    font-family: "Lilita One", "Paytone One", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 .055em 0 #000;
}

@media (max-width: 1180px) {
    body.mbx-home-theme .nav-menu { gap: 14px; }
    body.mbx-home-theme .nav-link { font-size: 13px; }
    body.mbx-home-theme .ip-box { min-width: 150px; }
}
@media (max-width: 991px) {
    body.mbx-home-theme .nav-menu { display: none; }
    body.mbx-home-theme .ip-box,
    body.mbx-home-theme .account-btn.logged-out-only,
    body.mbx-home-theme .discord-btn { display: none !important; }
    body.mbx-home-theme .mobile-menu-btn { display: inline-flex !important; }
}
@media (max-width: 640px) {
    body.mbx-home-theme .header { padding: 8px 0; }
    body.mbx-home-theme .navbar { min-height: 54px; }
    body.mbx-home-theme .logo-text-img { max-height: 38px; }
}

#mbx-home {
    --mbx-bg: #0b1426;
    --mbx-bg-dark: #071020;
    --mbx-panel: #2d4a6f;
    --mbx-panel-2: #1a2d47;
    --mbx-border: #081a34;
    --mbx-gold: #ffc400;
    --mbx-gold-2: #f59e0b;
    --mbx-green: #16c26f;
    --mbx-white: #ffffff;
    --mbx-muted: rgba(255,255,255,.74);
    --mbx-radius: 14px;
    --mbx-hard-shadow: inset 0 2px rgba(255,255,255,.12), inset 0 -3px rgba(0,0,0,.28), 0 5px 0 #07172f, 0 14px 28px rgba(0,0,0,.42);
    color: var(--mbx-white);
    background: var(--mbx-bg-dark);
    overflow: hidden;
}
#mbx-home *, #mbx-home *::before, #mbx-home *::after { box-sizing: border-box; }
#mbx-home a { color: inherit; text-decoration: none; }
#mbx-home img { max-width: 100%; display: block; }
#mbx-home button { font: inherit; }
#mbx-home .mbx-container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
#mbx-home h1,
#mbx-home h2,
#mbx-home h3,
#mbx-home .mbx-tag,
#mbx-home .mbx-game-btn,
#mbx-home .mbx-tile,
#mbx-home .mbx-widget-title,
#mbx-home .mbx-news-title,
#mbx-home .mbx-copy-input {
    font-family: "Lilita One", "Paytone One", Impact, fantasy;
    letter-spacing: .015em;
}
#mbx-home h1, #mbx-home h2, #mbx-home h3 {
    margin: 0;
    line-height: .94;
    text-transform: uppercase;
    text-shadow: 0 .055em 0 #000, -.025em .055em 0 #000, .025em .055em 0 #000, 0 10px 24px rgba(0,0,0,.38);
}
#mbx-home p { line-height: 1.55; }
#mbx-home .mbx-reveal { opacity: 0; transform: translateY(28px); transition: opacity .45s ease, transform .45s ease; }
#mbx-home .mbx-reveal.is-visible { opacity: 1; transform: translateY(0); }

#mbx-home .mbx-hero {
    position: relative;
    padding: 96px 0 38px;
    min-height: 540px;
    background-image:
        linear-gradient(180deg, rgba(6,13,27,.76), rgba(17,46,80,.16) 56%, rgba(19,130,158,.36)),
        url('../images/minebox-home/hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
#mbx-home .mbx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(255,196,0,.13), transparent 34%),
        radial-gradient(circle at 78% 80%, rgba(56,189,248,.13), transparent 44%),
        linear-gradient(180deg, rgba(6,10,18,.08), rgba(6,10,18,.32));
    pointer-events: none;
}
#mbx-home .mbx-hero-shell { position: relative; z-index: 2; }
#mbx-home .mbx-hero-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
#mbx-home .mbx-hero-brand img { max-height: 92px; width: auto; filter: drop-shadow(0 7px 0 rgba(0,0,0,.4)) drop-shadow(0 18px 28px rgba(0,0,0,.35)); }
#mbx-home .mbx-wordmark { display: inline-flex; padding: 12px 24px; border-radius: 14px; background: rgba(13,25,45,.72); border: 3px solid rgba(8,26,52,.9); font-size: clamp(2rem, 5vw, 4rem); font-family: "Lilita One", Impact, fantasy; text-transform: uppercase; text-shadow: 0 .055em 0 #000; box-shadow: var(--mbx-hard-shadow); }
#mbx-home .mbx-bento { display: grid; gap: 10px; }
#mbx-home .mbx-bento-top { display: grid; grid-template-columns: 1fr 270px; gap: 10px; min-height: 282px; }
#mbx-home .mbx-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--mbx-radius);
    border: 3px solid var(--mbx-border);
    background: linear-gradient(180deg, var(--mbx-panel), var(--mbx-panel-2));
    box-shadow: var(--mbx-hard-shadow);
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
#mbx-home .mbx-card:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: inset 0 2px rgba(255,255,255,.14), inset 0 -3px rgba(0,0,0,.28), 0 8px 0 #07172f, 0 18px 36px rgba(0,0,0,.48); }
#mbx-home .mbx-card:active { transform: translateY(1px); box-shadow: inset 0 2px rgba(255,255,255,.1), 0 2px 0 #07172f, 0 8px 16px rgba(0,0,0,.34); }
#mbx-home .mbx-hero-banner { min-height: 282px; }
#mbx-home .mbx-hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .65s ease; }
#mbx-home .mbx-hero-banner:hover img { transform: scale(1.045); }
#mbx-home .mbx-hero-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,18,34,.82), rgba(10,18,34,.24) 60%, rgba(10,18,34,.08)), linear-gradient(180deg, transparent 34%, rgba(7,13,24,.68)); }
#mbx-home .mbx-hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 13px; padding: 28px 32px; }
#mbx-home .mbx-hero-content h1 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 720px; }
#mbx-home .mbx-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
#mbx-home .mbx-tag { display: inline-flex; align-items: center; min-height: 24px; padding: 5px 10px; border-radius: 5px; font-size: 12px; line-height: 1; text-transform: uppercase; box-shadow: inset 0 2px rgba(255,255,255,.34), 0 2px 0 rgba(0,0,0,.28); }
#mbx-home .mbx-tag-gold { background: linear-gradient(180deg, #ffe45a, #f59e0b); color: #472800; }
#mbx-home .mbx-tag-blue { background: linear-gradient(180deg, #60a5fa, #2563eb); color: #fff; }
#mbx-home .mbx-game-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 20px; border: 3px solid #5d3a00; border-radius: 10px; background: linear-gradient(180deg, #ffe25a, #f59e0b); color: #512e00; box-shadow: inset 0 2px rgba(255,255,255,.46), inset 0 -2px rgba(0,0,0,.18), 0 4px 0 #8a5b00, 0 12px 20px rgba(0,0,0,.36); text-transform: uppercase; cursor: pointer; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
#mbx-home .mbx-game-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
#mbx-home .mbx-game-btn small { border-left: 2px solid rgba(69,26,3,.28); padding-left: 10px; font-size: 11px; opacity: .9; }
#mbx-home .mbx-ghost-action { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; color: rgba(255,255,255,.9); font-weight: 900; text-shadow: 0 2px 0 rgba(0,0,0,.5); }
#mbx-home .mbx-ghost-action:hover { background: rgba(255,255,255,.1); }
#mbx-home .mbx-store-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 282px; padding: 24px; }
#mbx-home .mbx-store-card h2 { margin-top: 10px; font-size: 2.1rem; position: relative; z-index: 2; }
#mbx-home .mbx-gems { position: absolute; right: -24px; bottom: -34px; width: min(112%, 315px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); transition: transform .5s cubic-bezier(.22,1,.36,1); }
#mbx-home .mbx-store-card:hover .mbx-gems { transform: scale(1.07) rotate(-4deg) translateY(-4px); }
#mbx-home .mbx-bento-bottom { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
#mbx-home .mbx-tile { min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; font-size: 14px; text-transform: uppercase; text-align: center; }
#mbx-home .mbx-tile i { color: var(--mbx-gold); font-size: 20px; text-shadow: 0 2px 0 #000; }

#mbx-home .mbx-intro,
#mbx-home .mbx-feature,
#mbx-home .mbx-more,
#mbx-home .mbx-play,
#mbx-home .mbx-news-area { position: relative; }
#mbx-home .mbx-intro { padding: 62px 0; background: linear-gradient(180deg, #873c0e, #6e2c08); }
#mbx-home .mbx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
#mbx-home .mbx-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
#mbx-home .mbx-copy h2,
#mbx-home .mbx-center h2,
#mbx-home .mbx-play h2,
#mbx-home .mbx-section-title h2 { font-size: clamp(2.1rem, 4.2vw, 4.2rem); }
#mbx-home .mbx-copy p { margin: 0; max-width: 640px; font-size: 17px; font-weight: 800; color: rgba(255,255,255,.92); text-shadow: 0 2px 0 rgba(0,0,0,.42); }
#mbx-home .mbx-muted { color: rgba(255,232,190,.78) !important; font-size: 15px !important; }
#mbx-home .mbx-media { position: relative; overflow: hidden; border: 4px solid rgba(7,16,32,.86); border-radius: 12px; background: #0b1220; box-shadow: 0 8px 0 rgba(0,0,0,.34), 0 18px 36px rgba(0,0,0,.42); }
#mbx-home .mbx-media img { width: 100%; height: auto; }
#mbx-home .mbx-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 42%, rgba(0,0,0,.24)); }
#mbx-home .mbx-play-overlay { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: 76px; height: 54px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(180deg, #ef4444, #b91c1c); box-shadow: 0 6px 0 #5f0d0d, 0 16px 26px rgba(0,0,0,.45); font-size: 23px; cursor: pointer; }

#mbx-home .mbx-feature { padding: 72px 0; }
#mbx-home .mbx-feature-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 62px; align-items: center; }
#mbx-home .mbx-feature--reverse .mbx-copy { order: 2; }
#mbx-home .mbx-feature--reverse .mbx-media { order: 1; }
#mbx-home .mbx-feature--emerald { background: #087f5b; }
#mbx-home .mbx-feature--purple { background: #581c87; }
#mbx-home .mbx-feature--forest { background: #065f46; }
#mbx-home .mbx-feature--blue { background: #1e3f8f; }
#mbx-home .mbx-feature--red { background: #8f1d1d; }
#mbx-home .mbx-feature--dark { background: #01382e; }
#mbx-home .mbx-feature--amber { background: #80440d; }
#mbx-home .mbx-feature--brown { background: #823a0c; }
#mbx-home .mbx-feature--slate { background: #334155; }
#mbx-home .mbx-chip { display: inline-block; padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8) !important; font-size: 13px !important; }

#mbx-home .mbx-more { padding: 84px 0; background: linear-gradient(180deg, #101b32, #1e1b4b); }
#mbx-home .mbx-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
#mbx-home .mbx-center h2 { margin-top: 12px; }
#mbx-home .mbx-center > p { max-width: 700px; margin: 16px auto 0; color: rgba(255,255,255,.76); font-weight: 800; }
#mbx-home .mbx-more-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0 34px; text-align: left; }
#mbx-home .mbx-more-card { min-height: 122px; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 20px; border: 3px solid #0f2948; border-radius: 12px; background: linear-gradient(180deg, #2d4a6f, #1b3150); box-shadow: inset 0 2px rgba(255,255,255,.09), 0 5px 0 #0a192f, 0 12px 24px rgba(0,0,0,.28); }
#mbx-home .mbx-more-card i { color: var(--mbx-gold); font-size: 24px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)); }
#mbx-home .mbx-more-card h3 { font-size: 19px; margin-top: 1px; }
#mbx-home .mbx-more-card p { grid-column: 2; margin: -2px 0 0; color: rgba(255,255,255,.68); font-size: 14px; font-weight: 800; }

#mbx-home .mbx-play { padding: 74px 0; background: #07563f; }
#mbx-home .mbx-play-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
#mbx-home .mbx-connect-card { width: min(700px, 100%); padding: 28px; border: 4px solid var(--mbx-border); border-radius: 13px; background: linear-gradient(180deg, #2c496d, #1a2d47); box-shadow: inset 0 2px rgba(255,255,255,.1), inset 0 -3px rgba(0,0,0,.3), 0 6px 0 #081a34, 0 18px 36px rgba(0,0,0,.44); }
#mbx-home .mbx-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
#mbx-home .mbx-badge { display: inline-flex; align-items: center; padding: 7px 9px; border-radius: 4px; font-weight: 900; font-size: 13px; }
#mbx-home .mbx-badge-blue { background: #2563eb; }
#mbx-home .mbx-badge-green { background: #16a34a; }
#mbx-home .mbx-connect-card ol { margin: 0 0 18px; padding-left: 22px; color: #fff; font-weight: 900; text-shadow: 0 2px 0 #0d1320; }
#mbx-home .mbx-connect-card li { margin-bottom: 7px; }
#mbx-home .mbx-connect-card b { color: #fde047; }
#mbx-home .mbx-copy-input { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: flex-start; gap: 2px; border: 3px solid #fff; background: #050505; color: #fff; padding: 9px 12px; cursor: pointer; font-family: "Courier New", monospace; font-size: 19px; font-weight: 900; text-shadow: 2px 2px #2b2a32; }
#mbx-home .mbx-copy-input:hover { background: #1f2937; }
#mbx-home .mbx-cursor { animation: mbxBlink 1s step-end infinite; }
@keyframes mbxBlink { 50% { opacity: 0; } }
#mbx-home .mbx-help-line { margin: 12px 0 0; color: #9dc5ff; font-size: 14px; }

#mbx-home .mbx-news-area { padding: 72px 0 78px; background: linear-gradient(180deg, #0f172a, #0b1220); }
#mbx-home .mbx-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
#mbx-home .mbx-content-grid.no-sidebar { grid-template-columns: 1fr; }
#mbx-home .mbx-section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
#mbx-home .mbx-section-title i { color: var(--mbx-gold); font-size: 30px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.45)); }
#mbx-home .mbx-promo { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; padding: 20px; border: 3px solid #5d3a00; border-radius: 14px; background: linear-gradient(180deg, #f59e0b, #b45309); box-shadow: inset 0 2px rgba(255,255,255,.18), 0 5px 0 #6b2f0a, 0 16px 30px rgba(0,0,0,.35); }
#mbx-home .mbx-promo h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
#mbx-home .mbx-promo-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#mbx-home .mbx-promo-badge { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: rgba(0,0,0,.18); font-weight: 900; }
#mbx-home .mbx-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#mbx-home .mbx-news-card { overflow: hidden; border: 3px solid #0f2948; border-radius: 14px; background: linear-gradient(180deg, #233c5d, #172b46); box-shadow: inset 0 2px rgba(255,255,255,.08), 0 5px 0 #07172f, 0 14px 28px rgba(0,0,0,.36); }
#mbx-home .mbx-news-image { position: relative; aspect-ratio: 16/9; background: #0b1220; overflow: hidden; }
#mbx-home .mbx-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
#mbx-home .mbx-news-card:hover .mbx-news-image img { transform: scale(1.05); }
#mbx-home .mbx-news-badge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: rgba(7,16,32,.78); color: #fff; font-size: 12px; font-weight: 900; }
#mbx-home .mbx-news-date { left: 10px; right: auto; }
#mbx-home .mbx-news-body { padding: 18px; }
#mbx-home .mbx-news-category { display: inline-flex; margin-bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(255,196,0,.14); color: #ffd84b; font-weight: 900; font-size: 12px; text-transform: uppercase; }
#mbx-home .mbx-news-title { font-size: 1.55rem; margin-bottom: 8px; }
#mbx-home .mbx-news-excerpt { color: rgba(255,255,255,.72); font-weight: 700; margin: 0 0 16px; }
#mbx-home .mbx-news-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 9px 14px; border-radius: 9px; background: linear-gradient(180deg, #ffe25a, #f59e0b); border: 2px solid #5d3a00; color: #512e00; box-shadow: 0 3px 0 #8a5b00; font-weight: 900; }
#mbx-home .mbx-empty { padding: 18px; border-radius: 12px; background: rgba(255,196,0,.12); color: #ffe9a8; font-weight: 900; }
#mbx-home .mbx-pagination { margin-top: 24px; }

#mbx-home .mbx-sidebar { display: flex; flex-direction: column; gap: 16px; }
#mbx-home .mbx-widget { border: 3px solid #0f2948; border-radius: 14px; background: linear-gradient(180deg, #243f62, #172b46); box-shadow: inset 0 2px rgba(255,255,255,.08), 0 5px 0 #07172f, 0 14px 26px rgba(0,0,0,.32); overflow: hidden; padding: 18px; }
#mbx-home .mbx-widget-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.45rem; }
#mbx-home .mbx-widget-title i { color: var(--mbx-gold); }
#mbx-home .mbx-widget-title .small { font-family: inherit; font-size: .78rem; color: rgba(255,255,255,.65); text-shadow: none; }
#mbx-home .mbx-login-form { display: flex; flex-direction: column; gap: 10px; }
#mbx-home .mbx-login-input { width: 100%; min-height: 43px; border: 2px solid #0b1d38; border-radius: 9px; background: rgba(6,12,24,.72); color: #fff; padding: 10px 12px; outline: none; }
#mbx-home .mbx-login-input:focus { border-color: #ffc400; }
#mbx-home .mbx-login-actions { display: grid; grid-template-columns: 1fr 48px; gap: 10px; }
#mbx-home .mbx-side-btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid #5d3a00; border-radius: 9px; background: linear-gradient(180deg, #ffe25a, #f59e0b); color: #512e00; box-shadow: 0 3px 0 #8a5b00; font-weight: 900; cursor: pointer; }
#mbx-home .mbx-user-card, #mbx-home .mbx-donator-card, #mbx-home .mbx-list-item { display: flex; align-items: center; gap: 12px; }
#mbx-home .mbx-user-card { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); margin-bottom: 12px; }
#mbx-home .mbx-user-avatar img, #mbx-home .mbx-donator-avatar img, #mbx-home .mbx-list-avatar img { border-radius: 10px; background: rgba(0,0,0,.25); }
#mbx-home .mbx-user-avatar img { width: 86px; height: 86px; object-fit: contain; }
#mbx-home .mbx-user-info, #mbx-home .mbx-donator-info, #mbx-home .mbx-list-info { display: flex; flex-direction: column; min-width: 0; }
#mbx-home .mbx-strong { font-weight: 900; color: #fff; }
#mbx-home .mbx-soft { color: rgba(255,255,255,.68); font-size: 13px; }
#mbx-home .mbx-balance { color: #ffd84b; font-weight: 900; }
#mbx-home .mbx-user-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
#mbx-home .mbx-action-link { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font-weight: 900; }
#mbx-home .mbx-action-link:hover { background: rgba(255,255,255,.14); }
#mbx-home .mbx-action-wide { grid-column: span 2; }
#mbx-home .mbx-donator-card { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
#mbx-home .mbx-donator-avatar img { width: 72px; height: 92px; object-fit: contain; }
#mbx-home .mbx-list { display: flex; flex-direction: column; gap: 10px; }
#mbx-home .mbx-list-item { padding: 10px; border-radius: 10px; background: rgba(255,255,255,.07); }
#mbx-home .mbx-list-avatar img { width: 34px; height: 34px; object-fit: cover; }
#mbx-home .mbx-widget iframe { border-radius: 10px; }
#mbx-home .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
#mbx-home .mbx-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120%); z-index: 9999; padding: 13px 18px; border: 3px solid #14532d; border-radius: 12px; background: linear-gradient(180deg, #22c55e, #15803d); box-shadow: inset 0 2px rgba(255,255,255,.22), 0 4px 0 #14532d, 0 12px 26px rgba(0,0,0,.4); color: white; font-weight: 900; opacity: 0; transition: transform .2s ease, opacity .2s ease; }
#mbx-home .mbx-toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 1060px) {
    #mbx-home .mbx-bento-top { grid-template-columns: 1fr; }
    #mbx-home .mbx-store-card { min-height: 190px; }
    #mbx-home .mbx-gems { width: 330px; right: 2%; bottom: -70px; }
    #mbx-home .mbx-bento-bottom { grid-template-columns: repeat(3, 1fr); }
    #mbx-home .mbx-split, #mbx-home .mbx-feature-inner, #mbx-home .mbx-content-grid { grid-template-columns: 1fr; }
    #mbx-home .mbx-feature--reverse .mbx-copy, #mbx-home .mbx-feature--reverse .mbx-media { order: initial; }
    #mbx-home .mbx-more-grid { grid-template-columns: repeat(2, 1fr); }
    #mbx-home .mbx-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    #mbx-home .mbx-container { width: min(100% - 22px, 1160px); }
    #mbx-home .mbx-hero { padding-top: 54px; background-attachment: scroll; }
    #mbx-home .mbx-hero-brand img { max-height: 70px; }
    #mbx-home .mbx-hero-banner, #mbx-home .mbx-store-card { min-height: 250px; }
    #mbx-home .mbx-hero-content { padding: 20px; }
    #mbx-home .mbx-hero-actions { flex-direction: column; align-items: flex-start; }
    #mbx-home .mbx-bento-bottom { grid-template-columns: repeat(2, 1fr); }
    #mbx-home .mbx-tile { min-height: 58px; }
    #mbx-home .mbx-intro, #mbx-home .mbx-feature, #mbx-home .mbx-more, #mbx-home .mbx-play, #mbx-home .mbx-news-area { padding: 48px 0; }
    #mbx-home .mbx-split, #mbx-home .mbx-feature-inner { gap: 28px; }
    #mbx-home .mbx-copy p { font-size: 15px; }
    #mbx-home .mbx-more-grid, #mbx-home .mbx-news-grid, #mbx-home .mbx-sidebar { grid-template-columns: 1fr; }
    #mbx-home .mbx-promo { align-items: flex-start; flex-direction: column; }
    #mbx-home .mbx-connect-card { padding: 20px; }
}