.stat-card,
.feature-card,
.module-card,
.faq-card,
.sidebar-card,
.server-card,
.config-card,
.guild-server-card,
.cta-panel,
.bot-showcase {
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.stat-card,
.feature-card,
.module-card,
.faq-card,
.sidebar-card,
.server-card,
.config-card,
.guild-server-card {
    border-radius: var(--radius-lg);
}

.bot-showcase,
.cta-panel {
    border-radius: var(--radius-xl);
}

.bot-showcase {
    position: relative;
    width: min(100%, 430px);
    min-height: 420px;
    padding: 28px;
    background:
        radial-gradient(circle at top, rgba(252, 215, 136, 0.22), transparent 45%),
        linear-gradient(180deg, color-mix(in srgb, var(--panel) 95%, transparent), color-mix(in srgb, var(--panel-strong) 85%, transparent));
    overflow: hidden;
}

.bot-showcase::before,
.bot-showcase::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: var(--soft-overlay);
    filter: blur(2px);
}

.bot-showcase::before {
    width: 140px;
    height: 140px;
    top: 24px;
    right: 18px;
}

.bot-showcase::after {
    width: 90px;
    height: 90px;
    left: 22px;
    bottom: 26px;
}

.bot-showcase-main {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.bot-showcase-main img {
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(175, 122, 69, 0.16));
}

.bot-showcase-badge {
    position: absolute;
    z-index: 3;
    background: color-mix(in srgb, var(--panel) 96%, transparent);
    border: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(122, 88, 49, 0.08);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
    color: var(--text);
}

.badge-top {
    top: 26px;
    left: 22px;
}

.badge-right {
    top: 146px;
    right: 16px;
}

.badge-bottom {
    bottom: 26px;
    left: 34px;
}

.sidebar-card {
    padding: 20px;
}

.sidebar-card a {
    display: block;
    padding: 10px 0;
    color: var(--text-soft);
    font-weight: 600;
}

.server-card {
    padding: 20px;
}

.server-card-top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.server-avatar,
.server-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: 0 0 56px;
}

.server-icon {
    object-fit: cover;
}

.server-avatar {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff8ef;
    font-weight: 800;
    font-size: 1.2rem;
}

.server-avatar.large {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 1.4rem;
}

.server-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.server-status {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-status-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-status-icon img {
    max-width: 52px;
    max-height: 52px;
    object-fit: contain;
}

.server-status.is-ok {
    background: var(--success-bg);
    color: var(--success-text);
}

.server-status.is-missing {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.guild-server-card {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.config-card {
    padding: 26px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.status-badge {
    padding: 10px 14px;
    background: rgba(252, 215, 136, 0.24);
    color: var(--text);
    font-weight: 800;
}

.field {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.field label {
    font-weight: 700;
    color: var(--text);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 15px;
    background: var(--input-bg);
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(175, 122, 69, 0.5);
    box-shadow: 0 0 0 4px rgba(252, 215, 136, 0.16);
    transform: translateY(-1px);
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    border: 1px solid var(--line);
}

.nav-user-pill {
    background: rgba(252, 215, 136, 0.18);
}
.floating-card {
    position: absolute;
    z-index: 4;
    width: 180px;
    padding: 14px;
    border-radius: 22px;
    background: color-mix(in srgb, var(--panel) 97%, transparent);
    border: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(122, 88, 49, 0.10);
    backdrop-filter: blur(10px);
}

.floating-card-left {
    left: 8px;
    bottom: 74px;
}

.floating-card-right {
    right: 8px;
    bottom: 82px;
}

.floating-card-media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 88px;
    margin-bottom: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(252, 215, 136, 0.18), rgba(245, 237, 213, 0.08));
}

.floating-card-media img {
    max-height: 84px;
    object-fit: contain;
}

.floating-card strong,
.story-point strong {
    display: block;
    margin-bottom: 6px;
}

.floating-card span,
.story-point span {
    color: var(--text-soft);
    line-height: 1.55;
    font-size: 0.92rem;
}

.hero-glow,
.hero-orbit,
.hero-orbit-dot {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-glow {
    background: radial-gradient(circle, rgba(252, 215, 136, 0.36) 0%, rgba(252, 215, 136, 0) 68%);
}

.hero-glow-a {
    width: 240px;
    height: 240px;
    top: -36px;
    right: -36px;
}

.hero-glow-b {
    width: 170px;
    height: 170px;
    bottom: 8px;
    left: -24px;
}

.hero-orbit {
    border: 1px dashed color-mix(in srgb, var(--line) 72%, transparent);
    opacity: 0.65;
}

.hero-orbit-a {
    inset: 22px;
}

.hero-orbit-b {
    inset: 58px;
}

.hero-orbit-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    box-shadow: 0 8px 16px rgba(175, 122, 69, 0.16);
}

.orbit-dot-a {
    top: 72px;
    right: 78px;
}

.orbit-dot-b {
    left: 52px;
    top: 128px;
}

.orbit-dot-c {
    bottom: 112px;
    right: 58px;
}

.story-point {
    padding: 18px;
    border-radius: 20px;
    background: color-mix(in srgb, var(--panel) 96%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.dashboard-preview {
    position: relative;
    z-index: 2;
    padding: 16px;
    border-radius: 28px;
    background: color-mix(in srgb, var(--panel) 98%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.dashboard-preview-top {
    display: flex;
    gap: 8px;
    padding: 4px 0 14px;
}

.dashboard-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 42%, white);
}

.dashboard-preview-body {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
}

.dashboard-preview-sidebar {
    padding: 16px 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(252, 215, 136, 0.14), rgba(245, 237, 213, 0.06));
    border: 1px solid var(--line);
}

.preview-avatar {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff8ef;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin-bottom: 20px;
}

.preview-nav-line,
.preview-panel {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(252, 215, 136, 0.15), rgba(245, 237, 213, 0.08));
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
}

.preview-nav-line {
    height: 14px;
    margin-bottom: 12px;
}

.preview-nav-line.is-wide {
    height: 24px;
}

.dashboard-preview-main {
    display: grid;
    gap: 12px;
}

.preview-panel-hero {
    min-height: 96px;
}

.preview-panel-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.preview-panel-row-bottom {
    grid-template-columns: 1.1fr 0.9fr;
}

.preview-panel {
    min-height: 74px;
}

.preview-panel.is-tall {
    min-height: 162px;
}

.preview-stack {
    display: grid;
    gap: 12px;
}

.preview-float {
    position: absolute;
    z-index: 3;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: color-mix(in srgb, var(--panel) 97%, transparent);
    border: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(122, 88, 49, 0.10);
}

.preview-float img {
    max-width: 78px;
    max-height: 78px;
    object-fit: contain;
}

.preview-float-a {
    top: -22px;
    right: -18px;
}

.preview-float-b {
    bottom: -28px;
    left: -20px;
}
