/* ================================================
   DOCS.CSS — Página de Documentación
   FireFighter Bot · firefighterbot.netlify.app/docs
   ================================================ */

/* ---- Wrapper ---- */
.docs-wrapper {
    display: flex;
    min-height: calc(100vh - 64px);
    padding-top: 64px;
}

/* ---- Sidebar ---- */
.docs-sidebar {
    width: 272px;
    min-width: 272px;
    background-color: #161B22;
    border-right: 1px solid rgba(255,255,255,0.06);
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 200;
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* Search */
.docs-search-wrap {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background-color: #161B22;
    position: sticky;
    top: 0;
    z-index: 1;
}

.docs-search-inner { position: relative; display: flex; align-items: center; }

.docs-search-icon {
    position: absolute;
    left: 10px;
    color: #8B949E;
    pointer-events: none;
    line-height: 1;
}

.docs-search {
    width: 100%;
    background-color: #0D1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 8px 10px 8px 34px;
    color: #C9D1D9;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}
.docs-search::placeholder { color: #8B949E; }
.docs-search:focus { border-color: #1F6FEB; }

/* Nav groups */
.docs-nav { padding: 8px 0 16px; }
.docs-nav-group { margin-bottom: 2px; }

.docs-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 4px;
    cursor: pointer;
    user-select: none;
}

.docs-group-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.67rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8B949E;
}

.docs-group-arrow {
    font-size: 0.6rem;
    color: #8B949E;
    transition: transform 0.2s ease;
    opacity: 0.5;
    margin-top: 1px;
}
.docs-nav-group.collapsed .docs-group-arrow { transform: rotate(-90deg); }
.docs-nav-group.collapsed .docs-nav-list { display: none; }

.docs-nav-list { list-style: none; margin: 2px 0; }

.docs-nav-list li a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px 6px 22px;
    font-size: 0.86rem;
    color: #8B949E;
    transition: color 0.15s, background-color 0.15s;
    cursor: pointer;
    position: relative;
    text-decoration: none;
}

.docs-nav-list li a:hover {
    color: #C9D1D9;
    background-color: rgba(255,255,255,0.03);
}

.docs-nav-list li a.active {
    color: #388BFD;
    background-color: rgba(31,111,235,0.07);
    font-weight: 500;
}

.docs-nav-list li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    background-color: #1F6FEB;
    border-radius: 0 2px 2px 0;
}

.nav-label { flex: 1; }

.nav-new {
    background: rgba(46,160,67,0.18);
    color: #56D364;
    border: 1px solid rgba(46,160,67,0.3);
    font-size: 0.58rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 1px 5px;
    border-radius: 4px;
    flex-shrink: 0;
}

/* Sidebar footer */
.docs-sidebar-footer {
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 8px;
}

.sidebar-version {
    font-size: 0.72rem;
    color: #8B949E;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
    text-align: center;
}

.sidebar-links {
    display: flex;
    gap: 6px;
}

.sidebar-links a {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
    color: #C9D1D9;
}
.sidebar-links a:hover { border-color: #1F6FEB; color: #388BFD; background: rgba(31,111,235,0.06); }
.sidebar-links a.sl-invite { background-color: #1F6FEB; border-color: #1F6FEB; color: white; }
.sidebar-links a.sl-invite:hover { background-color: #388BFD; border-color: #388BFD; }

/* ---- Main Content ---- */
.docs-main {
    flex: 1;
    margin-left: 272px;
    min-width: 0;
    padding: 40px 48px 80px;
}
.docs-inner { max-width: 820px; }

/* ---- Pages ---- */
.docs-page { display: none; }
.docs-page.active { display: block; animation: fadeDoc 0.18s ease; }

@keyframes fadeDoc {
    from { opacity: 0; transform: translateY(7px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Breadcrumb ---- */
.docs-bc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #8B949E;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.docs-bc a { color: #8B949E; cursor: pointer; text-decoration: none; transition: color 0.15s; }
.docs-bc a:hover { color: #C9D1D9; }
.docs-bc .bc-sep { opacity: 0.35; }
.docs-bc .bc-cur { color: #C9D1D9; }

/* ---- Page Header ---- */
.docs-ph {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.docs-ph h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}
.docs-ph p { color: #8B949E; font-size: 0.9rem; line-height: 1.6; }

/* ---- Section Headings ---- */
.docs-h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.docs-h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #C9D1D9;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 20px 0 10px;
}

/* ---- Text ---- */
.docs-p {
    color: #C9D1D9;
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 14px;
}
.docs-p a { color: #388BFD; text-decoration: underline; text-underline-offset: 2px; }

.ic, code {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.82rem;
    color: #79C0FF;
    white-space: nowrap;
}

/* ---- Callout Boxes ---- */
.callout {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 14px 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #C9D1D9;
}
.callout-icon { flex-shrink: 0; margin-top: 2px; font-size: 1rem; }
.callout strong { color: #FFFFFF; }
.callout.info   { background: rgba(31,111,235,0.08);  border-left: 3px solid #1F6FEB; }
.callout.tip    { background: rgba(46,160,67,0.08);   border-left: 3px solid #2EA043; }
.callout.warn   { background: rgba(210,153,34,0.08);  border-left: 3px solid #D29922; }
.callout.danger { background: rgba(229,83,61,0.08);   border-left: 3px solid #E5533D; }

/* ---- Command Table ---- */
.cmd-tbl-wrap {
    overflow-x: auto;
    margin: 14px 0 24px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.07);
}
.cmd-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 540px;
}
.cmd-tbl thead tr { background-color: #161B22; }
.cmd-tbl thead th {
    text-align: left;
    padding: 10px 14px;
    color: #8B949E;
    font-family: 'Oswald', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}
.cmd-tbl tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background-color 0.15s; }
.cmd-tbl tbody tr:last-child { border-bottom: none; }
.cmd-tbl tbody tr:hover { background-color: rgba(255,255,255,0.02); }
.cmd-tbl tbody td {
    padding: 9px 14px;
    vertical-align: top;
    color: #C9D1D9;
    line-height: 1.5;
}
.cmd-tbl .cmd-cell {
    font-family: 'Courier New', Courier, monospace;
    color: #79C0FF;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Permission badges */
.pb {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.pb-owner { background: rgba(229,83,61,0.15);  color: #E5533D; border: 1px solid rgba(229,83,61,0.25); }
.pb-admin { background: rgba(210,153,34,0.15); color: #D29922; border: 1px solid rgba(210,153,34,0.25); }
.pb-mod   { background: rgba(31,111,235,0.15); color: #79C0FF; border: 1px solid rgba(31,111,235,0.25); }
.pb-all   { background: rgba(46,160,67,0.12);  color: #56D364; border: 1px solid rgba(46,160,67,0.2); }

/* ---- Steps ---- */
.steps { list-style: none; margin: 16px 0; }
.step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}
.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-color: #1F6FEB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    margin-top: 1px;
}
.step-body {}
.step-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 5px;
}
.step-desc { color: #C9D1D9; font-size: 0.875rem; line-height: 1.65; }
.step-desc code { font-size: 0.8rem; }

/* ---- Quick cards ---- */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.quick-card {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}
.quick-card:hover {
    border-color: rgba(31,111,235,0.5);
    background-color: rgba(31,111,235,0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(31,111,235,0.1);
}
.qc-icon { font-size: 2rem; margin-bottom: 8px; }
.qc-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 0.03em;
    margin-bottom: 3px;
}
.qc-desc { font-size: 0.73rem; color: #8B949E; }

/* ---- Welcome hero ---- */
.docs-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, rgba(31,111,235,0.09), rgba(13,17,23,0));
    border: 1px solid rgba(31,111,235,0.2);
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 28px;
}
.docs-hero-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(31,111,235,0.3);
    object-fit: cover;
}
.docs-hero-info h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 5px;
}
.docs-hero-info p { color: #C9D1D9; font-size: 0.9rem; line-height: 1.55; margin-bottom: 12px; }
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.htag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: rgba(31,111,235,0.12);
    border: 1px solid rgba(31,111,235,0.25);
    color: #79C0FF;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.htag.red   { background-color: rgba(229,83,61,0.12);  border-color: rgba(229,83,61,0.25);  color: #E5533D; }
.htag.green { background-color: rgba(46,160,67,0.12);  border-color: rgba(46,160,67,0.25);  color: #56D364; }
.htag.gold  { background-color: rgba(210,153,34,0.12); border-color: rgba(210,153,34,0.25); color: #D29922; }

/* External links row */
.links-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #C9D1D9;
    font-size: 0.82rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.link-btn:hover { border-color: #1F6FEB; color: #388BFD; background: rgba(31,111,235,0.06); }
.link-btn.primary { background-color: #1F6FEB; border-color: #1F6FEB; color: white; }
.link-btn.primary:hover { background-color: #388BFD; border-color: #388BFD; }

/* Feature list */
.feat-list { list-style: none; margin: 10px 0 18px; }
.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    color: #C9D1D9;
    font-size: 0.875rem;
    line-height: 1.55;
}
.feat-icon { flex-shrink: 0; margin-top: 1px; }

/* ---- FAQ ---- */
.faq-item {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.faq-q {
    padding: 13px 16px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #161B22;
    transition: background-color 0.15s;
    user-select: none;
    gap: 8px;
    letter-spacing: 0.02em;
}
.faq-q:hover { background-color: rgba(255,255,255,0.04); }
.faq-arrow { transition: transform 0.2s ease; font-size: 0.7rem; opacity: 0.5; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
    display: none;
    padding: 12px 16px;
    color: #C9D1D9;
    font-size: 0.875rem;
    line-height: 1.7;
    background-color: rgba(13,17,23,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.faq-item.open .faq-a { display: block; }
.faq-a code { font-size: 0.8rem; }

/* ---- Changelog ---- */
.cl-entry {
    border-left: 2px solid rgba(31,111,235,0.35);
    padding-left: 22px;
    margin-bottom: 32px;
    position: relative;
}
.cl-entry::before {
    content: '';
    width: 9px;
    height: 9px;
    background-color: #1F6FEB;
    border-radius: 50%;
    position: absolute;
    left: -5.5px;
    top: 7px;
    box-shadow: 0 0 0 3px rgba(31,111,235,0.12);
}
.cl-ver {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cl-date { font-size: 0.78rem; color: #8B949E; margin-bottom: 10px; }
.cl-list { list-style: none; margin-top: 8px; }
.cl-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3px 0;
    color: #C9D1D9;
    font-size: 0.875rem;
    line-height: 1.5;
}
.cl-list li::before { content: '–'; color: #1F6FEB; flex-shrink: 0; }
.cl-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 2px;
    vertical-align: middle;
    flex-shrink: 0;
}
.cl-tag.new    { background: rgba(46,160,67,0.15);  color: #56D364; }
.cl-tag.fix    { background: rgba(210,153,34,0.15); color: #D29922; }
.cl-tag.update { background: rgba(31,111,235,0.15); color: #79C0FF; }
.cl-tag.remove { background: rgba(229,83,61,0.15);  color: #E5533D; }

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 14px 0;
}
.game-card {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 14px;
    text-align: center;
    transition: border-color 0.2s;
}
.game-card:hover { border-color: rgba(31,111,235,0.3); }
.game-card .gc-icon { font-size: 1.8rem; margin-bottom: 7px; }
.game-card .gc-name { font-family: 'Oswald', sans-serif; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #FFFFFF; margin-bottom: 3px; }
.game-card .gc-cmd { font-family: 'Courier New', monospace; font-size: 0.73rem; color: #79C0FF; }

/* Perm overview table */
.perm-tbl-wrap { overflow-x: auto; margin: 14px 0; border-radius: 8px; border: 1px solid rgba(255,255,255,0.07); }
.perm-tbl { width: 100%; border-collapse: collapse; font-size: 0.85rem; min-width: 360px; }
.perm-tbl thead th {
    text-align: left;
    padding: 9px 14px;
    background-color: #161B22;
    color: #8B949E;
    font-family: 'Oswald', sans-serif;
    font-size: 0.67rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.perm-tbl tbody td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: #C9D1D9;
    vertical-align: middle;
}
.perm-tbl tbody tr:last-child td { border-bottom: none; }

/* ================================================================
   ¿Por qué FireFighter? — Página de guía del usuario
================================================================ */

/* Pilares */
.why-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 12px;
    margin: 18px 0 28px;
}

.why-pillar {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.why-pillar:hover {
    border-color: rgba(31,111,235,0.4);
    transform: translateY(-2px);
}

.why-pillar-icon { font-size: 1.9rem; margin-bottom: 10px; }

.why-pillar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.why-pillar-desc {
    font-size: 0.75rem;
    color: #8B949E;
    line-height: 1.55;
}

/* Cards de ventajas */
.why-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0 28px;
}

.why-adv-card {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.2s;
}

.why-adv-card:hover { border-color: rgba(31,111,235,0.35); }

.why-adv-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.why-adv-icon { font-size: 1.4rem; flex-shrink: 0; }

.why-adv-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #FFFFFF;
}

.why-adv-desc {
    font-size: 0.83rem;
    color: #C9D1D9;
    line-height: 1.65;
    margin: 0;
}

/* Tabla comparativa */
.cmp-tbl-wrap {
    overflow-x: auto;
    margin: 14px 0 24px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.cmp-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
    min-width: 760px;
}

.cmp-tbl thead tr {
    background-color: #161B22;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cmp-tbl thead th {
    text-align: center;
    padding: 11px 14px;
    color: #8B949E;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

.cmp-tbl thead th:first-child { text-align: left; }

/* Fila de categorías */
.cmp-category-row th {
    padding: 6px 14px 4px !important;
    font-size: 0.64rem !important;
    border-bottom: none !important;
    background-color: #0D1117 !important;
}

.cmp-cat-label {
    text-align: center !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 0.64rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-radius: 4px;
    padding: 5px 10px !important;
}

.cmp-cat-security {
    background-color: rgba(229, 83, 61, 0.08) !important;
    color: rgba(229, 83, 61, 0.7) !important;
    border-bottom: 2px solid rgba(229, 83, 61, 0.25) !important;
}

.cmp-cat-general {
    background-color: rgba(31, 111, 235, 0.08) !important;
    color: rgba(119, 192, 255, 0.7) !important;
    border-bottom: 2px solid rgba(31, 111, 235, 0.2) !important;
}

.cmp-ff-head {
    background-color: rgba(31,111,235,0.1) !important;
    color: #79C0FF !important;
    border-left: 2px solid rgba(31,111,235,0.4);
    border-right: 2px solid rgba(31,111,235,0.4);
}

.cmp-tbl tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background-color 0.15s;
}

.cmp-tbl tbody tr:last-child { border-bottom: none; }
.cmp-tbl tbody tr:hover { background-color: rgba(255,255,255,0.02); }

.cmp-tbl tbody td {
    padding: 10px 14px;
    text-align: center;
    color: #C9D1D9;
    vertical-align: middle;
}

.cmp-feature {
    text-align: left !important;
    color: #C9D1D9;
    font-size: 0.84rem;
    white-space: nowrap;
}

.cmp-ff-col {
    background-color: rgba(31,111,235,0.05);
    border-left: 2px solid rgba(31,111,235,0.2);
    border-right: 2px solid rgba(31,111,235,0.2);
}

.cmp-yes {
    display: inline-block;
    color: #56D364;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.cmp-no {
    display: inline-block;
    color: rgba(229,83,61,0.8);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.cmp-partial {
    display: inline-block;
    color: #D29922;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Casos de uso */
.why-usecases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 12px;
    margin: 18px 0 24px;
}

.why-usecase {
    background-color: #161B22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 18px 14px;
    transition: border-color 0.2s, transform 0.2s;
}

.why-usecase:hover {
    border-color: rgba(31,111,235,0.35);
    transform: translateY(-2px);
}

.why-uc-icon { font-size: 1.7rem; margin-bottom: 8px; }

.why-uc-title {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.why-uc-desc {
    font-size: 0.78rem;
    color: #8B949E;
    line-height: 1.55;
}

/* ---- Mobile sidebar ---- */
.docs-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 199;
    cursor: pointer;
}
.docs-sidebar-overlay.visible { display: block; }

.docs-mob-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 201;
    background: #1F6FEB;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(31,111,235,0.45);
    transition: background-color 0.2s;
    line-height: 1;
}
.docs-mob-toggle:hover { background-color: #388BFD; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .docs-sidebar { transform: translateX(-100%); }
    .docs-sidebar.open { transform: translateX(0); }
    .docs-main { margin-left: 0; padding: 28px 20px 80px; }
    .docs-mob-toggle { display: flex; }
    .docs-hero { flex-direction: column; text-align: center; }
    .hero-tags { justify-content: center; }
    .quick-grid { grid-template-columns: 1fr 1fr; }
    .why-advantages { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .quick-grid { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: 1fr 1fr; }
    .docs-main { padding: 20px 14px 80px; }
    .docs-ph h1 { font-size: 1.4rem; }
    .why-pillars { grid-template-columns: 1fr 1fr; }
    .why-usecases { grid-template-columns: 1fr 1fr; }
    .cmp-feature { white-space: normal; font-size: 0.78rem; }
}
