:root {
    --bg: #060914;
    --bg-soft: #0b1120;
    --panel: rgba(10, 14, 28, 0.82);
    --panel-strong: rgba(12, 16, 30, 0.94);
    --panel-soft: rgba(22, 28, 48, 0.88);
    --border: rgba(92, 112, 180, 0.26);
    --border-strong: rgba(116, 135, 210, 0.38);
    --text: #f6f7ff;
    --muted: #a8b2d8;
    --blue: #2fa7ff;
    --cyan: #55ddff;
    --purple: #7a6cff;
    --pink: #e95ea7;
    --green: #63df9a;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 16px;
    --content: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(48, 171, 255, 0.16), transparent 18%),
        radial-gradient(circle at 82% 62%, rgba(233, 94, 167, 0.14), transparent 20%),
        linear-gradient(rgba(66, 79, 126, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 79, 126, 0.12) 1px, transparent 1px),
        linear-gradient(180deg, #08111f 0%, #070b16 60%, #060811 100%);
    background-size: auto, auto, 44px 44px, 44px 44px, auto;
    min-height: 100vh;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.site-shell {
    width: min(calc(100% - 32px), var(--content));
    margin: 0 auto;
    padding: 12px 0 56px;
}

.glass-panel,
.elevated-card,
.support-stat-card,
.support-mini-card,
.legal-card,
.dashboard-card,
.auth-panel,
.command-filter-chip,
.toast {
    background: linear-gradient(180deg, rgba(14, 18, 34, 0.92), rgba(8, 12, 22, 0.92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.topbar {
    position: sticky;
    top: 12px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 22px;
    margin-bottom: 24px;
    border-radius: 24px;
    background: rgba(8, 12, 24, 0.84);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(87, 106, 175, 0.28);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

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

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, rgba(51, 111, 255, 0.34), rgba(233, 94, 167, 0.24));
    border: 1px solid rgba(122, 141, 216, 0.38);
}

.brand strong {
    display: block;
    font-size: 1.05rem;
}

.brand span:last-child {
    color: var(--muted);
    font-size: 0.92rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: center;
}

.main-nav a,
.footer-links a {
    color: var(--muted);
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.footer-links a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(12, 16, 30, 0.88);
    color: #fff;
}

.topbar-extras {
    min-width: 140px;
    display: flex;
    justify-content: flex-end;
}

.page {
    display: none;
    animation: pageFade 0.35s ease;
}

.page.active {
    display: block;
}

.page-static {
    display: block;
}

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.88fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.chat-showcase,
.section-block,
.faq-layout,
.dashboard-card,
.auth-panel,
.legal-shell {
    border-radius: var(--radius-xl);
}

.hero-copy {
    padding: 34px 28px 28px;
    position: relative;
    overflow: hidden;
}

.hero-copy::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 86, 255, 0.28), transparent 65%);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(88, 155, 230, 0.24);
    background: linear-gradient(180deg, rgba(10, 53, 86, 0.72), rgba(9, 28, 51, 0.64));
    color: #87d7ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-copy h1,
.page-header h2,
.section-heading h2,
.legal-card h3,
.support-meta-card h3,
.step-card h3,
.hero-mini-stat strong {
    font-family: 'Space Grotesk', sans-serif;
}

.hero-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(3rem, 7vw, 5.9rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.gradient-text {
    display: inline-block;
    background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy p,
.section-heading p,
.page-header p,
.step-card p,
.support-meta-card p,
.support-mini-card span,
.legal-card p,
.faq-answer,
.dashboard-card p,
.auth-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.hero-actions,
.hero-links,
.hero-pills,
.command-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions {
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(90deg, var(--blue), var(--purple) 55%, var(--pink));
    box-shadow: 0 16px 30px rgba(87, 92, 255, 0.25);
}

.btn-secondary {
    background: rgba(20, 25, 42, 0.92);
    border: 1px solid rgba(111, 129, 198, 0.28);
    color: #f1f4ff;
}

.hero-links a {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-pills {
    margin-top: 24px;
}

.hero-pills div,
.hero-mini-stat,
.support-stat-card {
    min-height: 78px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(16, 22, 38, 0.86);
    border: 1px solid rgba(94, 113, 177, 0.24);
}

.hero-pills div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: auto;
    padding: 14px 18px;
    color: #d7dffd;
}

.hero-side {
    position: relative;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(14px);
    opacity: 0.55;
    pointer-events: none;
}

.orb-a {
    width: 180px;
    height: 180px;
    left: -12px;
    top: 22%;
    background: radial-gradient(circle, rgba(43, 168, 255, 0.26), transparent 70%);
}

.orb-b {
    width: 220px;
    height: 220px;
    right: -30px;
    bottom: 2%;
    background: radial-gradient(circle, rgba(233, 94, 167, 0.24), transparent 72%);
}

.chat-showcase {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.chat-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: rgba(20, 24, 38, 0.95);
    border-bottom: 1px solid rgba(87, 106, 175, 0.22);
}

.chat-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-brand img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 14px;
}

.chat-live {
    color: var(--green);
    font-size: 0.9rem;
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ff766e; }
.window-dots span:nth-child(2) { background: #f7bd50; }
.window-dots span:nth-child(3) { background: #63df72; }

.chat-window-body {
    display: grid;
    gap: 14px;
    padding: 22px 18px 18px;
}

.chat-message {
    max-width: 84%;
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.65;
    font-size: 0.97rem;
    border: 1px solid rgba(109, 126, 194, 0.2);
}

.chat-message-user {
    justify-self: end;
    background: linear-gradient(90deg, rgba(107, 92, 212, 0.86), rgba(154, 47, 87, 0.88));
}

.chat-message-bot {
    background: linear-gradient(180deg, rgba(14, 77, 118, 0.92), rgba(8, 41, 66, 0.95));
}

.hero-stats-row,
.support-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0 18px 18px;
}

.hero-mini-stat span,
.support-stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-mini-stat strong,
.support-stat-card strong {
    display: block;
    margin-top: 6px;
    font-size: 1.6rem;
}

.content-stack {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.section-block {
    padding: 28px;
}

.section-heading,
.page-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 22px;
}

.page-header {
    margin-bottom: 26px;
}

.page-header-centered {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.section-heading h2,
.page-header h2 {
    margin: 12px 0 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 420px;
    text-align: right;
}

.feature-grid,
.card-grid,
.steps-grid,
.systems-grid,
.faq-cards,
.dashboard-shell,
.support-hub-shell {
    display: grid;
    gap: 16px;
}

.feature-grid,
.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.content-card,
.system-card,
.faq-card,
.step-card,
.support-meta-card,
.support-widget-shell {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 28, 0.72);
    border: 1px solid rgba(87, 106, 175, 0.22);
}

.feature-icon,
.card-icon,
.step-number,
.dashboard-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-weight: 700;
    color: #f6f8ff;
    background: linear-gradient(135deg, rgba(47, 167, 255, 0.92), rgba(233, 94, 167, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card h3,
.content-card h3,
.system-card h3,
.faq-card h3,
.step-card h3,
.support-widget-shell h3,
.dashboard-card h3,
.auth-panel h3 {
    margin: 18px 0 10px;
    font-size: 1.35rem;
}

.feature-card p,
.content-card p,
.system-card p,
.support-widget-shell p,
.support-mini-card span {
    color: var(--muted);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 20px;
}

.advantage-list {
    display: grid;
    gap: 14px;
}

.advantage-list article {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(18, 24, 40, 0.84);
    border: 1px solid rgba(88, 107, 175, 0.22);
}

.advantage-list i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(93, 111, 187, 0.2);
}

.advantage-list strong,
.support-mini-card strong,
.legal-card h3,
.dashboard-card h3,
.auth-panel h3 {
    display: block;
}

.steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
    min-height: 100%;
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
}

.compact-grid .content-card {
    min-height: 210px;
}

.content-card .tag,
.system-card .tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    color: #9eddff;
    background: rgba(10, 48, 77, 0.5);
    border: 1px solid rgba(76, 144, 208, 0.2);
    font-size: 0.84rem;
    font-weight: 600;
}

.support-section .section-heading {
    margin-bottom: 18px;
}

.support-hub-shell {
    grid-template-columns: 1fr 0.96fr;
    align-items: start;
}

.support-meta-card {
    padding: 24px;
}

.support-stat-grid {
    padding: 0;
    margin: 22px 0 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.support-mini-card {
    padding: 18px;
    border-radius: 18px;
}

.support-cta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
}

.support-widget-shell {
    padding: 16px;
}

.support-widget-shell iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
    border-radius: 18px;
}

.command-filters {
    padding: 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 18px;
}

.command-filter-chip {
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(15, 19, 33, 0.92);
    cursor: pointer;
}

.command-filter-chip.active {
    color: #fff;
    border-color: rgba(109, 171, 255, 0.44);
    background: linear-gradient(90deg, rgba(37, 105, 255, 0.3), rgba(233, 94, 167, 0.22));
}

.updates-list {
    display: grid;
    gap: 16px;
}

.update-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.update-meta span {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(17, 38, 67, 0.54);
    border: 1px solid rgba(73, 139, 200, 0.18);
    color: #9bdfff;
    font-size: 0.85rem;
}

.faq-layout {
    padding: 24px;
}

.faq-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.faq-filter-row label {
    color: var(--muted);
}

.faq-filter-row select,
.auth-panel select,
.auth-panel input {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    color: #fff;
    background: rgba(14, 18, 31, 0.92);
    border: 1px solid rgba(96, 112, 181, 0.25);
    outline: none;
}

.faq-cards {
    grid-template-columns: 1fr;
}

.faq-card p {
    margin-top: 10px;
}

.dashboard-shell {
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
}

.dashboard-card,
.auth-panel {
    padding: 24px;
}

.guild-list,
.detail-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.guild-card,
.detail-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(16, 22, 38, 0.86);
    border: 1px solid rgba(92, 109, 178, 0.22);
}

.guild-card strong,
.detail-item strong {
    display: block;
    margin-bottom: 6px;
}

.guild-card small,
.detail-item span {
    color: var(--muted);
}

.guild-card.is-installed {
    border-color: rgba(90, 207, 142, 0.42);
    box-shadow: inset 0 0 0 1px rgba(90, 207, 142, 0.1);
}

.legal-shell {
    padding: 24px;
    display: grid;
    gap: 16px;
}

.simple-grid {
    display: grid;
    gap: 16px;
}

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

.footer {
    padding: 0 16px 34px;
}

.footer-content {
    width: min(100%, var(--content));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-radius: 24px;
    background: rgba(8, 12, 24, 0.84);
    border: 1px solid rgba(87, 106, 175, 0.24);
}

.footer-brand strong {
    display: block;
    margin-bottom: 4px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-brand span,
.footer-copy {
    color: var(--muted);
    line-height: 1.65;
}

.loading-screen {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(5, 8, 16, 0.94);
    z-index: 999;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-panel {
    width: min(calc(100% - 32px), 420px);
    padding: 30px;
    text-align: center;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(13, 18, 33, 0.96), rgba(8, 12, 23, 0.94));
    border: 1px solid rgba(93, 112, 182, 0.3);
    box-shadow: var(--shadow);
}

.loading-ring {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid rgba(84, 101, 168, 0.24);
    border-top-color: var(--blue);
    animation: spin 1s linear infinite;
}

.loading-logo {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    margin: -62px auto 12px;
    object-fit: cover;
}

.loading-panel h1 {
    margin: 10px 0 6px;
    font-family: 'Space Grotesk', sans-serif;
}

.loading-bar {
    width: 100%;
    height: 10px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.loading-bar span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink));
    animation: loading 1.4s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-110%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(220%); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.toast-container {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 10px;
    z-index: 120;
}

.toast {
    min-width: 260px;
    padding: 14px 16px;
    border-radius: 18px;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-grid,
    .why-grid,
    .support-hub-shell,
    .dashboard-shell,
    .feature-grid,
    .card-grid,
    .steps-grid,
    .support-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .why-grid,
    .support-hub-shell,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .site-shell {
        width: min(calc(100% - 20px), var(--content));
    }

    .topbar {
        position: sticky;
        flex-wrap: wrap;
        align-items: center;
    }

    .mobile-nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
        z-index: 3;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 10px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(10, 14, 27, 0.98);
        border: 1px solid rgba(87, 106, 175, 0.24);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        min-height: 42px;
        display: flex;
        align-items: center;
        padding: 0 6px;
    }

    .topbar-extras {
        display: none;
    }

    .section-heading,
    .page-header,
    .faq-filter-row,
    .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading p {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hero-copy,
    .section-block,
    .faq-layout,
    .dashboard-card,
    .auth-panel,
    .legal-shell,
    .support-meta-card,
    .support-widget-shell {
        padding: 22px 18px;
    }

    .feature-grid,
    .card-grid,
    .steps-grid,
    .support-mini-grid,
    .hero-stats-row,
    .support-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 16vw, 4.6rem);
    }

    .footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.btn-sm {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 10px 6px 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(13, 18, 33, 0.92);
    color: #fff;
}

.user-chip img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.user-chip strong,
.user-panel-head strong {
    display: block;
    font-size: 0.95rem;
}

.user-chip small,
.user-panel-head span {
    color: var(--muted);
}

.command-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    min-height: 246px;
    background: linear-gradient(180deg, rgba(12, 16, 30, 0.96), rgba(9, 12, 23, 0.94));
    border: 1px solid rgba(87, 106, 175, 0.22);
    box-shadow: var(--shadow);
}

.command-card h3 {
    margin: 18px 0 12px;
    font-size: 1.7rem;
    font-family: 'Space Grotesk', sans-serif;
}

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

.command-usage {
    display: inline-flex;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #d7e9ff;
    background: rgba(26, 37, 83, 0.48);
    border: 1px solid rgba(101, 128, 219, 0.28);
    font-size: 0.88rem;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.panel-stat-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(15, 20, 36, 0.92);
    border: 1px solid rgba(96, 112, 181, 0.24);
}

.panel-stat-card span {
    display: block;
    color: var(--muted);
    line-height: 1.6;
}

.panel-stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.user-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(16, 22, 38, 0.86);
}

.user-panel-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-header-row {
    margin-bottom: 18px;
}

.guild-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.guild-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guild-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(47, 167, 255, 0.2), rgba(233, 94, 167, 0.2));
    font-weight: 700;
}

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

.guild-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.server-panel-shell {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 18px;
}

.server-sidebar,
.server-main,
.system-form-card {
    border-radius: 22px;
    background: rgba(15, 20, 36, 0.9);
    border: 1px solid rgba(96, 112, 181, 0.24);
}

.server-sidebar {
    padding: 20px;
}

.server-sidebar-head {
    margin-bottom: 18px;
}

.server-sidebar-head strong {
    display: block;
    font-size: 1.15rem;
}

.server-sidebar-head span {
    color: var(--muted);
}

.system-nav-list {
    display: grid;
    gap: 10px;
}

.system-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(96, 112, 181, 0.2);
    border-radius: 16px;
    background: rgba(11, 15, 27, 0.92);
    color: #eef2ff;
    text-align: left;
}

.system-nav-item.active {
    background: linear-gradient(90deg, rgba(47, 167, 255, 0.2), rgba(233, 94, 167, 0.16));
    border-color: rgba(107, 171, 255, 0.44);
}

.server-main {
    padding: 22px;
}

.server-main-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.system-form-card {
    padding: 20px;
}

.system-form-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.system-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.system-form-grid label,
.toggle-row {
    display: grid;
    gap: 8px;
}

.toggle-row {
    justify-items: end;
}

.panel-input {
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(96, 112, 181, 0.25);
    background: rgba(11, 15, 27, 0.92);
    color: #fff;
    outline: none;
}

.footer-content {
    padding: 24px 26px;
    background:
        radial-gradient(circle at right top, rgba(233, 94, 167, 0.12), transparent 28%),
        radial-gradient(circle at left bottom, rgba(47, 167, 255, 0.12), transparent 28%),
        rgba(8, 12, 24, 0.9);
}

.footer-brand strong {
    font-size: 1.35rem;
}

.footer-links {
    gap: 14px;
}

@media (max-width: 1080px) {
    .guild-grid,
    .dashboard-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-panel-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .guild-grid,
    .dashboard-stat-grid,
    .system-form-grid {
        grid-template-columns: 1fr;
    }

    .server-main-head,
    .system-form-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
