/* ==================================== */
/* GLOBAL RESET & FONT STYLING          */
/* ==================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f7fcf7; /* Background sangat terang */
    color: #222;
}

/* ==================================== */
/* HEADER & FOOTER                      */
/* Dominasi warna Biru Tua (#2c3e50) dan aksen Kuning Emas (#ffd700) */
/* ==================================== */
header {
    background: #2c3e50; 
    color: #fff;
    padding: 28px 0;
    text-align: center;
    border-bottom: 5px solid #ffd700; /* Kuning Emas */
}

header h1 {
    margin-bottom: 5px;
    font-size: 2.2em;
}

footer {
    text-align: center;
    padding: 15px 0;
    background: #2c3e50;
    color: #aaa;
    margin-top: 30px;
}

/* ==================================== */
/* MAIN CONTENT LAYOUT                  */
/* ==================================== */
main {
    width: 85%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==================================== */
/* SECTION STYLING                      */
/* ==================================== */
section {
    margin-bottom: 40px;
    padding: 20px;
    border-left: 5px solid #32cd32; /* Hijau Limau (Fresh/Mail) */
    background-color: #f0f8f0; 
    border-radius: 4px;
}

section h2 {
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 1.7em;
}

/* ==================================== */
/* LIST STYLING                         */
/* ==================================== */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffaa00; /* Oranye/Emas (Aksen) */
    font-weight: bold;
}

ol {
    padding-left: 25px;
}

/* ==================================== */
/* TUTORIAL ARTICLES                    */
/* ==================================== */
article {
    background-color: #fff;
    padding: 18px;
    margin-top: 25px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: box-shadow 0.3s;
}

article:hover {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

article h3 {
    color: #e74c3c; /* Merah Cerah */
    margin-top: 0;
    font-size: 1.3em;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

/* ==================================== */
/* CODE BLOCK STYLING (Terminal Look)   */
/* ==================================== */
pre {
    background-color: #222;
    color: #00ff7f; /* Hijau Mint */
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.95em;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ==================================== */
/* ACTION BAR & NAVIGATION STYLING      */
/* Diperlukan agar menu toggle berfungsi */
/* ==================================== */
.page-container {
    max-width: 1100px;
    margin: 8px auto;
    padding: 0 20px;
}

.action-bar {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 15px; 
}

/* Button Utama (Utama) */
.btn {
    display: inline-block;
    padding: 8px 12px;
    background: #ffd700; /* Kuning Emas */
    color: #2c3e50; /* Teks Biru Tua */
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}

.btn:hover {
    background: #ffc400;
}

/* Button Toggle (Server) */
.btn-secondary {
    background: transparent;
    border: 1px solid #34495e; 
    padding: 8px 10px;
    border-radius: 8px;
    color: #34495e;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
    background: #34495e;
    color: #fff;
}

/* Server List Dropdown */
.server-list {
    display: none;
    margin-top: 12px;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    background: #fff;
}

.server-list.show {
    display: flex;
}

.server-list a {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    color: #2c3e50;
    text-decoration: none;
    background: #f7f9fb;
    transition: background 0.2s, color 0.2s;
}

.server-list a:hover {
    color: #fff;
    background: #3498db; 
}

/* Slide-Fade Animation */
.slide-fade {
    transition: all .22s ease-out;
    opacity: 0;
    transform: translateY(-5px);
}
.server-list.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.server-list[aria-hidden="true"] {
    display: none;
}