* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(122,44,12,.24), transparent 38%),
        linear-gradient(180deg, #160704, #090302 55%, #050201);
    color: #d8c1a0;
    font-family: Arial, sans-serif;
}

.wiki-header {
    background: linear-gradient(180deg, #3a1106, #1b0803);
    border-bottom: 1px solid rgba(216,146,65,.45);
    box-shadow: 0 5px 20px rgba(0,0,0,.5);
}

.wiki-header-inner {
    max-width: 1250px;
    min-height: 78px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.wiki-logo {
    min-width: 190px;
    display: flex;
    flex-direction: column;
    color: #f0c27d;
    text-decoration: none;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
}

.wiki-logo span {
    color: #be7138;
}

.wiki-logo small {
    margin-top: 3px;
    color: #8f7459;
    font-family: Arial, sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
}

.wiki-nav {
    flex: 1;
    display: flex;
    gap: 3px;
}

.wiki-nav a {
    padding: 11px 10px;
    color: #c5a780;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
}

.wiki-nav a:hover {
    color: #ffe1ac;
    background: rgba(151,66,20,.28);
}

.back-site {
    padding: 10px 13px;
    border: 1px solid rgba(218,151,71,.5);
    color: #dfb67d;
    text-decoration: none;
    font-size: 9px;
    font-weight: bold;
}

.wiki-container {
    max-width: 1180px;
    margin: auto;
    padding: 52px 24px 75px;
}

.wiki-hero {
    text-align: center;
    margin-bottom: 40px;
}

.wiki-hero h1 {
    margin: 0;
    color: #efc17b;
    font-family: Georgia, serif;
    font-size: 38px;
}

.wiki-hero-line {
    width: 90px;
    height: 2px;
    margin: 18px auto;
    background: linear-gradient(90deg, transparent, #db9d50, transparent);
}

.wiki-hero p {
    max-width: 690px;
    margin: auto;
    color: #a88b69;
    line-height: 1.7;
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.wiki-card {
    position: relative;
    min-height: 165px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    border: 1px solid rgba(191,118,50,.4);
    border-radius: 5px;
    background:
        radial-gradient(circle at 10% 0%, rgba(202,101,29,.17), transparent 43%),
        linear-gradient(145deg, rgba(70,21,7,.97), rgba(27,8,3,.99));
    transition: .22s;
}

.wiki-card:hover {
    transform: translateY(-4px);
    border-color: rgba(235,169,87,.75);
}

.wiki-card-number {
    position: absolute;
    top: 13px;
    right: 18px;
    color: rgba(215,150,77,.14);
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: bold;
}

.wiki-card h2 {
    margin: 0 0 8px;
    color: #ebc18c;
    font-family: Georgia, serif;
}

.wiki-card p {
    margin: 0;
    color: #967a5e;
    font-size: 12px;
}

.wiki-coming {
    margin-top: 13px;
    color: #ca8c4d;
    font-size: 8px;
    font-weight: bold;
}

.page-header {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(201,130,59,.25);
}

.page-header h1 {
    color: #efc184;
    font-family: Georgia, serif;
}

.empty-state {
    padding: 55px 30px;
    text-align: center;
    border: 1px solid rgba(184,111,46,.3);
    background: rgba(50,14,5,.5);
}

.empty-state strong {
    display: block;
    margin-bottom: 9px;
    color: #d9aa68;
}

.wiki-footer {
    padding: 28px;
    text-align: center;
    border-top: 1px solid rgba(188,114,49,.2);
    background: #070201;
    color: #96795b;
}

.wiki-footer strong,
.wiki-footer span {
    display: block;
}

@media (max-width: 900px) {
    .wiki-header-inner {
        flex-wrap: wrap;
    }

    .wiki-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .wiki-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wiki-grid {
        grid-template-columns: 1fr;
    }
}

/* Ajuste final do menu Wiki */
.wiki-nav a {
    font-size: 12px !important;
    padding: 12px 13px !important;
}
