.serilog-demo-container {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

::deep .header-icon {
    color: var(--nexus-neon);
    filter: drop-shadow(0 0 8px var(--nexus-primary-glow));
}

.header-text h1 {
    font-family: var(--nexus-font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    margin: 0.25rem 0 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 153, 0.05);
    border: 1px solid rgba(0, 255, 153, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background-color: var(--nexus-neon);
    box-shadow: 0 0 8px var(--nexus-neon);
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nexus-neon);
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.control-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

::deep .card-icon {
    color: var(--nexus-neon);
}

::deep .js-icon {
    color: #eab308;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #ffffff;
}

.card-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-info {
    background-color: rgba(0, 255, 153, 0.05);
    color: var(--nexus-neon);
    border: 1px solid rgba(0, 255, 153, 0.2) !important;
}

.btn-info:hover {
    background-color: var(--nexus-neon);
    color: #000000;
    box-shadow: 0 0 15px var(--nexus-primary-glow);
}

.btn-warning {
    background-color: rgba(245, 158, 11, 0.05);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.btn-warning:hover {
    background-color: #f59e0b;
    color: #000000;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.btn-error {
    background-color: rgba(239, 68, 68, 0.05);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.btn-error:hover {
    background-color: #ef4444;
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.btn-js-info {
    background-color: rgba(234, 179, 8, 0.05);
    color: #fef08a;
    border: 1px solid rgba(234, 179, 8, 0.2) !important;
}

.btn-js-info:hover {
    background-color: #eab308;
    color: #0f172a;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
}

.btn-js-error {
    background-color: rgba(236, 72, 153, 0.05);
    color: #fbcfe8;
    border: 1px solid rgba(236, 72, 153, 0.2) !important;
}

.btn-js-error:hover {
    background-color: #ec4899;
    color: white;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.config-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

.config-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.config-item .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.config-item .value {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.code-value {
    font-family: var(--nexus-font-mono);
    background: rgba(0, 0, 0, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    word-break: break-all;
}

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