:root {
    --bg: #071015;
    --panel: #0d1a21;
    --line: #263a43;
    --muted: #aebdc4;
    --text: #f4f8fa;
    --green: #48d6a0;
}
body {
    background: radial-gradient(ellipse at 90% 0%, #142f3d60, transparent 45%), var(--bg);
}
body.menu-open {
    overflow: hidden;
}
a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #20cfff;
    outline-offset: 5px;
}
button:disabled {
    opacity: 0.55;
    cursor: wait;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 2000;
    padding: 12px;
    background: #c4e3f2;
    color: #071015;
}
.skip-link:focus {
    top: 12px;
}
section[id] {
    scroll-margin-top: 100px;
}
.container {
    width: min(1200px, calc(100% - 64px));
}
nav {
    background: #071116e8;
    border-color: #263a43;
}
.nav {
    gap: 22px;
    min-height: 88px;
}
.brand {
    font-size: 17px;
    letter-spacing: -0.03em;
}
.brand img {
    border-radius: 50%;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.07em;
    font-weight: 500;
    margin-top: 3px;
}
.links {
    margin-left: auto;
}
.links a {
    color: #b5c2c8;
}
.btn {
    min-height: 46px;
    padding: 13px 21px;
    border-radius: 7px;
    font-size: 14px;
    box-shadow: none;
    white-space: normal;
}
.btn-primary {
    background: #20cfff;
    color: #041016;
}
.btn-primary:hover {
    background: #54daff;
    box-shadow: none;
}
.btn-ghost {
    background: transparent;
    border-color: #384d57;
    color: var(--text);
}
.btn-ghost:hover {
    background: #182b35;
}
.menu-button {
    position: relative !important;
    inset: auto !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    z-index: auto;
    border-radius: 7px;
    background: transparent;
    border-color: #384d57;
}
.side-menu {
    z-index: 1001;
}
.side-menu-header {
    font-size: 17px;
    padding-right: 30px;
}
.side-menu.open {
    box-shadow: 20px 0 80px #0008;
}
.footer {
    margin-top: 90px;
    gap: 30px;
    align-items: start;
    border-color: var(--line);
    font-size: 12px;
    color: var(--muted);
}
.footer .brand {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 7px;
}
.footer-note {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--muted);
}
.footer > div {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer a:hover {
    color: #d8f2ff;
}
.hero {
    padding: 85px 0 70px;
    grid-template-columns: 1.15fr 1fr;
    gap: 65px;
}
.eyebrow {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: #c0cdd4;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.dot {
    display: inline-block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    background: #20cfff;
    box-shadow: none;
    border-radius: 50%;
}
h1 {
    font-size: clamp(44px, 5.3vw, 71px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.055em;
    margin: 26px 0;
}
.gradient {
    background: none;
    color: #20cfff;
}
.hero-copy > p {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.8;
}
.hero-copy .hero-note {
    font-size: 11px;
    margin-top: 20px;
    color: #9baeb7;
}
.circle-preview {
    position: relative;
    border: 1px solid #364b56;
    border-radius: 18px;
    background: linear-gradient(145deg, #19303c, #0c1b23);
    overflow: hidden;
}
.preview-label {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #c5d2d8;
}
.preview-label > span:last-child {
    margin-left: auto;
    font-size: 8px;
    color: #899da7;
}
.circle-art {
    height: 330px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    background: radial-gradient(circle, #91c2db12, transparent 65%);
}
.circle-art img {
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 80px #91c2db22;
    border: 8px solid #314a56;
}
.orbit {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid #90aebd2b;
    border-radius: 50%;
    transform: rotate(-25deg);
}
.orbit-two {
    width: 350px;
    height: 350px;
    border-style: dashed;
}
.orbit-tag {
    position: absolute;
    background: #1c2f39;
    border: 1px solid #415660;
    box-shadow: 0 8px 22px #0003;
    padding: 10px 14px;
    border-radius: 8px;
    color: #d5e1e7;
    font-size: 12px;
}
.tag-chat {
    top: 55px;
    left: 18px;
    transform: rotate(-6deg);
}
.tag-play {
    right: 15px;
    top: 110px;
    transform: rotate(8deg);
}
.tag-belong {
    bottom: 35px;
    left: 75px;
    transform: rotate(-3deg);
}
.preview-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 24px;
    border-top: 1px solid #364b56;
    background: #0b1b23;
}
.preview-bottom strong {
    font-size: 15px;
    font-weight: 500;
}
.preview-bottom small {
    display: block;
    color: #94a7b0;
    font-size: 11px;
    margin-top: 5px;
}
.preview-bottom > a {
    width: 40px;
    height: 40px;
    border: 1px solid #475a63;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #20cfff;
}
.stats-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr;
    gap: 22px;
    padding: 28px 0;
    border-block: 1px solid var(--line);
    align-items: center;
}
.stats-panel .stat {
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: none;
    padding: 0 24px;
}
.stats-panel .stat:first-child {
    padding-left: 0;
}
.stat b {
    font-size: 32px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.stat span {
    font-size: 11px;
}
.stats-meta {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.7;
}
.text-button {
    display: block;
    border: 0;
    background: transparent;
    color: #20cfff;
    font: inherit;
    padding: 8px 0;
    cursor: pointer;
}
.section {
    padding: 92px 0;
}
.section h2 {
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -0.04em;
}
.kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #20cfff;
}
.section-head {
    margin-bottom: 40px;
    gap: 50px;
}
.section-head > p {
    max-width: 390px;
    font-size: 14px;
    line-height: 1.8;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}
.feature-tile {
    padding: 30px 24px;
    border-right: 1px solid var(--line);
    background: #0d1b22;
}
.feature-tile:last-child {
    border: 0;
}
.tile-number {
    font-size: 12px;
    color: #839daa;
}
.feature-tile h3 {
    margin: 45px 0 14px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.03em;
}
.feature-tile p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}
.play-section {
    background: #0b181e;
    border-block: 1px solid #1b2e38;
}
.play-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.play-card {
    padding: 28px;
    background: #10212a;
    border: 1px solid #2b3f49;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.play-card h3 {
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.04em;
    margin: 12px 0;
}
.play-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 24px;
}
.play-card .btn {
    margin-top: auto;
    width: 100%;
}
.game-art {
    height: 125px;
    display: grid;
    place-items: center;
    width: 100%;
    font-size: 82px;
    color: #a6d3e9;
    margin-bottom: 20px;
    text-shadow: 0 7px 0 #4e7487;
}
.dice-art {
    color: #b5d4e4;
    text-shadow: 0 7px 0 #416273;
    transform: rotate(-10deg);
}
.pass-feature {
    background: #102a3a;
    border-color: #24506b;
}
.pass-symbol {
    font-size: 78px;
    color: #b9ddef;
    margin: 24px 0 10px;
}
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.leader {
    display: block;
    background: #0d1b22;
    border-color: #2b3f49;
    border-radius: 12px;
    padding: 25px;
}
.leader-avatar {
    width: 50px;
    height: 50px;
    background: #253943;
    color: #c6e1ee;
    border: 1px solid #425863;
    border-radius: 50%;
    margin-bottom: 24px;
    font-size: 20px;
}
/* Leadership profile photos. Screenshot sources are framed to their central image. */
.leadership-grid .leader-avatar {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.leadership-grid .leader-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.leadership-grid .leader-avatar--screenshot img {
    position: absolute;
    max-width: none;
    width: 222%;
    height: 161%;
    left: -61%;
    top: -27.5%;
    object-fit: fill;
}
.leader h3 {
    font-size: 17px;
    font-weight: 600;
}
.role {
    background: #203038;
    color: #c2cfd6;
    font-size: 10px;
}
.roles {
    gap: 5px;
}
.faq-list {
    max-width: 850px;
}
.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}
.faq-list summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
}
.faq-list p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
    max-width: 700px;
}
.faq-list a {
    text-decoration: underline;
    color: #20cfff;
}
.closing-cta {
    padding: 65px 30px;
    background: #20cfff;
    color: #102631;
    border-radius: 15px;
    text-align: center;
}
.closing-cta .kicker {
    color: #36515e;
}
.closing-cta h2 {
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin: 20px 0;
}
.closing-cta p {
    font-size: 14px;
}
.closing-cta .btn {
    margin-top: 20px;
    background: #1588c6;
    color: #ffffff;
}
dialog {
    width: min(440px, calc(100% - 32px));
    padding: 32px;
    background: #10212a;
    border: 1px solid #415661;
    color: var(--text);
    border-radius: 16px;
    box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
    background: #02090cbb;
    backdrop-filter: blur(6px);
}
dialog h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
}
dialog p {
    color: var(--muted);
    font-size: 13px;
}
dialog .btn {
    width: 100%;
}
.dialog-close {
    float: right;
    background: none;
    border: 0;
    color: #c6d3d9;
    font-size: 26px;
    cursor: pointer;
    min-width: 32px;
}
.choice {
    background: transparent;
    border: 1px solid #475a63;
    color: #c6d3d9;
    padding: 10px 20px;
    font: inherit;
    border-radius: 6px;
    cursor: pointer;
}
.choice.active {
    color: #10232c;
    background: #20cfff;
}
.game-result {
    font-size: 40px;
    text-align: center;
    margin: 28px 0;
    color: #cee6f2;
    min-height: 65px;
}
.game-score {
    text-align: center;
}
.info-content {
    max-width: 850px;
    padding-block: 65px;
}
.info-content h1 {
    max-width: 700px;
}
.back-link {
    display: block;
    font-size: 13px;
    color: #20cfff;
    margin-bottom: 50px;
}
.info-intro {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}
.info-card {
    background: #0d1b22;
    border: 1px solid var(--line);
    padding: 30px;
    margin-top: 36px;
    border-radius: 12px;
}
.info-card h2 {
    font-size: 22px;
    font-weight: 500;
    margin-top: 30px;
}
.info-card h2:first-child {
    margin-top: 0;
}
.info-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
}
.pass-page {
    padding-top: 60px;
}
.pass-profile,
.objective-card,
.pass-auth {
    background: #0d1b22;
    border-color: var(--line);
}
.pass-label,
.pass-username,
.pass-section-title p,
.progress-label,
.pass-xp-label,
.pass-loading {
    color: #aebdc4;
}
.objective-top {
    flex-wrap: wrap;
}
.pass-user {
    min-width: 0;
}
.pass-user h2 {
    overflow-wrap: anywhere;
}
@media (min-width: 1500px) {
    .hero {
        padding-block: 110px;
    }
}
@media (max-width: 1000px) {
    .hero {
        gap: 30px;
    }
    .links {
        gap: 18px;
    }
    .hero h1 {
        font-size: 52px;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-tile:nth-child(2) {
        border-right: 0;
    }
    .feature-tile:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
    .play-card {
        padding: 22px;
    }
    .stats-panel {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-meta {
        grid-column: 1/-1;
        display: flex;
        justify-content: space-between;
        border-top: 1px solid var(--line);
        padding-top: 10px;
    }
    .text-button {
        padding: 0;
    }
    .stats-panel .stat:nth-child(3) {
        border: 0;
    }
}
@media (max-width: 760px) {
    .container {
        width: calc(100% - 36px);
    }
    .nav {
        min-height: 76px;
        gap: 12px;
    }
    .links {
        display: none;
    }
    .nav-join {
        margin-left: auto;
        font-size: 12px;
        padding: 10px 14px;
    }
    .brand {
        font-size: 14px;
        gap: 9px;
    }
    .brand img {
        width: 32px;
        height: 32px;
    }
    .brand small {
        font-size: 8px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 48px 0 35px;
        gap: 35px;
    }
    .hero h1 {
        font-size: clamp(40px, 8vw, 58px);
    }
    .hero-copy > p {
        font-size: 15px;
    }
    .circle-preview {
        max-width: 520px;
        width: 100%;
        margin: auto;
    }
    .circle-art {
        height: 280px;
    }
    .orbit-two {
        width: 285px;
        height: 285px;
    }
    .section {
        padding: 60px 0;
    }
    .section-head {
        display: block;
    }
    .section-head > p {
        margin-top: 18px;
    }
    .play-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .play-card {
        padding: 26px;
    }
    .game-art {
        height: 90px;
    }
    .pass-symbol {
        margin-block: 10px;
    }
    .stats-panel {
        gap: 12px;
    }
    .stats-panel .stat {
        padding: 0 8px;
    }
    .stat b {
        font-size: 28px;
    }
    .stat span {
        font-size: 10px;
    }
    .footer {
        display: block;
        margin-top: 55px;
    }
    .footer > div {
        margin-top: 24px;
        gap: 18px;
    }
    .leadership-grid .leader {
        display: grid;
        grid-template-columns: 50px 1fr;
        gap: 18px;
    }
    .leader-avatar {
        margin: 0;
    }
    .info-content {
        padding-block: 40px;
    }
    .info-content h1 {
        font-size: 42px;
    }
    .pass-page {
        padding: 45px 18px;
    }
    .pass-hero h1 {
        font-size: 52px;
    }
    .pass-auth {
        padding: 30px 20px;
        margin-block: 30px;
    }
}
@media (max-width: 400px) {
    .brand small {
        display: none;
    }
    .nav-join {
        font-size: 11px;
        padding: 9px;
    }
    .brand {
        font-size: 12px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .feature-tile {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .feature-tile h3 {
        margin-top: 25px;
    }
    .hero .actions {
        flex-direction: column;
    }
    .stats-meta {
        font-size: 10px;
    }
    .preview-label > span:last-child {
        display: none;
    }
    .orbit-tag {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Match the Discord server’s cyan and blue identity. */
.btn-primary {
    background: #1588c6;
    color: #fff;
}
.btn-primary:hover {
    background: #1a9adb;
}
.gradient {
    background: linear-gradient(100deg, #f4f8fa 10%, #a9e7f3 58%, #20cfff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.dot {
    background: #48d6a0;
}
.closing-cta {
    background: linear-gradient(135deg, #112d40, #0d1a21);
    border: 1px solid #26506a;
    color: #f4f8fa;
}
.closing-cta .kicker {
    color: #20cfff;
}
.closing-cta .btn {
    background: #1588c6;
    color: #fff;
}
.choice.active {
    background: #20cfff;
    color: #041016;
}
[hidden] {
    display: none !important;
}
.account-nav {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
}
.account-nav a {
    color: #8adfff;
}
.account-nav button {
    color: #aebdc4;
    font: inherit;
    background: none;
    border: 0;
    padding: 8px 0;
    cursor: pointer;
}
.account-name {
    color: #aebdc4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
}
.account-menu {
    border-top: 1px solid #263a43;
    margin-top: 16px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.account-menu a,
.account-menu button {
    font: inherit;
    font-size: 13px;
    color: #8adfff;
    background: none;
    border: 0;
    padding: 10px;
    text-align: left;
    cursor: pointer;
}
.legal-page main {
    max-width: 850px;
    padding-block: 40px;
}
.legal-page main .section {
    padding: 28px 0;
}
.legal-page main h1 {
    font-size: clamp(38px, 6vw, 62px);
}
.legal-page main h2 {
    font-size: 26px;
}
.legal-page main p,
.legal-page main li {
    line-height: 1.9;
    color: #b6c9d2;
    font-size: 15px;
}
.legal-page main p a,
.legal-page main li a {
    color: #20cfff;
    text-decoration: underline;
}
.legal-page .terms-card {
    margin-bottom: 20px;
}
#passFeedback {
    color: #ffb3b3;
    border: 1px solid #633546;
    background: #33202a;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}
.side-menu {
    overflow-y: auto;
}
@media (max-width: 1100px) {
    .account-nav .account-name {
        display: none;
    }
    .nav {
        gap: 13px;
    }
    .links {
        gap: 14px;
    }
}
@media (max-width: 900px) {
    .account-nav {
        display: none;
    }
}

body:has(dialog[open]) {
    overflow: hidden;
}

/* Bot directory: one consistent card structure for originals and community bots. */
.bot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.bot-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(22px, 2.3vw, 32px);
    background: linear-gradient(145deg, #10232d, var(--panel));
    border: 1px solid var(--line);
    border-radius: 18px;
}
.bot-card-top { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 20px; }
/* Frame the square artwork inside the original supplied Discord screenshots. */
.bot-card .bot-avatar { display: block; position: relative; width: 72px; height: 72px; flex: 0 0 72px; overflow: hidden; border-radius: 50%; background: #071015; border: 0; padding: 0; box-sizing: border-box; }
.bot-card .bot-avatar img { display: block; position: absolute; width: 235.3442%; height: auto; max-width: none; max-height: none; left: -67.6721%; top: -32.2235%; aspect-ratio: 2722 / 1976; }
.bot-origin { color: var(--muted); font-size: 11px; line-height: 1.5; text-align: left; display: block; margin-top: 6px; }
.bot-heading { min-width: 0; }
.bot-heading h3 { font-size: 24px; line-height: 1.2; margin: 0; }
.bot-heading h3 a { color: var(--text); text-decoration: none; }
.bot-heading h3 a:hover { color: #8adfff; }
.bot-card .bot-category { color: #77d9fa; font-size: 12px; font-weight: 600; margin: 0; line-height: 1.5; }
.bot-card .bot-description { color: var(--muted); font-size: 15px; line-height: 1.75; margin: 20px 0 28px; }
.bot-actions { margin-top: auto; }
.bot-actions .btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; box-sizing: border-box; min-height: 50px; padding: 13px 17px; font-size: 14px; }
.bot-meta { min-height: 62px; box-sizing: border-box; padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.bot-details { font-size: 12px; color: var(--muted); line-height: 1.5; }
a.bot-details { color: #8adfff; text-decoration: none; }
a.bot-details:hover { text-decoration: underline; }
.bot-credit { font-size: 11px; color: var(--muted); line-height: 1.5; }
.bot-card a:focus-visible { outline: 2px solid #8adfff; outline-offset: 5px; }
@media (max-width: 1150px) { .bot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .bot-grid { grid-template-columns: minmax(0, 1fr); } .bot-card-top { margin-bottom: 22px; } }

/* Fortuna has more empty space around its emblem: focus on the crown and F. */
.bot-card .bot-avatar--fortuna img {
    width: 280%;
    height: auto;
    left: -90%;
    top: -48%;
}
