.demo-page-body {
    background: linear-gradient(135deg, #0a0e27 0%, #0f1528 25%, #1a1f3a 50%, #252a4a 75%, #2d1b4e 100%);
    background-attachment: fixed;
}

.demo-shell {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.demo-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.25rem;
    border-radius: 0.75rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.demo-tab {
    flex: 1 1 auto;
    min-width: 5.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #9ca3af;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.demo-tab:hover {
    color: #e5e7eb;
}

.demo-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(147, 51, 234, 0.45));
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25);
}

.demo-panel {
    display: none;
}

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

.demo-panel-inner {
    border-radius: 1rem;
    overflow: hidden;
}

.demo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.demo-table th,
.demo-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(75, 85, 99, 0.35);
}

.demo-table th {
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.demo-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
}

.demo-badge--new { background: rgba(59, 130, 246, 0.25); color: #93c5fd; }
.demo-badge--progress { background: rgba(234, 179, 8, 0.2); color: #fde047; }
.demo-badge--done { background: rgba(34, 197, 94, 0.2); color: #86efac; }
.demo-badge--paid { background: rgba(34, 197, 94, 0.2); color: #86efac; }

.demo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.75rem;
}

.demo-kpi {
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.demo-kpi__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.demo-kpi__label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.demo-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
    font-size: 0.75rem;
}

.demo-cal-day {
    min-height: 4.5rem;
    padding: 0.35rem;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.35);
    border: 1px solid rgba(75, 85, 99, 0.2);
}

.demo-cal-day--muted {
    opacity: 0.45;
}

.demo-cal-event {
    margin-top: 0.25rem;
    padding: 0.15rem 0.3rem;
    border-radius: 0.25rem;
    background: rgba(59, 130, 246, 0.35);
    color: #dbeafe;
    font-size: 0.65rem;
    line-height: 1.2;
}

.demo-banner {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.rustore-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.5rem;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: border-color 0.15s, background 0.15s;
}

.rustore-badge:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(37, 99, 235, 0.2);
    color: #fff;
}

.rustore-badge--compact .rustore-badge__label {
    display: none;
}

.rustore-badge__icon {
    font-size: 1.1rem;
    line-height: 1;
}

.rustore-badge__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
}

.rustore-badge__label {
    font-size: 0.65rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rustore-badge__store {
    font-weight: 600;
}

.blog-inline-promo__inner {
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.25), rgba(88, 28, 135, 0.15));
}

.layout-footer-apps {
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
