/* ═══════════════════════════════════════════════════════
   GLOBAL — Kospera Tibia
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Laila:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&family=Orbitron:wght@500;600;700&display=swap');

@font-face {
    font-family: 'Martel';
    src: url('../fonts/martel.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-dark: #0f0d08;
    --bg-body: #161208;
    --bg-surface: #1e1a10;
    --bg-card: #252010;
    --bg-elevated: #2e2818;
    --bg-hover: #383020;
    --bg-input: #1a1610;

    --border: #3a3020;
    --border-light: #504530;
    --border-focus: #c8963c;

    --gold: #d4a030;
    --gold-light: #f0c050;
    --gold-dark: #a07818;
    --gold-bg: rgba(212, 160, 48, 0.10);
    --gold-glow: rgba(212, 160, 48, 0.30);

    --green: #50a848;
    --red: #c84040;
    --blue: #4088c0;

    --text: #f0e8d0;
    --text-2: #c8b898;
    --text-3: #908068;
    --text-4: #605040;

    --font-title: 'Martel', 'Cinzel', Georgia, serif;
    --font-body: 'Laila', Georgia, serif;
    --font-ui: 'Inter', sans-serif;
    --font-num: 'Orbitron', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    min-height: 100vh;
    background: var(--bg-body);
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%),
        linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%),
        linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%),
        url('../images/bg.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; }
::selection { background: rgba(212,160,48,0.3); color: #fff; }

/* ═══ NAVBAR — ROBUSTA ═══ */
.navbar {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    background: linear-gradient(180deg, #0f0d08 0%, #0a0805 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(212, 160, 48, 0.16);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 182px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 1px 0 rgba(212,160,48,0.08) inset;
}
.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 160, 48, 0.35) 12%,
        rgba(212, 160, 48, 0.85) 30%,
        #f0c050 50%,
        rgba(212, 160, 48, 0.85) 70%,
        rgba(212, 160, 48, 0.35) 88%,
        transparent 100%
    );
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 160, 48, 0.06) 20%,
        rgba(212, 160, 48, 0.14) 50%,
        rgba(212, 160, 48, 0.06) 80%,
        transparent 100%
    );
}
.navbar__container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 20px;
    box-sizing: border-box;
}
.navbar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
    text-decoration: none;
}
.navbar__brand-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0c050 0%, #d4a030 50%, #a07818 100%);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(212,160,48,0.35), inset 0 1px 0 rgba(255,255,255,0.35);
    color: #1a1000;
    font-size: 20px;
    flex-shrink: 0;
}
.navbar__brand-text { display: flex; flex-direction: column; line-height: 1; gap: 1px; min-width: 0; flex: 1 1 auto; }
.navbar__logo {
    font-family: 'Martel', serif;
    font-weight: 900;
    font-size: 26px;
    color: var(--gold-light);
    letter-spacing: 5px;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0,0,0,0.6), 0 0 28px rgba(212, 160, 48, 0.28);
    transition: all .3s ease;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.navbar__logo:hover {
    color: #fff3b0;
    text-shadow: 0 0 40px rgba(212, 160, 48, 0.5), 0 1px 0 rgba(0,0,0,0.6);
}
.navbar__divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(212, 160, 48, 0.28), transparent);
}
.navbar__tagline {
    font-family: var(--font-body);
    font-size: 10px;
    color: var(--text-2);
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 700;
    display: none;
    opacity: 0.9;
}
.navbar__tagline small {
    display: block;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-3);
    font-weight: 600;
    margin-top: 1px;
    text-transform: uppercase;
}
@media (min-width: 680px) {
    .navbar__tagline { display: flex; }
}
@media (max-width: 679px) {
    .navbar__brand-text .navbar__tagline { display: none; }
    .navbar__divider { display: none; }
    .navbar__brand-icon { width: 36px; height: 36px; font-size: 16px; }
    .navbar__logo { font-size: 22px; letter-spacing: 4px; }
}
@media (max-width: 480px) {
    .navbar__container { padding: 0 14px; gap: 10px; }
    .navbar__brand { gap: 10px; }
}

/* Nav Links — robusto */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.nav-links__item {
    position: relative;
}
.nav-submenu-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--text-2);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212,160,48,0.07);
    border-radius: 9px;
    cursor: pointer;
    transition: all .22s ease;
    letter-spacing: .6px;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
}
.nav-submenu-toggle:hover {
    color: var(--gold-light);
    background: rgba(212, 160, 48, 0.10);
    border-color: rgba(212, 160, 48, 0.22);
    box-shadow: 0 1px 8px rgba(212,160,48,0.18);
}
.nav-submenu-toggle:active { transform: translateY(1px); }
.nav-submenu__arrow {
    flex-shrink: 0;
    opacity: .5;
    transition: transform .25s ease;
}
.nav-links__item:hover .nav-submenu__arrow {
    transform: rotate(180deg);
    opacity: .8;
}

/* Submenu — robusto */
.nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: linear-gradient(180deg, #1a150a 0%, #0f0d08 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(212, 160, 48, 0.16);
    border-radius: 14px;
    padding: 8px;
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all .28s cubic-bezier(.4,0,.2,1);
    z-index: 100;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.7),
        0 0 0 1px rgba(212,160,48,0.06) inset,
        0 0 32px rgba(212, 160, 48, 0.06);
}
.nav-links__item:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-submenu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-2);
    text-decoration: none;
    border-radius: 8px;
    transition: all .2s ease;
    position: relative;
}
.nav-submenu__link::before {
    content: '';
    width: 3px;
    height: 0;
    background: var(--gold);
    border-radius: 2px;
    transition: height .2s ease;
    flex-shrink: 0;
}
.nav-submenu__link:hover {
    color: var(--text);
    background: rgba(212, 160, 48, 0.06);
}
.nav-submenu__link:hover::before {
    height: 16px;
}

/* Online Badge — robusto */
.navbar__online {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: linear-gradient(180deg, rgba(80,168,72,0.10) 0%, rgba(80,168,72,0.06) 100%);
    border: 1px solid rgba(80, 168, 72, 0.22);
    border-radius: 24px;
    flex-shrink: 0;
    box-shadow: 0 1px 6px rgba(80,168,72,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.navbar__online-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(80, 168, 72, 0.6), 0 0 2px rgba(80,168,72,0.8);
    animation: navbar-pulse 2s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.35);
}
.navbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
}
.navbar__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
    line-height: 1;
}
.navbar__cta--download {
    color: #fff;
    background: linear-gradient(180deg, #5dbd54 0%, #3d8a36 100%);
    border: 1px solid #2d6b27;
    box-shadow: 0 2px 10px rgba(80,168,72,0.28);
}
.navbar__cta--download:hover { background: linear-gradient(180deg, #6ecf64 0%, #4a9a40 100%); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(80,168,72,0.38); color: #fff; }
.navbar__cta--account {
    color: #1a1000;
    background: linear-gradient(180deg, #f0c850 0%, #d4a030 100%);
    border: 1px solid #c8963c;
    box-shadow: 0 2px 10px rgba(212,160,48,0.22);
}
.navbar__cta--account:hover { background: linear-gradient(180deg, #f5d060 0%, #e0b040 100%); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(212,160,48,0.32); color: #1a1000; }

@media (max-width: 1120px) and (min-width: 769px) {
    .navbar__container { gap: 16px; padding: 0 18px; }
    .nav-links { gap: 2px; }
    .nav-submenu-toggle { padding: 8px 10px; font-size: 11.5px; gap: 5px; }
    .navbar__cta { padding: 7px 12px; font-size: 10.5px; }
    .navbar__online { padding: 6px 12px; }
}
@media (max-width: 980px) and (min-width: 769px) {
    .nav-submenu-toggle svg:first-child { display: none; }
}

@media (max-width: 900px) {
    .navbar__cta--download { display: none; }
}
@media (max-width: 720px) {
    .navbar__cta--account { display: none; }
}
@keyframes navbar-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(80, 168, 72, 0.5); }
    50% { box-shadow: 0 0 14px rgba(80, 168, 72, 0.3); }
}
.navbar__online-count {
    font-family: var(--font-num);
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}
.navbar__online-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1;
}

/* Menu Button (Hamburger) */
.navbar__menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    padding: 10px 12px;
    transition: border-color .2s ease;
}
.navbar__menu-btn:hover {
    border-color: rgba(212, 160, 48, 0.3);
}
.navbar__menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .2s ease;
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 999;
}
.nav-overlay--active { display: block; }

/* Close button (mobile) */
.nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-2);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    transition: all .2s;
    line-height: 1;
}
.nav-close-btn:hover {
    color: var(--text);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}
.nav-links__header {
    display: none;
}


/* Melhorias de acessibilidade e estado ativo */
.nav-links__item--active > .nav-submenu-toggle { color: var(--gold-light); background: rgba(212,160,48,0.12); border-color: rgba(212,160,48,0.24); }
.nav-links__item--active .nav-submenu__arrow { transform: rotate(180deg); opacity: .9; }
.nav-submenu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.navbar__cta:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.navbar__brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* Evita overflow do submenu nas bordas */
.nav-links__item:first-child .nav-submenu { left: 0; transform: translateX(0) translateY(10px); }
.nav-links__item:last-child .nav-submenu { left: auto; right: 0; transform: translateX(0) translateY(10px); }
.nav-links__item:first-child:hover .nav-submenu, .nav-links__item:last-child:hover .nav-submenu { transform: translateX(0) translateY(0); }

/* Melhora do drawer mobile: scroll e altura */
@media (max-width: 768px) {
    .nav-links { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .navbar__actions { gap: 8px; }
}


/* Corrige vazamento horizontal em mobile */
html, body { max-width: 100%; overflow-x: hidden; }

/* ═══ LIVE STATUS ═══ */
.live-status {
    font-size: 14px;
    color: var(--text);
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-num);
}
.live-status__dot {
    width: 10px;
    height: 10px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px var(--green); transform: scale(1); }
    50% { box-shadow: 0 0 4px var(--green); transform: scale(1.2); }
}

/* ═══ CHAIN ═══ */
.chain-spacer {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 22px;
    background: url('../images/chain-spacer-l.png') 5px -14px repeat-y, url('../images/chain-spacer-r.png') calc(100% - 5px) -14px repeat-y;
}

/* ═══ BOXES ═══ */
.box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    background-color: #debb9d;
    border-width: 12px 2px;
    border-style: solid;
    border-color: transparent;
    border-image-source: url('../images/border-outerbox.png');
    border-image-slice: 12;
    border-image-width: 12px 2px;
    border-image-repeat: repeat;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}
.box--wide { max-width: 860px; }
.box--title { max-width: 650px; background: rgb(0 0 0 / 60%); padding: 0 10px; }
.box__inner {
    border: 1px solid #7a6b54;
    padding: 10px;
    background: antiquewhite;
    margin: 3px;
}
.box__content {
    width: 100%;
    border-width: 10px;
    border-style: solid;
    border-image-source: url('../images/content/table1-border2.png');
    border-image-slice: 10 fill;
    border-image-repeat: repeat;
    padding: 4px;
    color: #5A2800;
    background-color: #f1e0c5;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
.box__header {
    padding: 0 16px;
    background: rgba(15,13,8,0.92);
    backdrop-filter: blur(8px);
    height: 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.box__header h2 {
    color: floralwhite;
    font-family: 'Orbitron', monospace;
    margin: 0;
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.box__header--stats { justify-content: space-between; }

/* Box Header Actions */
.box__header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Online Stats */
.box__header-online {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(80, 168, 72, 0.06);
    border: 1px solid rgba(80, 168, 72, 0.12);
    border-radius: 12px;
}
.box__header-online-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(80, 168, 72, 0.4);
    animation: navbar-pulse 2s ease-in-out infinite;
}
.box__header-online-count {
    font-family: var(--font-num);
    font-size: 11px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}
.box__header-online-label {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    color: var(--text-4);
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1;
}

/* Discord Button */
.box__header-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #5865f2;
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    flex-shrink: 0;
}
.box__header-discord:hover {
    color: #4752c4;
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.25);
}
.box__header-discord--disabled {
    color: var(--text-4);
    border-color: rgba(255,255,255,0.08);
    background: transparent;
    cursor: pointer;
}
.box__header-discord--disabled:hover {
    color: var(--text-3);
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    transform: none;
    box-shadow: none;
}
.box__header-discord svg {
    width: 14px;
    height: 14px;
}

/* Discord Tooltip */
.discord-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.discord-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: #5865f2;
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    animation: tooltipPulse 2s ease-in-out infinite;
}
.discord-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 8px;
    border: 5px solid transparent;
    border-top-color: #5865f2;
}
@keyframes tooltipPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(-3px); }
}

/* Download Button */
.download-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.download-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: #3d8b37;
    color: #fff;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    animation: tooltipPulse 2s ease-in-out infinite;
    animation-delay: 1s;
}
.download-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 8px;
    border: 5px solid transparent;
    border-top-color: #3d8b37;
}
.box__header-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #3d8b37;
    background: rgba(61, 139, 55, 0.08);
    border: 1px solid rgba(61, 139, 55, 0.2);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all .25s ease;
    flex-shrink: 0;
}
.box__header-download:hover {
    color: #2d6b27;
    background: rgba(61, 139, 55, 0.15);
    border-color: rgba(61, 139, 55, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(61, 139, 55, 0.25);
}
.box__header-download svg {
    width: 14px;
    height: 14px;
}

/* Header Search */
.box__header-search {
    display: flex;
    align-items: center;
    position: relative;
}
.box__header-search-input {
    width: 130px;
    padding: 4px 28px 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(0,0,0,0.3);
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-2);
    outline: none;
    cursor: text;
}
.box__header-search-input:focus {
    border-color: var(--gold);
}
.box__header-search-input::placeholder {
    color: var(--text-4);
}
.box__header-search-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-4);
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}
.box__header-search:hover .box__header-search-btn,
.box__header-search-input:focus + .box__header-search-btn {
    color: var(--gold);
}

@media (max-width: 820px) {
    .box__header-search { display: none; }
}

/* Discord Modal */
.discord-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.discord-modal--open {
    opacity: 1;
    visibility: visible;
}
.discord-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
}
.discord-modal__content {
    position: relative;
    background: rgba(20, 18, 14, 0.98);
    border: 1px solid rgba(212, 160, 48, 0.15);
    border-radius: 16px;
    padding: 32px 40px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    transform: scale(0.9) translateY(20px);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.discord-modal--open .discord-modal__content {
    transform: scale(1) translateY(0);
}
.discord-modal__icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}
.discord-modal__title {
    font-family: 'Martel', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.discord-modal__text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 20px;
}
.discord-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #1a1000;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .2s;
}
.discord-modal__close:hover {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
}
.corner {
    width: 38px; height: 38px; position: absolute; z-index: 3;
    pointer-events: none;
    background: url('../images/corner-3.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 6px rgba(0,0,0,.8));
}
.corner--lt { top:-15px; left:-5px; }
.corner--rt { top:-15px; right:-5px; transform: rotate(90deg); }
.corner--lb { bottom:-15px; left:-5px; transform: rotate(270deg); }
.corner--rb { bottom:-15px; right:-5px; transform: rotate(180deg); }

/* ═══ LAYOUT ═══ */
.layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}
.sidebar-left {
    width: 202px;
    min-width: 202px;
    flex-shrink: 0;
    position: relative;
    border-width: 21px 21px;
    height: fit-content;
    border-style: solid;
    border-color: inherit;
    border-image: url('../images/sidebar/side-container.png') 21 fill repeat;
}

.sidebar-left__logo-container {
    position: absolute;
    top: -202px;
    left: -20px;
    width: 202px;
    height: 202px;
    z-index: 5;
}
.sidebar-left::after {
    content: "";
    width: 106%; height: 28px; left: -3%;
    background: url('../images/sidebar/border-footer2.png') no-repeat center top;
    position: absolute; z-index: 4; pointer-events: none;
}
.sidebar-left__logo-img {
    position: relative;
    top: 14px;
    z-index: 2;
    width: 202px;
    height: 202px;
    object-fit: contain;
    display: block;
}
.sidebar-left__chain {
    position: absolute;
    width: 11px;
    height: 20px;
    bottom: 14px;
    z-index: 1;
}
.sidebar-left__chain--left { left: 35px; }
.sidebar-left__chain--right { right: 35px; }

/* Sidebar Login Form */
.sidebar-login {
    background: #000000;
    position: relative;
    left: 5px;
    width: 151px;
    overflow: hidden;
}

.sidebar-login__header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212,160,48,0.06);
    border-bottom: 1px solid rgba(212,160,48,0.1);
}

.sidebar-login__icon {
    font-size: 11px;
    color: var(--gold);
}

.sidebar-login__title {
    font-family: 'Martel', serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.sidebar-login__form {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-login__input {
    width: 100%;
    padding: 7px 10px;
    font-family: var(--font-body);
    font-size: 12px;
    color: #fdeed7;
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    border-radius: 5px;
    transition: all .2s;
    caret-color: var(--gold);
}

.sidebar-login__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,160,48,0.12);
}

.sidebar-login__input::placeholder {
    color: var(--text-4);
    font-size: 11px;
}

.sidebar-login__btn {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: url('../images/buttons/buttom-v1.png') no-repeat center;
    background-size: 100% 100%;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: filter .2s, transform .15s;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar-login__btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: none;
}

.sidebar-login__link {
    display: block;
    text-align: center;
    font-size: 10px;
    color: var(--text-3);
    text-decoration: none;
    margin-top: 2px;
    transition: color .2s;
}

.sidebar-login__link:hover {
    color: var(--gold);
}

.sidebar-login__btn--sair {
    background: linear-gradient(180deg, var(--red), #a03030) !important;
    box-shadow: 0 2px 6px rgba(200,64,64,0.2) !important;
}

.sidebar-login__btn--sair:hover {
    background: linear-gradient(180deg, #ff5566, var(--red)) !important;
    box-shadow: 0 3px 10px rgba(200,64,64,0.3) !important;
}

/* Logged state — premium card */
.sidebar-login--logged {
    background: #000000;
    position: relative;
    left: 5px;
    width: 151px;
    border: 1px solid rgba(212,160,48,0.18);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 12px 10px;
}
.sll-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 2px 12px;
    border-bottom: 1px solid rgba(212,160,48,0.12);
}
.sll-shield {
    width: 30px; height: 30px; border-radius: 8px;
    background: linear-gradient(135deg, #d4a030, #b8861e);
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(212,160,48,0.3);
}
.sll-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sll-name {
    font-family: 'Martel', serif; font-size: 12px; font-weight: 700;
    color: #f0d48a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1;
}
.sll-status {
    display: flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 700; color: #8ad68a;
    text-transform: uppercase; letter-spacing: 0.6px;
}
.sll-dot { width: 7px; height: 7px; border-radius: 50%; background: #50a848; box-shadow: 0 0 6px rgba(80,168,72,0.7); border: 1px solid rgba(255,255,255,0.4); }
.sll-badge {
    font-size: 9px; font-weight: 800; color: #5a3b1c;
    background: #f0c850; border: 1px solid #c8963c;
    padding: 3px 6px; border-radius: 20px; flex-shrink: 0;
}
.sll-stats {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 10px;
    padding: 14px 6px;
}
.sll-stats--secondary {
    padding-top: 0;
    margin-top: -6px;
}
.sll-stat__val--vip { color: #5cb85c !important; }
.sll-stat__val--small { font-size: 11px !important; }
.sll-stat { text-align: center; display: flex; flex-direction: column; gap: 1px; }
.sll-stat--divider { width: 1px; height: 28px; background: rgba(212,160,48,0.14); }
.sll-stat__label { font-size: 8px; font-weight: 700; color: #9a8a6a; text-transform: uppercase; letter-spacing: 0.6px; }
.sll-stat__val { font-family: var(--font-num); font-size: 13px; font-weight: 800; color: #ffd27f; text-shadow: 0 0 8px rgba(212,160,48,0.15); }
.sll-actions { display: flex; flex-direction: column; gap: 8px; padding: 6px 2px 2px; }
.sll-btn {
    width: 100%; height: 34px; display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.6px; text-decoration: none;
    border-radius: 6px; transition: all .18s; cursor: pointer;
}
.sll-btn--acc {
    background: url('../images/buttons/buttom-v1.png') no-repeat center; background-size: 100% 100%; border: none; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.sll-btn--acc:hover { filter: brightness(1.12); transform: translateY(-1px); color:#fff; }
.sll-btn--out {
    background: transparent; border: none; color: #e05050; font-weight: 800;
}
.sll-btn--out:hover { background: transparent; color:#ff3b30; filter:none; transform: translateY(-1px); }

.sidebar-menu { }
.sidebar-menu__category--active .sidebar-menu__list { max-height: 500px; }
.sidebar-menu__title {
    position: relative;
    left: 5.5px;
    width: 150px; display: flex; align-items: center; gap: 10px; padding: 2px 0;
    background: url('../images/sidebar/bar-gray.png') center bottom repeat-x;
    border: none; color: var(--gold); font-weight: bold; cursor: pointer; text-align: left;
}
.sidebar-menu__title-icon { width: 32px; height: 32px; }
.sidebar-menu__title-text {
    font-family: 'Martel', serif; font-size: 20px; font-weight: normal;
    color: floralwhite; text-shadow: 1px 1px 0 #000;
    text-transform: capitalize;
}
.sidebar-menu__list {
    list-style: none; padding: 0; margin: 0; max-height: 0;
    overflow: hidden; transition: max-height 0.3s ease;
}
.sidebar-menu__link {
    position: relative;
    left: 5.5px;
    width: 150px;
    display: block; padding: 3px 3px 3px 13px;
    color: #d7d7d7; font-family: var(--font-body); font-weight: bold;
    font-size: 14px; text-decoration: none; background: black;
    border-bottom: 1px solid #222; transition: 0.2s;
}
.sidebar-menu__link:hover { background: #222; color: #fff; padding-left: 16px; }
.sidebar-menu__link--active { color: var(--gold); }

.sidebar-right {
    width: 228px; min-width: 228px; flex-shrink: 0;
    position: relative; height: fit-content; color: burlywood;
    background: rgba(0,0,0,0.65);
    border-width: 21px; border-style: solid; border-color: inherit;
    border-image: url('../images/border-outerbox.png') 21 fill / 1 / 0 repeat;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.sidebar-right::after {
    content: "";
    width: 106%; height: 28px; bottom: -38px; left: -3%;
    background: url('../images/sidebar/border-footer2.png') no-repeat center top;
    position: absolute; z-index: 4; pointer-events: none;
}
.sidebar-right__filter {
    display: flex; gap: 4px;
    margin-bottom: 10px;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: 8px; padding: 3px;
}
.sidebar-right__filter-btn {
    flex: 1;
    font-family: var(--font-body);
    font-size: 11px; font-weight: 700;
    color: rgba(222,184,135,0.5);
    text-align: center;
    padding: 5px 4px;
    border: none; border-radius: 6px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}
.sidebar-right__filter-btn:hover {
    color: burlywood;
}
.sidebar-right__filter-btn--active {
    background: rgba(212,160,48,0.2);
    color: var(--gold);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.sidebar-right__pos {
    font-family: var(--font-num);
    font-size: 11px; font-weight: 700;
    color: rgba(222,184,135,0.4);
    width: 18px; flex-shrink: 0;
    text-align: center;
}
.sidebar-right__dot--kills {
    background: var(--red);
    box-shadow: 0 0 6px rgba(200,64,64,0.4);
}
.sidebar-right__tab {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Top 5 Ranking */
.sidebar-right__ranking {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.sidebar-right__player {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(58,48,32,0.25);
    transition: background 0.2s ease;
}

.sidebar-right__player:last-child {
    border-bottom: none;
}

.sidebar-right__player:hover {
    background: rgba(212,160,48,0.06);
}

.sidebar-right__player--first {
    background: rgba(255,215,0,0.05);
    border-bottom-color: rgba(255,215,0,0.1);
}

.sidebar-right__player--first:hover {
    background: rgba(255,215,0,0.1);
}

.sidebar-right__player-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-right__player-row + .sidebar-right__player-row {
    margin-top: 4px;
}

.sidebar-right__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-right__dot--online {
    background: var(--green);
    box-shadow: 0 0 8px rgba(80,168,72,0.6);
    animation: dot-pulse 2s ease-in-out infinite;
}

.sidebar-right__dot--offline {
    background: var(--red);
    box-shadow: 0 0 6px rgba(200,64,64,0.4);
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(80,168,72,0.6); transform: scale(1); }
    50% { box-shadow: 0 0 4px rgba(80,168,72,0.3); transform: scale(0.9); }
}

.sidebar-right__player-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.sidebar-right__player-vocation {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-2);
}

.sidebar-right__player-level {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-left: auto;
}

.content-center { flex: 1; min-width: 0; max-width: 860px; }

/* ═══ TABLES ═══ */
table { color: #5A2800; width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; }
th, td { padding: 7px 10px; border-bottom: 1px solid #debb9d; }
th { text-align: left; font-weight: 700; color: #3a2a10; }

/* Box content text */
.box__content p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #5A2800;
}

.box__content a {
    color: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.box__content a:hover {
    color: #fff;
    text-decoration: none;
}

/* ═══ FORMS ═══ */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 4px; }
.form__label {
    font-family: var(--font-body); font-size: 13px; font-weight: 600;
    color: #4a3a20; text-transform: uppercase; letter-spacing: 0.5px;
}
.form__input, .form__select {
    padding: 12px; border-radius: 6px;
    border: 1px solid #95846b; background: #f5e6c8; color: #2a1a00;
    font-family: var(--font-body); font-size: 14px;
    transition: all .2s;
    caret-color: #2a1a00;
    cursor: text;
}
.form__input:focus, .form__select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,160,48,0.15);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══ BUTTONS ═══ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; font-family: var(--font-body); font-weight: 700; font-size: 15px;
    color: #1a1000; letter-spacing: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none; border-radius: 6px; cursor: pointer;
    transition: all .2s; text-decoration: none; text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(212,160,48,0.3);
    position: relative;
}
.btn:hover {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,160,48,0.4);
}
.btn:active { transform: translateY(0); }
.btn--block { width: 100%; }
a.btn--primary, .btn--primary {
    color: #fff !important;
    background: linear-gradient(180deg, var(--green) 0%, #3d8a36 100%);
    box-shadow: 0 2px 10px rgba(80, 168, 72, 0.3);
}
a.btn--primary:hover, .btn--primary:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #5dbd54 0%, var(--green) 100%);
    box-shadow: 0 5px 18px rgba(80, 168, 72, 0.4);
}
.btn--secondary {
    background: var(--bg-surface); color: var(--text-2);
    border: 1px solid var(--border); box-shadow: none;
}
.btn--secondary:hover {
    background: var(--bg-hover); color: var(--text);
    border-color: var(--border-light); box-shadow: none;
}
a.btn--danger, .btn--danger {
    color: #fff !important;
    background: linear-gradient(180deg, #d9534f 0%, #b52b27 100%);
    box-shadow: 0 2px 10px rgba(217, 83, 79, 0.25);
}
a.btn--danger:hover, .btn--danger:hover {
    background: linear-gradient(180deg, #e36f6b 0%, #d9534f 100%);
    box-shadow: 0 5px 18px rgba(217, 83, 79, 0.35);
}
.btn--small { padding: 8px 16px; font-size: 12px; letter-spacing: 1px; }

/* ═══ FOOTER ═══ */
.footer {
    text-align: center; padding: 30px 24px;
    font-size: 12px;
    margin-top: 30px; color: var(--text-3);
}

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.text-muted { color: var(--text-3); }
.text-gold { color: var(--gold); font-weight: 700; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }

/* ═══ ALERTS ═══ */
.alert {
    padding: 12px 16px; border-radius: 6px; margin-bottom: 16px;
    font-family: var(--font-body); font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.alert--success { background: rgba(80,168,72,0.12); border: 1px solid rgba(80,168,72,0.25); color: var(--green); }
.alert--danger { background: rgba(200,64,64,0.12); border: 1px solid rgba(200,64,64,0.25); color: var(--red); }

/* ═══ INFO ROWS ═══ */
/* ═══ ACCOUNT INFO ═══ */
.acc-info {
    border: 1px solid rgba(222,187,157,0.15);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.15));
}
.acc-info__top {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(212,160,48,0.08), rgba(212,160,48,0.02));
    border-bottom: 1px solid rgba(222,187,157,0.12);
}
.acc-info__brand { display: flex; align-items: center; gap: 14px; }
.acc-info__shield {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d4a030, #b8861e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(212,160,48,0.25);
}
.acc-info__brand-text { display: flex; flex-direction: column; gap: 1px; }
.acc-info__account-name {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: #1a0a00;
    line-height: 1.2;
}
.acc-info__member-since {
    font-family: var(--font-body);
    font-size: 11px;
    color: #8a7a6a;
}
.acc-info__points-card {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(212,160,48,0.1), rgba(212,160,48,0.04));
    border: 1px solid rgba(212,160,48,0.15);
    border-radius: 12px;
    padding: 10px 18px 8px;
    flex-shrink: 0;
    min-width: 100px;
}
.acc-info__points-label {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 700;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.acc-info__points-value {
    font-family: var(--font-num);
    font-size: 26px;
    font-weight: 700;
    color: #d4a030;
    line-height: 1;
    text-shadow: 0 0 20px rgba(212,160,48,0.1);
}
a.acc-info__points-btn, .acc-info__points-btn {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(180deg, var(--green) 0%, #3d8a36 100%);
    padding: 3px 14px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .25s ease;
}
a.acc-info__points-btn:hover, .acc-info__points-btn:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #5dbd54 0%, var(--green) 100%);
    transform: translateY(-1px);
}
.acc-info__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}
.acc-info__stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-right: 1px solid rgba(222,187,157,0.08);
    color: #8a7a6a;
}
.acc-info__stat:last-child { border-right: none; }
.acc-info__stat div { display: flex; flex-direction: column; gap: 1px; }
.acc-info__stat-value {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #2a1a00;
}
.acc-info__stat-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ═══ ACCOUNT CHARACTERS ═══ */
.acc-chars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.acc-char {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(222,187,157,0.1);
    border-radius: 12px;
    transition: all .25s ease;
}
.acc-char:hover { border-color: rgba(212,160,48,0.15); background: rgba(255,255,255,0.4); }
.acc-char__avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(90,40,0,0.04);
    border: 1px solid rgba(222,187,157,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.acc-char__avatar img { display: block; image-rendering: pixelated; }
.acc-char__info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.acc-char__nick {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #1a0a00;
    line-height: 1.2;
}
.acc-char__details { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-char__voc {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: .3px;
}
.acc-char__voc--knight { background: rgba(127,29,29,0.08); color: #7f1d1d; border: 1px solid rgba(127,29,29,0.12); }
.acc-char__voc--druid { background: rgba(20,83,45,0.08); color: #14532d; border: 1px solid rgba(20,83,45,0.12); }
.acc-char__voc--sorcerer { background: rgba(30,58,95,0.08); color: #1e3a5f; border: 1px solid rgba(30,58,95,0.12); }
.acc-char__voc--paladin { background: rgba(120,53,15,0.08); color: #78350f; border: 1px solid rgba(120,53,15,0.12); }
.acc-char__lv {
    font-family: var(--font-num);
    font-size: 12px;
    font-weight: 700;
    color: #d4a030;
}
.acc-char__sex {
    font-family: var(--font-body);
    font-size: 10px;
    color: #8a7a6a;
}
.acc-char__view {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a7a6a;
    background: rgba(90,40,0,0.04);
    border: 1px solid rgba(222,187,157,0.1);
    transition: all .2s;
    flex-shrink: 0;
    text-decoration: none;
}
.acc-char__view:hover { color: #d4a030; background: rgba(212,160,48,0.08); border-color: rgba(212,160,48,0.2); }

.acc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 0;
    color: #8a7a6a;
    font-family: var(--font-body);
    font-size: 14px;
}

/* Create Character */
.acc-create { border-top: 1px solid rgba(222,187,157,0.12); padding-top: 14px; }
.acc-create__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #d4a030, #b8861e);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .25s ease;
    box-shadow: 0 2px 10px rgba(212,160,48,0.2);
}
.acc-create__btn:hover {
    background: linear-gradient(135deg, #e0b040, #c8962a);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212,160,48,0.3);
}
.acc-create__drop { display: none; padding-top: 14px; }
.acc-create__drop--open { display: block; }

/* Password */
.acc-pass-wrap { max-width: 400px; margin: 0 auto; }
.acc-pass-wrap .btn { margin-top: 4px; }

/* ═══ PACKAGE CARDS ═══ */


/* ═══ STATUS BADGES ═══ */
.status-badge { font-family: var(--font-body); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 5px; text-transform: uppercase; letter-spacing: .3px; }
.status-badge--paid { background: rgba(80,168,72,0.12); color: var(--green); }
.status-badge--pending { background: var(--gold-bg); color: var(--gold); }
.status-badge--expired { background: var(--bg-elevated); color: #999; }
.status-badge--cancelled { background: rgba(200,64,64,0.15); color: var(--red); }

/* ═══ DEATH TAGS ═══ */
.death-tag { font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 5px; text-transform: uppercase; letter-spacing: .5px; font-family: 'Laila', Georgia, serif; }
.death-tag--pvp { background: rgba(184,48,48,0.1); color: #b83030; border: 1px solid rgba(184,48,48,0.2); }
.death-tag--pve { background: rgba(56,120,168,0.1); color: #3878a8; border: 1px solid rgba(56,120,168,0.2); }
.death-tag--unjust { background: rgba(184,48,48,0.12); color: #b83030; border: 1px solid rgba(184,48,48,0.25); }
.player-kill { font-size: 9px; font-weight: 700; background: var(--red); color: white; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; margin-left: 6px; }
.row--unjustified td { background: rgba(200,64,64,0.04); }

/* Death Cards */
.deaths-list { display: flex; flex-direction: column; gap: 8px; }
.death-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f5e6c8, #eddaa4);
    border: 1px solid #d4b88a;
    border-radius: 12px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 6px rgba(90,40,0,0.06);
}
.death-card:hover {
    border-color: #c09860;
    box-shadow: 0 6px 20px rgba(90,40,0,0.1);
    transform: translateY(-2px);
}
.death-card--pvp { border-left: 4px solid #b83030; }
.death-card--pve { border-left: 4px solid #3878a8; }
.death-card--unjust { border-left: 4px solid #b83030; background: linear-gradient(135deg, #f0d8c8, #e8c8b0); }
.death-card__side {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(90,40,0,0.06);
    border: 1px solid #d4b88a;
    color: #8a7050;
}
.death-card--pvp .death-card__side { color: #b83030; background: rgba(184,48,48,0.08); border-color: rgba(184,48,48,0.15); }
.death-card--pve .death-card__side { color: #3878a8; background: rgba(56,120,168,0.08); border-color: rgba(56,120,168,0.15); }
.death-card--unjust .death-card__side { color: #b83030; background: rgba(184,48,48,0.1); border-color: rgba(184,48,48,0.2); }
.death-card__skull { display: block; }
.death-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.death-card__message {
    font-family: 'Laila', Georgia, serif;
    font-size: 14px;
    color: #3a2a10;
    line-height: 1.5;
}
.death-card__player { font-weight: 700; color: #1a0a00; }
.death-card__action { color: #8a7a6a; font-weight: 400; }
.death-card--pvp .death-card__killer { font-weight: 700; color: #b83030; }
.death-card--pve .death-card__killer { font-weight: 700; color: #3878a8; }
.death-card--unjust .death-card__killer { font-weight: 700; color: #b83030; }
.death-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'Laila', Georgia, serif;
    font-size: 12px;
    color: #8a7a6a;
}
.death-card__level { font-weight: 600; color: #6a5a4a; }
.death-card__sep { color: #d4b88a; font-size: 8px; }
.death-card__time { color: #8a7a6a; }
.death-card__tag { margin-left: auto; }

/* ═══ RANK TABS / SKILL FILTER ═══ */

/* ── Rank Tabs ── */
.rank-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 4px;
    background: rgba(90, 40, 0, 0.04);
    border: 1px solid rgba(222, 187, 157, 0.35);
    border-radius: 12px;
}

.rank-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #7a5a3a;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .8px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    user-select: none;
}

.rank-tab::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(212, 160, 48, 0.06), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.rank-tab:hover {
    color: #3a2a10;
    background: rgba(212, 160, 48, 0.06);
    border-color: rgba(212, 160, 48, 0.15);
    transform: translateY(-1px);
}

.rank-tab:hover::after {
    opacity: 1;
}

.rank-tab--active {
    color: #1a1000;
    background: linear-gradient(180deg, #f0c850 0%, #d4a030 50%, #b8861e 100%);
    border-color: #c8963c;
    box-shadow:
        0 2px 8px rgba(212, 160, 48, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.rank-tab--active::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 60%);
}

.rank-tab__icon {
    font-size: 15px;
    line-height: 1;
}

.rank-tab__label {
    line-height: 1;
}

/* ── Skill Filter Panel ── */
.skill-filter {
    margin-bottom: 20px;
    background: rgba(90, 40, 0, 0.03);
    border: 1px solid rgba(222, 187, 157, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.skill-filter__header {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(90, 40, 0, 0.05);
    border-bottom: 1px solid rgba(222, 187, 157, 0.2);
    position: relative;
}

.skill-filter__header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 48, 0.3), transparent);
}

.skill-filter__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #5A2800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 12px;
}

.skill-filter__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(222, 187, 157, 0.25);
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    cursor: pointer;
}

.skill-filter__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(212, 160, 48, 0.06), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.skill-filter__btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(212, 160, 48, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 40, 0, 0.1);
}

.skill-filter__btn:hover::before {
    opacity: 1;
}

.skill-filter__btn:active {
    transform: translateY(0);
}

.skill-filter__btn--active {
    background: linear-gradient(180deg, #fff8ed, #f5e6d0);
    border-color: #d4a030;
    box-shadow:
        0 2px 8px rgba(212, 160, 48, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.skill-filter__btn--active::before {
    opacity: 1;
    background: linear-gradient(180deg, rgba(212, 160, 48, 0.08), transparent);
}

.skill-filter__btn--active::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a030, transparent);
    border-radius: 10px 10px 0 0;
    opacity: 0.6;
}

.skill-filter__btn-icon {
    font-size: 22px;
    line-height: 1;
    transition: transform .3s ease;
}

.skill-filter__btn:hover .skill-filter__btn-icon {
    transform: scale(1.15);
}

.skill-filter__btn--active .skill-filter__btn-icon {
    transform: scale(1.1);
}

.skill-filter__btn-label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: #5A2800;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.2;
    text-align: center;
}

.skill-filter__btn--active .skill-filter__btn-label {
    color: #3a1a00;
    font-weight: 700;
}

.skill-filter__btn-check {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d4a030;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(212, 160, 48, 0.4);
    animation: skill-check-in .3s cubic-bezier(.4,0,.2,1);
}

@keyframes skill-check-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .skill-filter__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        padding: 8px;
    }
    .skill-filter__btn {
        padding: 10px 6px 8px;
    }
    .skill-filter__btn-icon {
        font-size: 18px;
    }
    .rank-tab {
        padding: 8px 14px;
        font-size: 10px;
    }
}

.rank-medal { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; font-family: var(--font-num); font-size: 11px; font-weight: 700; }
.rank-medal--1 { background: linear-gradient(135deg, #ffd700, #ffec80); color: #1a1000; box-shadow: 0 2px 10px rgba(255,215,0,0.4); }
.rank-medal--2 { background: linear-gradient(135deg, #c0c0c0, #e0e0e0); color: #1a1000; }
.rank-medal--3 { background: linear-gradient(135deg, #cd7f32, #e8a848); color: #1a1000; }

/* ═══ ACCOUNT TABS ═══ */
.account-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(222, 187, 157, 0.3);
    margin-bottom: 14px;
}
.account-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 110px;
    height: 36px;
    padding: 0 14px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: url('../images/buttons/buttom-v1.png') no-repeat center;
    background-size: 100% 100%;
    border: none;
    border-radius: 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: filter .15s, transform .15s;
    user-select: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    white-space: nowrap;
}
.account-tab:hover {
    color: #5cb85c;
    filter: brightness(1.12);
    transform: translateY(-1px);
}
.account-tab--active {
    color: #5cb85c;
    background: url('../images/buttons/buttom-v1.png') no-repeat center;
    background-size: 100% 100%;
    border: none;
    box-shadow: none;
    filter: brightness(1.08) saturate(1.2);
    transform: translateY(-1px);
}
.account-tab__icon { width: 16px; height: 16px; flex-shrink: 0; display: block; }
.account-tab__label { line-height: 1; }
.account-tab__badge {
    display: inline;
    min-width: auto;
    height: auto;
    padding: 0;
    font-size: 10px;
    font-weight: 800;
    color: #ffeb3b;
    background: transparent;
    border: none;
    border-radius: 0;
    line-height: 1;
    box-shadow: none;
}
.account-tab--active .account-tab__badge {
    color: #ffeb3b;
    background: transparent;
    border: none;
}

/* ═══ POINTS SHOP ═══ */

/* Balance Card */
/* Points — inline styles in points.php */

/* ═══ CHARACTERS ═══ */

/* Search */
.char-search { margin-bottom: 20px; }
.char-search__row { display: flex; gap: 10px; }
.char-search__input {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #3a2a10;
    background: #f5e6c8;
    border: 1px solid #c0a880;
    border-radius: 8px;
    transition: border-color .2s, box-shadow .2s;
}
.char-search__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,48,0.15); }
.char-search__input::placeholder { color: #8a7a6a; }
.char-search__btn {
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, var(--gold) 0%, #b8861e 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .25s ease;
    white-space: nowrap;
}
.char-search__btn:hover { background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%); transform: translateY(-1px); }
.char-search__btn:active { transform: translateY(0); }

/* Player Info Card */
.char-info {
    background: rgba(255,255,255,0.4);
    border: 1px solid rgba(222,187,157,0.2);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 18px;
}
.char-info__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(222,187,157,0.15);
}
.char-info__avatar {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(90,40,0,0.04);
    border: 1px solid rgba(222,187,157,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.char-info__avatar img { display: block; }
.char-info__name { flex: 1; min-width: 0; }
.char-info__nick {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: #3a2a10;
    margin: 0;
    line-height: 1.2;
}
.char-info__vocation {
    font-family: var(--font-body);
    font-size: 12px;
    color: #8a7a6a;
    display: block;
    margin-top: 2px;
}
.char-info__level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.char-info__level-number {
    font-family: var(--font-num);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.char-info__level-label {
    font-size: 9px;
    font-weight: 600;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Details Grid */
.char-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
}
.char-details__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.char-details__label {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.char-details__value {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: #3a2a10;
}
.char-details__value--kills { color: #b85a1a; }

/* Equipment Table */
.char-equip { margin-bottom: 18px; }
.char-equip__table {
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 4px;
    width: 164px;
}
.char-equip__cell {
    padding: 0;
    width: 52px;
    background: #795548;
    border: 1px solid rgba(222,187,157,0.12);
    border-radius: 8px;
    text-align: center;
    transition: all .2s ease;
}
.char-equip__cell:hover {
    border-color: rgba(212,160,48,0.2);
    background: rgba(255,255,255,0.5);
}
.char-equip__cell--empty { opacity: .4; }
.char-equip__cell--empty:hover { opacity: .6; }
.char-equip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
}
.char-equip__img { width: 32px; height: 32px; display: block; }
.char-equip__empty-box { width: 32px; height: 32px; border: 1px dashed rgba(222,187,157,0.15); border-radius: 3px; }

/* Section Title */
.char-section__title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: #f1e0c5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
    padding: 8px 14px;
    background: linear-gradient(135deg, #3a2510, #4a3520);
    border-radius: 6px;
    border-left: 3px solid var(--gold);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Skills Grid */
.char-skills { margin-bottom: 18px; }
.char-skills__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.char-skills__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
    border: 1px solid rgba(222,187,157,0.25);
    border-radius: 12px;
    position: relative;
    transition: all 0.2s ease;
}
.char-skills__item:hover {
    border-color: rgba(212,160,48,0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(90,40,0,0.08);
}
.char-skills__item--magic {
    background: linear-gradient(180deg, rgba(160,64,128,0.08), rgba(160,64,128,0.03));
    border-color: rgba(160,64,128,0.25);
}
.char-skills__item--magic:hover {
    border-color: rgba(160,64,128,0.45);
    box-shadow: 0 4px 14px rgba(160,64,128,0.1);
}
.char-skills__icon {
    font-size: 20px;
    line-height: 1;
}
.char-skills__icon img {
    width: 24px;
    height: 24px;
}
.char-skills__value {
    font-family: var(--font-num);
    font-size: 20px;
    font-weight: 700;
    color: #3a2a10;
    line-height: 1;
}
.char-skills__item--magic .char-skills__value {
    color: #8b3a8b;
}
.char-skills__label {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 600;
    color: #8a7a6a;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.char-skills__bar {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(90,40,0,0.08);
    overflow: hidden;
    margin-top: 2px;
}
.char-skills__bar-fill {
    display: block;
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #d4a030, #f0c850);
}
.char-skills__item--magic .char-skills__bar-fill {
    background: linear-gradient(90deg, #8b3a8b, #b76eb7);
}

/* Deaths Section */
.char-deaths { margin-bottom: 4px; }

@media (max-width: 600px) {
    .char-info__header { flex-wrap: wrap; }
    .char-info__nick { font-size: 17px; }
    .char-info__level-number { font-size: 22px; }
    .char-details { grid-template-columns: repeat(2, 1fr); }
    .char-skills__grid { grid-template-columns: repeat(2, 1fr); }
    .char-search__row { flex-direction: column; }
    .char-search__btn { width: 100%; }
}

/* ═══ ONLINE / PAYMENT ═══ */
.online-count { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 14px; color: var(--text-2); background: rgba(0,0,0,0.3); border: 1px solid var(--border); padding: 8px 16px; border-radius: 6px; font-family: var(--font-num); }
.payment-info { border-bottom: 1px solid #debb9d; margin-bottom: 10px; }
.payment-info__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(222,187,157,0.2); }
.payment-info__row:last-child { border-bottom: none; }
.payment-info__row--total { padding-top: 16px; border-top: 1px solid #debb9d; border-bottom: none; }
.payment-info__label { font-family: var(--font-body); font-size: 14px; color: #5a4a30; }
.payment-info__value { font-family: var(--font-body); font-size: 14px; color: #3a2a10; font-weight: 600; }
.payment-info__value--gold { color: var(--gold); font-family: var(--font-num); font-weight: 700; }
.payment-timer { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; padding: 12px 18px; background: rgba(212, 120, 30, 0.08); border-radius: 8px; font-size: 13px; color: #b85a1a; border: 1px solid rgba(212, 120, 30, 0.15); }
.payment-timer strong { color: #b85a1a; font-weight: 700; }

/* Payment PIX */
.payment-pix { margin-top: 20px; padding-top: 20px; border-top: 1px solid #debb9d; }
.payment-pix__label { font-family: var(--font-body); font-size: 13px; color: #5a4a30; margin-bottom: 10px; }
.payment-pix__row { display: flex; gap: 10px; align-items: stretch; }
.payment-pix__code { flex: 1; padding: 12px 14px; font-family: var(--font-num); font-size: 11px; color: #3a2a10; background: #fff; border: 1px solid #c0a880; border-radius: 8px; resize: none; height: 80px; line-height: 1.5; }
.payment-pix__code:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(80,168,72,0.12); }
.payment-pix__copy { padding: 10px 20px; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--green) 0%, #3d8a36 100%); border: none; border-radius: 8px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: all .25s ease; box-shadow: 0 2px 8px rgba(80,168,72,0.2); white-space: nowrap; }
.payment-pix__copy:hover { background: linear-gradient(180deg, #5dbd54 0%, var(--green) 100%); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(80,168,72,0.3); }
.payment-pix__copy:active { transform: translateY(0); }
.payment-pix__qr { text-align: center; margin-top: 18px; }
.payment-pix__qr-box { display: inline-block; padding: 14px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(90,40,0,0.06); }
.payment-pix__qr-img { width: 180px; height: 180px; display: block; }
.payment-actions { display: flex; gap: 12px; margin-top: 20px; }
.payment-actions .btn { flex: 1; text-align: center; }
.success-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.6rem; margin: 0 auto 14px; background: rgba(80,168,72,0.12); color: var(--green); }
.pending-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.6rem; margin: 0 auto 14px; background: var(--gold-bg); color: var(--gold); animation: pulse 2s infinite; }

/* ═══ RESPONSIVE ═══ */
.desktop-only { display: block; }
@media (max-width: 1000px) {
    .layout { flex-direction: column; align-items: center; }
    .content-center { width: 100%; max-width: 100%; }
    .sidebar-left, .sidebar-right { width: 100%; min-width: 100%; max-width: 400px; }
    .desktop-only { display: none !important; }
}
@media (min-width: 769px) {
    .navbar { display: none; }
    .layout { margin-top: 182px; }
}
@media (max-width: 768px) {
    .navbar { display: block; }
    .navbar { margin-bottom: 182px; }
    .layout { margin-top: 0; }
}
    .navbar__container { width: 100%; max-width: 100%; padding: 0 16px; gap: 12px; box-sizing: border-box; }
    .navbar__menu-btn { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        height: 100dvh;
        width: min(300px, 82vw);
        max-width: 100%;
        background: rgba(10, 8, 5, 0.98);
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 2px;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        z-index: 1001;
        border-left: 1px solid rgba(212,160,48,0.10);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }
    .nav-links--open { right: 0; }
    .nav-links__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px 12px;
        border-bottom: 1px solid rgba(212,160,48,0.08);
        margin-bottom: 4px;
    }
    .nav-links__title {
        font-family: 'Martel', serif;
        font-size: 16px;
        font-weight: 700;
        color: var(--text-2);
        letter-spacing: 2px;
    }
    .nav-links__item { width: 100%; padding: 0 12px; }
    .nav-submenu-toggle {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        justify-content: space-between;
        border-radius: 8px;
    }
    .nav-submenu-toggle:hover {
        background: rgba(255,255,255,0.04);
        border-color: transparent;
    }
    .nav-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(212,160,48,0.10);
        border-radius: 10px;
        padding: 6px;
        margin: 6px 0 8px;
        box-shadow: none;
        min-width: auto;
        width: 100%;
        box-sizing: border-box;
        left: auto !important;
        right: auto !important;
    }
    .nav-submenu__link {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 6px;
        color: #f0e8d0;
        background: rgba(255,255,255,0.02);
        margin-bottom: 2px;
        border: 1px solid transparent;
    }
    .nav-submenu__link:hover { color: var(--gold-light); background: rgba(212,160,48,0.10); border-color: rgba(212,160,48,0.12); }
    .nav-submenu__link::before { display: none !important; }
    .nav-submenu__link { display: flex !important; }
    .nav-links__item--active > .nav-submenu { display: block !important; visibility: visible !important; opacity: 1 !important; transform: none !important; position: static !important; }
    .nav-links__item--active > .nav-submenu .nav-submenu__link { display: flex !important; visibility: visible !important; opacity: 1 !important; }
    .nav-links__item--active > .nav-submenu-toggle { background: rgba(212,160,48,0.12); border-color: rgba(212,160,48,0.22); color: var(--gold-light); }
    .nav-links__item--active .nav-submenu__arrow { transform: rotate(180deg); opacity: 1; }
    .nav-close-btn {
        display: flex;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .navbar__online {
        display: none;
    }
    .box { max-width: 95%; }
    .chain-spacer { max-width: 80%; }
    .box--wide { max-width: 95%; }
    .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .navbar__container {
        padding: 0 12px;
        gap: 8px;
        height: 64px;
    }
    .navbar__brand {
        gap: 8px;
    }
    .navbar__logo {
        font-size: 19px;
        letter-spacing: 3px;
    }
    .navbar__brand-icon { width: 32px; height: 32px; }
}

/* ═══ PRELOAD SCREEN ═══ */
.preload {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preload--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preload__content {
    text-align: center;
}

.preload__logo {
    font-family: 'Martel', serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 35px;
    text-shadow: 0 0 50px rgba(212,160,48,0.5);
    animation: preload-glow 2s ease-in-out infinite;
}

@keyframes preload-glow {
    0%, 100% { text-shadow: 0 0 50px rgba(212,160,48,0.4); }
    50% { text-shadow: 0 0 80px rgba(212,160,48,0.7), 0 0 120px rgba(212,160,48,0.3); }
}

.preload__bar {
    width: 220px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 18px;
    overflow: hidden;
}

.preload__progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px var(--gold);
}

.preload__text {
    font-family: 'Martel', serif;
    font-size: 16px;
    color: var(--text-2);
    letter-spacing: 4px;
    text-transform: uppercase;
}

.body--loaded {
    animation: body-fade-in 0.7s ease both;
}

@keyframes body-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══ ENHANCED VISUAL EFFECTS ═══ */
.box {
    transition: box-shadow 0.3s ease;
}

.box:hover {
    box-shadow: 0 0 40px rgba(0,0,0,0.5), 0 0 60px rgba(212,160,48,0.05);
}

.sidebar-left {
    transition: transform 0.3s ease;
}

.sidebar-left:hover {
    transform: translateY(-2px);
}

.sidebar-right {
    transition: transform 0.3s ease;
}

.sidebar-right:hover {
    transform: translateY(-2px);
}

/* Gold glow effect on cards */
.box__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,160,48,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box:hover .box__content::before {
    opacity: 1;
}

/* Enhanced button effects */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn:hover::after {
    opacity: 1;
}

/* Sidebar menu hover effect */
.sidebar-menu__link {
    position: relative;
}

.sidebar-menu__link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-menu__link:hover::before {
    opacity: 1;
}

/* ═══ BUTTON V1 (images/buttons/buttom-v1.png 148x36) ═══ */
.btn-v1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 36px;
    background: url('../images/buttons/buttom-v1.png') no-repeat center;
    background-size: 100% 100%;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    cursor: pointer;
    padding: 0 10px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.15s;
    image-rendering: auto;
}
.btn-v1:hover { filter: brightness(1.12); transform: translateY(-1px); color:#fff; }
.btn-v1:active { filter: brightness(0.95); transform: translateY(0); }
.btn-v1:disabled { filter: grayscale(0.6) opacity(0.6); cursor: not-allowed; transform: none; }
.btn-v1--small {
    width: 120px;
    height: 28px;
    font-size: 10px;
}
.btn-v1--shop {
    width: 110px;
    height: 26px;
    font-size: 9.5px;
    letter-spacing: 0.5px;
}

/* Enhanced live status */
.live-status {
    position: relative;
}

.live-status::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(212,160,48,0.1);
    border-radius: 8px;
    pointer-events: none;
}
