/* ==========================================================================
   ETERNAL QUEST WEB — LAUNCHER VISUAL DESIGN SYSTEM + MUX PORTAL LAYOUT
   ========================================================================== */

@font-face {
    font-family: "Ringbearer";
    src: url("/launcher-theme/fonts/Ringbearer.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PalatinoEQ";
    src: url("/launcher-theme/fonts/Palatino_Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PalatinoEQ";
    src: url("/launcher-theme/fonts/Palatino_Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --eq-bg-deep: #120F0D;
    --eq-surface: rgba(21, 17, 14, 0.92);
    --eq-surface-card: rgba(26, 21, 17, 0.90);
    --eq-surface-dark: rgba(15, 11, 9, 0.94);
    --eq-border-bronze: #8B6A37;
    --eq-border-mid: #7A5B2F;
    --eq-border-dark: #5E4624;
    --eq-gold-bright: #FFF4C2;
    --eq-gold: #E2AE4B;
    --eq-gold-soft: #F0C75E;
    --eq-gold-deep: #96631C;
    --eq-text-main: #F2E2BF;
    --eq-text-body: #DFCEAC;
    --eq-text-muted: #B7A37C;
    --eq-crimson-top: #7C2318;
    --eq-crimson-mid: #4B120C;
    --eq-crimson-bot: #2D0B07;
    --eq-crimson-hover-top: #A83222;
    --eq-crimson-hover-mid: #6E1A11;
    --eq-crimson-hover-bot: #41100A;
    --eq-online: #6AD44B;
    --eq-offline: #DC4C4C;
}

/* Base Page & Background */
html, body {
    min-height: 100%;
    background-color: var(--eq-bg-deep);
    color: var(--eq-text-body);
    font-family: "PalatinoEQ", "Palatino Linotype", Georgia, serif;
    font-size: 15px;
    line-height: 1.6;
}

body.eq-body {
    position: relative;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(18, 13, 10, 0.80) 0%, rgba(26, 19, 14, 0.66) 50%, rgba(13, 10, 8, 0.95) 100%),
        url("/launcher-theme/ui/bg_fantasy.png") no-repeat center center fixed;
    background-size: cover;
}

#eq-embers-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.eq-shell {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.eq-main-wrap {
    flex: 1 0 auto;
    padding: 20px 16px 40px;
}

a {
    color: var(--eq-gold);
    transition: color 0.18s ease;
}

a:hover, a:focus {
    color: var(--eq-gold-bright);
    text-decoration: none;
    outline: none !important;
}

/* Gold Gradient Title Utility */
.eq-title-font {
    font-family: "Ringbearer", "PalatinoEQ", serif;
    letter-spacing: 0.04em;
}

.eq-gold-gradient {
    display: inline-block;
    padding-top: 0.24em;
    padding-bottom: 0.08em;
    margin-top: -0.14em;
    line-height: 1.28;
    background: linear-gradient(180deg, #FFF4C2 0%, #E2AE4B 58%, #96631C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.eq-gold-text {
    color: var(--eq-gold-soft);
    font-weight: 700;
}

/* ==========================================================================
   NAVBAR (Header Red Grunge + Bronze Trim)
   ========================================================================== */
.eq-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    margin-bottom: 0;
    border: none;
    border-bottom: 2px solid var(--eq-border-bronze);
    border-radius: 0;
    background-color: #140F0C;
    background-image:
        linear-gradient(180deg, rgba(24, 15, 12, 0.72) 0%, rgba(16, 12, 10, 0.95) 100%),
        url("/launcher-theme/ui/header_red_grunge.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
}

.eq-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.eq-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 66px;
    padding: 8px 14px 8px 0;
    font-family: "Ringbearer", serif;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    overflow: visible;
}

.eq-navbar .navbar-brand .eq-gold-gradient {
    padding-top: 0.26em;
    margin-top: -0.08em;
}

.eq-brand-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.eq-navbar .navbar-nav > li > a {
    color: var(--eq-text-main) !important;
    font-family: "Ringbearer", serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 22px 13px;
    background: transparent !important;
    transition: color 0.18s ease, text-shadow 0.18s ease;
}

.eq-navbar .navbar-nav > li > a:hover,
.eq-navbar .navbar-nav > li > a:focus {
    color: var(--eq-gold-bright) !important;
    text-shadow: 0 0 10px rgba(226, 174, 75, 0.55);
}

.eq-navbar .navbar-nav > li.active > a {
    color: var(--eq-gold-soft) !important;
    position: relative;
}

.eq-navbar .navbar-nav > li.active > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--eq-gold), transparent);
}

.eq-navbar .navbar-toggle {
    margin-top: 15px;
    border-color: var(--eq-border-bronze);
    background-color: rgba(25, 19, 15, 0.9);
}

.eq-navbar .navbar-toggle:hover,
.eq-navbar .navbar-toggle:focus {
    background-color: rgba(54, 37, 25, 0.95);
}

.eq-navbar .navbar-toggle .icon-bar {
    background-color: var(--eq-gold-soft);
}

.eq-nav-cta-wrap {
    padding: 13px 6px !important;
    margin: 0;
}

.eq-nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px !important;
    border-radius: 4px;
    border: 1.5px solid #D9A84E !important;
    background: linear-gradient(180deg, var(--eq-crimson-top) 0%, var(--eq-crimson-mid) 60%, var(--eq-crimson-bot) 100%) !important;
    color: #FFF0C8 !important;
    font-family: "Ringbearer", serif;
    font-size: 12.5px !important;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 216, 136, 0.3), 0 3px 10px rgba(0, 0, 0, 0.5);
}

.eq-nav-cta-btn:hover {
    background: linear-gradient(180deg, var(--eq-crimson-hover-top) 0%, var(--eq-crimson-hover-mid) 60%, var(--eq-crimson-hover-bot) 100%) !important;
    border-color: #FFE28B !important;
    color: #FFFFFF !important;
}

.eq-nav-store-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px !important;
    border-radius: 4px;
    border: 1.2px solid var(--eq-border-bronze) !important;
    background: linear-gradient(180deg, rgba(64, 45, 22, 0.95), rgba(32, 23, 14, 0.95)) !important;
    color: var(--eq-gold-bright) !important;
    font-family: "Ringbearer", serif;
    font-size: 12.5px !important;
}

.eq-nav-store-btn:hover {
    border-color: #E8B959 !important;
    color: #FFFFFF !important;
}

.eq-navbar .social-media-icon {
    padding: 20px 6px !important;
    display: inline-block;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.eq-navbar .social-media-icon:hover {
    transform: translateY(-2px) scale(1.12);
    filter: drop-shadow(0 0 6px rgba(226, 174, 75, 0.65));
}

.eq-navbar .dropdown-menu.overlay {
    background-color: #191410 !important;
    border: 1.5px solid var(--eq-border-bronze) !important;
    border-radius: 5px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
    padding: 6px 0;
    min-width: 230px;
}

.eq-navbar .dropdown-menu.overlay > li > a {
    color: var(--eq-text-body) !important;
    font-family: "PalatinoEQ", serif;
    font-size: 13.5px;
    padding: 7px 16px;
}

.eq-navbar .dropdown-menu.overlay > li > a:hover,
.eq-navbar .dropdown-menu.overlay > li > a:focus {
    background-color: rgba(140, 106, 54, 0.25) !important;
    color: var(--eq-gold-bright) !important;
}

.eq-navbar .dropdown-menu.overlay > .divider {
    background-color: rgba(140, 106, 54, 0.45) !important;
    margin: 5px 0;
}

.eq-nav-account-toggle {
    color: var(--eq-gold-soft) !important;
}

/* ==========================================================================
   CARVED LAUNCHER BOARDS & BUTTONS
   ========================================================================== */
.eq-board {
    position: relative;
    background: var(--eq-surface);
    border: 2px solid var(--eq-border-mid);
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(244, 206, 124, 0.12),
        0 14px 34px rgba(0, 0, 0, 0.68);
}

.eq-btn-grunge {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 4px;
    border: 1.3px solid #8C6A36;
    background: linear-gradient(180deg, rgba(36, 27, 21, 0.96) 0%, rgba(22, 16, 12, 0.98) 100%);
    color: #F3DFB1 !important;
    font-family: "Ringbearer", serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(244, 206, 124, 0.18), 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: all 0.18s ease;
}

.eq-btn-grunge::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/launcher-theme/ui/btn_grunge.png") center/100% 100% no-repeat;
    opacity: 0.14;
    pointer-events: none;
}

.eq-btn-grunge > * {
    position: relative;
    z-index: 1;
}

.eq-btn-grunge:hover, .eq-btn-grunge:focus {
    background: linear-gradient(180deg, rgba(58, 40, 26, 0.98) 0%, rgba(36, 24, 16, 0.99) 100%);
    border-color: #E8B959;
    color: #FFE9AD !important;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(255, 233, 173, 0.3), 0 6px 16px rgba(0, 0, 0, 0.6);
}

.eq-btn-crimson {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 20px;
    border-radius: 5px;
    border: 2px solid #D9A84E;
    background:
        linear-gradient(180deg, rgba(124, 35, 24, 0.94) 0%, rgba(75, 18, 12, 0.96) 55%, rgba(45, 11, 7, 0.98) 100%);
    color: #FFF0C8 !important;
    font-family: "Ringbearer", serif;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 216, 136, 0.35), 0 6px 18px rgba(0, 0, 0, 0.6);
    transition: all 0.18s ease;
}

.eq-btn-crimson:hover, .eq-btn-crimson:focus {
    border-color: #FFE28B;
    background:
        linear-gradient(180deg, rgba(168, 50, 34, 0.97) 0%, rgba(110, 26, 17, 0.98) 55%, rgba(65, 16, 10, 1) 100%);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(255, 232, 165, 0.5), 0 8px 22px rgba(168, 50, 34, 0.4);
}

.eq-btn-block {
    display: flex;
    width: 100%;
}

.eq-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ==========================================================================
   HERO BANNER (Home Portal)
   ========================================================================== */
.eq-hero-wrap {
    max-width: 1260px;
    margin: 0 auto 22px;
}

.eq-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 28px 18px;
    background:
        radial-gradient(circle at 82% 45%, rgba(226, 174, 75, 0.16), transparent 52%),
        linear-gradient(135deg, rgba(22, 16, 13, 0.95) 0%, rgba(36, 23, 17, 0.90) 60%, rgba(16, 12, 10, 0.96) 100%);
}

.eq-hero-dragon {
    position: absolute;
    right: -14px;
    top: -16px;
    width: 210px;
    opacity: 0.22;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.eq-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.eq-hero-copy {
    flex: 1 1 auto;
    max-width: 720px;
}

.eq-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    border: 1px solid rgba(226, 174, 75, 0.45);
    background: rgba(18, 13, 10, 0.75);
    color: var(--eq-gold-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eq-hero-title {
    margin: 0 0 8px;
    padding-top: 4px;
    font-family: "Ringbearer", serif;
    font-size: 42px;
    line-height: 1.24;
    overflow: visible;
}

.eq-hero-subtitle {
    margin: 0 0 20px;
    color: var(--eq-text-body);
    font-size: 16.5px;
    max-width: 620px;
}

.eq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.eq-hero-cta-lg {
    height: 52px;
    padding: 0 26px;
    font-size: 17px;
}

.eq-hero-btn-lg {
    height: 52px;
    padding: 0 22px;
    font-size: 14px;
}

.eq-hero-art {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.eq-hero-warrior {
    height: 220px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.92));
    transform: scale(1.04);
}

/* Server Status Strip inside Hero (matches Launcher's SERVIDORES bar) */
.eq-server-strip {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 5px;
    border: 1px solid var(--eq-border-dark);
    background: rgba(18, 14, 11, 0.85);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.eq-server-strip-title {
    font-family: "Ringbearer", serif;
    color: #E5B75B;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    margin-right: 4px;
}

.eq-server-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #4E3B20;
    background: rgba(15, 11, 9, 0.82);
    font-size: 12.5px;
}

.eq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.eq-dot-online {
    background-color: var(--eq-online);
    box-shadow: 0 0 8px rgba(106, 212, 75, 0.8);
}

.eq-dot-offline {
    background-color: var(--eq-offline);
    box-shadow: 0 0 6px rgba(220, 76, 76, 0.6);
}

.eq-server-pill-name {
    font-weight: 700;
    color: var(--eq-text-main);
}

.eq-server-pill-count {
    color: var(--eq-text-muted);
    font-size: 12px;
}

/* ==========================================================================
   PORTAL TWO-COLUMN & FULL-WIDTH LAYOUTS
   ========================================================================== */
.eq-portal-grid {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;
    align-items: start;
}

.eq-portal-full {
    max-width: 1260px;
    margin: 0 auto;
}

.eq-main-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.eq-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ==========================================================================
   CAROUSEL SHOWCASE (Home)
   ========================================================================== */
.eq-carousel-board {
    padding: 10px;
}

.eq-carousel {
    border: 1.5px solid #8C6A36;
    border-radius: 5px;
    overflow: hidden;
    background: #0D0B09;
}

.eq-carousel .item {
    height: 410px;
}

.eq-carousel .item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eq-carousel-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: hidden;
    cursor: pointer;
}

.eq-carousel-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.84);
    transition: transform 0.35s ease, filter 0.25s ease;
}

.eq-carousel-video-wrap:hover .eq-carousel-poster {
    transform: scale(1.02);
    filter: brightness(0.95);
}

.eq-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 6px;
    border: 2px solid #D9A84E;
    background: linear-gradient(180deg, rgba(124, 35, 24, 0.94) 0%, rgba(75, 18, 12, 0.96) 55%, rgba(45, 11, 7, 0.98) 100%);
    color: #FFF0C8;
    font-family: "Ringbearer", serif;
    font-size: 14px;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 216, 136, 0.35);
    cursor: pointer;
    transition: all 0.18s ease;
}

.eq-carousel-video-wrap:hover .eq-video-play-btn {
    border-color: #FFE28B;
    background: linear-gradient(180deg, rgba(168, 50, 34, 0.97) 0%, rgba(110, 26, 17, 0.98) 55%, rgba(65, 16, 10, 1) 100%);
    color: #FFFFFF;
    transform: translate(-50%, -50%) scale(1.04);
}

.eq-video-play-triangle {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #FFE28B;
}

.eq-carousel-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.eq-carousel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: linear-gradient(180deg, rgba(24, 18, 14, 0.96), rgba(14, 10, 8, 0.98));
    border-top: 1px solid #5E4624;
}

.eq-carousel-bar-text {
    min-width: 0;
}

.eq-carousel-bar-title {
    margin: 0;
    font-family: "Ringbearer", serif;
    font-size: 15px;
    color: #F7D889;
    letter-spacing: 0.04em;
}

.eq-carousel-bar-desc {
    margin: 2px 0 0;
    color: var(--eq-text-body);
    font-size: 13px;
}

.eq-carousel .carousel-indicators {
    position: static;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eq-carousel .carousel-indicators li {
    width: 10px;
    height: 10px;
    margin: 0;
    border: 1.5px solid var(--eq-gold);
    background-color: rgba(18, 13, 10, 0.85);
}

.eq-carousel .carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: var(--eq-gold-soft);
}

.eq-carousel .carousel-control {
    top: 44%;
    bottom: auto;
    transform: translateY(-50%);
    width: 44px;
    height: 52px;
    background: none !important;
    opacity: 0.92;
    z-index: 6;
}

.eq-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(34, 25, 19, 0.94), rgba(18, 13, 10, 0.96));
    border: 1.2px solid #B68946;
    border-radius: 4px;
    color: #FFE9AD;
    font-size: 24px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.eq-carousel .left .eq-carousel-arrow { left: 10px; }
.eq-carousel .right .eq-carousel-arrow { right: 10px; }

.eq-carousel .carousel-control:hover .eq-carousel-arrow {
    border-color: #F3C969;
    color: #FFFFFF;
}

/* ==========================================================================
   IMPORTANT ALERT & NEWS SECTION (Launcher Panel Frame)
   ========================================================================== */
.eq-important-alert {
    padding: 12px 16px;
    border-radius: 5px;
    border: 1.5px solid #D98A3C;
    background: rgba(140, 29, 19, 0.34);
    color: #FFE6A8;
    font-size: 14.5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.eq-important-alert strong {
    display: inline-block;
    margin-bottom: 4px;
    font-family: "Ringbearer", serif;
    color: #FFF4C2;
    margin-right: 6px;
}

.eq-important-body {
    line-height: 1.55;
    overflow-wrap: break-word;
}

.eq-important-body a {
    color: #F4CE7C;
    text-decoration: underline;
}

.eq-section-panel {
    position: relative;
    padding: 18px 20px;
    overflow: hidden;
}

.eq-section-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/launcher-theme/ui/panel_frame.png") center/100% 100% no-repeat;
    opacity: 0.14;
    pointer-events: none;
}

.eq-section-panel > * {
    position: relative;
    z-index: 1;
}

.eq-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(182, 137, 70, 0.45);
}

.eq-section-title {
    margin: 0;
    font-family: "Ringbearer", serif;
    font-size: 20px;
    color: var(--eq-gold-soft);
    letter-spacing: 0.04em;
}

.eq-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 540px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #9A6B2F rgba(14, 10, 8, 0.55);
}

.eq-news-list::-webkit-scrollbar {
    width: 9px;
}

.eq-news-list::-webkit-scrollbar-track {
    background: rgba(14, 10, 8, 0.55);
    border: 1px solid rgba(110, 82, 43, 0.28);
    border-radius: 5px;
}

.eq-news-list::-webkit-scrollbar-thumb {
    background: rgba(154, 107, 47, 0.72);
    border: 1px solid rgba(240, 199, 94, 0.45);
    border-radius: 5px;
}

.eq-news-list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 155, 66, 0.9);
}

.eq-news-item {
    flex-shrink: 0;
    border: 1.2px solid #5E4624;
    border-radius: 6px;
    background: rgba(18, 14, 11, 0.84);
    overflow: hidden;
    transition: border-color 0.18s ease;
}

.eq-news-item:hover {
    border-color: var(--eq-border-bronze);
}

.eq-news-head {
    padding: 12px 16px;
    background: linear-gradient(180deg, rgba(42, 30, 21, 0.72), rgba(24, 18, 14, 0.85));
    border-bottom: 1px solid rgba(139, 106, 55, 0.35);
}

.eq-news-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.eq-news-title {
    margin: 0;
    font-family: "Ringbearer", serif;
    font-size: 16.5px;
    color: #FFF0C6;
}

.eq-news-title a {
    color: #FFF0C6;
}

.eq-news-title a:hover {
    color: var(--eq-gold-soft);
}

.eq-badge-fixed {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(22, 163, 74, 0.22);
    border: 1px solid rgba(106, 212, 75, 0.55);
    color: #9AF07A;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eq-news-meta {
    margin: 4px 0 0;
    color: var(--eq-text-muted);
    font-size: 12.5px;
}

.eq-news-body {
    padding: 14px 16px;
    color: var(--eq-text-body);
    font-size: 14.5px;
    overflow-wrap: break-word;
}

.eq-news-body img {
    max-width: 100%;
    height: auto !important;
    border-radius: 4px;
    border: 1px solid var(--eq-border-dark);
}

.eq-news-foot {
    padding: 10px 16px;
    background: rgba(14, 10, 8, 0.75);
    border-top: 1px solid rgba(94, 70, 36, 0.4);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================================================
   TOP 5 RANKING PREVIEW (Home)
   ========================================================================== */
.eq-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--eq-text-body);
}

.eq-table th {
    padding: 10px 12px;
    background: rgba(34, 24, 17, 0.95);
    border-bottom: 1.5px solid var(--eq-border-bronze);
    color: var(--eq-gold-soft);
    font-family: "Ringbearer", serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eq-table td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(94, 70, 36, 0.35);
    vertical-align: middle;
}

.eq-table tbody tr:hover {
    background: rgba(140, 106, 54, 0.12);
}

.eq-medal-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.eq-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-weight: 700;
    color: var(--eq-text-muted);
}

.eq-guild-tag {
    color: var(--eq-gold);
    font-size: 12px;
    margin-right: 4px;
}

/* ==========================================================================
   SIDEBAR WIDGET — DADOS DO SERVIDOR & ESTATISTICAS (MuX Style + Launcher)
   ========================================================================== */
.eq-sidebar-card {
    padding: 16px;
}

.eq-sidebar-account-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.eq-sidebar-mini-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.eq-sidebar-card-title {
    font-family: "Ringbearer", serif;
    font-size: 15px;
    color: var(--eq-gold-bright);
    line-height: 1.2;
}

.eq-sidebar-card-sub {
    font-size: 12.5px;
    color: var(--eq-text-muted);
}

.eq-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eq-account-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.eq-account-metric {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--eq-border-dark);
    background: rgba(15, 11, 9, 0.8);
    text-align: center;
}

.eq-metric-label {
    display: block;
    font-size: 11px;
    color: var(--eq-text-muted);
    text-transform: uppercase;
}

.eq-metric-value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--eq-text-main);
}

.eq-sidebar-widget {
    padding: 16px 14px 18px;
    background:
        linear-gradient(180deg, rgba(16, 12, 10, 0.96) 0%, rgba(22, 17, 13, 0.94) 100%);
}

/* Ornamental Title Header matching MuX screenshot */
.eq-ornament-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0 12px;
    color: #DFCEAC;
}

.eq-ornament-title-spaced {
    margin-top: 20px;
}

.eq-ornament-title h3 {
    margin: 0;
    font-family: "Ringbearer", serif;
    font-size: 15.5px;
    color: var(--eq-gold-bright);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.eq-flourish {
    width: 42px;
    height: 22px;
    flex: 0 0 auto;
    color: #C9B282;
    opacity: 0.85;
}

.eq-flourish-right {
    transform: scaleX(-1);
}

/* Split Chevron Rows matching MuX screenshot */
.eq-stat-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.eq-stat-row {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: stretch;
    min-height: 31px;
    border-radius: 6px;
    overflow: hidden;
    background: #1C1612;
    border: 1px solid #4A371E;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.42);
}

.eq-stat-label {
    display: flex;
    align-items: center;
    padding: 4px 8px 4px 11px;
    color: #F0E3C7;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eq-stat-value {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 18px;
    background: #F6F0E4;
    color: #18130F;
    font-size: 12.5px;
    font-weight: 700;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eq-stat-value-status {
    gap: 6px;
}

.eq-status-online {
    color: #15803D;
    font-weight: 700;
}

.eq-status-offline {
    color: #B91C1C;
    font-weight: 700;
}

.eq-badge-pill {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.35;
    color: #FFFFFF;
}

.eq-badge-exp {
    background-color: #10B981;
}

.eq-badge-mode {
    background-color: #8B6A37;
}

.eq-stat-value-onlines {
    color: #C58617;
    font-weight: 700;
}

.eq-discord-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.eq-discord-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ==========================================================================
   SUBPAGE WRAPPER & BOOTSTRAP 3 LAUNCHER COMPATIBILITY LAYER
   ========================================================================== */
.eq-subpage-board {
    padding: 20px 24px;
}

.eq-subpage-header {
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(182, 137, 70, 0.45);
}

.eq-subpage-header h2 {
    margin: 0;
    font-family: "Ringbearer", serif;
    font-size: 26px;
    color: var(--eq-gold-soft);
    letter-spacing: 0.04em;
}

/* Override legacy Bootstrap 3 panels/holders so WebStore, Admin, Account, Ranking look cohesive */
.panel.overlay,
.panel.parent.overlay {
    background-color: rgba(18, 14, 11, 0.88) !important;
    border: 1.5px solid var(--eq-border-dark) !important;
    border-radius: 6px;
    color: var(--eq-text-body) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.panel.overlay > .panel-heading,
.panel.parent.overlay > .panel-heading {
    background: linear-gradient(180deg, rgba(42, 30, 21, 0.85), rgba(22, 16, 12, 0.92)) !important;
    border-bottom: 1px solid var(--eq-border-dark) !important;
    color: var(--eq-gold-bright) !important;
}

.panel.overlay > .panel-heading h2,
.panel.overlay > .panel-heading h3,
.panel.overlay > .panel-heading h4 {
    font-family: "Ringbearer", serif;
    color: var(--eq-gold-soft);
}

.panel.overlay > .panel-body,
.panel.parent.overlay > .panel-body {
    background-color: rgba(16, 12, 10, 0.78) !important;
    color: var(--eq-text-body) !important;
}

.panel.overlay > .panel-footer,
.panel.parent.overlay > .panel-footer {
    background-color: rgba(15, 11, 9, 0.92) !important;
    border-top: 1px solid var(--eq-border-dark) !important;
    color: var(--eq-text-muted) !important;
}

.holder.overlay {
    background-color: rgba(18, 14, 11, 0.88) !important;
    border: 1.5px solid var(--eq-border-dark) !important;
    border-radius: 6px;
    padding: 28px !important;
    color: var(--eq-text-body) !important;
}

.card {
    background-color: transparent;
    border: none;
}

.card-header h4 {
    font-family: "Ringbearer", serif;
    color: var(--eq-gold-soft);
}

.form-control,
.form-control.overlay {
    background-color: rgba(15, 11, 9, 0.9) !important;
    border: 1.2px solid var(--eq-border-dark) !important;
    color: var(--eq-text-main) !important;
    border-radius: 4px;
}

.form-control:focus,
.form-control.overlay:focus {
    border-color: var(--eq-gold) !important;
    box-shadow: 0 0 8px rgba(226, 174, 75, 0.35) !important;
}

select.form-control option {
    background-color: #1B1510;
    color: #EAD8B0;
}

.control-label {
    color: var(--eq-text-main);
}

.text-muted {
    color: var(--eq-text-muted) !important;
}

.text-info {
    color: var(--eq-gold-soft) !important;
}

.text-warning {
    color: #F4CE7C !important;
}

hr {
    border-top: 1px solid rgba(139, 106, 55, 0.35);
}

/* Clean form layout when inside a page with Sidebar */
.eq-has-sidebar .holder .form-horizontal .col-lg-offset-2 {
    margin-left: 0;
}

.eq-has-sidebar .holder .form-horizontal .col-lg-2 {
    width: 28%;
}

.eq-has-sidebar .holder .form-horizontal .col-lg-4 {
    width: 68%;
}

.eq-has-sidebar .holder .form-horizontal .col-lg-offset-4 {
    margin-left: 28%;
    width: 68%;
}

/* Buttons compatibility */
.btn-outline {
    background-color: rgba(24, 18, 14, 0.88);
    border-radius: 4px;
    transition: all 0.18s ease;
}

.btn-primary.btn-outline {
    border-color: #8B6A37;
    color: #F3DFB1;
}

.btn-primary.btn-outline:hover {
    background-color: #7C2318;
    border-color: #E8B959;
    color: #FFFFFF;
}

.btn-success.btn-outline {
    border-color: #4D8B41;
    color: #9AF07A;
}

.btn-success.btn-outline:hover {
    background-color: #2E6B27;
    border-color: #6AD44B;
    color: #FFFFFF;
}

.btn-warning.btn-outline {
    border-color: #B68946;
    color: #F4CE7C;
}

.btn-warning.btn-outline:hover {
    background-color: #8B6224;
    border-color: #FFE28B;
    color: #FFFFFF;
}

.btn-danger.btn-outline {
    border-color: #8C2D23;
    color: #F2A29B;
}

.btn-danger.btn-outline:hover {
    background-color: #7C2318;
    border-color: #D9534F;
    color: #FFFFFF;
}

.btn-default.btn-outline {
    border-color: #6E522B;
    color: #DFCEAC;
}

.btn-default.btn-outline:hover {
    background-color: #362519;
    border-color: #E8B959;
    color: #FFF0C6;
}

/* Alerts */
.alert.overlay {
    background-color: rgba(20, 15, 12, 0.9) !important;
    border-width: 1.5px;
    border-radius: 5px;
}

.alert-success.overlay {
    color: #8FE36A;
    border-color: #4D8B41;
}

.alert-info.overlay {
    color: #F2E2BF;
    border-color: #8B6A37;
}

.alert-warning.overlay {
    color: #FFE28B;
    border-color: #D98A3C;
}

.alert-danger.overlay {
    color: #F5A39E;
    border-color: #9E3026;
}

/* Tabs (WebStore etc.) */
.nav-tabs.nav-tabs-outline {
    border-bottom: 1.5px solid var(--eq-border-dark);
}

.nav-tabs.nav-tabs-outline > li > a {
    background-color: rgba(22, 17, 13, 0.9);
    border-color: var(--eq-border-dark);
    color: var(--eq-text-main);
    font-family: "Ringbearer", serif;
    font-size: 13px;
}

/* Tables (Ranking / Orders / Admin) */
.table.overlay,
.table-dark {
    background-color: rgba(16, 12, 10, 0.88) !important;
    color: var(--eq-text-body) !important;
    border: 1px solid var(--eq-border-dark);
}

.table-dark > thead > tr > th,
.table.overlay > thead > tr > th {
    background-color: rgba(34, 24, 17, 0.96) !important;
    border-bottom: 1.5px solid var(--eq-border-bronze) !important;
    color: var(--eq-gold-soft);
    font-family: "Ringbearer", serif;
    font-size: 12px;
    letter-spacing: 0.03em;
}

.table-dark > tbody > tr > td,
.table.overlay > tbody > tr > td {
    border-top: 1px solid rgba(94, 70, 36, 0.35) !important;
    vertical-align: middle !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(140, 106, 54, 0.14) !important;
}

.thumbnail.overlay {
    background-color: rgba(18, 14, 11, 0.85) !important;
    border: 1.2px solid var(--eq-border-dark);
}

/* Download Page Cards */
.eq-download-panel {
    margin-bottom: 16px;
}

.eq-download-list {
    padding-left: 18px;
    margin-bottom: 0;
}

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

/* ==========================================================================
   FOOTER (Bottom Bar Texture)
   ========================================================================== */
.eq-footer {
    flex-shrink: 0;
    border-top: 2px solid var(--eq-border-bronze);
    background-color: #110D0B;
    background-image:
        linear-gradient(180deg, rgba(18, 13, 10, 0.82), rgba(10, 8, 6, 0.96)),
        url("/launcher-theme/ui/bottom_bar.png");
    background-size: cover;
    background-position: center;
    padding: 18px 16px;
}

.eq-footer-inner {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
}

.eq-footer-copy {
    color: var(--eq-text-muted);
    font-size: 13px;
}

.eq-footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.eq-footer-lang select {
    background: #1B1510;
    color: #EAD8B0;
    border: 1.2px solid #8C6A36;
    border-radius: 3px;
    padding: 4px 10px;
    font-family: "PalatinoEQ", serif;
    font-size: 12.5px;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    .eq-portal-grid {
        grid-template-columns: 1fr;
    }

    .eq-hero-grid {
        flex-direction: column;
        text-align: center;
    }

    .eq-hero-actions {
        justify-content: center;
    }

    .eq-hero-warrior {
        height: 180px;
    }

    .eq-hero-title {
        font-size: 32px;
    }

    .eq-carousel .item {
        height: 300px;
    }

    .eq-has-sidebar .holder .form-horizontal .col-lg-2,
    .eq-has-sidebar .holder .form-horizontal .col-lg-4,
    .eq-has-sidebar .holder .form-horizontal .col-lg-offset-4 {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .eq-navbar .navbar-nav > li > a {
        padding: 11px 14px;
    }

    .eq-navbar .social-media-icon {
        padding: 10px 8px !important;
    }

    .eq-subpage-board {
        padding: 16px;
    }

    .eq-carousel .item {
        height: 230px;
    }

    .eq-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
