/* guide.css — Server & Room Guide page */

.guide-hero {
    background: linear-gradient(135deg, rgba(0,217,255,0.08) 0%, rgba(37,99,235,0.08) 100%);
    border-bottom: 1px solid rgba(0,217,255,0.15);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}
.guide-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.03em;
    margin: 0 0 0.6rem;
}
.guide-hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin: 0;
}
.guide-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    color: #64748b;
}
.guide-breadcrumb a { color: #00D9FF; text-decoration: none; }
.guide-breadcrumb a:hover { text-decoration: underline; }

/* ── Layout ── */
.guide-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

/* ── TOC ── */
.guide-toc {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 1.1rem 1.4rem;
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
}
.guide-toc-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #64748b;
    text-transform: uppercase;
    align-self: center;
    margin-right: 0.25rem;
}
.guide-toc a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(0,217,255,0.08);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 20px;
    color: #00D9FF;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.18s;
}
.guide-toc a:hover { background: rgba(0,217,255,0.18); }

/* ── Section ── */
.guide-section {
    margin-bottom: 3.5rem;
}
.guide-section-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 2px solid rgba(0,217,255,0.18);
}
.guide-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.icon-blue  { background: rgba(37,99,235,0.2);  color: #3b82f6; }
.icon-cyan  { background: rgba(0,217,255,0.15);  color: #00D9FF; }
.icon-green { background: rgba(22,163,74,0.18);  color: #4ade80; }
.icon-orange{ background: rgba(234,88,12,0.18);  color: #fb923c; }

.guide-section-head h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}
.guide-section-head p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.88rem;
}

/* ── Steps ── */
.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.guide-step {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.2rem 1.4rem;
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    transition: border-color 0.2s;
}
.guide-step:hover { border-color: rgba(0,217,255,0.25); }
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37,99,235,0.25);
    border: 2px solid rgba(37,99,235,0.5);
    color: #93c5fd;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-body h4 {
    color: #f0f0f8;
    font-size: 0.97rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}
.step-body p {
    color: #94a3b8;
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.6;
}
.step-body .step-tip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0,217,255,0.08);
    border-radius: 5px;
    color: #00D9FF;
    font-size: 0.78rem;
    font-weight: 600;
}
.step-body code {
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 0.1rem 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #fbbf24;
}

/* ── Info Cards ── */
.guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.guide-card {
    padding: 1.2rem 1.3rem;
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    transition: border-color 0.2s;
}
.guide-card:hover { border-color: rgba(0,217,255,0.25); }
.guide-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}
.guide-card h4 {
    color: #f0f0f8;
    font-size: 0.93rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
}
.guide-card p {
    color: #94a3b8;
    font-size: 0.84rem;
    margin: 0;
    line-height: 1.5;
}

/* ── Console Visual ── */
.guide-console {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(0,217,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.guide-console-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(0,217,255,0.07);
    border-bottom: 1px solid rgba(0,217,255,0.15);
    font-size: 0.8rem;
    font-weight: 700;
    color: #00D9FF;
}
.guide-console-body {
    padding: 1rem 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
}
.console-cmd  { color: #60a5fa; }
.console-out  { color: #94a3b8; padding-left: 1rem; }
.console-good { color: #4ade80; }
.console-warn { color: #fbbf24; }

/* ── Commands Table ── */
.cmd-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
}
.cmd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}
.cmd-table thead th {
    background: rgba(0,217,255,0.07) !important;
    color: #64748b !important;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cmd-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.cmd-table tbody tr:last-child { border-bottom: none; }
.cmd-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.cmd-table td {
    padding: 0.7rem 1rem;
    color: var(--text-primary, #e8e8f0);
    vertical-align: middle;
}
.cmd-table .td-cmd {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #fbbf24;
    white-space: nowrap;
}
.cmd-table .td-desc { color: #94a3b8; }
.cmd-badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-game   { background: rgba(37,99,235,0.2);  color: #93c5fd; }
.badge-server { background: rgba(22,163,74,0.2);  color: #4ade80; }
.badge-match  { background: rgba(234,88,12,0.2);  color: #fb923c; }

/* ── Alert Boxes ── */
.guide-alert {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    font-size: 0.87rem;
    line-height: 1.5;
}
.guide-alert i { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.guide-alert-info    { background: rgba(37,99,235,0.1);  border-left: 3px solid #3b82f6; color: #93c5fd; }
.guide-alert-warning { background: rgba(234,88,12,0.1);  border-left: 3px solid #f97316; color: #fdba74; }
.guide-alert-success { background: rgba(22,163,74,0.1);  border-left: 3px solid #22c55e; color: #86efac; }

/* ── Quick Button Ref ── */
.btn-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.btn-ref {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: var(--bg-card, rgba(17,24,39,0.7));
}
.btn-ref-swatch {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.swatch-blue   { background: rgba(37,99,235,0.3);  color: #93c5fd; }
.swatch-orange { background: rgba(234,88,12,0.3);  color: #fb923c; }
.swatch-amber  { background: rgba(217,119,6,0.3);  color: #fcd34d; }
.swatch-green  { background: rgba(22,163,74,0.3);  color: #4ade80; }
.swatch-cyan   { background: rgba(0,217,255,0.2);  color: #00D9FF; }
.btn-ref-info h5 { color: #f0f0f8; font-size: 0.84rem; font-weight: 700; margin: 0 0 0.15rem; }
.btn-ref-info p  { color: #64748b;  font-size: 0.76rem; margin: 0; }

/* ── Mode Cards ── */
.mode-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.mode-ref {
    padding: 1.1rem 1.2rem;
    background: var(--bg-card, rgba(17,24,39,0.7));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
}
.mode-ref-emoji { font-size: 1.6rem; margin-bottom: 0.5rem; }
.mode-ref h4 { color: #f0f0f8; font-size: 0.92rem; font-weight: 700; margin: 0 0 0.35rem; }
.mode-ref p  { color: #94a3b8; font-size: 0.82rem; margin: 0; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .guide-hero h1 { font-size: 1.9rem; }
    .guide-wrap { padding: 1.5rem 1rem 4rem; }
    .guide-cards { grid-template-columns: 1fr; }
    .btn-ref-grid { grid-template-columns: 1fr; }
    .mode-ref-grid { grid-template-columns: 1fr; }
    .guide-step { flex-direction: column; }
}
