* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0f172a;
    color: #f8fafc;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    background: #1e293b;
    text-align: center;
    padding: 35px;
    border-bottom: 2px solid #334155;
}

header h1 {
    font-size: 3rem;
    color: #38bdf8;
}

header p {
    color: #94a3b8;
    margin-top: 10px;
    font-size: 1.1rem;
}

.container {
    width: 95%;
    max-width: 1400px;

    margin: 40px auto;

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));

    gap: 25px;
}

.card {

    background: #1e293b;

    border-radius: 15px;

    padding: 25px;

    text-align: center;

    box-shadow: 0 0 20px rgba(0,0,0,.35);

    transition: .2s;
}

.card:hover {

    transform: translateY(-5px);

    box-shadow: 0 0 25px rgba(56,189,248,.35);

}

.card h2 {

    color: #94a3b8;

    font-size: 1rem;

    margin-bottom: 20px;

}

.card div {

    font-size: 2rem;

    font-weight: bold;

    color: #38bdf8;

}

.poolbox {

    width:95%;

    max-width:900px;

    margin:50px auto;

    background:#1e293b;

    border-radius:15px;

    padding:35px;

    text-align:center;

    box-shadow:0 0 20px rgba(0,0,0,.35);

}

.poolbox h2 {

    margin-bottom:20px;

}

footer {

    text-align:center;

    color:#64748b;

    padding:40px;

    font-size:.9rem;

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

max-width:1200px;

margin:auto;

margin-bottom:30px;

}

.logo{

font-size:2rem;

font-weight:bold;

color:#38bdf8;

}

.navbar ul{

display:flex;

gap:35px;

list-style:none;

}

.navbar a{

color:white;

text-decoration:none;

font-weight:bold;

transition:.2s;

}

.navbar a:hover{

color:#38bdf8;

}

.status{

    margin-top:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    font-size:1.1rem;

    font-weight:bold;

}

.status-dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#22c55e;

    box-shadow:0 0 10px #22c55e;

    animation:pulse 2s infinite;

}

.status-dot.offline{

    background:#ef4444;

    box-shadow:0 0 10px #ef4444;

}

#status-text{

    color:#22c55e;

}

#status-text.offline{

    color:#ef4444;

}

@keyframes pulse{

    0%{

        transform:scale(1);

        box-shadow:0 0 5px currentColor;

    }

    50%{

        transform:scale(1.25);

        box-shadow:0 0 15px currentColor;

    }

    100%{

        transform:scale(1);

        box-shadow:0 0 5px currentColor;

    }

}

.pooltable {

    width:100%;

    max-width:420px;

    margin:25px auto;

    border-collapse:collapse;

}

.pooltable td {

    padding:14px 18px;

    border-bottom:1px solid #334155;

}

.pooltable td:first-child {

    color: #94a3b8;
    font-weight: 600;
    text-align: left;

}

.pooltable td:last-child {

    text-align: right;
    color: #ffffff;

}

.pooltable code {

    display:inline-block;

    background:#0f172a;

    padding:12px 22px;

    border-radius:8px;

    color:#22c55e;

    font-size:1rem;

    font-family:monospace;

}

/* ============================================
   Documentation Page
============================================ */

.docs {

    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;

}

.doc-section {

    background: #1f2937;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 35px;

    box-shadow: 0 5px 15px rgba(0,0,0,.25);

}

.doc-section h2 {

    color: #38bdf8;
    margin-bottom: 20px;

}

.doc-section h3 {

    margin-top: 25px;
    color: #38bdf8;

}

.doc-section p {

    line-height: 1.8;

}

.doc-section ol {

    padding-left: 25px;
    line-height: 2;

}

.doc-section li {

    margin-bottom: 10px;

}

/* ==========================
   Code Blocks
========================== */

.codeblock {

    background: #111827;
    border: 1px solid #334155;

    border-radius: 8px;

    padding: 18px;

    margin: 18px 0;

    overflow-x: auto;

}

.codeblock code {

    color: #22c55e;

    font-family: monospace;

    font-size: .95rem;

    white-space: pre-wrap;
    word-break: break-word;

}

/* ==========================
   Download Button
========================== */

.buttonlink {

    display: inline-block;

    margin-top: 20px;

    padding: 14px 24px;

    background: #38bdf8;

    color: white;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    transition: .2s;

}

.buttonlink:hover {

    background: #0ea5e9;

}

/* ==========================
   Copy Button
========================== */

.copy-button {

    display:block;

    margin:30px auto 0;

    padding:12px 22px;

    background:#22c55e;

    color:#fff;

    border:none;

    border-radius:8px;

    cursor:pointer;

    font-weight:bold;

    transition:.2s;

}

.copy-button:hover {

    background:#16a34a;

}

/* ==========================
   Responsive
========================== */

@media (max-width:768px){

    .docs{

        margin:30px auto;

    }

    .doc-section{

        padding:20px;

    }

}

.section-divider {
    margin: 60px auto;
    max-width: 900px;
    border: 0;
    border-top: 1px solid #333;
}

.doc-section ul {

    padding-left:25px;

    margin:18px 0;

    line-height:1.9;

}

.doc-section table{

    margin-top:20px;

    margin-bottom:20px;

}

.doc-section hr{

    border:none;

    border-top:1px solid #334155;

    margin:30px 0;

}

.doc-section strong{

    color:#38bdf8;

}

.notice{

    margin-top:20px;

    padding:18px;

    background:#0f172a;

    border-left:4px solid #38bdf8;

    border-radius:8px;

}

.notice p{

    margin:0;

}

.tip{

    margin-top:20px;

    padding:18px;

    background:#052e16;

    border-left:4px solid #22c55e;

    border-radius:8px;

}

.warning{

    margin-top:20px;

    padding:18px;

    background:#3f1d0b;

    border-left:4px solid #f59e0b;

    border-radius:8px;

}

/* ==========================
   Standard Code Blocks
========================== */

pre {

    background: #111827;

    border: 1px solid #334155;

    border-radius: 8px;

    padding: 18px;

    margin: 18px 0;

    overflow-x: auto;

    white-space: pre-wrap;

    word-break: break-word;

}

pre code {

    color: #22c55e;

    font-family: monospace;

    font-size: .95rem;

}
