/* ===== Reset & Tokens ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    padding-top: 64px;
    /* espaço para o header fixo */
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

:root {
    --bg: #111;
    --surface: #222;
    --card: #222;
    --card-2: #111;
    --border: rgba(255, 255, 255, .09);
    --text: #eee;
    --muted: #bbb;
    --primary: #ccc;
    /* ciano */
    --primary-2: white;
    /* roxo */
    --accent: white;
    --danger: #ff6978;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --container: 1100pt;
}

.container {
    width: min(var(--container), 100% - 48px);
    margin-inline: auto;
}

.tiny {
    max-width: 800px;
}

.eyebrow {
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    font-size: .8rem;
}

.muted {
    color: var(--muted);
}

.section {
    padding: 80px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 24px;
}

.section-head h2 {
    margin: 8px 0 10px;
    font-size: clamp(20px, 2.4vw, 34px);
}

.section-head * {
    margin: 0;
}

.section-sub {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
}

.btn {
    --bg: linear-gradient(135deg, var(--primary), var(--primary-2));
    --fg: #0b0f14;
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--bg);
    color: #0b0f14;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #0b0f14;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-sm {
    padding: 8px 12px;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, .6);

}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    width: 100%;
    padding-inline: 5%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #0f0f0f;
    font-size: 18px;
    box-shadow: var(--shadow);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

.brand-name {
    letter-spacing: .4px;
}

.nav-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #1c1c1c;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    height: 28pt;
    width: 28pt;
}

.nav-list {
    --indicator-width: 42px;
    --indicator-x: 0px;
    --indicator-opacity: 0;
    position: relative;
    display: flex;
    gap: 18px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--text);
    font-weight: 600;
    opacity: .9;
}

.nav-list .nav-link-main {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    position: relative;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.nav-list .nav-link-main.is-active {
    opacity: 1;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: var(--indicator-width);
    height: 4px;
    border-radius: 999px;
    opacity: var(--indicator-opacity);
    transform: translateX(var(--indicator-x));
    background: rgba(255, 255, 255, 0.88);
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.lang {
    position: relative;
    display: none;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    padding: 8px 10px;
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    min-width: 180px;
    box-shadow: var(--shadow);
}

.lang-menu.open {
    display: block;
}

.lang-menu li {
    list-style: none;
}

.lang-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
}

.lang-menu a:hover {
    background: var(--card-2);
}

.profile {
    position: relative;
}

.profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 999px;
    padding: 6px 10px 6px 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.profile-btn:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.profile-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card-2);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 190px;
    box-shadow: var(--shadow);
}

.profile-menu.open {
    display: block;
}

.profile-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: var(--card);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: rotate(45deg);
}

.profile-menu li {
    list-style: none;
}

.profile-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
}

.profile-menu a:hover {
    background: var(--card-2);
}

.profile-menu .danger {
    color: var(--danger);
}

.profile-menu a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent;
}

/* ===== Auth ===== */
.auth {
    position: relative;
    overflow: hidden;
    padding: clamp(92px, 12vh, 140px) 0 80px;
}

.auth::before,
.auth::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
}

.auth::before {
    width: 320px;
    height: 320px;
    left: -110px;
    top: 24px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 72%);
}

.auth::after {
    width: 360px;
    height: 360px;
    right: -140px;
    bottom: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.auth .tiny {
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.auth-layout {
    position: relative;
}

.auth-card {
    position: relative;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    padding: clamp(24px, 4vw, 36px);
    animation: authCardEnter 0.45s ease;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
}

.auth-head {
    text-align: center;
    margin-bottom: 22px;
}

.auth-head h2 {
    margin: 10px 0 10px;
    font-size: clamp(30px, 4vw, 40px);
    letter-spacing: -0.02em;
}

.auth-head .section-sub {
    max-width: 420px;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 4px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field span {
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
}

.auth-field input {
    background: rgba(10, 10, 10, 0.85);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.auth-field input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(14, 14, 14, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.auth-submit {
    margin-top: 4px;
    min-height: 48px;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.2s ease, transform 0.2s ease;
}

.auth-back:hover {
    color: var(--text);
    transform: translateX(-2px);
}

.auth-error {
    min-height: 20px;
    margin: 2px 0 0;
    color: var(--danger);
    font-weight: 700;
    font-size: 0.9rem;
}

@keyframes authCardEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .auth {
        padding-top: 86px;
    }

    .auth-card {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .auth-head h2 {
        font-size: 1.9rem;
    }
}

/* ===== Profile Page ===== */
.profile-page {
    position: relative;
    overflow: hidden;
    padding: clamp(16px, 3vh, 32px) 0 80px;
}

.profile-page::before,
.profile-page::after {
    content: none;
}

.profile-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
    padding: clamp(18px, 3vw, 24px);
    backdrop-filter: blur(12px);
}

.profile-hero-card {
    overflow: hidden;
    padding: 0;
    background: rgba(255, 255, 255, 0.04);
}

.profile-hero-main {
    margin-top: 0;
    padding: 18px 24px;
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.profile-avatar-lg {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4);
    background: #0f0f0f;
    flex-shrink: 0;
}

.profile-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-copy {
    min-width: 0;
}

.profile-hero-copy h2 {
    margin: 8px 0 4px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.02em;
}

.profile-username {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.profile-presence {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.92rem;
    max-width: 680px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-presence::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ee7a8;
    box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.2);
}

.profile-hero-actions {
    margin-left: auto;
    align-self: flex-start;
}

.profile-mode-btn {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.18);
}

.profile-mode-btn:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.profile-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.profile-overview-layout[hidden] {
    display: none !important;
}

.profile-section-head {
    margin-bottom: 14px;
}

.profile-section-head .eyebrow {
    margin: 0 0 6px;
}

.profile-section-head h3 {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.profile-servers-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.profile-server-item {
    display: block;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.28);
}

.profile-server-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.profile-server-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.45);
    color: #f2f2f2;
    font-weight: 800;
    font-size: 0.95rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.profile-server-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-server-info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.profile-server-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    word-break: break-word;
}

.profile-server-category {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.profile-friends-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.profile-friend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.34);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.profile-friend-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.profile-friend-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.profile-friend-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-friend-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.profile-friend-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-friend-handle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.56);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-friend-status {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.profile-empty {
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.profile-settings-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.profile-settings-layout[hidden] {
    display: none !important;
}

.profile-settings-nav {
    padding: 16px;
}

.profile-settings-nav .eyebrow {
    margin: 0 0 10px;
    padding: 0 4px;
}

.profile-tabs {
    display: grid;
    gap: 6px;
}

.profile-tab {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.profile-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-tab.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
}

.profile-settings-content {
    min-height: 280px;
}

.profile-panel {
    display: none;
}

.profile-panel.is-active {
    display: block;
}

.profile-panel h3 {
    margin: 0 0 10px;
    font-size: clamp(1.18rem, 2vw, 1.45rem);
}

.profile-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    max-width: 64ch;
}

.profile-account-actions {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 10px;
}

.profile-account-actions-title {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
    font-weight: 700;
}

.profile-account-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-account-btn {
    min-width: 154px;
}

.profile-account-btn-danger {
    background: linear-gradient(135deg, #ff6f83, #ff4d68);
    color: #1a0f13;
}

.profile-account-btn-danger:hover {
    transform: translateY(-1px);
}

.profile-account-btn[aria-disabled="true"] {
    opacity: 0.52;
    cursor: not-allowed;
    pointer-events: none;
}

.profile-account-feedback {
    margin: 2px 0 0;
    color: var(--danger);
    font-weight: 700;
    line-height: 1.5;
}

.profile-back {
    display: inline-flex;
    align-items: center;
    justify-self: flex-start;
    padding: 8px 2px;
    color: var(--muted);
    font-weight: 700;
    transition: color 0.2s ease;
}

.profile-back:hover {
    color: var(--text);
}

@media (max-width: 980px) {
    .profile-overview-layout {
        grid-template-columns: 1fr;
    }

    .profile-settings-layout {
        grid-template-columns: 1fr;
    }

    .profile-settings-nav {
        padding: 14px;
    }

    .profile-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-page {
        padding-top: 12px;
    }

    .profile-hero-main {
        margin-top: 0;
        padding: 16px;
    }

    .profile-avatar-lg {
        width: 84px;
        height: 84px;
    }

    .profile-settings-layout {
        grid-template-columns: 1fr;
    }

    .profile-hero-actions {
        margin-left: 0;
        width: 100%;
    }

    .profile-mode-btn {
        width: 100%;
    }

    .profile-servers-panel,
    .profile-friends-panel {
        padding: 16px;
    }

    .profile-tabs {
        grid-template-columns: 1fr;
    }

    .profile-settings-content {
        min-height: 220px;
    }

    .profile-friend-item {
        padding: 10px;
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-friend-main {
        width: 100%;
    }

    .profile-friend-status {
        align-self: flex-start;
    }
}

/* ===== Hero ===== */
.themes-intro {
    padding: 74px 0 24px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.02);
}

.themes-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 18px;
}

.themes-intro-copy {
    justify-self: start;
    text-align: left;
}

.themes-stack {
    justify-self: stretch;
}

.themes-intro-copy h2 {
    margin: 8px 0 14px;
    font-size: clamp(26px, 3.3vw, 42px);
    line-height: 1.1;
}

.themes-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
    min-height: 430px;
    padding: 10px 0;
    margin-left: auto;
}

.theme-shot {
    --theme-rotate: 0deg;
    --theme-scale: 1;
    --theme-lift: 0px;
    position: absolute;
    width: min(300px, 46vw);
    border-radius: 18px;
    overflow: hidden;
    transform: rotate(var(--theme-rotate)) scale(var(--theme-scale)) translateY(var(--theme-lift));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.theme-shot img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.theme-shot:hover {
    --theme-scale: 1.04;
    --theme-lift: -4px;
    filter: brightness(1.06);
}

.theme-shot:focus-within {
    --theme-scale: 1.04;
    --theme-lift: -4px;
    filter: brightness(1.06);
}

.theme-shot img:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.92);
    outline-offset: 4px;
}

body.theme-lightbox-open {
    overflow: hidden;
}

.theme-lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.theme-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.theme-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
}

.theme-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 94vw);
    max-height: 88vh;
    display: grid;
    gap: 8px;
}

.theme-lightbox__img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}

.theme-lightbox__caption {
    margin: 0;
    text-align: center;
    color: #e4e4e4;
    font-size: 14px;
}

.theme-lightbox__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.62);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.theme-shot--one {
    top: 18px;
    left: 56px;
    --theme-rotate: -11deg;
    z-index: 4;
}

.theme-shot--two {
    top: 104px;
    right: 48px;
    --theme-rotate: 5deg;
    z-index: 3;
}

.theme-shot--three {
    top: 188px;
    left: 4px;
    --theme-rotate: -7deg;
    z-index: 2;
}

.theme-shot--four {
    top: 252px;
    right: 92px;
    --theme-rotate: 12deg;
    z-index: 1;
}

.hero {
    position: relative;
    padding: 72px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.05;
    margin: 10px 0 12px;
}

.lead {
    color: var(--muted);
    font-size: clamp(16px, 1.3vw, 18px);
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.hero-download {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero-download-main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.download-btn-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    vertical-align: middle;
}

.download-btn-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.download-alt-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 30px;
    padding-top: 2px;
    width: 100%;
}

.download-alt-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    opacity: 0.9;
    padding: 6px 9px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.download-alt-link.is-hidden {
    display: none !important;
}

.download-alt-link:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
    opacity: 1;
}

.download-alt-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.download-alt-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.download-alt-text {
    line-height: 1.2;
}

.hero-art .mockup-hero {
    height: 360px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.mockup .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 12px;
    font-weight: 700;
    color: #0b0f14;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    padding: 6px 10px;
    border-radius: 999px;
}

.hero-cubes {
    display: flex;
    gap: 18px;
}

.cube {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(195, 195, 195, .2), rgba(122, 122, 122, .2));
    border: 1px solid var(--border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}


/* ===== Systems grid ===== */
.systems {
    display: grid;
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 12px;
}

.system-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    box-shadow: var(--shadow);
    min-height: 0;
}

.system-card .icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.system-card h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.3;
}

.system-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.45;
}

/* ===== Split sections ===== */
.split {
    background-color: rgba(255, 255, 255, 0.02);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.split .mockup {
    height: 260px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.mockup-tiles {
    background:
        linear-gradient(0deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(96, 195, 255, .14), rgba(122, 108, 255, .14));
}

.mockup-sheets {
    background:
        linear-gradient(0deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(122, 108, 255, .14), rgba(96, 195, 255, .14));
}

.order-m {
    order: -1;
}

.split-art img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.server-roll-preview {
    position: relative;
    max-width: 420px;
    margin-left: auto;
    padding: 18px 0 10px 24px;
}

.server-roll-preview .chat-message {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: chat-message-in 0.25s ease-out;
}

.server-roll-preview .chat-message--self {
    border-color: rgba(255, 255, 255, 0.2);
}

.server-roll-preview .chat-message--dice {
    background: linear-gradient(135deg, rgba(22, 18, 28, 0.75), rgba(8, 10, 12, 0.6));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.server-roll-preview__ghost {
    position: absolute;
    inset: 0 auto auto 0;
    width: calc(100% - 22px);
    opacity: 0.58;
    transform: rotate(-7deg) translate(-14px, 18px);
    z-index: 0;
    pointer-events: none;
}

.server-roll-preview .chat-message__avatar {
    width: 36px;
    height: 36px;
    display: block;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
    flex: 0 0 auto;
}

.server-roll-preview .chat-message__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.server-roll-preview .chat-message__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.server-roll-preview .chat-message__header {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.server-roll-preview .chat-message__name {
    max-width: 180px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-roll-preview .chat-message__time {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    opacity: 0.75;
    white-space: nowrap;
}

.server-roll-preview .chat-message__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.server-roll-preview .chat-dice {
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-roll-preview .chat-dice__media {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    animation: chat-dice-pop 0.45s ease-out;
}

.server-roll-preview .chat-dice__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: chat-dice-spin 0.7s ease-out;
}

.server-roll-preview .chat-dice__details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.server-roll-preview .chat-dice__notation {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

.server-roll-preview .chat-dice__total {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.server-roll-preview .chat-dice__output {
    font-size: 11px;
    color: var(--muted);
    word-break: break-word;
}

.server-roll-preview .chat-dice__roll-bracket,
.server-roll-preview .chat-dice__roll-plus,
.server-roll-preview .chat-dice__roll-flat,
.server-roll-preview .chat-dice__roll-separator {
    color: var(--muted);
}

.server-roll-preview .chat-dice__rolls,
.server-roll-preview .chat-dice__rolls-values {
    display: inline-flex;
    gap: 2px;
}

.server-roll-preview .chat-dice__rolls--group {
    align-items: center;
}

.server-roll-preview .chat-dice__roll-value {
    font-weight: 600;
}

.server-roll-preview .chat-dice__rolls--burst,
.server-roll-preview .chat-dice__rolls--burst .chat-dice__roll-value,
.server-roll-preview .chat-dice__rolls--burst .chat-dice__roll-value--max,
.server-roll-preview .chat-dice__rolls--burst .chat-dice__roll-value--min {
    color: #4bd37b;
}

.server-roll-preview .chat-dice__roll-value--max {
    color: #4bd37b;
}

.server-roll-preview .chat-dice__roll-value--min {
    color: #ff6b6b;
}

@keyframes chat-message-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.band-art img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    min-height: 140px;
}

.feature-card h3 {
    margin: 6px 0 8px;
}

.feature-card p {
    color: var(--muted);
}

/* ===== Band / VTT ===== */
.band-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 30px;
}

.band .mockup-vtt {
    height: 220px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(0deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0)),
        radial-gradient(120px 60px at 30% 30%, rgba(96, 195, 255, .2), transparent),
        radial-gradient(120px 60px at 70% 70%, rgba(122, 108, 255, .2), transparent);
    box-shadow: var(--shadow);
}

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: center;
}

.price-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: min-content;
}

.is-temporarily-hidden {
    display: none !important;
}

.price-card .chip {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    color: #0b0f14;
    font-weight: 800;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
}

.price-card .list {
    margin: 14px 0 18px;
    padding-left: 18px;
    color: var(--muted);
}

.price-card .btn {
    margin-top: 10pt;
}

.price {
    font-size: 28px;
    font-weight: 800;
    margin-top: auto;
}

.price span {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.featured {
    border-color: rgba(255, 255, 255, .25);
    box-shadow: 0 10px 35px rgba(122, 122, 122, .25);
    height: 280pt;
}

/* ===== Support Methods ===== */
.support-highlight {
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.support-highlight-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--text);
}

.support-highlight-logo svg {
    width: 36px;
    height: 36px;
}

.support-highlight-badge {
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
}

.support-highlight .support-content {
    min-width: 260px;
}

.support-highlight .btn {
    margin-left: auto;
}

.support-methods {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.support-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: rgba(255, 255, 255, .25);
    box-shadow: 0 10px 35px rgba(122, 122, 122, .25);
    transform: translateY(-2px);
}

.support-logo {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.support-logo svg {
    width: 100%;
    height: 100%;
}

.support-content {
    flex: 1;
}

.support-card h4 {
    margin: 0 0 8px;
    font-size: 18px;
}

.support-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.support-card-disabled {
    opacity: .75;
}

.support-card-disabled:hover {
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: none;
}

/* ===== Donation Page ===== */
.donation-page {
    padding-top: 32px;
}

.donation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
    gap: 24px;
    align-items: stretch;
}

.donation-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 32px);
}

.donation-copy-card h1 {
    margin: 8px 0 16px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.donation-lead {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.7;
    max-width: 58ch;
}

.donation-recipient {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.donation-recipient-item {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    display: grid;
    gap: 6px;
}

.donation-recipient-label {
    color: var(--muted);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.donation-notice {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
}

.donation-notice strong {
    color: var(--text);
}

.donation-steps {
    margin: 22px 0 30px;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.8;
}

.donation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.donation-copy-btn,
.donation-link-btn {
    box-shadow: none;
}

.donation-link-btn {
    border-color: rgba(255, 255, 255, .18);
}

.donation-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
}

.donation-qr-card {
    display: grid;
    gap: 16px;
    align-content: start;
}

.pix-qr-frame {
    aspect-ratio: 1 / 1;
    width: min(100%, 360px);
    margin: 0 auto;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)),
        radial-gradient(circle at top, rgba(255, 255, 255, .14), transparent 54%);
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.pix-qr-generated {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.pix-qr-generated>* {
    flex-shrink: 0;
}

.pix-qr-generated img,
.pix-qr-generated canvas,
.pix-qr-generated table {
    box-sizing: border-box;
    width: min(100%, 320px) !important;
    height: min(100%, 320px) !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.pix-qr-generated[hidden],
.pix-qr-placeholder[hidden] {
    display: none !important;
}

.pix-qr-generated img,
.pix-qr-generated canvas,
.pix-qr-generated table {
    display: block;
    border-radius: 18px;
    background: #fff;
    padding: 12px;
}

.pix-qr-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, .2);
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    padding: 24px;
    color: rgba(255, 255, 255, .78);
    background:
        linear-gradient(45deg, rgba(255, 255, 255, .04) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, .04) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .04) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .04) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.pix-qr-placeholder span {
    font-size: 1.15rem;
    font-weight: 800;
}

.pix-qr-placeholder small,
.pix-qr-caption {
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 860px) {
    .donation-layout {
        grid-template-columns: 1fr;
    }

    .donation-recipient {
        grid-template-columns: 1fr;
    }

    .pix-qr-frame {
        width: min(100%, 420px);
    }
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid var(--border);
    background: #000;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
}

.footer-grid h4 {
    margin: 0 0 10px;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    margin: 8px 0;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.socials {
    display: flex;
    gap: 10px;
}

/* ===== Utilities ===== */
.split-copy h2 {
    margin: 6px 0 8px;
    font-size: clamp(22px, 2.2vw, 32px);
}

.section h2 {
    letter-spacing: .2px;
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
    .systems {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

@media (max-width: 980px) {

    .themes-intro-grid,
    .hero-grid,
    .split-grid,
    .band-inner {
        grid-template-columns: 1fr;
    }

    .themes-intro {
        padding-top: 56px;
    }

    .themes-stack {
        min-height: 470px;
        max-width: 520px;
        margin: 0 auto;
    }

    .order-m {
        order: initial;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-list {
        position: fixed;
        inset: 64px 16px auto 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 14px;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: .15s ease;
    }

    .nav-indicator {
        display: none;
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .server-roll-preview {
        margin: 0 auto;
    }
}

@media (max-width: 820px) {
    .systems {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 640px) {
    .themes-stack {
        min-height: 390px;
    }

    .theme-shot {
        width: min(220px, 62vw);
    }

    .theme-shot--three {
        top: 158px;
        left: 0;
    }

    .theme-shot--four {
        top: 206px;
        right: 34px;
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .support-methods {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .systems {
        grid-template-columns: 1fr;
    }

    .support-highlight .support-content,
    .support-card .support-content {
        min-width: 0;
    }

    .support-highlight .btn,
    .support-card .btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .support-card {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
    }

    .support-logo {
        width: 52px;
        height: 52px;
    }

    .server-roll-preview .chat-message {
        padding: 8px;
    }

    .server-roll-preview__ghost {
        width: calc(100% - 16px);
        transform: rotate(-6deg) translate(-10px, 14px);
    }

    .server-roll-preview .chat-message__avatar {
        width: 34px;
        height: 34px;
    }

    .server-roll-preview .chat-dice {
        align-items: flex-start;
    }

    .server-roll-preview .chat-dice__media {
        width: 42px;
        height: 42px;
    }

    .server-roll-preview .chat-message__name {
        max-width: 120px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Updates Grid ===== */
.updates-container {
    display: grid;
    gap: 1.25rem;
    margin-top: 3rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.updates-shell {
    display: grid;
    gap: 1.25rem;
}

.updates-head {
    text-align: left;
}

.updates-head .section-sub {
    margin: 0;
    max-width: 640px;
}

.updates-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--border);
}

.updates-category {
    border: 0;
    background: transparent;
    color: var(--muted);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.updates-category:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.updates-category.is-active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.11);
}

.updates-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.updates-status--warning {
    border-color: rgba(255, 210, 122, 0.28);
    background: rgba(255, 210, 122, 0.08);
}

.updates-status strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.updates-status p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.updates-status__action {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.updates-status__actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.updates-status__action:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
}

.updates-status__action:disabled {
    cursor: wait;
    opacity: 0.7;
}

.updates-feed {
    display: grid;
    gap: 0.7rem;
}

.updates-row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 0.85rem 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.updates-row:hover,
.updates-row:focus-visible {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
    outline: none;
}

.updates-row-date {
    display: grid;
    gap: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.updates-row-day {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
}

.updates-row-year {
    color: var(--muted);
    font-size: 0.72rem;
}

.updates-row-card {
    border-left: 1px solid var(--border);
    padding-left: 1rem;
}

.updates-row-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.updates-row-card h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.updates-version-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary-2);
    border-radius: 6px;
    padding: 0.22rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.updates-latest-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ffffff;
    background: #ffffff;
    color: #111111;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.updates-row-card p {
    margin: 0.5rem 0 0 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 0.93rem;
}

.updates-empty-state {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.updates-empty-state h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
}

.updates-empty-state p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .updates-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .updates-row-card {
        border-left: 0;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 0.7rem;
    }

    .updates-status {
        flex-direction: column;
        align-items: stretch;
    }

    .updates-status__action {
        width: 100%;
        text-align: center;
    }

    .updates-status__actions {
        width: 100%;
    }
}

/* ===== Release Detail ===== */
.release-detail-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.release-detail-page {
    min-width: 0;
}

.back-btn-detail {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 0;
    transition: color 0.2s;
}

.back-btn-detail:hover {
    color: var(--muted);
}

.release-detail-header-page {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.release-detail-header-page h1 {
    margin: 0 0 1.5rem 0;
    font-size: 2rem;
    line-height: 1.2;
    color: var(--text);
    font-weight: 700;
}

.release-detail-meta-page {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.release-detail-meta-page .release-date {
    color: var(--muted);
    font-size: 0.9rem;
}

.release-detail-meta-page .release-version {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-2);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.release-detail-content {
    color: var(--text);
    line-height: 1.8;
    font-size: 1rem;
}

.release-detail-content h1 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
    color: var(--text);
    font-weight: 700;
}

.release-detail-content h2 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.8rem 0;
    color: var(--text);
    font-weight: 700;
}

.release-detail-content h3 {
    font-size: 1.2rem;
    margin: 1.25rem 0 0.75rem 0;
    color: var(--text);
    font-weight: 600;
}

.release-detail-content h4 {
    font-size: 1.05rem;
    margin: 1rem 0 0.6rem 0;
    color: var(--text);
    font-weight: 600;
}

.release-detail-content p {
    margin: 1rem 0;
    color: var(--text);
}

.release-detail-content ul,
.release-detail-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text);
}

.release-detail-content li {
    margin: 0.35rem 0;
}

.release-detail-content blockquote {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--primary-2);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border-radius: 0 8px 8px 0;
}

.release-detail-content pre {
    margin: 1rem 0;
    padding: 1rem;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
}

.release-detail-content code {
    font-family: "JetBrains Mono", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 5px;
}

.release-detail-content pre code {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.release-detail-content hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.release-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    display: block;
    overflow-x: auto;
}

.release-detail-content th,
.release-detail-content td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 0.75rem;
    text-align: left;
}

.release-detail-content th {
    background: rgba(255, 255, 255, 0.06);
}

.release-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.release-detail-content strong {
    color: var(--text);
    font-weight: 600;
}

.release-detail-content em {
    font-style: italic;
    color: var(--muted);
}

.release-detail-content a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.release-detail-content a:hover {
    color: var(--primary-2);
}

.release-detail-content br {
    display: block;
    content: '';
    margin: 0.5rem 0;
}

/* ===== Sidebar ===== */
.release-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.release-detail-sidebar h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.sidebar-releases {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sidebar-release-card {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.8rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.sidebar-release-card:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.sidebar-release-card.is-active {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    cursor: default;
}

.sidebar-release-card.is-active:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-release-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-date {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
}

.sidebar-version {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: fit-content;
}

.sidebar-release-card h4 {
    margin: 0;
    font-size: 0.98rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.35;
}

.sidebar-release-card p {
    margin: 0.45rem 0 0 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.45;
}

/* Responsive ===== */
@media (max-width: 1024px) {
    .release-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .release-detail-header-page h1 {
        font-size: 2.2rem;
    }

    .release-detail-sidebar {
        flex-direction: row;
        gap: 1rem;
    }

    .sidebar-releases {
        flex-direction: row;
        gap: 1rem;
        overflow-x: auto;
    }

    .sidebar-release-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 640px) {
    .release-detail-container {
        padding: 1.5rem 1rem;
    }

    .release-detail-header-page h1 {
        font-size: 1.75rem;
    }

    .release-detail-content {
        font-size: 1rem;
    }

    .release-detail-sidebar h3 {
        font-size: 1rem;
    }

    .sidebar-releases {
        flex-direction: column;
    }

    .sidebar-release-card {
        flex: none;
    }
}

/* ===== Mesa Container ===== */
.mesa-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mesa-card {
    background: rgba(34, 34, 34, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.mesa-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mesa-logo {
    margin-bottom: 0;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.mesa-logo img {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

.mesa-header-content {
    flex: 1;
}

.mesa-card h1 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--text);
    font-weight: 700;
}

.mesa-descricao {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mesa-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.jogadores {
    background: rgba(139, 255, 181, 0.1);
    color: var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.mesa-codigo {
    color: var(--muted);
    font-size: 0.8rem;
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Support Page ===== */
.support-page {
    min-height: calc(100vh - 64px);
    color: var(--text);
    padding-bottom: 3.5rem;
}

.support-hero,
.support-page-content {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.support-hero {
    text-align: center;
    padding: 2.2rem 0 2rem;
}

.support-kicker {
    margin: 0;
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

.support-hero h1 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.06;
}

.support-lead {
    margin: 0.7rem auto 0;
    font-size: 1.03rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 700px;
}

.support-search {
    margin: 1.3rem auto 0;
    width: min(740px, 100%);
    display: flex;
    align-items: center;
    background: rgba(10, 11, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.support-search input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: #f4f6ff;
    padding: 0.95rem 1rem;
    font-size: 0.97rem;
}

.support-search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.support-search button {
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #f4f6ff;
    width: 54px;
    height: 48px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.support-sub {
    margin: 1rem auto 0;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.74);
}

.support-sub a {
    text-decoration: underline;
}

.support-filters {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.support-category {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
}

.support-category.is-active {
    color: #101320;
    background: #ffffff;
    border-color: #ffffff;
}

.support-page-content {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.support-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.05rem;
}

.support-results-count {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.85rem;
}

.support-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.support-shortcuts button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.34rem 0.8rem;
    font-size: 0.77rem;
    font-weight: 600;
    cursor: pointer;
}

.support-articles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.support-article-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem 1rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1rem;
    min-height: 132px;
    transition: transform 0.18s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.support-article-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.11);
}

.support-article-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 1.02rem;
    color: #ffffff;
}

.support-card-icon {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    align-self: start;
}

.support-card-icon img {
    width: 28px;
    height: 28px;
    display: block;
    filter: invert(1);
}

.support-card-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.support-card-icon-glyph {
    width: 28px;
    height: 28px;
    display: block;
    background: #e3e3e3;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M200-280h560v-80H200v80Zm0-160h560v-80H200v80Zm0-160h400v-80H200v80Zm-40 440q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'><path d='M200-280h560v-80H200v80Zm0-160h560v-80H200v80Zm0-160h400v-80H200v80Zm-40 440q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z'/></svg>");
}

.support-article-card p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.support-empty {
    margin: 1.15rem 0 0;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    text-align: center;
    color: rgba(255, 255, 255, 0.76);
}

.support-guide-page .support-page-content {
    width: min(980px, calc(100% - 48px));
}

.support-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    margin-bottom: 1rem;
}

.support-back-link:hover {
    color: #ffffff;
}

.support-basic-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.support-option-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1rem;
    min-height: 132px;
    transition: transform 0.18s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.support-option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.11);
}

.support-option-copy {
    display: grid;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.support-option-title {
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.02rem;
    color: #ffffff !important;
    line-height: 1.2;
}

.support-option-description {
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.72) !important;
    line-height: 1.45;
}

.support-markdown-guide {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.4rem;
}

.support-markdown-guide h2 {
    margin: 0 0 1rem;
}

.support-markdown-item+.support-markdown-item {
    margin-top: 1rem;
}

.support-markdown-item h3 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: #ffffff;
}

.support-markdown-item pre {
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(4, 6, 10, 0.62);
    padding: 0.82rem;
    overflow-x: auto;
}

.support-markdown-item code {
    font-family: "Fira Code", "Cascadia Code", "Consolas", monospace;
    font-size: 0.87rem;
    color: rgba(238, 247, 255, 0.92);
}

.support-markdown-note {
    margin: 1.1rem 0 0;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

/* ===== Privacy Page ===== */
.privacy-page,
.terms-page {
    min-height: calc(100vh - 64px);
    color: var(--text);
    padding: 2.4rem 0 4rem;
}

.privacy-shell,
.terms-shell {
    width: min(740px, calc(100% - 48px));
    margin-inline: auto;
}

.privacy-hero,
.terms-hero {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-kicker,
.terms-kicker {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.privacy-hero h1,
.terms-hero h1 {
    margin: 0.55rem 0 0;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.privacy-meta,
.terms-meta {
    margin: 0.9rem 0 0;
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.45);
}

.privacy-lead,
.terms-lead {
    margin: 0.75rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    font-size: 0.96rem;
}

.privacy-section,
.terms-section {
    padding: 1.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.privacy-section:last-of-type,
.terms-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2,
.terms-section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.privacy-section h3,
.terms-section h3 {
    margin: 1.2rem 0 0.5rem;
    font-size: 0.93rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-section p,
.terms-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.72;
    font-size: 0.95rem;
}

.privacy-section p+p,
.terms-section p+p {
    margin-top: 0.7rem;
}

.privacy-section ul,
.terms-section ul {
    margin: 0.6rem 0 0;
    padding-left: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    font-size: 0.95rem;
}

.privacy-section li+li,
.terms-section li+li {
    margin-top: 0.5rem;
}

.privacy-back,
.terms-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.privacy-back:hover,
.terms-back:hover {
    color: rgba(255, 255, 255, 0.85);
}

.terms-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.terms-link:hover {
    color: #fff;
}

/* ===== About page ===== */
.about-page {
    min-height: calc(100vh - 64px);
    color: var(--text);
    padding: 2.4rem 0 4rem;
}

.about-shell {
    width: min(740px, calc(100% - 48px));
    margin-inline: auto;
}

.about-profile {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
}

.about-avatar {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-profile-info {
    flex: 1;
    min-width: 0;
}

.about-kicker {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.about-profile-info h1 {
    margin: 0.4rem 0 0;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    line-height: 1.2;
}

.about-handle {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.about-bio {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    font-size: 0.96rem;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.about-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

.about-link-btn:hover {
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
}

.about-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.about-sections {
    margin-top: 0;
}

.about-section {
    padding: 1.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.about-section:last-of-type {
    border-bottom: none;
}

.about-section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.about-section p {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.72;
    font-size: 0.95rem;
}

.about-section p+p {
    margin-top: 0.7rem;
}

.about-cta {
    display: inline-block;
    margin-top: 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.about-cta:hover {
    color: #fff;
}

.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.1rem;
}

.about-stack {
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-stack li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-stack li:last-child {
    border-bottom: none;
}

.about-stack-name {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    min-width: 130px;
}

.about-stack-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.about-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.about-back:hover {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 560px) {
    .about-profile {
        flex-direction: column;
        gap: 1.2rem;
    }
}

@media (max-width: 1000px) {
    .support-articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-basic-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .support-hero,
    .support-page-content {
        width: min(1180px, calc(100% - 26px));
    }

    .support-guide-page .support-page-content {
        width: min(980px, calc(100% - 26px));
    }

    .privacy-shell {
        width: min(980px, calc(100% - 26px));
    }

    .support-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .support-articles {
        grid-template-columns: 1fr;
    }
}
