/* DaBest-inspired visual system: floating navigation, oversized type,
   quiet surfaces, thin borders and restrained amber accents. */

:root {
    --bg: #080808;
    --bg-soft: #0d0d0d;
    --panel: #101010;
    --panel-solid: #101010;
    --panel-hover: #151515;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .17);
    --text: #f2f2ef;
    --muted: #94948f;
    --gold: #e3ad42;
    --gold-light: #f0c76d;
    --gold-dark: #9c7429;
    --green: #67c587;
    --red: #ed6a6f;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
    --font-display: "Golos Text", "Inter", Arial, sans-serif;
    --container: 1200px;
}

html { background: var(--bg); scroll-padding-top: 110px; }
body {
    color: var(--text);
    overflow-x: clip;
    background: #090909;
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.notifications-open { overflow: hidden; }
::selection { color: #111; background: #e8bd60; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }

/* ---------- Floating header ---------- */
.site-header.f-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    padding: 10px 14px 6px;
    pointer-events: none;
    transition: padding .3s ease;
}
.f-header-inner {
    width: calc(100vw - 56px);
    max-width: var(--container);
    min-width: 0;
    min-height: 52px;
    margin: 0 auto;
    padding: 6px 8px 6px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 15px;
    background: rgba(9, 9, 9, .78);
    box-shadow: none;
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    pointer-events: auto;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { padding-top: 9px; }
.site-header.is-scrolled .f-header-inner {
    background: rgba(9, 9, 9, .92);
    border-color: rgba(255, 255, 255, .11);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .36);
}
.f-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: #f5f5f2; }
.f-logo img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.f-logo > span { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.f-logo em { color: var(--gold-light); font-style: normal; }
.f-logo:hover { color: #fff; }

.f-nav { display: flex; align-items: center; justify-content: center; gap: 2px; margin-left: auto; }
.f-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease;
}
.f-nav-link .icon { width: 16px; height: 16px; opacity: .82; }
.f-nav-link:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.f-nav-link.active { color: #fff; background: rgba(255, 255, 255, .085); }

.sh-side { display: flex; align-items: center; gap: 8px; margin-left: 4px; flex-shrink: 0; }
.sh-login-link { padding: 9px 12px; color: #c5c5c0; font-size: 12px; font-weight: 600; }
.sh-login-link:hover { color: #fff; }
.sh-login { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 10px; color: #111; background: #f1f1ed; font-size: 13px; font-weight: 700; }
.sh-login:hover { color: #000; background: #fff; }
.header-wallet { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; color: #d7d7d2; background: rgba(255, 255, 255, .025); }
.header-wallet:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .055); }
.header-wallet .icon { width: 16px; color: var(--gold-light); }
.header-wallet strong { font-size: 12px; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu-button { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 3px 8px 3px 4px; border: 1px solid transparent; border-radius: 11px; }
.user-menu-button:hover,
.user-menu[open] .user-menu-button { border-color: var(--line); background: rgba(255, 255, 255, .045); }
.user-menu-button .avatar { width: 34px; height: 34px; min-width: 34px; }
.user-menu-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; }
.user-menu-button > .icon { width: 14px; color: #888; transition: transform .2s; }
.user-menu[open] .user-menu-button > .icon { transform: rotate(180deg); }
.user-menu-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 258px;
    padding: 7px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: rgba(17, 17, 17, .98);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .58);
    backdrop-filter: blur(20px);
    animation: menu-in .18s ease-out;
}
.user-menu-panel > a,
.user-menu-panel form button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 0;
    border-radius: 9px;
    color: #b7b7b2;
    background: none;
    font: inherit;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}
.user-menu-panel > a:hover,
.user-menu-panel form button:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.user-menu-panel .user-menu-head { min-height: 67px; margin-bottom: 5px; padding: 9px; }
.user-menu-head .avatar { width: 42px; height: 42px; min-width: 42px; }
.user-menu-head span { min-width: 0; }
.user-menu-head strong { display: block; overflow: hidden; text-overflow: ellipsis; }
.user-menu-head small { display: block; margin-top: 3px; color: var(--muted); }
.user-menu-count { min-width: 20px; margin-left: auto; padding: 2px 6px; border-radius: 99px; color: #171208; background: var(--gold-light); font-size: 10px; font-weight: 800; text-align: center; }
.user-menu-sep { height: 1px; margin: 5px 7px; background: var(--line); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

/* ---------- Notifications ---------- */
.pub-bell-wrap { position: relative; }
.pub-bell {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #c2c2bd;
    background: rgba(255, 255, 255, .025);
    cursor: pointer;
    transition: .18s ease;
}
.pub-bell:hover,
.pub-bell[aria-expanded="true"] { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .065); }
.pub-bell > .icon { width: 19px; height: 19px; }
.pub-bell-dot { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid #0d0d0d; border-radius: 99px; color: #171208; background: var(--gold-light); font-size: 9px; font-weight: 900; line-height: 1; }
.pub-bell-ring > .icon { animation: bell-ring 1.8s ease-in-out 1; transform-origin: 50% 10%; }
@keyframes bell-ring { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(12deg); } 20% { transform: rotate(-10deg); } 30% { transform: rotate(7deg); } 40% { transform: rotate(-5deg); } 50% { transform: rotate(2deg); } }
.pub-bell-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: -54px;
    width: min(410px, calc(100vw - 30px));
    max-height: min(650px, calc(100vh - 105px));
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line-strong);
    border-radius: 17px;
    background: rgba(16, 16, 16, .985);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    overflow: hidden;
}
.pub-bell-panel.open { opacity: 1; visibility: visible; transform: none; }
.pub-bell-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px; padding: 13px 15px 13px 19px; border-bottom: 1px solid var(--line); }
.pub-bell-head > strong { font-family: var(--font-display); font-size: 15px; font-weight: 900; }
.pub-bell-actions { display: flex; align-items: center; gap: 5px; }
.pub-bell-readall,
.pub-bell-close { display: inline-flex; align-items: center; gap: 5px; border: 0; color: #999994; background: none; cursor: pointer; }
.pub-bell-readall { padding: 7px 8px; border-radius: 8px; font-size: 10px; }
.pub-bell-readall:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.pub-bell-readall .icon { width: 14px; }
.pub-bell-close { justify-content: center; width: 30px; height: 30px; border-radius: 8px; font-size: 22px; line-height: 1; }
.pub-bell-close:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.pub-bell-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #393939 transparent; }
.pub-bell-item-form { margin: 0; }
.pub-bell-item { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 15px 17px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .065); color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .16s; }
.pub-bell-item:hover { background: rgba(255, 255, 255, .04); }
.pub-bell-item.unread { background: rgba(227, 173, 66, .045); }
.pub-bell-item.unread:hover { background: rgba(227, 173, 66, .075); }
.pub-bell-ico,
.notification-icon { display: grid; place-items: center; width: 37px; height: 37px; min-width: 37px; border: 1px solid var(--line); border-radius: 10px; color: #c6c6c0; background: rgba(255, 255, 255, .035); }
.pub-bell-ico .icon { width: 17px; }
.pub-bell-ico.notification-reward,
.pub-bell-ico.notification-level,
.notification-icon.notification-reward,
.notification-icon.notification-level { color: var(--gold-light); border-color: rgba(227, 173, 66, .22); background: rgba(227, 173, 66, .07); }
.pub-bell-ico.notification-reaction { color: #f08291; }
.pub-bell-body { display: block; min-width: 0; }
.pub-bell-title { display: block; padding-right: 5px; color: #e8e8e4; font-size: 12px; font-weight: 700; line-height: 1.45; }
.pub-bell-msg { display: -webkit-box; margin-top: 4px; overflow: hidden; color: #979791; font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pub-bell-time { display: block; margin-top: 6px; color: #676762; font-size: 9px; }
.pub-bell-empty { display: flex; flex-direction: column; align-items: center; padding: 44px 25px; color: #777772; text-align: center; }
.pub-bell-empty .icon { width: 27px; height: 27px; margin-bottom: 13px; opacity: .5; }
.pub-bell-empty strong { color: #d5d5d0; font-size: 13px; }
.pub-bell-empty span { margin-top: 6px; font-size: 11px; }
.pub-bell-all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-top: 1px solid var(--line); color: #d2d2cd; font-size: 11px; font-weight: 650; }
.pub-bell-all:hover { color: #fff; background: rgba(255, 255, 255, .035); }
.pub-bell-all .icon { width: 14px; }
.pub-bell-scrim { display: none; }

.notifications-heading { align-items: center; }
.notification-tabs { display: flex; gap: 4px; margin: -8px 0 20px; border-bottom: 1px solid var(--line); }
.notification-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 2px solid transparent; color: #858580; font-size: 12px; font-weight: 650; }
.notification-tabs a:hover { color: #fff; }
.notification-tabs a.active { color: #fff; border-bottom-color: var(--gold-light); }
.notification-tabs a span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; color: #171208; background: var(--gold-light); font-size: 9px; font-weight: 900; }
.notifications-list { margin-bottom: 70px; border-top: 1px solid var(--line); }
.notification-row-form { margin: 0; }
.notification-row { display: flex; align-items: center; gap: 15px; width: 100%; padding: 19px 16px; border: 0; border-bottom: 1px solid var(--line); color: inherit; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .17s; }
.notification-row:hover { background: rgba(255, 255, 255, .03); }
.notification-row.unread { background: rgba(227, 173, 66, .035); }
.notification-row.unread:hover { background: rgba(227, 173, 66, .06); }
.notification-row .notification-icon { width: 43px; height: 43px; min-width: 43px; }
.notification-row-content { display: block; min-width: 0; flex: 1; }
.notification-row-content > strong { display: block; color: #ecece8; font-size: 13px; }
.notification-row-content > span { display: block; margin-top: 4px; color: #969690; font-size: 12px; line-height: 1.5; }
.notification-row-content time { display: block; margin-top: 6px; color: #63635f; font-size: 10px; }
.notification-unread-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px rgba(227, 173, 66, .08); }
.notification-arrow { width: 16px; color: #5d5d59; }
.notification-empty { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; }
.notification-empty > span { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 17px; color: #777772; }
.notification-empty .icon { width: 25px; height: 25px; }

/* ---------- Main canvas and common type ---------- */
.page { width: min(var(--container), calc(100% - 56px)); min-height: calc(100vh - 220px); padding-top: 86px; }
.page > .flash-stack { position: fixed; z-index: 1600; top: 99px; right: 25px; width: min(390px, calc(100% - 32px)); margin: 0; }
.section { padding: 72px 0; }
h1, h2, h3, h4, .f-logo, .user-menu-name { font-family: var(--font-display); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { margin-bottom: 13px; color: #b8b8b2; font-size: 10px; font-weight: 750; letter-spacing: .19em; }
.section-heading { align-items: end; gap: 40px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.section-heading h2 { font-size: clamp(27px, 2.8vw, 36px); font-weight: 900; line-height: 1.08; letter-spacing: -.045em; }
.section-heading > p { max-width: 450px; color: #8d8d88; font-size: 12px; line-height: 1.75; }
.section-heading > a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid #484844; color: #d3d3ce; font-size: 12px; white-space: nowrap; }
.section-heading > a:hover { color: #fff; border-color: #aaa; }
.page-heading { margin: 48px 0 30px; }
.page-heading h1 { font-size: clamp(34px, 4.2vw, 57px); font-weight: 900; line-height: 1.05; letter-spacing: -.05em; }
.page-heading p { margin-top: 10px; font-size: 13px; }

/* Buttons: DaBest-like white primary, no glossy gradients. */
.button {
    min-height: 43px;
    padding: 11px 19px;
    border: 1px solid #e8e8e3;
    border-radius: 10px;
    color: #111;
    background: #ededE8;
    box-shadow: none;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: -.01em;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { color: #000; background: #fff; border-color: #fff; box-shadow: 0 8px 28px rgba(255, 255, 255, .08); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-ghost { color: #d0d0cb; border-color: var(--line-strong); background: rgba(255, 255, 255, .025); }
.button-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); box-shadow: none; }
.button-small { min-height: 35px; padding: 8px 13px; border-radius: 8px; font-size: 11px; }
.button-arrow { gap: 16px; min-height: 49px; padding-inline: 22px; }
.button-arrow span { font-size: 17px; font-weight: 400; line-height: 1; transition: transform .18s; }
.button-arrow:hover span { transform: translate(2px, -1px); }

/* Generic panels stay flat. */
.panel,
.card,
.feature-card,
.forum-category,
.forum-post,
.profile-card,
.table-wrap,
.auth-layout {
    border-color: var(--line);
    background: #0f0f0f;
    box-shadow: none;
    backdrop-filter: none;
}
.panel { border-radius: 15px; padding: 24px; }
.card { border-radius: 15px; }
.card:hover { border-color: var(--line-strong); }
.card-icon { border-radius: 11px; background: rgba(255, 255, 255, .035); }

/* ---------- Homepage hero ---------- */
.db-hero { position: relative; display: grid; overflow: clip; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 36px; min-height: 710px; padding: 112px 0 96px; }
.db-hero-glow { position: absolute; z-index: -1; width: 600px; height: 600px; right: -180px; top: 10px; border-radius: 50%; background: rgba(223, 171, 65, .05); filter: blur(100px); pointer-events: none; }
.db-overline { display: flex; align-items: center; gap: 10px; color: #b4b4ae; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.db-overline i { display: block; width: 29px; height: 1px; background: var(--gold); }
.db-hero h1 { display: flex; flex-direction: column; margin: 25px 0 27px; font-size: clamp(56px, 6.3vw, 82px); font-weight: 900; line-height: .94; letter-spacing: -.055em; }
.db-hero h1 span { color: #f2f2ee; }
.db-hero h1 strong { width: fit-content; margin-left: .7em; color: #d6d6d1; font-weight: 900; letter-spacing: .02em; }
.db-hero-lead { max-width: 575px; margin: 0; color: #a0a09b; font-size: 16px; line-height: 1.75; }
.db-hero .hero-actions { gap: 10px; margin-top: 33px; }
.db-hero-metrics { display: flex; align-items: stretch; gap: 0; margin-top: 48px; }
.db-hero-metrics > div { min-width: 118px; padding: 0 27px; border-left: 1px solid var(--line); }
.db-hero-metrics > div:first-child { padding-left: 0; border-left: 0; }
.db-hero-metrics strong { display: block; font-family: var(--font-display); font-size: 29px; font-weight: 900; letter-spacing: -.04em; }
.db-hero-metrics strong.online { color: var(--green); }
.db-hero-metrics span { display: block; margin-top: 3px; color: #73736f; font-size: 10px; }
.db-hero-art { position: relative; display: grid; place-items: center; min-height: 520px; isolation: isolate; }
.db-hero-art::before { content: ""; position: absolute; z-index: -2; inset: 13% 2%; border: 1px solid rgba(255, 255, 255, .055); border-radius: 50%; }
.db-hero-art::after { content: ""; position: absolute; z-index: -1; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(228, 176, 72, .11), rgba(228, 176, 72, .015) 53%, transparent 70%); filter: blur(8px); }
.db-hero-art > img { width: min(520px, 100%); aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 35px 45px rgba(0, 0, 0, .55)); }
.db-hero-orbit { display: none; }
.db-hero-orbit::before,
.db-hero-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 17px rgba(239, 195, 102, .45); }
.db-hero-orbit::before { top: 15%; left: 13%; }
.db-hero-orbit::after { right: 6%; bottom: 28%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.db-hero-stamp { display: none; }
.db-hero-stamp span { color: #888882; font-size: 8px; letter-spacing: .2em; }
.db-hero-stamp strong { margin: 1px 0; color: var(--gold-light); font-family: var(--font-display); font-size: 25px; font-weight: 900; }
.db-hero-stamp small { color: #8d8d87; font-size: 6px; letter-spacing: .11em; }
.db-hero-scroll { position: absolute; left: 0; bottom: 32px; display: flex; align-items: center; gap: 12px; color: #565652; font-size: 8px; letter-spacing: .19em; }
.db-hero-scroll i { display: block; width: 50px; height: 1px; background: #353532; }

.db-ticker { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .018); }
.db-ticker-track { display: flex; align-items: center; gap: 32px; width: max-content; min-height: 60px; padding-left: 32px; animation: ticker 32s linear infinite; }
.db-ticker-track span { color: #b0b0aa; font-family: var(--font-display); font-size: 12px; font-weight: 900; letter-spacing: .09em; white-space: nowrap; }
.db-ticker-track i { color: #796334; font-size: 11px; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Home sections ---------- */
.home-game-banner { position: relative; display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 24px; margin-top: 74px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 17px; background: #101010; overflow: hidden; }
.home-game-banner::after { content: ""; position: absolute; right: 15%; top: -100px; width: 260px; height: 260px; border-radius: 50%; background: rgba(219, 166, 56, .05); filter: blur(55px); pointer-events: none; }
.home-game-visual { width: 82px; height: 82px; border: 1px solid rgba(227, 173, 66, .2); border-radius: 18px; background: radial-gradient(circle at 35% 25%, #272117, #101010 70%); }
.home-game-banner .eyebrow { margin-bottom: 7px; }
.home-game-banner h2 { margin: 0 0 6px; font-size: 25px; font-weight: 900; letter-spacing: -.035em; }
.home-game-banner p { margin: 0; font-size: 12px; }
.feature-grid { gap: 13px; }
.feature-card { min-height: 270px; padding: 28px; border-radius: 15px; background: #0f0f0f; transition: border-color .2s, background .2s, transform .2s; }
.feature-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .21); background: #121212; }
.feature-card .feature-number { top: 24px; right: 24px; color: #494944; font-family: var(--font-display); font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.feature-icon { width: 45px; height: 45px; margin-bottom: 33px; border: 1px solid var(--line); border-radius: 11px; color: var(--gold-light); background: rgba(227, 173, 66, .04); }
.feature-card h3 { font-size: 20px; font-weight: 900; letter-spacing: -.025em; }
.feature-card p { min-height: 0; margin-bottom: 20px; color: #8e8e89; font-size: 12px; line-height: 1.75; }
.feature-card a { color: #d6d6d0; font-size: 11px; }
.team-strip { gap: 10px; }
.team-mini { border-radius: 12px; background: #0f0f0f; }
.team-mini:hover { border-color: var(--line-strong); background: #131313; }

/* Roadmap */
.roadmap-board { gap: 12px; }
.roadmap-column { border-radius: 14px; background: #0e0e0e; box-shadow: none; }
.roadmap-column-head { padding: 18px; }
.roadmap-card { border-radius: 10px; background: #141414; box-shadow: none; }
.roadmap-card:hover { border-color: #383834; box-shadow: none; }

/* Forum and latest discussions */
.latest-topics { border-top: 1px solid var(--line); }
.latest-topic { min-height: 75px; padding: 15px 8px; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.latest-topic:hover { padding-left: 13px; padding-right: 13px; border-color: var(--line); background: rgba(255, 255, 255, .025); }
.latest-topic-main strong { font-size: 13px; }
.latest-topic-main small { font-size: 10px; }
.latest-topic time { color: #6d6d68; font-size: 10px; }
.forum-category { border-radius: 14px; }
.forum-category-head { padding: 21px 23px; background: #111; }
.forum-category-head h2 { font-size: 15px; font-weight: 900; }
.forum-category-head p { color: #797974; font-size: 11px; }
.forum-section-row { min-height: 88px; padding: 17px 22px; }
.forum-section-row:hover { background: rgba(255, 255, 255, .028); }
.forum-section-icon { width: 42px; height: 42px; border-radius: 10px; color: #d1d1cb; background: rgba(255, 255, 255, .035); }
.forum-section-info strong { font-size: 13px; }
.forum-section-info small { color: #7d7d78; font-size: 10px; }
.forum-post { border-radius: 13px; }
.forum-sidebar { position: sticky; top: 100px; }
.forum-sidebar .panel { padding: 22px; }

/* Support and team */
.support-section { padding-bottom: 82px; }
.support-cta { padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: #101010; }
.support-cta-icon { width: 51px; height: 51px; border-radius: 12px; color: var(--gold-light); background: rgba(227, 173, 66, .055); }
.support-cta-text h3 { font-size: 21px; font-weight: 900; }
.support-subtitle { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.support-subtitle h3 { font-size: 19px; font-weight: 900; }
.review-grid { gap: 12px; }
.review-card { border-radius: 13px; background: #0f0f0f; box-shadow: none; }
.community-grid { gap: 10px; }
.community-card { min-height: 82px; border-radius: 12px; background: #0f0f0f; }
.community-card:hover { background: #131313; }
.creators-grid { gap: 12px; }
.creator-card { border-radius: 14px; background: #0f0f0f; }
.creator-card:hover { border-color: var(--line-strong); }

/* Footer */
.landing-footer { margin-top: 35px; border-top: 1px solid var(--line); background: #090909; }
.footer-inner { width: min(var(--container), calc(100% - 56px)); margin: auto; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 49px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #ededE8; }
.footer-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: contain; }
.footer-brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 900; letter-spacing: -.03em; }
.footer-brand-name span { color: var(--gold-light); }
.footer-links { display: flex; align-items: center; gap: 26px; }
.footer-links a { color: #858580; font-size: 11px; }
.footer-links a:hover { color: #fff; }
.footer-divider { display: none; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 69px; border-top: 1px solid var(--line); }
.footer-copy { color: #5f5f5b; font-size: 10px; }
.footer-status { display: flex; align-items: center; gap: 7px; color: #777772; font-size: 10px; }
.footer-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px rgba(103, 197, 135, .4); }

/* Auth and forms */
.auth-layout { margin-top: 54px; margin-bottom: 70px; border-radius: 18px; }
.auth-side { background: #111; }
.auth-side h1 { font-weight: 900; letter-spacing: -.05em; }
.auth-card { background: #0e0e0e; }
input, textarea, select { border-color: #2a2a28; background: #111; }
input:focus, textarea:focus, select:focus { border-color: #71603c; box-shadow: 0 0 0 3px rgba(227, 173, 66, .07); }

/* Mobile navigation */
.landing-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.landing-burger span { display: block; width: 100%; height: 1.5px; border-radius: 2px; background: #ddd; transition: transform .2s, opacity .2s; }
.landing-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.landing-burger.active span:nth-child(2) { opacity: 0; }
.landing-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1180px) {
    .f-nav-link { padding-inline: 8px; font-size: 11px; }
    .f-nav-link .icon { display: none; }
    .f-logo > span { display: none; }
    .user-menu-name { display: none; }
    .db-hero { grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); }
    .db-hero-art { min-height: 430px; }
    .db-hero-stamp { right: -5px; width: 95px; height: 95px; }
}

@media (max-width: 960px) {
    .site-header.f-header { padding: 12px 14px 0; }
    .f-header-inner { width: calc(100vw - 28px); min-height: 50px; height: auto; padding: 5px 6px 5px 12px; gap: 12px; }
    .f-logo > span { display: inline; }
    .landing-burger { display: flex; order: 3; margin-left: 0; }
    .f-nav {
        position: fixed;
        top: 84px;
        left: 14px;
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin: 0;
        padding: 10px;
        border: 1px solid var(--line-strong);
        border-radius: 15px;
        background: rgba(15, 15, 15, .985);
        box-shadow: 0 25px 70px rgba(0, 0, 0, .6);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .2s ease;
    }
    .f-nav.open { opacity: 1; visibility: visible; transform: none; }
    .f-nav-link { min-height: 46px; padding: 11px 13px; font-size: 12px; }
    .f-nav-link .icon { display: block; width: 18px; }
    .sh-side { margin-left: auto; }
    .header-wallet { display: none; }
    .page { width: min(100% - 36px, var(--container)); padding-top: 78px; }
    .db-hero { grid-template-columns: 1fr; min-height: auto; padding: 78px 0 75px; }
    .db-hero-copy { position: relative; z-index: 2; }
    .db-hero h1 { font-size: clamp(64px, 13vw, 99px); }
    .db-hero-art { position: absolute; z-index: 0; width: 470px; max-width: 65%; height: 100%; right: -110px; top: 0; opacity: .3; pointer-events: none; }
    .db-hero-stamp { display: none; }
    .db-hero-lead { max-width: 510px; }
    .db-hero-metrics { position: relative; z-index: 2; }
    .db-hero-scroll { display: none; }
    .home-game-banner { grid-template-columns: 76px 1fr; }
    .home-game-banner > .button { grid-column: 1 / -1; width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .section { padding: 58px 0; }
    .forum-layout { grid-template-columns: 1fr; }
    .forum-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .footer-top { align-items: flex-start; flex-direction: column; gap: 26px; }
    .footer-links { flex-wrap: wrap; gap: 18px 24px; }
}

@media (max-width: 640px) {
    :root { --radius: 14px; }
    .site-header.f-header { width: 100vw; max-width: 100vw; padding: 8px 8px 0; }
    .f-header-inner { width: calc(100vw - 16px); min-height: 48px; height: auto; gap: 7px; padding: 5px 6px 5px 10px; border-radius: 13px; }
    .f-logo { gap: 8px; }
    .f-logo img { width: 26px; height: 26px; }
    .f-logo > span { max-width: 126px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
    .landing-burger { width: 36px; height: 36px; }
    .sh-side { gap: 5px; }
    .sh-login-link { display: none; }
    .sh-login { min-height: 36px; padding: 8px 11px; font-size: 10px; }
    .pub-bell { width: 36px; height: 36px; }
    .user-menu-button { min-height: 38px; padding: 2px; }
    .user-menu-button .avatar { width: 32px; height: 32px; min-width: 32px; }
    .user-menu-button > .icon { display: none; }
    .user-menu-panel { position: fixed; top: 75px; left: 10px; right: 10px; width: auto; }
    .pub-bell-panel { position: fixed; top: 75px; left: 10px; right: 10px; width: auto; max-height: calc(100vh - 92px); }
    .pub-bell-scrim { position: fixed; z-index: 999; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
    body.notifications-open .pub-bell-scrim { display: block; }
    body.notifications-open .pub-bell-wrap { z-index: 1002; }
    .page { width: calc(100% - 28px); padding-top: 67px; }
    .page > .flash-stack { top: 78px; right: 14px; width: calc(100% - 28px); }
    .page-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 36px; }
    .page-heading h1 { font-size: 36px; }
    .section { padding: 46px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 23px; padding-bottom: 17px; }
    .section-heading h2 { font-size: 29px; }
    .section-heading > p { font-size: 11px; }
    .db-hero { display: flex; min-height: 650px; padding: 72px 0 52px; }
    .db-hero h1 { margin-top: 24px; font-size: clamp(44px, 13.5vw, 64px); line-height: .88; }
    .db-hero h1 strong { margin-left: .7em; -webkit-text-stroke-width: 1px; }
    .db-hero-lead { max-width: 94%; font-size: 14px; line-height: 1.7; }
    .db-hero .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 27px; }
    .db-hero .hero-actions .button { width: 100%; }
    .db-hero-art { right: -165px; max-width: 90%; opacity: .23; }
    .db-overline { font-size: 8px; letter-spacing: .14em; }
    .db-hero-metrics { justify-content: space-between; margin-top: 42px; }
    .db-hero-metrics > div { min-width: 0; padding: 0 15px; }
    .db-hero-metrics strong { font-size: 24px; }
    .db-hero-metrics span { font-size: 8px; }
    .db-ticker-track { min-height: 49px; gap: 23px; padding-left: 23px; }
    .db-ticker-track span { font-size: 10px; }
    .home-game-banner { grid-template-columns: 1fr; gap: 16px; margin-top: 46px; padding: 22px; }
    .home-game-visual { width: 63px; height: 63px; }
    .home-game-banner h2 { font-size: 22px; }
    .feature-card { padding: 23px; }
    .feature-icon { margin-bottom: 24px; }
    .latest-topic { grid-template-columns: auto 1fr; gap: 11px; }
    .latest-topic time { display: none; }
    .support-cta { align-items: flex-start; flex-direction: column; padding: 22px; }
    .support-cta-actions { width: 100%; flex-direction: column; }
    .support-cta-actions .button { width: 100%; }
    .rating-summary { grid-template-columns: 1fr; padding: 22px; }
    .review-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .creators-grid { grid-template-columns: 1fr; }
    .footer-inner { width: calc(100% - 28px); }
    .footer-top { padding: 35px 0 29px; }
    .footer-links { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
    .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 0; }
    .notification-row { gap: 11px; padding: 16px 8px; }
    .notification-row .notification-icon { width: 38px; height: 38px; min-width: 38px; }
    .notification-row-content > strong { font-size: 12px; }
    .notification-row-content > span { font-size: 11px; }
    .notification-arrow { display: none; }
    .forum-category-head { padding: 17px; }
    .forum-section-row { grid-template-columns: 42px 1fr; gap: 12px; padding: 16px; }
    .forum-section-row .forum-counter,
    .forum-section-row .forum-last { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
