/* Variables de color de la nueva paleta */
:root {
    --primary-color: #8b5cf6; /* Morado */
    --secondary-color: #0ea5e9; /* Celeste */
    --accent-red: #e11d48; /* Rojo pasión */
    --bg-color: #09090b; /* Negro profundo para fondo */
    --card-bg: #18181b; /* Negro más claro para tarjetas */
    --text-main: #ffffff; /* Blanco puro para máximo contraste */
    --text-muted: #e2e8f0; /* Gris muy claro para mejor lectura */
}

/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    
    /* Flexbox para mantener el footer siempre abajo */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* Configuración para la imagen de fondo */
    background-image: url('imagenes/logo_fondo.png'); /* <-- Actualizado a tu nuevo fondo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    /* Esto oscurece un poco la imagen de fondo para que se pueda leer el texto */
    background-color: rgba(9, 9, 11, 0.45); /* Más transparente para lucir el nuevo fondo */
    background-blend-mode: overlay;
}

/* Barra de navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(24, 24, 27, 0.55); /* Navbar transparente */
    backdrop-filter: blur(12px); /* Efecto borroso (cristal) */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 45px; /* Tamaño del logo */
    height: auto;
    border-radius: 8px; /* Opcional */
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* Separación entre las opciones */
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: white;
    background-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.1);
}

.nav-links a.active {
    color: white;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(14, 165, 233, 0.18));
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.14);
}

/* Control de páginas sin recargar (SPA) */
.page-section {
    display: none !important;
}

.page-section.active {
    display: block !important;
    animation: fadeInBody 0.4s ease-in-out;
}

#inicio.active {
    display: flex !important;
}

@keyframes fadeInBody {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.page-section.fade-out {
    animation: fadeOutBody 0.3s ease-in-out;
}

@keyframes fadeOutBody {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Sección de Bienvenida (Hero) */
.hero-section {
    display: flex;
    flex-direction: column; /* Apila las tarjetas una debajo de otra */
    gap: 2.5rem; /* Espacio entre la bienvenida y las redes */
    justify-content: center;
    align-items: center;
    padding: 5rem 5%;
    flex-grow: 1; /* Esto ayuda a centrar la tarjeta verticalmente */
}

.hero-card {
    text-align: center;
    max-width: 800px;
    padding: 4rem 3rem;
}

.hero-card h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-card h1 span {
    color: var(--primary-color);
}

.hero-card p {
    font-size: 1.25rem;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    line-height: 1.8;
    font-weight: 500;
}

/* Tarjeta de Redes Sociales */
.social-card {
    padding: 2rem 3rem;
    width: 100%;
    max-width: 800px;
}

.social-copy {
    text-align: center;
    margin-bottom: 1.5rem;
}

.social-kicker {
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.social-title {
    font-size: 2rem;
    color: var(--text-main);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* Redes Sociales en la página de inicio */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 165px;
    padding: 0.95rem 1.5rem;
    border-radius: 50px; /* Forma de píldora redondeada */
    text-decoration: none;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05); /* Fondo casi invisible */
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.social-btn i {
    width: 1.15rem;
    text-align: center;
    font-size: 1.1rem;
}

.social-btn:hover {
    transform: translateY(-4px); /* Se elevan un poco al pasar el cursor */
    color: white;
}

/* Colores de marca al pasar el cursor */
.social-btn.tiktok:hover {
    background-color: #000000;
    border-color: #ff0050;
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

.social-btn.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-btn.twitch:hover {
    background-color: #9146FF;
    border-color: #9146FF;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

.social-btn.discord:hover {
    background-color: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

/* Sección de Proyectos */
.proyectos-section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-titulo {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

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

.plugin-cards > .card {
    display: grid;
    grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
    grid-template-areas:
        "title content"
        "action content";
    gap: 1.25rem 2rem;
    align-items: start;
}

.plugin-cards > .card .card-title {
    grid-area: title;
    margin-bottom: 0;
}

.plugin-cards > .card .card-content {
    grid-area: content;
    margin-bottom: 0;
}

.plugin-cards > .card .btn {
    grid-area: action;
    align-self: end;
    margin-top: 0;
}

/* Contenedor de tarjetas apiladas (para Proyectos) */
.stacked-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Tarjetas (Cards) */
.card {
    background: rgba(15, 15, 18, 0.7); /* Fondo más oscuro para que resalte el texto */
    backdrop-filter: blur(16px); /* Efecto cristal más fuerte para leer bien el texto */
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 30px rgba(225, 29, 72, 0.15);
}

/* Estilos especiales para tarjetas grandes con imagen */
.large-card {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.project-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

.card-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid #3f3f46;
    padding-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-content {
    flex-grow: 1;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.card-content strong {
    color: var(--secondary-color);
}

/* Nuevo estilo para los subtítulos de las tarjetas */
.card-subtitle {
    color: var(--text-main);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.15rem;
    border-bottom: 1px dashed #3f3f46;
    padding-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.card-content ul {
    list-style: none;
}

.card-content ul li {
    margin-bottom: 1.2rem; /* Más espacio para leer mejor */
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

/* Estilos para destacar comandos y permisos */
.card-content code {
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--secondary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    font-weight: bold;
}

/* Botones */
.btn {
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s;
    margin-top: auto;
}

.btn:hover {
    background-color: var(--accent-red);
    transform: scale(1.02);
}

.btn-disabled,
.btn-disabled:hover {
    background-color: rgba(113, 113, 122, 0.45);
    color: rgba(255, 255, 255, 0.78);
    cursor: not-allowed;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: rgba(9, 9, 11, 0.6); /* Footer transparente */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-muted);
    border-top: 1px solid #27272a;
    margin-top: auto; /* Esto empuja el footer hasta el fondo de la pantalla */
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-card h1 { font-size: 2.5rem; }
    .hero-card p { font-size: 1.1rem; }
    .seccion-titulo { font-size: 2rem; }
    .navbar { flex-direction: column; gap: 1rem; }
    
    .large-card {
        flex-direction: column;
        text-align: center;
    }

    .plugin-cards > .card {
        display: flex;
        flex-direction: column;
    }

    .plugin-cards > .card .card-title {
        margin-bottom: 1rem;
    }

    .plugin-cards > .card .card-content {
        margin-bottom: 2rem;
    }

    .social-card {
        padding: 1.5rem;
    }

    .social-title {
        font-size: 1.6rem;
    }

    .social-btn {
        width: 100%;
        min-width: 0;
    }
}

/* New style for wiki main content */
.wiki-main-content {
    flex-grow: 1;
    padding: 2.5rem 5%; /* Adjust padding as needed, similar to other sections */
    max-width: 1400px; /* Max width for content */
    margin: 0 auto; /* Center the content */
    width: 100%; /* Ensure it takes full width within its max-width */
}

/* Wiki Layout */
.wiki-layout {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: flex-start; /* Align items to the top */
}

.wiki-sidebar {
    flex: 0 0 280px; /* Fixed width for sidebar */
    padding: 1.5rem;
    position: sticky; /* Make sidebar sticky */
    top: calc(var(--navbar-height) + 1.5rem); /* Adjust based on navbar height */
    max-height: calc(100vh - var(--navbar-height) - 3rem); /* Max height to fit viewport */
    overflow-y: auto; /* Enable scrolling if content overflows */
}

.wiki-sidebar .card-title {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3f3f46;
}

.wiki-nav-list {
    list-style: none;
    padding: 0;
}

.wiki-nav-item {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: block; /* Ensure full clickable area */
}

.wiki-nav-item:hover {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--primary-color);
}

.wiki-nav-item.active {
    background-color: var(--primary-color);
    color: var(--text-main);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.wiki-content {
    flex-grow: 1;
    padding: 2.5rem;
    min-height: 600px; /* Ensure content area has a minimum height */
}

.wiki-content-section {
    display: none;
    animation: fadeInBody 0.4s ease-in-out;
}

.wiki-content-section.active {
    display: block;
}

/* Styles for tables within wiki */
.table-responsive {
    overflow-x: auto; /* Make tables scrollable on small screens */
    margin-top: 1.5rem;
}

.wiki-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.wiki-table th,
.wiki-table td {
    border: 1px solid #3f3f46;
    padding: 1rem;
    text-align: left;
}

.wiki-table th {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.wiki-table tr:nth-child(even) {
    background-color: rgba(24, 24, 27, 0.5); /* Slightly different background for even rows */
}

.wiki-table tbody tr:hover {
    background-color: rgba(139, 92, 246, 0.08);
}

/* Small subtitle for detailed sections */
.card-subtitle-small {
    color: var(--text-main);
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.05rem;
    border-bottom: 1px dotted #3f3f46;
    padding-bottom: 0.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-subtitle-small i {
    color: var(--secondary-color);
}

/* Adjustments for card-content ul li in wiki */
.wiki-content .card-content ul li {
    margin-bottom: 0.8rem; /* Less space for denser lists */
    align-items: flex-start;
}

.wiki-content .card-content ul li i {
    color: var(--primary-color); /* Icon color */
    margin-top: 0.2rem; /* Align icon with text */
}

/* Small button for wiki links */
.btn-small {
    display: inline-block;
    text-align: center;
    background-color: rgba(139, 92, 246, 0.15);
    color: var(--primary-color);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, transform 0.2s;
    margin-top: 0.5rem;
    border: 1px solid var(--primary-color);
}

.btn-small:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
    .navbar {
        --navbar-height: 120px; /* Adjust if navbar wraps on smaller screens */
    }
    .wiki-layout {
        flex-direction: column;
    }

    .wiki-sidebar {
        flex: none;
        width: 100%;
        position: static; /* Remove sticky behavior on small screens */
        max-height: none;
        overflow-y: visible;
    }

    .wiki-nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .wiki-nav-item {
        flex: 1 1 auto; /* Allow items to grow and shrink */
        text-align: center;
        margin-bottom: 0;
    }

    .wiki-content {
        width: 100%;
        padding: 1.5rem;
    }
}

/* Wiki Section */
.wiki-page-section {
    width: 100%;
}

.wiki-section-header {
    max-width: 820px;
    margin: 0 auto 3rem;
    text-align: center;
}

.wiki-section-title {
    margin-bottom: 1rem;
}

.wiki-kicker {
    color: var(--secondary-color);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.wiki-intro,
.wiki-lead,
.wiki-note {
    color: var(--text-muted);
    font-size: 1.02rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.55);
}

.wiki-highlight {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    text-shadow: inherit;
    font-weight: inherit;
}

.wiki-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.wiki-index {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.wiki-plugin-card {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    padding: 1.25rem;
    background: rgba(15, 15, 18, 0.7);
    border: 1px solid #27272a;
    border-radius: 20px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wiki-index-label {
    margin: 0 0 0.35rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wiki-index-label:first-child {
    margin-top: 0;
}

.wiki-tab-btn {
    width: 100%;
    min-height: 3.15rem;
    padding: 0.82rem 0.95rem;
    cursor: pointer;
    border: 1px solid #27272a;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wiki-tab-btn:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.28);
    color: var(--text-main);
    transform: translateY(-2px);
}

.wiki-tab-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.26), rgba(14, 165, 233, 0.18));
    border-color: rgba(14, 165, 233, 0.24);
    color: var(--text-main);
    box-shadow: 0 10px 25px rgba(5, 8, 22, 0.25);
}

.wiki-content-integrated {
    display: grid;
    gap: 1.5rem;
}

.wiki-panel {
    display: none;
    animation: fadeInBody 0.45s ease-in-out;
}

.wiki-panel.active {
    display: block;
}

.wiki-hero {
    margin-bottom: 1.5rem;
    padding: 1.8rem;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.14), transparent 40%),
        rgba(15, 15, 18, 0.7);
    border: 1px solid #27272a;
    border-radius: 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wiki-hero-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.wiki-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
}

.wiki-lead {
    margin-top: 0.5rem;
    flex-basis: 100%;
    max-width: 900px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #f5f7ff;
}

.wiki-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 1.5rem;
}

.wiki-command-stack {
    grid-template-columns: 1fr;
}

.wiki-data-grid > .wiki-surface:has(.table-responsive),
.wiki-data-grid > .wiki-surface:has(.wiki-code-block),
.wiki-data-grid > .wiki-surface:has(.wiki-list li:nth-child(7)) {
    grid-column: 1 / -1;
}

.wiki-surface {
    background: rgba(15, 15, 18, 0.7);
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wiki-surface .card-subtitle {
    margin-top: 0;
}

.wiki-surface p,
.wiki-surface li,
.wiki-surface td {
    color: #eef2ff;
}

.wiki-surface strong {
    color: var(--secondary-color);
    font-weight: 700;
}

.wiki-table {
    margin-top: 0.5rem;
    min-width: 680px;
}

.wiki-surface:has(.wiki-table) .table-responsive {
    margin-top: 0.85rem;
}

.wiki-surface:has(.wiki-list li:nth-child(7)):not(:has(.wiki-code-block)) .wiki-list {
    columns: 2 280px;
    column-gap: 2rem;
}

.wiki-surface:has(.wiki-list li:nth-child(7)):not(:has(.wiki-code-block)) .wiki-list li {
    break-inside: avoid;
}

.wiki-table th,
.wiki-table td {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.015);
}

.wiki-table th {
    background: rgba(14, 165, 233, 0.08);
}

.wiki-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.wiki-table td:first-child {
    color: var(--text-main);
    font-weight: 700;
}

.wiki-note {
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid rgba(14, 165, 233, 0.55);
    border-radius: 12px;
    background: rgba(9, 9, 11, 0.45);
}

.wiki-steps {
    list-style: decimal;
    padding-left: 1.35rem;
    color: var(--text-muted);
}

.wiki-steps li {
    margin-bottom: 1rem;
}

.wiki-list {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.wiki-list li {
    margin-bottom: 0.8rem;
}

.wiki-steps li::marker,
.wiki-list li::marker {
    color: var(--secondary-color);
    font-weight: 700;
}

.wiki-list-nested {
    margin-top: 0.85rem;
}

.wiki-code-block {
    background-color: rgba(15, 23, 42, 0.88);
    color: #e2e8f0;
    border-radius: 14px;
    padding: 1rem;
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
}

@media (max-width: 960px) {
    .wiki-index {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wiki-section-header {
        margin-bottom: 2rem;
    }

    .wiki-plugin-card {
        padding: 1rem;
    }

    .wiki-tab-btn {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .wiki-hero,
    .wiki-surface {
        padding: 1.25rem;
    }
}
