/* ========================
   GLOBAL & RESET
   ======================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('Inter-VariableFont_opsz,wght.woff2') format('woff2');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, #0a0f1a, #03060c);
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    min-height: 100vh;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #11161f;
}
::-webkit-scrollbar-thumb {
    background: #2d6a4f;
    border-radius: 10px;
}

/* ========================
   CONTAINER & LAYOUT
   ======================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}
.glass-card {
    background: rgba(15, 25, 35, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(72, 187, 120, 0.25);
    border-radius: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.5);
    border-color: rgba(80, 200, 120, 0.5);
}
.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 800px) {
    .two-columns {
        grid-template-columns: 1fr;
    }
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 20px 0;
    gap: 20px;
}
.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #1f2a36;
    object-fit: cover;
    border: 1px solid #2c6e49;
}
.logo-text {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #e9ffdb, #8bc34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}
.nav-links a {
    color: #ccddee;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}
.nav-links a:hover {
    color: #6fef9b;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}
@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: start;
    }
    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }
    .nav-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}

/* ========================
   BUTTONS & BADGES
   ======================== */
.btn-glow {
    background: linear-gradient(95deg, #1e6f3f, #2c9b5e);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-glow:hover {
    background: linear-gradient(95deg, #258f4c, #34b86e);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}
.badge-online {
    background: #2ecc71;
    box-shadow: 0 0 8px #2ecc71;
}
.badge-offline {
    background: #e74c3c;
}
button.copy-btn {
    background: none;
    border: none;
    color: #a5f0b0;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ========================
   HERO (index)
   ======================== */
.hero {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 40px 0 60px;
}
.hero-content {
    flex: 1.2;
}
.hero-badge {
    background: #1f3a2c;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #b9fbc0;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    color: #cbd5e6;
    margin-bottom: 30px;
}
.ip-box {
    background: #0b121c;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 6px 6px 20px;
    border: 1px solid #2c6e49;
    margin-bottom: 20px;
}
.ip-text {
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f1722;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.9rem;
}
.status-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: gray;
}
.server-status-card {
    flex: 0.8;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    border-radius: 2rem;
    padding: 24px;
    border: 1px solid rgba(80, 200, 120, 0.3);
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
}
@media (max-width: 800px) {
    .hero {
        flex-wrap: wrap;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* ========================
   SECTION TITLES
   ======================== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 24px 0;
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: #48c774;
    margin-top: 8px;
    border-radius: 4px;
}

/* ========================
   FEATURES GRID (index)
   ======================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.feature-card {
    padding: 24px;
    border-radius: 1.8rem;
    background: rgba(10, 18, 26, 0.7);
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    border: 1px solid #2c4b3a;
}
.feature-icon {
    font-size: 2.2rem;
    color: #6fef9b;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.rules-short {
    background: #071016b3;
    border-radius: 1.8rem;
    padding: 28px;
    margin: 40px 0;
}
.rule-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 20px;
}
.rule-tag {
    background: #1c2a36;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}
.social-icons a {
    color: #bbd9f0;
    font-size: 1.6rem;
    margin: 0 12px;
    transition: 0.2s;
}
.social-icons a:hover {
    color: #6fef9b;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    border-top: 1px solid #2a3a32;
    margin-top: 60px;
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #8ca3b5;
}

/* ========================
   BUDIVLI.HTML
   ======================== */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.filter-btn {
    background: #1c2a36;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    color: #eef2ff;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.filter-btn.active {
    background: #2d6a4f;
    box-shadow: 0 0 8px #2ecc71;
}
.filter-btn:hover {
    background: #2c5a44;
}
.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.building-card {
    background: rgba(10, 18, 26, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 1.8rem;
    border: 1px solid #2c4b3a;
    overflow: hidden;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}
.building-card:hover {
    transform: translateY(-4px);
    border-color: #48c774;
}
.building-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #0a1018;
}
.building-content {
    padding: 20px;
    flex: 1;
}
.building-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #b9fbc0;
}
.building-desc {
    font-size: 0.9rem;
    color: #cbd5e6;
    margin-bottom: 16px;
}
.building-details {
    margin-top: 12px;
    border-top: 1px solid #2c4b3a;
    padding-top: 12px;
}
.detail-item {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    gap: 8px;
    align-items: baseline;
}
.detail-label {
    font-weight: 600;
    color: #6fef9b;
    min-width: 100px;
}
.price {
    color: #ffd966;
    font-weight: 700;
}

/* ========================
   DONATE.HTML
   ======================== */
.donate-card {
    max-width: 800px;
    margin: 60px auto;
    background: rgba(15, 25, 35, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(72, 187, 120, 0.35);
    border-radius: 2rem;
    padding: 32px 36px;
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}
.donate-card:hover {
    border-color: rgba(80, 200, 120, 0.6);
}
.donate-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #8bc34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.donate-card label {
    display: block;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.2px;
}
.donate-card label i {
    margin-right: 8px;
    color: #6fef9b;
}
.donate-card select, .donate-card input {
    width: 100%;
    padding: 12px 16px;
    background: #0f1722;
    border: 1px solid #2c4b3a;
    border-radius: 1rem;
    font-size: 1rem;
    color: #eef2ff;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}
.donate-card select:focus, .donate-card input:focus {
    outline: none;
    border-color: #48c774;
    box-shadow: 0 0 0 2px rgba(72, 199, 116, 0.2);
}
.warning-msg {
    color: #ff8a7a;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 20px;
    text-align: left;
    background: rgba(255, 70, 70, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    border-left: 3px solid #ff6b6b;
}
.warning-msg i {
    margin-right: 8px;
    color: #ff8a7a;
}
.donate-card button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(95deg, #1e6f3f, #2c9b5e);
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 16px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.donate-card button:hover:not(:disabled) {
    background: linear-gradient(95deg, #258f4c, #34b86e);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}
.donate-card button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #2a3a32;
}
.perks-section {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 16px;
    transition: all 0.2s;
}
.perks-section h3 {
    color: #ffd966;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.perks-section ul {
    margin-left: 20px;
    list-style: none;
}
.perks-section li {
    margin-bottom: 6px;
    font-size: 0.85rem;
    position: relative;
    padding-left: 20px;
}
.perks-section li:before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #6fef9b;
}
.donate-info {
    margin-top: 40px;
    border-top: 1px solid rgba(72, 187, 120, 0.3);
    padding-top: 24px;
}
.info-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 0;
    font-weight: 600;
    color: #b9fbc0;
    border-bottom: 1px dashed #2c4b3a;
}
.info-toggle i {
    transition: transform 0.2s;
}
.info-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.info-content.show {
    max-height: 3000px;
    transition: max-height 0.6s ease-in;
}
.rule-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 20px;
    margin-top: 16px;
}
.rule-block h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffd966;
}
.rule-block ul, .rule-block p {
    margin-left: 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.rule-block li {
    margin-bottom: 6px;
}
.highlight {
    color: #6fef9b;
    font-weight: 600;
}
.donation-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.donation-card-mini {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    padding: 12px;
    border-left: 3px solid #48c774;
}
.donation-card-mini h5 {
    color: #ffd966;
    margin-bottom: 6px;
}
.donation-card-mini p {
    font-size: 0.8rem;
    margin: 4px 0;
}
.donation-card-mini .perks-list {
    font-size: 0.75rem;
    margin-left: 16px;
    margin-top: 6px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}
.modal-content {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}
.modal-icon {
    margin-bottom: 15px;
    width: 64px;
}
.modal-content h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
    background: none;
    -webkit-background-clip: unset;
    color: #eef2ff;
}
.en-subtext {
    color: #888;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    margin-top: 0;
}
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.country-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #333;
    background: #2b2b2b;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}
.country-btn:hover {
    transform: translateY(-3px);
    border-color: #4CAF50;
    background: #333;
}
.flag {
    font-size: 2rem;
    margin-right: 15px;
}
.btn-text {
    display: flex;
    flex-direction: column;
}
.main-lang {
    font-weight: 600;
    font-size: 1.1rem;
}
.sub-lang {
    font-size: 0.8rem;
    color: #aaa;
}
@media (max-width: 800px) {
    .donate-card {
        margin: 30px 16px;
        padding: 24px;
    }
    .donate-card h2 {
        font-size: 1.7rem;
    }
}

/* ========================
   NEWS.HTML
   ======================== */
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 40px 0;
}
.news-card {
    background: rgba(10, 18, 26, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 1.8rem;
    border: 1px solid #2c4b3a;
    overflow: hidden;
    transition: all 0.2s;
    padding: 24px;
}
.news-card:hover {
    transform: translateY(-4px);
    border-color: #48c774;
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(72, 187, 120, 0.3);
}
.news-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #b9fbc0;
}
.news-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.news-date {
    font-size: 0.8rem;
    color: #8ca3b5;
}
.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffd966;
}
.news-content {
    color: #cbd5e6;
    margin-bottom: 16px;
    line-height: 1.5;
    white-space: pre-wrap;
}
.embed {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #48c774;
    border-radius: 0.8rem;
    padding: 12px 16px;
    margin-top: 12px;
}
.embed-title {
    font-weight: 700;
    color: #ffd966;
    margin-bottom: 6px;
}
.embed-description {
    font-size: 0.9rem;
}
.embed-image {
    max-width: 100%;
    border-radius: 0.8rem;
    margin-top: 8px;
}
.attachment {
    margin-top: 12px;
}
.attachment img {
    max-width: 100%;
    border-radius: 0.8rem;
    max-height: 300px;
}
.attachment a {
    color: #8cffb0;
    word-break: break-all;
}
.reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.reaction {
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.loading, .error {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
}
@media (max-width: 800px) {
    .news-title {
        font-size: 1.2rem;
    }
}

/* ========================
   RULES.HTML (Акордеон)
   ======================== */

/* Акордеон */
.accordion-item {
    margin-bottom: 20px;
    border-radius: 1.8rem;
    overflow: hidden;
    background: rgba(10, 18, 26, 0.7);
    backdrop-filter: blur(4px);
    border: 1px solid #2c4b3a;
}

.accordion-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd966;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: rgba(0, 0, 0, 0.5);
}

.accordion-header i {
    transition: transform 0.3s;
}

.accordion-header.open i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 24px;
}

.accordion-content.show {
    max-height: 3000px;
    padding: 16px 24px 24px;
}

/* Стилі для правил */
.rule-list {
    list-style: none;
    margin: 0;
}

.rule-item {
    margin-bottom: 16px;
    border-left: 3px solid #48c774;
    padding-left: 16px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.rule-number {
    font-weight: 700;
    color: #ffd966;
    margin-right: 8px;
}

.rule-text {
    color: #eef2ff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.punishment {
    color: #ff8a7a;
    font-size: 0.9rem;
    margin-top: 6px;
    margin-left: 24px;
}

/* Адаптивність для мобільних */
@media (max-width: 800px) {
    .accordion-header {
        font-size: 1.2rem;
        padding: 14px 18px;
    }
    .accordion-content.show {
        padding: 12px 18px 20px;
    }
}
/* ========================
   TOWNY_TUTORIAL.HTML
   ======================== */
.command-section {
    margin-bottom: 48px;
}
.command-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1.5rem;
    padding: 20px;
    margin-bottom: 24px;
}
.command-header {
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #b9fbc0;
    margin-bottom: 12px;
    border-left: 3px solid #48c774;
    padding-left: 12px;
}
.command-list {
    list-style: none;
    margin-left: 20px;
}
.command-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.command-list code {
    background: #0f1722;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
    color: #ffd966;
}

/* ========================
   WIKI.HTML
   ======================== */
.wiki-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 24px;
}
.wiki-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    background: rgba(10, 18, 26, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 1.8rem;
    border: 1px solid #2c4b3a;
    padding: 20px 12px;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-section {
    border-bottom: 1px solid #2c4b3a;
    padding-bottom: 12px;
}
.sidebar-section-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffd966;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-section ul {
    list-style: none;
    padding-left: 8px;
}
.sidebar-section li {
    margin-bottom: 8px;
}
.sidebar-section a {
    color: #ccddee;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    display: block;
    padding: 4px 8px;
    border-radius: 8px;
}
.sidebar-section a:hover {
    background: #2c5a44;
    color: #b9fbc0;
}
.wiki-content {
    flex: 1;
    min-width: 0;
    background: rgba(10, 18, 26, 0.7);
    backdrop-filter: blur(4px);
    border-radius: 1.8rem;
    border: 1px solid #2c4b3a;
    padding: 32px 28px;
    margin-bottom: 40px;
}
.wiki-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #8bc34a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.wiki-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #48c774;
}
.wiki-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #ffd966;
}
.wiki-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #b9fbc0;
}
.wiki-content p {
    margin-bottom: 16px;
}
.wiki-content ul, .wiki-content ol {
    margin: 12px 0 20px 30px;
}
.wiki-content li {
    margin-bottom: 6px;
}
.wiki-content code {
    background: #0f1722;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
    color: #ffd966;
}
.wiki-content .block {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid #48c774;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 20px 0;
}
.wiki-content .table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}
.wiki-content table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}
.wiki-content th, .wiki-content td {
    border: 1px solid #2c4b3a;
    padding: 8px 12px;
    text-align: left;
}
.wiki-content th {
    background: #1c2a36;
    color: #b9fbc0;
}
.back-to-top {
    display: inline-block;
    margin-top: 30px;
    background: #2c5a44;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
}
.mobile-menu-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2c6e49;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
@media (max-width: 900px) {
    .wiki-wrapper {
        flex-direction: column;
        padding: 0 16px;
    }
    .wiki-sidebar {
        position: static;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        display: none;
    }
    .wiki-sidebar.open {
        display: block;
    }
    .mobile-menu-btn {
        display: flex;
    }
}
