/* Heritage Vote/VIP - Mythic layout v1 */
:root {
    --bg: #050403;
    --panel: rgba(10, 8, 5, 0.93);
    --panel2: rgba(20, 15, 9, 0.90);
    --gold: #c8943f;
    --gold2: #ffe0a0;
    --text: #f2e8d0;
    --muted: #ad9d80;
    --border: rgba(200, 148, 63, 0.42);
    --green: #68c774;
    --red: #e06a54;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: #050403;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

body { padding-top: 78px; }

a { color: var(--gold2); text-decoration: none; }

.hm-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 78px;
    z-index: 1000;
    background: rgba(0,0,0,.91);
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 260px 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 0 52px;
    box-shadow: 0 14px 42px rgba(0,0,0,.55);
}

.hm-brand { display: flex; align-items: center; gap: 14px; color: var(--gold2); }

.hm-brand-mark {
    width: 48px; height: 48px; border: 2px solid var(--gold);
    display: grid; place-items: center; color: var(--gold2);
    font-size: 28px; font-weight: 700; background: rgba(200,148,63,.08);
}

.hm-brand-text {
    font-size: 26px; line-height: .85; letter-spacing: 3px;
    text-transform: uppercase; color: var(--gold2);
}

.hm-brand-text small {
    display: block; font-size: 10px; letter-spacing: 5px;
    color: var(--muted); margin-top: 6px;
}

.hm-nav {
    display: flex; justify-content: center; align-items: center;
    gap: 30px; text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
}

.hm-nav a {
    color: var(--text); padding: 29px 0 25px;
    border-bottom: 2px solid transparent; white-space: nowrap; transition: .18s ease;
}

.hm-nav a:hover, .hm-nav a.active {
    color: var(--gold2); border-bottom-color: var(--gold);
    text-shadow: 0 0 16px rgba(200,148,63,.30);
}

.hm-actions { display: flex; align-items: center; gap: 12px; }

.hm-lang { display: flex; gap: 6px; margin-right: 6px; }
.hm-lang a { color: var(--muted); font-size: 12px; }
.hm-lang a.active { color: var(--gold2); }

.hm-btn, .btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 42px; padding: 11px 20px; border: 1px solid var(--border);
    color: var(--gold2); text-transform: uppercase; letter-spacing: 1px;
    background: rgba(0,0,0,.54); font-family: Georgia, "Times New Roman", serif;
    transition: .18s ease; cursor: pointer;
}

.hm-btn:hover, .btn:hover {
    transform: translateY(-1px); border-color: var(--gold2);
    box-shadow: 0 0 24px rgba(200,148,63,.25);
}

.hm-btn.gold, .btn.gold {
    background: linear-gradient(180deg, #be8532 0%, #6b4318 100%);
    border-color: var(--gold);
}

.hm-page {
    min-height: calc(100vh - 78px);
    background:
        linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.34) 50%, rgba(0,0,0,.75)),
        linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.88)),
        url("../img/heritage_dashboard_hero.png") center top / cover fixed no-repeat;
    padding: 50px 22px 62px;
}

.hm-wrap { max-width: 1180px; margin: 0 auto; }

.hm-title {
    text-align: center; margin-bottom: 28px; text-shadow: 0 5px 20px #000;
}

.hm-title h1 {
    margin: 0; color: var(--gold2);
    font-size: clamp(44px, 5vw, 72px); letter-spacing: 5px; text-transform: uppercase;
}

.hm-title p {
    max-width: 760px; margin: 12px auto 0; color: var(--text); line-height: 1.55;
}

.hm-card {
    background: linear-gradient(180deg, rgba(17,13,8,.96), rgba(6,5,4,.94));
    border: 1px solid var(--border); padding: 28px;
    box-shadow: 0 22px 70px rgba(0,0,0,.48);
    margin-bottom: 20px;
}

.hm-card h2, .hm-card h3 {
    color: var(--gold2); margin: 0 0 14px;
    text-transform: uppercase; letter-spacing: 1.5px;
}

.hm-card p, .hm-card li { color: var(--text); line-height: 1.55; }

.hm-grid { display: grid; gap: 20px; }
.hm-grid-2 { grid-template-columns: 1fr 1fr; }
.hm-grid-3 { grid-template-columns: repeat(3, 1fr); }

.hm-btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.hm-note {
    padding: 16px; border: 1px solid rgba(200,148,63,.28);
    background: rgba(0,0,0,.32); color: var(--text); margin-top: 14px;
}

.hm-note-danger {
    padding: 16px; border: 1px solid rgba(224,106,84,.62);
    border-left: 6px solid var(--red); background: rgba(96,22,14,.38);
    color: #ffe1dc; margin-top: 14px;
}

.hm-table { width: 100%; border-collapse: collapse; }
.hm-table th, .hm-table td {
    padding: 13px 10px; border-bottom: 1px solid rgba(200,148,63,.16); text-align: left;
}
.hm-table th {
    color: var(--gold2); text-transform: uppercase; font-size: 12px; letter-spacing: 1px;
}

.hm-badge {
    display: inline-flex; align-items: center; padding: 5px 10px;
    border: 1px solid rgba(200,148,63,.28); background: rgba(0,0,0,.28);
    color: var(--gold2); font-size: 12px; margin: 2px;
}

.hm-list { list-style: none; padding: 0; margin: 14px 0 0; }
.hm-list li {
    padding: 11px 0; border-bottom: 1px solid rgba(200,148,63,.16);
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.hm-list li:last-child { border-bottom: none; }

.hm-footer {
    max-width: 1180px; margin: 32px auto 0; padding-top: 24px;
    border-top: 1px solid var(--border); display: flex; justify-content: space-between;
    color: var(--muted); font-size: 13px;
}

@media (max-width: 1100px) {
    body { padding-top: 0; }
    .hm-topbar { position: relative; height: auto; grid-template-columns: 1fr; padding: 18px; }
    .hm-nav { justify-content: flex-start; overflow-x: auto; gap: 18px; }
    .hm-nav a { padding: 10px 0; }
    .hm-actions { justify-content: flex-start; }
    .hm-grid-2, .hm-grid-3 { grid-template-columns: 1fr; }
    .hm-footer { display: block; }
}


/* Dashboard-style fixed vote banners */
.hm-vote-banners {
    position: fixed;
    left: auto;
    right: 12px;
    bottom: 12px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hm-vote-banners a {
    display: block;
    width: 140px;
    height: 120px;
    border: 0;
    background: rgba(0,0,0,0.18);
}

.hm-vote-banners img {
    border: 0;
    width: 140px;
    height: 120px;
    display: block;
}

.hm-vote-banners .hm-top100arena-banner {
    background: rgba(0,0,0,0.25);
}

.hm-vote-banners .hm-top100arena-banner img {
    width: 88px;
    height: 56px;
    margin: 32px auto 0;
}

@media (max-width: 900px) {
    .hm-vote-banners {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding: 18px 12px;
        background: rgba(0,0,0,.58);
    }
}
