/* MC-specific color scheme */
:root {
    --bg: #0f0f10;
    --muted: #cfcfd3;
    --text: #1b1b1b;
    --accent: #4CAF50;
    --accent-90: rgba(76, 175, 80, 0.9);
    --accent-10: rgba(76, 175, 80, 0.1);
    --accent-light: color-mix(in srgb, var(--accent) 30%, white);
}

/* MC-specific gradient background - Applied to body for full width */
body .site-content {
    background: linear-gradient(0deg, #2d501675, #00000063);
}

/* MC-specific nav button styling */
.nav-item {
    background: linear-gradient(135deg, #2e7d32, #4CAF50);
}

.nav-item:hover {
    background: linear-gradient(135deg, #388e3c, #66bb6a);
}

/* MC-specific accordion styling */
.accordion-trigger {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 6px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.accordion-trigger:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    border-color: rgba(76, 175, 80, 0.5);
    transform: translateY(-1px);
}

.accordion-trigger:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.accordion-item.open .accordion-panel {
    /* Increased to a large value so panels with variable content won't be clipped.
       Using a high max-height allows CSS transitions while preventing cutoff. */
    max-height: 2000px;
}
/* Server info styling */
.server-info {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.server-info p {
    margin: 0;
}

.server-info code {
    background: rgba(76, 175, 80, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--accent);
}

/* Copy button */
.copy-btn {
    margin-left: 0.6rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    color: var(--muted);
    font-weight: 700;
    cursor: pointer;
    transition: background 160ms ease, transform 120ms ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.copy-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15));
    border-color: rgba(76, 175, 80, 0.5);
}

.copy-feedback {
    margin-left: 0.6rem;
    color: var(--accent);
    font-weight: 700;
    opacity: 0;
    transition: opacity 160ms ease;
}
.copy-feedback.show { opacity: 1; }