@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Uncial+Antiqua&family=Spectral:wght@400;600&display=swap');

:root {
    --gold: #f0d99e;
    --amber: #c1a158;
    --panel: rgba(15, 20, 32, 0.92);
    --panel-strong: rgba(12, 16, 25, 0.9);
    --text: #f4f6fb;
    --muted: #c7cedd;
    --glow: 0 0 18px rgba(240, 217, 158, 0.45);
    --online: #53e0a1;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text);
    font-family: 'Spectral', Georgia, serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(82, 142, 205, 0.22), transparent 28%),
        radial-gradient(circle at 80% 12%, rgba(71, 96, 163, 0.25), transparent 35%),
        linear-gradient(180deg, rgba(9, 13, 20, 0.92), rgba(8, 12, 22, 0.9)),
        url('tibia-bg.jpg') center/cover fixed no-repeat;
    background-blend-mode: overlay, overlay, normal, normal;
    min-height: 100vh;
    padding: 30px 15px 60px;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 55%, rgba(0, 0, 0, 0.55) 90%);
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(150deg, var(--panel), var(--panel-strong));
    border: 1px solid rgba(227, 194, 111, 0.4);
    border-radius: 16px;
    box-shadow:
        inset 0 0 22px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(227, 194, 111, 0.2),
        0 0 0 1px rgba(80, 108, 153, 0.35);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.container::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(227, 194, 111, 0.35);
    border-radius: 10px;
    pointer-events: none;
    box-shadow: var(--glow);
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(14, 20, 33, 0.9), rgba(22, 33, 52, 0.85));
    border: 1px solid rgba(240, 217, 158, 0.35);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.35), 0 0 14px rgba(240, 217, 158, 0.15);
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
    background: linear-gradient(120deg, rgba(240, 217, 158, 0.14), rgba(80, 108, 153, 0.2));
    color: var(--gold);
}

.title-block h1 {
    margin: 6px 0 4px;
    font-size: 3.3rem;
    letter-spacing: 1px;
    font-family: 'Cinzel', 'Uncial Antiqua', serif;
    background: linear-gradient(90deg, #f7e9c4, #c9d8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0,0,0,0.6), 0 0 18px rgba(227, 194, 111, 0.25);
}

.eyebrow {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #d9c08b;
}

.subtitle {
    margin: 0 0 12px;
    color: var(--muted);
    font-style: italic;
    font-size: 1.2rem;
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(240, 217, 158, 0.65);
    background: linear-gradient(135deg, #1c2a3d, #283a52);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--glow);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(227, 194, 111, 0.7);
    filter: brightness(1.05);
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(28, 41, 62, 0.88), rgba(20, 29, 45, 0.92));
    border: 1px solid rgba(240, 217, 158, 0.35);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.35), 0 0 14px rgba(240, 217, 158, 0.15);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.4px;
    margin: 10px 0 6px;
}

.description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 18px 0 32px;
    max-width: 900px;
    color: #f4e9d4;
}

.description a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(240, 217, 158, 0.6);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.description a:hover {
    color: #fff7da;
    border-color: #fff7da;
}

.info-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.info-pill {
    padding: 12px 14px;
    border: 1px solid rgba(227, 194, 111, 0.4);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(32, 46, 71, 0.85), rgba(22, 31, 49, 0.92));
    box-shadow: inset 0 0 12px rgba(0,0,0,0.35);
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.4px;
}

.totals {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(21, 29, 46, 0.92), rgba(30, 42, 64, 0.9));
    border: 1px solid rgba(240, 217, 158, 0.35);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.35), 0 0 16px rgba(240, 217, 158, 0.18);
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.totals .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 12px rgba(83, 224, 161, 0.85);
}

.banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 10px 0 24px;
}

.banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(227, 194, 111, 0.12), rgba(0,0,0,0.65));
    border: 1px solid rgba(227, 194, 111, 0.5);
    box-shadow: 0 18px 32px rgba(0,0,0,0.6), 0 0 22px rgba(227, 194, 111, 0.25);
    min-height: 250px;
}

.banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(227, 194, 111, 0.14), transparent 45%);
    pointer-events: none;
}

.banner .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    background: linear-gradient(120deg, rgba(31, 47, 69, 0.9), rgba(24, 35, 54, 0.85));
    border: 1px solid rgba(240, 217, 158, 0.55);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
    z-index: 2;
}

.banner .online {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(5, 7, 12, 0.7);
    border: 1px solid rgba(240, 217, 158, 0.35);
    color: var(--text);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(6px);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.35);
    z-index: 2;
}

.banner .online .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--online);
    box-shadow: 0 0 10px rgba(83, 224, 161, 0.8);
}

.banner img {
    width: 100%;
    height: 250px;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.banner .placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: var(--text);
    font-family: 'Cinzel', 'Spectral', serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(32, 46, 71, 0.82), rgba(18, 24, 38, 0.9));
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
    z-index: 1;
}

.section {
    margin: 30px 0;
    padding: 18px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(21, 29, 46, 0.94), rgba(18, 24, 38, 0.92));
    border: 1px solid rgba(240, 217, 158, 0.32);
    box-shadow: inset 0 0 14px rgba(0,0,0,0.45);
}

.section h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
    color: #f7e9c4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h3 {
    margin: 10px 0 6px;
    color: var(--gold);
    font-size: 1.1rem;
}

.section-intro {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.6;
}

.rule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.card {
    background: linear-gradient(150deg, rgba(25, 33, 49, 0.9), rgba(17, 23, 36, 0.92));
    border: 1px solid rgba(240, 217, 158, 0.28);
    border-radius: 10px;
    padding: 14px 14px 12px;
    box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}

.rule-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.45;
}

.rule-list li {
    margin-bottom: 6px;
}

.xp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    color: var(--text);
    font-weight: 600;
}

.xp-table th,
.xp-table td {
    border: 1px solid rgba(240, 217, 158, 0.3);
    padding: 8px 10px;
    text-align: left;
    background: rgba(12, 16, 25, 0.5);
}

.xp-table th {
    background: rgba(240, 217, 158, 0.14);
    color: var(--gold);
}

.summary {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(80, 108, 153, 0.12);
    border: 1px solid rgba(240, 217, 158, 0.25);
    color: var(--muted);
}

.server-info {
    margin: 28px 0 10px;
    background: linear-gradient(135deg, rgba(21, 29, 46, 0.94), rgba(15, 23, 38, 0.9));
    border-radius: 10px;
    padding: 16px;
    border: 1px solid rgba(227, 194, 111, 0.35);
    box-shadow: inset 0 0 12px rgba(0,0,0,0.35);
}

.server-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.server-info li {
    padding: 10px 12px;
    border-left: 3px solid var(--amber);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    color: var(--muted);
}

@media (max-width: 720px) {
    body { padding: 18px 10px 40px; }
    .container { padding: 22px; }
    .title-block h1 { font-size: 2.4rem; }
    .description { font-size: 1rem; }
    .banner img { min-height: 200px; }
}
