body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #0f0f10;
    color: #eaeaea;
    line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: #141416;
    border-bottom: 1px solid #222226;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.nav-links a {
    margin-left: 18px;
    color: #bdbdbd;
    text-decoration: none;
    font-size: 14px;
    transition: 0.15s;
}

.nav-links a:hover {
    color: #ff9f43;
}

/* =========================
   LAYOUT
========================= */
.container {
    max-width: 980px;
    margin: auto;
    padding: 30px 24px;
}

/* =========================
   HERO (resource style limpio)
========================= */
.hero {
    text-align: center;
    padding: 50px 20px 40px;
    border-bottom: 1px solid #222226;
}

.hero h1 {
    font-size: 34px;
    margin: 0;
}

.hero p {
    color: #a8a8a8;
    margin-top: 8px;
    font-size: 15px;
}

/* =========================
   ACCORDION SECTIONS
========================= */
.section-box {
    background: #1a1b1e;
    border: 1px solid #24252a;
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}

.section-box summary {
    cursor: pointer;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #141416;
    list-style: none;
    transition: 0.15s;
}

.section-box summary:hover {
    background: #1c1d20;
}

/* quitar flecha default */
.section-box summary::-webkit-details-marker {
    display: none;
}

/* =========================
   KEYS (CONFIG VALUES)
========================= */
.key {
    background: #141416;
    margin: 10px 14px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #24252a;
    border-left: 3px solid #ff9f43; /* acento Spigot */
    cursor: pointer;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    transition: 0.15s;
}

.key:hover {
    background: #1c1d20;
    border-color: #34353b;
    transform: translateX(2px);
}

/* =========================
   MODAL OVERLAY
========================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* =========================
   MODAL BOX
========================= */
.modal-content {
    background: #1a1b1e;
    padding: 22px;
    border-radius: 8px;
    width: 420px;
    max-width: 92%;
    border: 1px solid #24252a;
    animation: pop 0.15s ease-out;
    position: relative;
}

@keyframes pop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    color: #ff6b6b;
    font-size: 18px;
}

/* =========================
   MODAL TEXT
========================= */
#modal-title {
    margin: 0 0 10px;
    font-size: 16px;
    color: #ff9f43;
}

#modal-text {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .modal-content {
        width: 90%;
    }
}

footer {
    margin-top: 50px;
    padding: 18px 20px;
    background: #141414;
    border-top: 1px solid #2a2a2a;

    text-align: center;
    font-size: 12px;
    color: #8a8a8a;

    user-select: none;
}