/* Modern ReClassic RO Styles */

/* Custom cursor global - aplica em TODOS os elementos clicáveis e scrollbars */
a, button, [onclick], input[type="submit"], input[type="button"], input[type="checkbox"],
input[type="radio"], select, label[for], .clickable, [role="button"] {
    cursor: url('../assets/hand-cursor.gif'), pointer !important;
}

*::-webkit-scrollbar-thumb {
    cursor: url('../assets/hand-cursor.gif'), pointer !important;
}

:root {
    /* Tema azul modernizado */
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #4fc3f7;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --bg-gradient: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(41, 128, 185, 0.8));

    /* Glassmorphism variables */
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --dark-border: #334155;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(30, 41, 59, 0.85);
    --glass-border: rgba(79, 195, 247, 0.2);
    --card-radius: 12px;
    --header-radius: 8px;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize scrolling performance */
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

/* GPU acceleration for transformed elements */
.card, .navbar, .btn-custom, .sticky-header {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body {
    z-index: 0;
    background-image: url('../assets/prontera.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-attachment: scroll;
    background-color: #0F172A;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    color: var(--light-color);
    /* Spacing for sticky header */
    padding-top: 65px !important;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    /* Minimum height to account for footer */
    min-height: 100vh;
}

/* Mobile spacing for sticky header and footer nav */
@media (max-width: 768px) {
    body {
        padding-top: 55px !important;
        padding-bottom: 90px !important; /* Space for mobile footer nav */
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.95));
    z-index: -1;
    pointer-events: none;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
    overflow-x: hidden;
}

.logo {
    margin-top: 5px;
    width: 218px;
    animation: pulse 4s linear infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
}

p {
    color: var(--dark-color);
}

a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.table-dark th {
    background-color: var(--secondary-color);
}

.footer-table a {
    color: var(--primary-color);
}

.footer-table a:hover {
    color: var(--secondary-color);
}

.database th, .comercio th, .vote-sites th, .table-chars th, .conta-table th, .ranking th {
    background-color: rgba(52, 152, 219, 0.2);
    color: var(--secondary-color);
}

.database tr:hover, .comercio tr:hover, .vote-sites tr:hover, .table-chars tr:hover, .ranking tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.radio-item label {
    color: var(--dark-color);
}

#filter_ranking a {
    color: var(--primary-color);
}

#filter_ranking a:hover {
    color: var(--secondary-color);
}

#filter_ranking a.disabled {
    color: var(--dark-color);
    opacity: 0.6;
}

h1, h2, h3, p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

h3 {
    font-weight: 600;
}

.card {
    background-color: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.btn-custom {
    background: var(--primary-color);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-custom:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Removendo estilos da navbar que não são mais necessários */
.navbar, .nav-link, .navbar-brand {
    display: none;
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-logo {
    max-width: 230px;
    animation: pulse 3s infinite ease-in-out;
}

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-top: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(249, 250, 251, 0.8);
}

.text-accent {
    color: var(--accent-color);
}

.text-light-50 {
    color: rgba(249, 250, 251, 0.7);
}

.main-content {
    flex: 1;
}

#swf-container {
    width: 100%;
    max-width: 760px;
    height: 404px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#swf-placeholder {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 760px;
    height: 404px;
    margin: 20px auto;
    position: relative;
}

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-top: 8px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

footer {
    background-color: rgba(15, 23, 42, 0.95);
    padding: 3rem 0 1.5rem;
    position: relative;
    margin-top: 5rem;
}

.game-stats {
    background-color: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1rem;
    color: rgba(249, 250, 251, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.table-dark {
    background-color: rgba(15, 23, 42, 0.5);
    color: var(--light-color);
}

.table-dark th, .table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Improved responsive styling */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-logo {
        max-width: 207px;
    }
    
    #swf-container, #swf-placeholder {
        max-width: 90%;
        height: 350px;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
        font-size: 14px;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        width: 172px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #swf-placeholder, #swf-container, .spinner, ruffle-player {
        height: 300px !important;
    }
    
    .btn-custom {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .card:hover {
        transform: none;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .main-logo {
        max-width: 172px;
    }
    
    #swf-placeholder, #swf-container, .spinner, ruffle-player {
        height: 250px !important;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn-custom {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-section {
        min-height: 50vh;
    }
}

@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    body {
        font-size: 13px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    #swf-placeholder, #swf-container, .spinner, ruffle-player {
        height: 200px !important;
    }
}

/* Ensure buttons always have appropriate sizing */
.d-flex.flex-wrap .btn-custom {
    margin: 5px;
}

/* Preserving some existing styles that might be needed */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.popup {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 120px;
    background-color: transparent;
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.popup-bg {
    width: 100%;
    height: 100%;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.1);
    display: block;
}

.close {
    position: absolute;
    top: 95px;
    right: 7px;
    font-size: 18px;
    font-weight: bold;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    width: 37px;
    height: 20px;
    background-color: transparent;
    border: none;
}

#loginForm input[type="text"],
#loginForm input[type="password"] {
    position: absolute;
    left: 89px;
    padding: 2px;
    border: 1px solid #ccc;
    background-color: transparent;
    width: 127px;
    height: 20px;
    color: #333;
}

#username {
    top: 26px;
}

#password {
    top: 60px;
}

#loginForm button {
    position: absolute;
    top: 95px;
    left: 190px;
    background-color: transparent;
    border: none;
    width: 40px;
    height: 20px;
    cursor: pointer;
    opacity: 0;
}

#loginError {
    position: absolute;
    bottom: 5px;
    right: 75px;
    width: 100%;
    text-align: center;
    color: red;
    display: none;
}

.fluxcp-popup {
    display: none;
    position: fixed;
    z-index: 1000000 !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 615px;
    height: 280px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease, height 0.3s ease, transform 0.3s ease;
}

.fluxcp-popup-content {
    width: 100%;
    height: 100%;
    position: relative;
}

#fullscreenButton {
    position: absolute;
    top: 0px;
    right: 592px;
    /* Positioned to the left of the close button */
    z-index: 1000001;
    background-color: transparent;
    /* Remove background color */
    border: none;
    /* Remove border */
    color: #343a40;
    /* Set the icon color */
    font-size: 18px;
    /* Adjust icon size */
    padding: 0;
    /* Remove padding */
}

#fullscreenButton:focus {
    outline: none;
    /* Ensure the focus outline is removed */
}

#fullscreenButton:hover {
    color: #000;
    /* Change icon color on hover */
    background-color: transparent;
    /* Ensure background remains transparent on hover */
}

.fluxcp-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.fluxcp-close:hover {
    color: #000;
}

.hidden-close-button {
    display: none;
    position: absolute;
    top: 79%;
    left: 85%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000001;
    opacity: 0;
    text-indent: -9999px;
}

.hidden-close-button:hover {
    background-color: #ff0000;
}

.infoblocks {
    background-color: #fff;
    padding: 10px;
    padding-top: 20px;
    /* padding-left: 110px; */
    border-radius: 0px;
    margin-top: -40px;
    text-align: left;
    width: 1070px;
    height: auto;
    margin-left: -65px;
    padding-bottom: 50px;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
}

/* Styles for the left and right images */
.left-image,
.right-image {
    position: absolute;
    top: 0;
    /* Align to the top of the container */
    width: 100px;
    /* Adjust the size of the images as needed */
}

.news-events {
    background-color: #fff;
    padding: 10px;
    padding-top: 20px;
    /* padding-left: 110px; */
    border-radius: 0px;
    margin-top: -45px;
    text-align: left;
    width: 1070px;
    height: auto;
    margin-top: 130px;
    margin-left: -265px;
    padding-bottom: 50px;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .news-events {
        zoom: 0.90;
        width: auto;
        margin-left: 0;
    } 
}

.registration-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 100px auto;
    width: 100%;
    max-width: 800px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.error {
    color: white;
    padding: 2px 0;
    font-size: 10pt;
    margin-top: 5px;
    background: red;
    justify-content: center; 
    display: flex!important; 
    align-items: center;
}

.input-error {
    border-color: red;
}

.reg-button {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
}

.success-message {
    color: white;
    background-color: green;
    font-size: 12pt;
    text-align: center;
    margin-top: 20px;
}

@media only screen and (max-width: 850px) and (max-width: 932px) {
    .registration-form {
        margin-left: auto;
        margin-right: auto;
        margin-top: -70px;
        /* Push the form up on mobile */
        width: 100%;
        max-width: 95%;
        /* Ensure the form is not too wide on small screens */
        padding: 15px;
    }

    .registration-form table {
        width: 100%;
    }

    .registration-form input {
        width: 100%;
    }

    .registration-form .reg-button {
        display: block;
        margin: 0 auto;
    }

    .cinza {
        margin-left: 23px;
    }

    .registrese {
        right: 20%;
        position: relative;
        transform: translateX(-50%);
    }
}

.registration-form td {
    vertical-align: middle;
    /* Vertically center the content within table cells */
}

@media only screen and (max-width: 844px) {
    .registration-form {
        margin-left: auto;
        margin-right: auto;
        margin-top: -100px;
        width: 100%;
        max-width: 95%;
        padding: 15px;
    }

    .registration-form table {
        width: 90%;
        /* Ensure the table is full width */
    }

    .registration-form input {
        width: 85%;
    }

    .registration-form .reg-button {
        display: block;
        margin: 0 auto;
        /* Center the button horizontally */
    }

    .registration-form .npc {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Center the NPC and its contents */
        text-align: center;
        /* Center the text within */
    }

    .hidethis {
        display: none;
        /* Hide the .hidethis class elements */
    }

    .registration-form td {
        vertical-align: middle;
        /* Vertically center the content within table cells */
    }
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    max-width: 400px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.success-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-popup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.disabled{
    pointer-events: none;
}

#overlay-TrocarSenha,
#overlay-TrocarEmail{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s;
}

#overlay-TrocarSenha.active,
#overlay-TrocarEmail.active{
    display: block;
    opacity: 1;
}

input[type="text"],input[type="password"],input[type="email"] {
    border: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../assets/bg_search.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 200px;
    height: 32px; padding: 0 0 0 5px;
}

/* Reset global input styles inside login/register forms */
.login-form .input-wrapper input[type="text"],
.login-form .input-wrapper input[type="password"],
.login-form .input-wrapper input[type="email"] {
    background-image: none;
    width: 100%;
    height: 48px;
    padding: 0 15px 0 45px;
}

input[type="number"] {
    border: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url('../assets/bg_search_number.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    width: 70px;
    height: 20px; padding: 0 0 0 5px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
    border: none;
    outline: none;
}

/* Para Chrome, Edge e Safari */
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

/* Para o Firefox */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para o Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.card-title {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .registration-form {
        width: 95%;
        margin: 80px auto 20px;
        padding: 15px;
    }
}

.infoblocks2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 30px 20px;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

@media (max-width: 768px) {
    .infoblocks2 {
        width: 90%;
        padding: 20px 15px;
    }
}

.infoblocks2 h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Remove qualquer espaço superior nas seções e containers principais */
.container {
    margin-top: 0;
}

section.container:first-of-type {
    margin-top: 0;
}

/* ===============================================
   MOBILE FOOTER NAVIGATION BAR
   Only visible on screens 768px and below
   =============================================== */

/* Hide on desktop */
.mobile-footer-nav,
.mobile-drawer,
.mobile-drawer-overlay {
    display: none;
}

/* Mobile-only styles */
@media (max-width: 768px) {

    /* Hide existing floating account button on mobile */
    .pixel-account-float {
        display: none !important;
    }

    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 70px;
    }

    /* Hide footer on mobile (only show mobile nav bar) */
    footer {
        display: none !important;
    }

    /* ===== MOBILE-FRIENDLY: ESCONDER LOGOS ===== */
    .sticky-logo {
        display: none;
    }

    .logo-wrapper,
    .main-logo,
    .logo-glow {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding-top: 15px !important;
    }

    .hero-section.compact-page {
        padding-top: 10px !important;
    }

    /* ===== MOBILE-FRIENDLY: FOOTER COMPACTO ===== */
    footer {
        padding: 1.5rem 0 1rem;
        margin-top: 2rem;
    }

    footer .col-lg-2,
    footer .col-lg-4:last-child {
        display: none;
    }

    footer .col-lg-4:first-child {
        text-align: center;
    }

    footer img[alt="ReClassic Logo"] {
        max-width: 100px;
        margin-bottom: 0.5rem;
    }

    footer .col-lg-4:first-child > p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }

    footer hr {
        margin: 1rem 0;
    }

    footer .row:last-child {
        text-align: center;
    }

    footer .row:last-child p {
        font-size: 0.75rem;
    }

    footer .row:last-child .col-md-6:last-child {
        display: none;
    }

    /* ===== MOBILE-FRIENDLY: PERFORMANCE ===== */
    .logo-pulse {
        animation: none;
    }

    .pixel-float-button {
        animation: none;
    }

    .card:hover {
        transform: none;
    }

    .main-logo::before {
        display: none;
    }

    body {
        background-attachment: scroll;
    }

    body::before {
        background-attachment: scroll;
    }

    /* ===== MOBILE-FRIENDLY: UX MELHORIAS ===== */
    .btn-custom {
        min-height: 44px;
        width: 100%;
        padding: 12px 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .card {
        margin-bottom: 1rem;
    }

    .sticky-header {
        height: 50px;
    }

    .sticky-header-container {
        justify-content: space-between;
    }
}

/* ===============================================
   TABLET & MOBILE NAVIGATION (≤1200px)
   Bottom bar + Drawer menu for all non-desktop sizes
   =============================================== */
@media (max-width: 1200px) {
    body {
        padding-bottom: 70px;
    }

    .modern-footer {
        padding-bottom: 90px;
    }

    /* ===== MOBILE FOOTER NAV BAR ===== */
    .mobile-footer-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--glass-bg);
        border-top: 1px solid var(--glass-border);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
    }

    .mobile-footer-nav-container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 65px;
        max-width: 100%;
        padding: 0 5px;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--light-color);
        font-family: 'Montserrat', sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 8px 5px;
        transition: all 0.2s ease;
        flex: 1;
        max-width: 70px;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
        color: var(--accent-color);
    }

    .mobile-nav-item span {
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-nav-item:hover,
    .mobile-nav-item:active {
        color: var(--accent-color);
        background: radial-gradient(ellipse at center bottom, rgba(79, 195, 247, 0.15) 0%, transparent 70%);
    }

    /* Center Marketplace Button - Prominent */
    .mobile-nav-balance {
        position: relative;
        flex: none;
        width: 80px;
    }

    .mobile-nav-balance-icon {
        width: 46px;
        height: 46px;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        border: 2px solid var(--accent-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -20px;
        position: relative;
        box-shadow: 0 4px 20px rgba(79, 195, 247, 0.5);
        animation: pulse-balance 2.5s ease-in-out infinite;
    }

    .mobile-nav-balance-icon::before {
        content: '';
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        border: 1px solid rgba(79, 195, 247, 0.3);
        border-radius: 50%;
        pointer-events: none;
    }

    .mobile-nav-balance-icon i {
        font-size: 1.3rem;
        color: white;
        margin-bottom: 0;
    }

    .mobile-nav-balance span {
        margin-top: 4px;
        font-size: 0.55rem;
    }

    .mobile-nav-balance:hover .mobile-nav-balance-icon,
    .mobile-nav-balance:active .mobile-nav-balance-icon {
        box-shadow: 0 4px 30px rgba(79, 195, 247, 0.7);
        transform: scale(1.05);
    }

    @keyframes pulse-balance {
        0%, 100% {
            box-shadow: 0 4px 20px rgba(79, 195, 247, 0.5);
        }
        50% {
            box-shadow: 0 4px 28px rgba(79, 195, 247, 0.7);
        }
    }

    /* ===== MOBILE DRAWER OVERLAY ===== */
    .mobile-drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 10000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-drawer-overlay.active {
        display: block;
        opacity: 1;
    }

    /* ===== MOBILE DRAWER ===== */
    .mobile-drawer {
        display: block;
        position: fixed;
        top: 0;
        left: -240px;
        width: 240px;
        height: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10001;
        transition: left 0.3s ease;
        border-right: 1px solid var(--glass-border);
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }

    .mobile-drawer.active {
        left: 0;
    }

    .mobile-drawer-header {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 18px 15px;
        border-bottom: 1px solid var(--glass-border);
        background: rgba(31, 41, 55, 0.3);
    }

    .mobile-drawer-logo {
        max-width: 180px;
        height: auto;
        filter: drop-shadow(0 0 8px rgba(79, 195, 247, 0.3));
    }

    .mobile-drawer-close {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        color: #a1a1aa;
        border-radius: 50%;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .mobile-drawer-close:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #f4f4f5;
        transform: rotate(90deg);
    }

    .mobile-drawer-content {
        padding: 15px 0;
    }

    .mobile-drawer-item {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        text-decoration: none;
        color: var(--light-color);
        font-family: 'Montserrat', sans-serif;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .mobile-drawer-item i {
        width: 30px;
        font-size: 1.2rem;
        color: var(--accent-color);
        margin-right: 15px;
    }

    .mobile-drawer-item:hover,
    .mobile-drawer-item:active {
        background-color: rgba(79, 195, 247, 0.1);
        border-left-color: var(--primary-color);
        color: var(--accent-color);
    }

    .mobile-drawer-item-primary {
        background-color: rgba(52, 152, 219, 0.2);
    }

    .mobile-drawer-item-primary i {
        color: var(--primary-color);
    }

    .mobile-drawer-item-danger {
        color: #ff6b6b;
    }

    .mobile-drawer-item-danger i {
        color: #ff6b6b;
    }

    .mobile-drawer-divider {
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(79, 195, 247, 0.3), transparent);
        margin: 10px 20px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .mobile-nav-item {
        font-size: 0.6rem;
        padding: 6px 3px;
    }

    .mobile-nav-item i {
        font-size: 1.1rem;
    }

    .mobile-nav-balance-icon {
        width: 40px;
        height: 40px;
        margin-top: -16px;
    }

    .mobile-nav-balance-icon i {
        font-size: 1.1rem;
    }

    .mobile-nav-balance span {
        font-size: 0.5rem;
    }
}

/* ===============================================
   STICKY HEADER - MODERNIZED
   =============================================== */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 60px;
    display: flex;
    align-items: center;
    overflow: visible;
}

.sticky-header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sticky-logo img {
    height: 52px;
    width: auto;
    image-rendering: auto;
    filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.5)) drop-shadow(0 0 15px rgba(79, 195, 247, 0.25));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(79, 195, 247, 0.8)) drop-shadow(0 0 25px rgba(79, 195, 247, 0.4)) drop-shadow(0 0 40px rgba(79, 195, 247, 0.2));
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cash Display - indicador não clicável */
.sticky-cash-display {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
}

.sticky-cash-display i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Divisor vertical */
.sticky-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 4px;
}

/* Botão Recarregar (ícone circular) */
.sticky-recharge-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    color: #22c55e;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sticky-recharge-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.6);
    color: #4ade80;
    text-decoration: none;
}

.sticky-recharge-btn i {
    font-size: 0.85rem;
}

/* Botão Conta - ícone circular clean */
.sticky-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    overflow: visible;
    position: relative;
    clip-path: inset(-200% -15% -200% -15%);
    color: #a1a1aa;
    text-decoration: none;
    transition: all 0.15s ease;
}

.sticky-account-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f4f4f5;
    text-decoration: none;
}

.sticky-account-btn i {
    font-size: 0.95rem;
}

.sticky-avatar-img {
    position: absolute;
    width: auto;
    height: auto;
    object-fit: none;
    left: 40%;
    top: -32%;
    transform: translate(-50%, -50%) scale(1.2) scaleX(-1);
    image-rendering: pixelated;
}

/* Botão Login - shadcn/ui style */
.sticky-login-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #f4f4f5;
    color: #18181b;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.sticky-login-btn:hover {
    background: #e4e4e7;
    color: #18181b;
}

/* Mobile adjustments for sticky header */
@media (max-width: 768px) {
    .sticky-header {
        height: 50px;
    }

    .sticky-header-container {
        padding: 0 12px;
        justify-content: space-between;
    }

    .sticky-logo img {
        height: 44px;
    }

    .sticky-actions {
        gap: 6px;
    }

    .sticky-cash-display {
        padding: 0 4px;
        font-size: 0.75rem;
    }

    .sticky-divider {
        height: 20px;
        margin: 0 2px;
    }

    .sticky-recharge-btn {
        width: 28px;
        height: 28px;
    }

    .sticky-recharge-btn i {
        font-size: 0.75rem;
    }

    .sticky-account-btn {
        width: 40px;
        height: 40px;
    }

    .sticky-login-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

/* ===============================================
   RMT MARKETPLACE PAGE - DARK THEME
   =============================================== */
.rmt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

.rmt-header {
    text-align: center;
    margin-bottom: 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 20px 10px;
}

.rmt-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 4px 0;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.rmt-title .highlight {
    color: var(--accent-color);
}

.rmt-header p {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.rmt-user-balance {
    display: inline-flex;
    align-items: center;
    background: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
    color: #2ecc71;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 8px;
}

.rmt-user-balance i {
    margin-right: 8px;
    color: #ffd700;
}

.rmt-login-notice {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: 8px;
    padding: 12px 20px;
    margin: 12px auto;
    max-width: 450px;
    color: #ffc107;
}

.rmt-login-notice i {
    margin-right: 8px;
}

.rmt-login-notice a {
    color: var(--accent-color);
    font-weight: bold;
}

.rmt-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Card de item - Layout horizontal */
.rmt-item-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    display: flex;
    gap: 8px;
    align-items: center;
}

.rmt-item-card:hover {
    border-color: rgba(79, 195, 247, 0.3);
    background: rgba(30, 41, 59, 0.85);
}

/* Sprite do item - lado esquerdo */
.rmt-item-image {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-top: 1px;
}

.rmt-item-image img {
    max-height: 24px;
    max-width: 24px;
    object-fit: contain;
}

/* Informacoes do item - lado direito */
.rmt-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}

.rmt-item-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.rmt-item-name .refine {
    color: #ff9800;
    font-weight: 600;
}

.rmt-item-name .item-slots {
    font-size: 0.8rem;
    font-weight: 500;
    color: #a78bfa;
    margin-left: 2px;
}

.rmt-item-name .item-stock {
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

.rmt-item-card > .item-price {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.rmt-item-name-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rmt-item-name-link:hover {
    color: #4fc3f7;
    text-decoration: none;
}

.rmt-item-name-link .refine {
    color: #ff9800;
}

.rmt-item-name-link .item-slots {
    color: #a78bfa;
}

.rmt-item-cards {
    font-size: 0.8rem;
    color: #ff9800;
}

.rmt-item-cards i {
    margin-right: 4px;
}

/* Vendedor/Comprador inline ao lado da unidade */
.rmt-item-seller-inline,
.rmt-item-buyer-inline {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.15s ease;
    white-space: nowrap;
}

.rmt-item-seller-inline:hover {
    color: #60a5fa;
}

.rmt-item-seller-inline:hover .seller-name {
    text-decoration: underline;
}

.rmt-item-seller-inline i,
.rmt-item-buyer-inline i {
    display: inline;
    font-size: 0.65rem;
    margin-right: 4px;
    margin-left: 8px;
    opacity: 0.6;
}

.rmt-item-buyer-inline {
    color: rgba(34, 197, 94, 0.6);
    cursor: default;
}

.rmt-item-buyer-inline i {
    color: #22c55e;
}

/* Preco e botao - lado direito */
.rmt-item-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 120px;
}

.rmt-item-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4fc3f7;
    font-family: 'Montserrat', sans-serif;
    text-align: right;
}

.rmt-item-price .cash-amount {
    color: #4fc3f7;
}

.rmt-item-price .cash-icon {
    vertical-align: middle;
}

.rmt-item-price .currency {
    color: #4fc3f7;
}

.rmt-buy-btn {
    padding: 8px 18px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(37, 99, 235, 0.2);
    margin-left: 12px;
}

.rmt-buy-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(37, 99, 235, 0.25);
}

.rmt-buy-btn:active {
    background: #1e40af;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transform: scale(0.98);
}

.rmt-buy-btn:disabled {
    background: rgba(100, 116, 139, 0.15);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rmt-buy-btn i {
    margin-right: 6px;
}

.rmt-empty {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-align: center;
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.6);
}

.rmt-empty i {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    display: block;
}

.rmt-empty h3 {
    color: #ffffff;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rmt-empty p {
    color: rgba(255, 255, 255, 0.6);
}

.rmt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    flex-wrap: wrap;
}

.rmt-pagination a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
}

.rmt-pagination a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.rmt-pagination span {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Mobile adjustments for RMT page */
@media (max-width: 768px) {
    .rmt-container {
        margin: 0;
        padding: 10px;
        padding-bottom: 100px;
    }

    .rmt-grid {
        grid-template-columns: 1fr;
    }

    .rmt-header h2 {
        font-size: 1.4rem;
    }

    .rmt-item-price {
        font-size: 1.3rem;
    }

    .rmt-pagination {
        gap: 10px;
    }

    .rmt-pagination a {
        flex: 1;
        text-align: center;
        min-width: 100px;
    }
}

/* ===============================================
   RMT PAGE - LAYOUT COM SIDEBAR
   =============================================== */

/* Layout Principal */
.rmt-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 20px;
    gap: 20px;
}

/* Sidebar de Filtros */
.rmt-sidebar {
    width: 240px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-x: hidden;
    overflow-y: auto;
    flex-shrink: 0;
}

.rmt-sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.rmt-sidebar-header i {
    margin-right: 10px;
    color: var(--accent-color);
}

.rmt-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.rmt-sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    gap: 12px;
}

.rmt-sidebar-item:hover {
    background: rgba(79, 195, 247, 0.08);
    color: var(--text-primary);
}

.rmt-sidebar-item.active {
    background: rgba(79, 195, 247, 0.12);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    font-weight: 600;
}

.rmt-sidebar-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
}

.rmt-sidebar-item:hover i,
.rmt-sidebar-item.active i {
    color: inherit;
}

/* Campo de Busca na Sidebar */
.rmt-sidebar-search {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rmt-sidebar-search form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.rmt-sidebar-search input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
    height: 38px;
    box-sizing: border-box;
}

.rmt-sidebar-search input[type="text"]::placeholder {
    color: var(--text-secondary);
}

.rmt-sidebar-search input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.rmt-sidebar-search button {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rmt-sidebar-search button:hover {
    background: #29b6f6;
}

/* Conteudo Principal */
.rmt-main-content {
    flex: 1;
    min-width: 0;
}

/* Ajustar container existente para funcionar dentro do layout */
.rmt-layout .rmt-container {
    max-width: none;
    padding: 0;
}

/* Filtros Ativos */
.rmt-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(79, 195, 247, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(79, 195, 247, 0.15);
}

.rmt-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.rmt-filter-tag i {
    font-size: 0.7rem;
}

.rmt-filter-tag.seller-tag {
    background: #8b5cf6;
}

.rmt-item-buyer {
    font-size: 0.8rem;
    color: #22c55e;
}

.rmt-item-buyer i {
    margin-right: 4px;
}

.rmt-item-buyer .buyer-name {
    font-weight: 500;
    color: #ffffff;
}

.rmt-sold-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.rmt-reserved-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 0.8rem;
    color: #f59e0b;
}

.rmt-reserved-status i {
    margin-right: 4px;
}

.rmt-reserved-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rmt-reserved-timer {
    font-size: 0.7rem;
    opacity: 0.8;
}

.rmt-reserved-buyer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
}

.rmt-reserved-buyer:hover {
    color: #fff;
    text-decoration: underline;
}

/* Indicador de reservas (inline com vendedor) */
.rmt-reservation-text {
    color: #f59e0b;
    font-size: 0.65rem;
    font-weight: 500;
    margin-left: 6px;
}

/* Botao quando usuario ja reservou */
.rmt-buy-btn.rmt-btn-reserved {
    background: linear-gradient(135deg, #059669, #047857);
}

.rmt-buy-btn.rmt-btn-reserved:hover {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Posicao relativa no item-image para o badge */
.rmt-item-image {
    position: relative;
}

.rmt-clear-filters {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    margin-left: auto;
    transition: color 0.2s ease;
}

.rmt-clear-filters:hover {
    color: #ef5350;
}

.rmt-clear-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.rmt-clear-btn:hover {
    background: #29b6f6;
}

/* ===============================================
   RMT - SPRITES DAS CARTAS
   =============================================== */

.rmt-item-cards-sprites {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3px 8px;
    margin: 2px 0;
}

.rmt-card-sprite {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    font-size: 0.72rem;
    color: #ff9800;
}

.rmt-card-sprite:hover {
    opacity: 0.8;
}

.rmt-card-sprite::after {
    display: none;
}

.rmt-card-sprite:hover::after {
    display: none;
    visibility: visible;
}

.rmt-card-sprite img {
    display: block;
}

/* Nome da carta inline */
.rmt-card-sprite .card-name {
    display: inline;
    font-size: 0.72rem;
    color: #ff9800;
    white-space: nowrap;
}

/* Random Options estilo melhorado */
.rmt-item-options {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.75rem;
    color: #ab47bc;
    text-align: left;
    padding: 4px 8px;
    background: rgba(171, 71, 188, 0.1);
    border-radius: 4px;
    line-height: 1.3;
    border: 1px solid rgba(171, 71, 188, 0.15);
}

/* ===============================================
   RMT - MOBILE RESPONSIVO (SIDEBAR)
   =============================================== */

@media (max-width: 992px) {
    .rmt-layout {
        flex-direction: column;
        padding: 10px;
    }

    .rmt-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 12px;
    }

    .rmt-sidebar-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .rmt-sidebar-nav::-webkit-scrollbar {
        display: none;
    }

    .rmt-sidebar-item {
        padding: 10px 14px;
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .rmt-sidebar-item:hover,
    .rmt-sidebar-item.active {
        border-left: none;
        border-bottom-color: var(--accent-color);
    }
}

@media (max-width: 768px) {
    .rmt-layout {
        display: grid;
        grid-template-areas:
            "sidebar"
            "filters"
            "content";
        grid-template-columns: 1fr;
        padding: 10px;
        padding-bottom: 100px;
        gap: 12px;
    }

    .rmt-sidebar {
        grid-area: sidebar;
        border-radius: 8px;
    }

    .rmt-main-content {
        display: contents;
    }

    .rmt-main-content .rmt-container {
        display: contents;
    }

    .rmt-header {
        padding: 5px 10px 10px;
    }

    .rmt-grid {
        grid-area: content;
    }

    .rmt-active-filters {
        grid-area: filters;
        flex-wrap: wrap;
    }

    .rmt-clear-filters {
        margin-left: 0;
        margin-top: 5px;
        width: 100%;
        text-align: center;
    }

    .rmt-sidebar-header {
        display: none;
    }

    .rmt-sidebar-nav {
        flex-direction: row;
        padding: 8px;
        gap: 6px;
    }

    .rmt-sidebar-item {
        padding: 8px 14px;
        border-radius: 6px;
        border-left: none;
        border-bottom: none;
        background: rgba(255, 255, 255, 0.05);
        font-size: 0.85rem;
    }

    .rmt-sidebar-item.active {
        background: rgba(79, 195, 247, 0.15);
        border: 1px solid rgba(79, 195, 247, 0.3);
        color: var(--accent-color);
    }

    .rmt-sidebar-item:hover {
        border-bottom: none;
        background: rgba(79, 195, 247, 0.08);
    }

    .rmt-sidebar-search {
        padding: 8px;
        border-top: none;
    }

    .rmt-sidebar-search input[type="text"] {
        padding: 8px 12px;
        font-size: 0.85rem;
        height: 36px;
    }

    .rmt-sidebar-search button {
        width: 36px;
        height: 36px;
    }

    .rmt-item-cards-sprites {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2px 6px;
    }

    .rmt-card-sprite {
        gap: 3px;
    }

    .rmt-card-sprite .card-name {
        font-size: 0.7rem;
    }

    .rmt-active-filters {
        padding: 8px 10px;
        gap: 6px;
    }

    .rmt-filter-tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .rmt-item-card {
        padding: 12px;
        gap: 6px;
    }

    .rmt-item-image {
        width: 22px;
        height: 22px;
    }

    .rmt-item-image img {
        max-height: 22px;
        max-width: 22px;
    }

    .rmt-item-info {
        gap: 5px;
    }

    .rmt-item-name {
        font-size: 0.85rem;
    }

    .rmt-item-seller-inline,
    .rmt-item-buyer-inline {
        font-size: 0.7rem;
        padding-left: 8px;
    }

    .rmt-item-actions {
        min-width: 85px;
        gap: 6px;
    }

    .rmt-item-price {
        font-size: 0.85rem;
    }

    .rmt-buy-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .rmt-sidebar-item span {
        display: none;
    }

    .rmt-sidebar-item i {
        margin: 0;
    }

    .rmt-sidebar-item {
        padding: 10px 12px;
    }
}

/* ===============================================
   DATABASE & VER ITEM PAGES - STYLES
   =============================================== */

/* Breadcrumb with back arrow - works on both desktop and mobile */
.db-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin: 0 0 15px 0;
    font-family: 'Pixelify Sans', sans-serif;
    font-size: 16px;
}

.db-breadcrumb .back-arrow {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 8px;
    transition: transform 0.2s ease;
    line-height: 1;
}

.db-breadcrumb .back-arrow:hover {
    transform: translateX(-4px);
    color: var(--secondary-color);
}

.db-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.db-breadcrumb a:hover {
    text-decoration: underline;
}

.db-breadcrumb .separator {
    color: #999;
    margin: 0 4px;
}

.db-breadcrumb .current {
    color: #666;
}

/* Mobile-only adjustments for database pages */
@media (max-width: 768px) {
    /* Keep dark background on mobile */
    body.database-page::before {
        display: block;
    }

    body.database-page {
        background-color: #0F172A;
    }

    body.database-page .hero-section {
        background: transparent;
        min-height: 0;
        padding: 5px 0 !important;
    }

    /* Infoblocks container adjustments - mobile only */
    body.database-page .infoblocks {
        background: transparent;
        margin-top: 0;
        box-shadow: none;
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        padding: 10px;
        padding-bottom: 120px;
    }

    .db-breadcrumb {
        font-size: 14px;
    }

    .db-breadcrumb .back-arrow {
        font-size: 24px;
    }
}

/* ===============================================
   DATABASE LAYOUT - MODERN SIDEBAR DESIGN
   =============================================== */

/* Database Layout Container */
.db-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
    padding: 0 20px 20px;
}

/* Database Sidebar */
.db-sidebar {
    width: 260px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 20px 0;
    flex-shrink: 0;
    position: sticky;
    top: 85px;
    height: fit-content;
    max-height: calc(100vh - 105px);
    margin-right: 20px;
}

.db-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.db-sidebar-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    gap: 12px;
}

.db-sidebar-item:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--text-primary);
    border-left-color: var(--accent-color);
}

.db-sidebar-item.active {
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    font-weight: 600;
}

.db-sidebar-item i {
    width: 24px;
    font-size: 1.1rem;
    text-align: center;
}

/* Database Main Content */
.db-main-content {
    flex: 1;
    min-width: 0;
}

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.db-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0;
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.12), 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Modern Search Box */
.db-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.db-search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.db-search-input {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    width: 250px !important;
    height: auto !important;
    transition: all 0.3s ease;
    background-image: none !important;
}

.db-search-input::placeholder {
    color: var(--text-secondary);
}

.db-search-input:focus {
    border-color: var(--accent-color) !important;
    outline: none !important;
    box-shadow: 0 0 15px rgba(79, 195, 247, 0.2);
}

.db-search-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.db-search-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

/* Modern Pagination */
.db-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.db-page-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.db-page-arrow {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.db-page-arrow:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.1);
}

.db-page-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Monster/Item List Rows */
.db-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.db-list-row {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 16px;
}

.db-list-row:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.db-row-sprite {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-row-sprite img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.db-row-id {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 55px;
}

.db-row-name {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.db-slots-badge {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-left: 2px;
}

.db-row-badge {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.db-row-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    min-width: 75px;
}

.db-row-stat i {
    font-size: 0.85rem;
}

.db-row-stat svg {
    flex-shrink: 0;
}

.db-row-stat img {
    width: 16px;
    height: 16px;
}

/* Zeny coin icon - used globally */
.zeny-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    image-rendering: auto;
}

.db-row-arrow {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.db-list-row:hover .db-row-arrow {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* Database Home Page Cards */
.db-home-welcome {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.db-home-welcome p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: none;
}

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

.db-home-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.db-home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.db-home-card:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.db-home-card:hover::before {
    opacity: 1;
}

.db-home-card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.db-home-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 195, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.db-home-card-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.db-home-card-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.db-home-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.db-home-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.db-home-card-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ff9800;
    text-transform: uppercase;
}

.db-home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.db-home-card-link i {
    transition: transform 0.3s ease;
}

.db-home-card:hover .db-home-card-link i {
    transform: translateX(5px);
}

/* Filter Toggle Button */
.db-filter-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.db-filter-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.db-filter-toggle.active {
    background: rgba(79, 195, 247, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Filter Panel */
.db-filters {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.db-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.db-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.db-filter-item:hover {
    background: rgba(79, 195, 247, 0.1);
}

.db-filter-item input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.db-filter-item input[type="radio"]:checked {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.db-filter-item label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Empty State */
.db-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.db-empty-state i {
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.db-empty-state p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.db-empty-state a {
    color: var(--accent-color);
    text-decoration: none;
}

.db-empty-state a:hover {
    text-decoration: underline;
}

/* Database Footer */
.db-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.db-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.db-footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.db-footer-logo span {
    color: #ff9800;
}

.db-footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.db-footer-social {
    display: flex;
    gap: 15px;
}

.db-footer-social a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.db-footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* ========================== Database Items Layout (estilo marketplace) ========================== */
/* Esconder sidebar principal nas páginas de itens */
.db-layout-items .db-sidebar {
    display: none;
}

.db-layout-items .db-main-content {
    width: 100%;
}

.db-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin-bottom: 12px;
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.db-back-link:hover {
    color: var(--accent-color);
}

.db-items-header {
    text-align: center;
    margin-bottom: 15px;
    padding: 20px 20px 15px;
}

.db-items-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin: 0 0 4px 0;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.db-items-title .highlight {
    color: var(--accent-color);
}

.db-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.db-items-layout {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

/* Sidebar de Filtros - Items */
.db-items-sidebar {
    width: 240px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-x: hidden;
    overflow-y: auto;
    flex-shrink: 0;
}

.db-items-sidebar-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.db-items-sidebar-header i {
    margin-right: 10px;
    color: var(--accent-color);
}

.db-items-sidebar-header svg {
    flex-shrink: 0;
}

.db-items-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.db-items-sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    gap: 12px;
}

.db-items-sidebar-item:hover {
    background: rgba(79, 195, 247, 0.08);
    color: var(--text-primary);
}

.db-items-sidebar-item.active {
    background: rgba(79, 195, 247, 0.12);
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    font-weight: 600;
}

.db-items-sidebar-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
}

.db-items-sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 16px 12px;
    border-top: 1px solid var(--glass-border);
}

.db-items-sub-item {
    padding: 5px 12px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s;
}

.db-items-sub-item:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--text-primary);
    text-decoration: none;
}

.db-items-sub-item.active {
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    border-color: rgba(79, 195, 247, 0.3);
    font-weight: 600;
}

.db-items-sidebar-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Campo de Busca na Sidebar - Items */
.db-items-sidebar-search {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.db-items-sidebar-search form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.db-items-sidebar-search input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
    height: 38px;
    box-sizing: border-box;
}

.db-items-sidebar-search input[type="text"]::placeholder {
    color: var(--text-secondary);
}

.db-items-sidebar-search input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

.db-items-sidebar-search button {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.db-items-sidebar-search button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

/* Conteúdo Principal - Items */
.db-items-content {
    flex: 1;
    min-width: 0;
}

/* Filtros Ativos - Items */
.db-items-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(79, 195, 247, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(79, 195, 247, 0.15);
}

.db-items-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
}

.db-items-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: auto;
}

.db-items-clear-filters:hover {
    color: #ff6b6b;
}

/* Responsive - Items Layout */
@media (max-width: 992px) {
    .db-items-layout {
        flex-direction: column;
    }

    .db-items-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }

    .db-items-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 4px 0;
        -webkit-overflow-scrolling: touch;
    }

    .db-items-sidebar-item {
        white-space: nowrap;
        flex-shrink: 0;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .db-items-sidebar-item.active {
        border-left: none;
        border-bottom-color: var(--accent-color);
    }
}

/* Mobile: sidebar como dropdown colapsável */
@media (max-width: 768px) {
    .db-items-title {
        font-size: 1.4rem;
    }

    .db-subtitle {
        font-size: 0.85rem;
    }

    .db-items-layout {
        flex-direction: column;
        gap: 15px;
    }

    .db-items-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        border-radius: 10px;
        overflow: hidden;
    }

    /* Esconder tudo exceto o primeiro header */
    .db-items-sidebar .db-items-sidebar-nav,
    .db-items-sidebar .db-items-sidebar-search,
    .db-items-sidebar .db-items-sidebar-header:not(:first-child) {
        display: none;
    }

    /* Quando expandida */
    .db-items-sidebar.mobile-expanded .db-items-sidebar-nav,
    .db-items-sidebar.mobile-expanded .db-items-sidebar-search,
    .db-items-sidebar.mobile-expanded .db-items-sidebar-header:not(:first-child) {
        display: flex;
    }

    /* Header vira botão toggle */
    .db-items-sidebar-header {
        cursor: pointer;
        user-select: none;
    }

    /* Primeiro header (Filtros) - indicador de toggle */
    .db-items-sidebar-header:first-child {
        display: flex;
        align-items: center;
    }

    .db-items-sidebar-header:first-child::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--text-secondary);
        border-bottom: 2px solid var(--text-secondary);
        transform: rotate(45deg);
        margin-left: 10px;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .db-items-sidebar.mobile-expanded .db-items-sidebar-header:first-child::after {
        transform: rotate(-135deg);
    }

    .db-items-sidebar-nav {
        flex-direction: column;
        overflow-x: visible;
        padding: 0;
    }

    .db-items-sidebar-item {
        padding: 14px 20px;
        border-left: 2px solid transparent;
        border-bottom: none;
        white-space: normal;
        min-height: 44px;
    }

    .db-items-sidebar-item.active {
        border-left-color: var(--accent-color);
        border-bottom: none;
    }
}

/* Mobile Responsive for Database */
@media (max-width: 992px) {
    .db-layout {
        flex-direction: column;
        padding: 0 10px 10px;
    }

    .db-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        margin-right: 0;
        margin-bottom: 20px;
        border-radius: var(--card-radius);
    }

    .db-sidebar-nav {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px;
        gap: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .db-sidebar-item {
        padding: 10px 16px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .db-sidebar-item.active {
        border-left: none;
        border-bottom-color: var(--accent-color);
    }

    .db-main-content {
        padding: 0;
    }

    .db-home-grid {
        grid-template-columns: 1fr;
    }

    .db-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .db-search-box {
        width: 100%;
    }

    .db-search-form {
        width: 100%;
    }

    .db-search-input {
        flex: 1;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Database Layout - Mobile Vertical */
    .db-layout {
        flex-direction: column;
        padding: 0 15px 15px;
        gap: 15px;
    }

    /* Sidebar - Lista Vertical no Topo */
    .db-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        margin-right: 0;
        margin-bottom: 15px;
        border-radius: 16px;
        padding: 15px;
    }

    .db-sidebar-nav {
        flex-direction: column;
        overflow-x: visible;
        padding: 0;
        gap: 0;
    }

    .db-sidebar-item {
        padding: 16px 20px;
        border-left: 3px solid transparent;
        border-bottom: none;
        border-radius: 0;
        white-space: normal;
        min-height: 44px;
        font-size: 1rem;
    }

    .db-sidebar-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .db-sidebar-item:last-child {
        border-radius: 0 0 8px 8px;
    }

    .db-sidebar-item.active {
        border-left-color: #ff9800;
        border-bottom: none;
        background: rgba(255, 152, 0, 0.15);
        color: #ff9800;
    }

    .db-sidebar-item:hover {
        background: rgba(79, 195, 247, 0.1);
    }

    .db-sidebar-item i {
        color: inherit;
    }

    .db-sidebar-item.active i {
        color: #ff9800;
    }

    /* Database Home Cards - Mobile */
    .db-home-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .db-home-card {
        padding: 20px;
    }

    .db-home-card-header {
        gap: 12px;
    }

    .db-home-card-icon {
        width: 45px;
        height: 45px;
    }

    .db-home-card-icon i {
        font-size: 1.3rem;
    }

    .db-home-card-title {
        font-size: 1.1rem;
    }

    .db-home-card-desc {
        font-size: 0.85rem;
    }

    .db-home-card-count {
        font-size: 0.75rem;
    }

    .db-home-welcome {
        padding: 20px;
    }

    .db-home-welcome p {
        font-size: 0.9rem;
    }

    /* Database List Rows - Mobile */
    .db-list-row {
        flex-wrap: wrap;
        padding: 15px;
        gap: 10px;
    }

    .db-row-sprite {
        width: 40px;
        height: 40px;
    }

    .db-row-stat {
        min-width: auto;
        font-size: 0.8rem;
    }

    .db-row-name {
        flex-basis: calc(100% - 120px);
        order: 0;
        font-size: 0.95rem;
    }

    .db-row-id {
        order: -1;
        font-size: 0.8rem;
    }

    .db-row-badge {
        padding: 2px 6px;
        font-size: 0.65rem;
    }

    .db-row-arrow {
        display: none;
    }

    /* Pagination - Mobile */
    .db-pagination {
        justify-content: center;
    }

    .db-page-arrow {
        width: 44px;
        height: 44px;
    }

    /* Header & Title - Mobile */
    .db-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .db-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
        text-align: center;
    }

    /* Search Box - Mobile */
    .db-search-box {
        width: 100%;
    }

    .db-search-form {
        width: 100%;
    }

    .db-search-input {
        flex: 1;
        width: 100% !important;
        font-size: 1rem !important;
        padding: 14px 16px !important;
    }

    .db-search-btn {
        padding: 14px 18px;
        min-width: 44px;
    }

    /* Actions - Mobile */
    .db-actions {
        justify-content: center;
    }

    .db-action-btn {
        padding: 12px 16px;
        min-height: 44px;
    }

    /* Filters - Mobile */
    .filterdb {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 15px;
    }

    .radio-item {
        padding: 10px;
    }

    .radio-item label {
        font-size: 0.8rem;
    }

    /* Footer - Mobile */
    .db-footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   RANKING PAGE - MODERN LAYOUT
   ============================================ */

.ranking-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.ranking-header {
    text-align: center;
    margin-bottom: 30px;
}

.ranking-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ranking-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ranking-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* Ranking Tabs */
.ranking-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 10px;
    overflow-x: auto;
}

.ranking-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ranking-tab:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.ranking-tab.active {
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
}

.ranking-tab i {
    font-size: 1rem;
}

/* Ranking Content */
.ranking-content {
    min-height: 300px;
}

/* Ranking List */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Ranking Item */
.ranking-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Top 3 Special Styles */
.ranking-item.gold {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), var(--glass-bg));
}

.ranking-item.gold .ranking-position {
    color: #ffd700;
}

.ranking-item.gold .fa-crown {
    color: #ffd700;
}

.ranking-item.silver {
    border-color: rgba(192, 192, 192, 0.4);
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), var(--glass-bg));
}

.ranking-item.silver .ranking-position {
    color: #c0c0c0;
}

.ranking-item.silver .fa-crown {
    color: #c0c0c0;
}

.ranking-item.bronze {
    border-color: rgba(205, 127, 50, 0.4);
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), var(--glass-bg));
}

.ranking-item.bronze .ranking-position {
    color: #cd7f32;
}

.ranking-item.bronze .fa-crown {
    color: #cd7f32;
}

/* Ranking Position */
.ranking-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    gap: 2px;
}

.ranking-position .fa-crown {
    font-size: 0.9rem;
}

.ranking-position .position-number {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ranking-item.gold .position-number,
.ranking-item.silver .position-number,
.ranking-item.bronze .position-number {
    font-size: 1.5rem;
}

/* Ranking Avatar */
.ranking-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.ranking-avatar img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.ranking-avatar.guild-avatar {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2), rgba(52, 152, 219, 0.2));
}

.ranking-avatar.guild-avatar i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.ranking-avatar.charrender {
    width: 102px;
    min-height: 91px;
    align-self: stretch;
    background: transparent;
    overflow: hidden;
    position: relative;
    margin: -16px 0 -16px -20px;
    border-radius: var(--card-radius) 0 0 var(--card-radius);
}

.ranking-avatar.charrender img {
    image-rendering: pixelated;
    position: absolute;
    left: 52%;
    top: 24%;
    transform: translate(-50%, -50%) scale(5.9);
}

/* Ranking Info */
.ranking-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ranking-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-class {
    font-size: 0.85rem;
    color: var(--accent-color);
}

.ranking-guild {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ranking-guild i {
    font-size: 0.7rem;
}

/* Reborn Badges */
.ranking-reborn-badges {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.ranking-reborn-badges > i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.reborn-badge {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
}

.reborn-lvl1 { background: rgba(128, 0, 255, 0.15); color: #9944FF; }
.reborn-lvl2 { background: rgba(0, 200, 80, 0.15); color: #22CC55; }
.reborn-lvl3 { background: rgba(255, 0, 0, 0.15); color: #FF4444; }
.reborn-lvl4 { background: rgba(255, 255, 255, 0.2); color: #CCDDFF; }
.reborn-lvl5 { background: rgba(60, 0, 80, 0.3); color: #AA88CC; }
.reborn-lvl6 { background: rgba(255, 215, 0, 0.2); color: #FFD700; }

/* Ranking Stats */
.ranking-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.ranking-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-width: 60px;
}

.ranking-stats .stat-item.exp {
    min-width: 90px;
}

.ranking-stats .stat-item.highlight-stat {
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.ranking-stats .stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranking-stats .stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Ranking Empty State */
.ranking-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}

.ranking-empty i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.ranking-empty p {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    font-size: 1rem;
}

.ranking-empty .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ranking-empty .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Ranking Page - Mobile Responsiveness */
@media (max-width: 992px) {
    .ranking-stats .stat-item.exp {
        display: none;
    }
}

@media (max-width: 768px) {
    .ranking-page {
        padding: 0 15px 15px;
    }

    .ranking-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .ranking-subtitle {
        font-size: 0.9rem;
    }

    .ranking-tabs {
        padding: 8px;
        gap: 5px;
    }

    .ranking-tab {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .ranking-tab span {
        display: none;
    }

    .ranking-tab i {
        font-size: 1.1rem;
    }

    .ranking-item {
        padding: 12px 15px;
        gap: 12px;
    }

    .ranking-position {
        min-width: 40px;
    }

    .ranking-position .position-number {
        font-size: 1.1rem;
    }

    .ranking-avatar {
        width: 40px;
        height: 40px;
    }

    .ranking-avatar img {
        max-width: 32px;
        max-height: 32px;
    }

    .ranking-avatar.charrender {
        width: 50px;
        margin: -12px 0 -12px -15px;
    }

    .ranking-avatar.charrender img {
        transform: translate(-50%, -50%) scale(4);
    }

    .ranking-name {
        font-size: 0.9rem;
    }

    .ranking-class {
        font-size: 0.8rem;
    }

    .ranking-guild {
        font-size: 0.75rem;
    }

    .ranking-stats {
        gap: 8px;
    }

    .ranking-stats .stat-item {
        padding: 6px 10px;
        min-width: 50px;
    }

    .ranking-stats .stat-label {
        font-size: 0.65rem;
    }

    .ranking-stats .stat-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .ranking-item {
        flex-wrap: wrap;
    }

    .ranking-info {
        flex: 1;
        min-width: 0;
    }

    .ranking-stats {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--glass-border);
    }

    .ranking-stats .stat-item {
        min-width: 45px;
        padding: 5px 8px;
    }
}

/* MVP Ranking - Expandable Items */
.ranking-item.mvp-ranking-item {
    flex-direction: column;
    padding: 0;
    gap: 0;
    cursor: pointer;
}

.ranking-item.mvp-ranking-item:hover {
    transform: none;
}

.ranking-item.mvp-ranking-item,
.ranking-item.mvp-ranking-item .ranking-item-main {
    cursor: url('../assets/hand-cursor.gif'), pointer !important;
}

.mvp-ranking-item .ranking-item-main {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    width: 100%;
}

.mvp-toggle {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
    padding-left: 10px;
}

.mvp-toggle i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.mvp-toggle i.rotated {
    transform: rotate(180deg);
}

.mvp-detail-panel {
    width: 100%;
    border-top: none;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.mvp-detail-panel.open {
    max-height: 600px;
    padding: 20px;
    opacity: 1;
    border-top: 1px solid var(--glass-border);
}

.mvp-detail-loading,
.mvp-detail-empty {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
}

.mvp-favorites-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mvp-favorites-title i {
    color: #e74c3c;
}

.mvp-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.mvp-detail-table thead th {
    text-align: left;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
}

.mvp-detail-table tbody tr {
    transition: background 0.2s ease;
}

.mvp-detail-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mvp-detail-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.mvp-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
}

.mvp-mob-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mvp-mob-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mvp-mob-cell strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.mvp-mob-id {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.mvp-kill-count {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-color);
}

.mvp-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
    white-space: nowrap;
}

.mvp-date-day {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.mvp-date-time {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.mvp-map-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .mvp-ranking-item .ranking-item-main {
        padding: 12px 15px;
        gap: 12px;
    }

    .mvp-detail-panel {
        padding: 12px;
    }

    .mvp-detail-table th:nth-child(4),
    .mvp-detail-table td:nth-child(4) {
        display: none;
    }

    .mvp-mob-img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 576px) {
    .mvp-ranking-item .ranking-item-main {
        flex-wrap: wrap;
    }

    .mvp-detail-table th:nth-child(3),
    .mvp-detail-table td:nth-child(3) {
        display: none;
    }
}

/* Training Ranking - Expandable Items */
.ranking-item.train-ranking-item {
    flex-direction: column;
    padding: 0;
    gap: 0;
    cursor: pointer;
}

.ranking-item.train-ranking-item:hover {
    transform: none;
}

.ranking-item.train-ranking-item,
.ranking-item.train-ranking-item .ranking-item-main {
    cursor: url('../assets/hand-cursor.gif'), pointer !important;
}

.train-ranking-item .ranking-item-main {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    width: 100%;
}

.train-detail-panel {
    width: 100%;
    border-top: none;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.train-detail-panel.open {
    max-height: 600px;
    padding: 20px;
    opacity: 1;
    border-top: 1px solid var(--glass-border);
    overflow-y: auto;
}

.train-detail-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.train-detail-attr {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.train-detail-attr-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px;
    font-size: 0.85rem;
}

.train-detail-attr-header strong {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.9rem;
}

.train-detail-lv {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.train-detail-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-left: 12px;
}

.train-detail-perk {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid;
    border-radius: 20px;
    font-size: 0.78rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.train-detail-perk i {
    font-size: 0.7rem;
}

.train-perk-ms {
    font-weight: 600;
    opacity: 0.7;
    font-size: 0.72rem;
}

@media (max-width: 768px) {
    .train-ranking-item .ranking-item-main {
        padding: 12px 15px;
        gap: 12px;
    }

    .train-detail-panel.open {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .train-ranking-item .ranking-item-main {
        flex-wrap: wrap;
    }

    .train-detail-perks {
        padding-left: 0;
    }
}

/* ============================================
   VOTE PAGE - MODERN LAYOUT
   ============================================ */

.vote-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.vote-header {
    text-align: center;
    margin-bottom: 16px;
}

.vote-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 6px 0;
    text-shadow: 0 0 30px rgba(79, 195, 247, 0.2), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vote-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vote-subtitle {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 14px 0;
}

/* Vote Points Card */
.vote-points-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(232, 121, 110, 0.15), rgba(199, 90, 80, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 121, 110, 0.3);
    border-radius: var(--card-radius);
    padding: 8px 20px;
}

.vote-points-card .points-item-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    image-rendering: pixelated;
}

.vote-points-card .points-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vote-points-card .points-value {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e8796e;
    text-shadow: 0 0 15px rgba(232, 121, 110, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Vote Login Required */
.vote-login-required {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}

.vote-login-required i {
    font-size: 2rem;
    color: var(--text-secondary);
}

.vote-login-required p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.btn-login-vote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login-vote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Vote Sites Grid */
.vote-sites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Vote Site Card */
.vote-site-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.vote-site-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 195, 247, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vote-site-card.blocked {
    opacity: 0.7;
}

.vote-site-card.blocked:hover {
    transform: none;
}

/* Site Banner */
.vote-site-card .site-banner {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-site-card .site-banner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vote-site-card .site-banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(52, 152, 219, 0.1));
}

.vote-site-card .site-banner-placeholder i {
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.5;
}

/* Site Content */
.vote-site-card .site-content {
    padding: 20px;
}

.vote-site-card .site-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

/* Site Details */
.vote-site-card .site-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.vote-site-card .site-reward,
.vote-site-card .site-cooldown-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.vote-site-card .site-reward i {
    color: #ffc107;
}

.vote-site-card .site-cooldown-info i {
    color: var(--accent-color);
}

/* Site Action */
.vote-site-card .site-action {
    margin-top: 15px;
}

/* Vote Button */
.vote-site-card .btn-vote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vote-site-card .btn-vote:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* Vote Cooldown */
.vote-site-card .vote-cooldown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
}

.vote-site-card .vote-cooldown i {
    font-size: 1.2rem;
    color: #ff9800;
}

.vote-site-card .vote-cooldown .cooldown-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.vote-site-card .vote-cooldown .cooldown-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.vote-site-card .vote-cooldown .cooldown-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff9800;
}

/* Vote Empty State */
.vote-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}

.vote-empty i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.vote-empty p {
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    font-size: 1rem;
}

.vote-empty .btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vote-empty .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Vote Info Section */
.vote-info-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.vote-info-card,
.vote-exchange-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 20px 24px;
    text-align: center;
}

.vote-info-card h2,
.vote-exchange-card h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.vote-info-card h2 i,
.vote-exchange-card h2 i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

/* Vote Steps */
.vote-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
}

.vote-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.vote-steps li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.vote-steps .step-number {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 195, 247, 0.15);
    border-radius: 6px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.75rem;
}

.vote-steps .step-text {
    flex: 1;
}

/* Main Vote Button */
.btn-vote-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 8px;
    padding: 10px 28px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.btn-vote-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-vote-main i {
    font-size: 0.8rem;
}

/* Vote Note */
.vote-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
}

.vote-note i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* Vote Exchange Card */
.vote-exchange-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0 0 12px 0;
    line-height: 1.5;
    text-align: left;
}

.vote-exchange-card strong {
    color: var(--accent-color);
}

.npc-locations {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.npc-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.12);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

.npc-location i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.vote-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.12);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.vote-tip i {
    color: #4CAF50;
    font-size: 0.8rem;
}

.vote-tip code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--accent-color);
}

/* Vote Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .vote-page {
        padding: 0 15px 15px;
    }

    .vote-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .vote-subtitle {
        font-size: 0.9rem;
    }

    .rmt-header p {
        font-size: 0.82rem;
    }

    .vote-points-card {
        padding: 12px 20px;
    }

    .vote-points-card .points-icon {
        width: 40px;
        height: 40px;
    }

    .vote-points-card .points-icon i {
        font-size: 1.2rem;
    }

    .vote-points-card .points-value {
        font-size: 1.4rem;
    }

    .vote-info-section {
        grid-template-columns: 1fr;
    }

    .vote-info-card,
    .vote-exchange-card {
        padding: 16px 18px;
    }
}

/* ============================================
   LOGIN PAGE - MODERN LAYOUT
   ============================================ */

.login-section {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.login-header {
    margin-bottom: 2rem;
}

.login-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.login-title .highlight {
    color: var(--accent-color);
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Login Form - reuses form-group and input-wrapper from register */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form .form-group label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.login-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-form .input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.login-form .input-wrapper input {
    width: 100%;
    height: 48px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--dark-border);
    border-radius: var(--header-radius);
    padding: 0 15px 0 45px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.login-form .input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.login-form .input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

/* Login Button */
.btn-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 16px;
    border-radius: var(--header-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 195, 247, 0.5);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Login Footer */
.login-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.login-footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Login Message Container */
/* Login Alerts Inline */
.login-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    border: 1px solid;
}

.login-alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.login-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.login-alert-error i {
    color: #ef4444;
}

.login-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #86efac;
}

.login-alert-success i {
    color: #22c55e;
}

/* Login Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .login-section {
        padding: 20px 15px 60px;
    }

    .login-card {
        padding: 1.5rem;
    }

    .login-title {
        font-size: 1.6rem;
    }

    .login-subtitle {
        font-size: 0.9rem;
    }
}

/* ============================================
   NEWS & EVENTS PAGE - MODERN LAYOUT
   ============================================ */

.news-page,
.event-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.news-header,
.event-header {
    text-align: center;
    margin-bottom: 30px;
}

.news-badge,
.event-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 195, 247, 0.15);
    border: 1px solid rgba(79, 195, 247, 0.3);
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.event-badge {
    background: rgba(255, 152, 0, 0.15);
    border-color: rgba(255, 152, 0, 0.3);
    color: #ff9800;
}

.news-page-title,
.event-page-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.news-page-title .highlight,
.event-page-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* News/Event Article */
.news-article,
.event-article {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.article-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.article-number {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.2);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-date i {
    font-size: 0.8rem;
}

.article-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

/* Article Content */
.article-content {
    display: flex;
    gap: 25px;
    padding: 30px;
}

.article-npc {
    flex-shrink: 0;
    width: 80px;
}

.article-npc img {
    width: 80px;
    height: auto;
}

.article-text {
    flex: 1;
}

.article-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.article-text p:last-child {
    margin-bottom: 0;
}

.article-text strong {
    color: var(--text-primary);
}

.article-text em {
    color: var(--accent-color);
    font-style: normal;
}

.article-text code {
    background: rgba(79, 195, 247, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-color);
}

/* Article Section */
.article-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
}

.article-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.article-section h4 i {
    color: var(--accent-color);
}

.article-section p {
    margin: 0;
}

.article-section ul {
    margin: 0;
    padding-left: 20px;
}

.article-section li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Article Highlight Box */
.article-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(52, 152, 219, 0.05));
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 10px;
}

.article-highlight > i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 3px;
}

.article-highlight strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.article-highlight p {
    margin: 0;
    font-size: 0.9rem;
}

/* Article CTA */
.article-cta {
    text-align: center;
    margin: 25px 0;
}

.btn-article-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-article-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* Article Signature */
.article-signature {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    font-style: italic;
}

/* Article Footer */
.article-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: rgba(79, 195, 247, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Event Item Showcase */
.event-item-showcase {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

.event-item-showcase > img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

.event-item-showcase .item-stats {
    flex: 1;
}

.event-item-showcase .item-stats h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.event-item-showcase .item-stats ul {
    margin: 0;
    padding-left: 20px;
}

.event-item-showcase .item-stats li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.event-item-showcase .item-stats li strong {
    color: var(--accent-color);
}

/* News/Events Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .news-page,
    .event-page {
        padding: 15px;
    }

    .news-page-title,
    .event-page-title {
        font-size: 1.5rem;
    }

    .article-header {
        padding: 20px;
    }

    .article-title {
        font-size: 1.2rem;
    }

    .article-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .article-npc {
        width: 60px;
        margin: 0 auto;
    }

    .article-npc img {
        width: 60px;
    }

    .article-text p {
        font-size: 0.9rem;
    }

    .article-section {
        padding: 15px;
    }

    .article-footer {
        padding: 15px 20px;
    }
}

/* ===============================================
   CHANGELOG PAGE STYLES
   =============================================== */

.changelog-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.changelog-header {
    text-align: center;
    margin-bottom: 30px;
}

.changelog-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.changelog-page-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    text-shadow: 0 0 25px rgba(46, 204, 113, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.changelog-page-title .highlight {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.changelog-article {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
}

/* Article author meta */
.article-author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-author i {
    font-size: 0.8rem;
}

/* Changelog mobile */
@media (max-width: 768px) {
    .changelog-page {
        padding: 15px;
    }

    .changelog-page-title {
        font-size: 1.5rem;
    }
}

/* ===============================================
   ENTITY INLINE LINKS ([item:ID], [mob:ID], [map:nome])
   =============================================== */

/* Base — todos os tipos */
.entity-inline-link,
.item-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9em;
    transition: all 0.2s ease;
    vertical-align: middle;
    line-height: 1.6;
}

.entity-inline-icon,
.item-inline-icon {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    vertical-align: middle;
}

.entity-inline-name,
.item-inline-name {
    white-space: nowrap;
}

/* Item (azul) */
.entity-link-item,
.item-inline-link {
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid rgba(79, 195, 247, 0.2);
    color: var(--accent-color);
}

.entity-link-item:hover,
.item-inline-link:hover {
    background: rgba(79, 195, 247, 0.2);
    border-color: rgba(79, 195, 247, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Monstro (vermelho) */
.entity-link-mob {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.entity-link-mob:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
    color: #fff;
    text-decoration: none;
}

.entity-icon-mob {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Mapa (verde) */
.entity-link-map {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.entity-link-map:hover {
    background: rgba(46, 204, 113, 0.2);
    border-color: rgba(46, 204, 113, 0.4);
    color: #fff;
    text-decoration: none;
}

.entity-inline-mapicon {
    font-size: 0.85em;
    opacity: 0.8;
}

/* ===============================================
   PUBLICAÇÕES HUB PAGE
   =============================================== */

/* ========================================
   PUBLICAÇÕES PAGE — Board style (igual home)
   ======================================== */
.publicacoes-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.publicacoes-page .rmt-header {
    margin-bottom: 24px;
}

/* Board container */
.pub-board {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
}

/* Tabs — underline style igual home */
.pub-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pub-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pub-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
}

.pub-tab i {
    font-size: 0.9rem;
}

.pub-tab.active[data-cat="all"] {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(79, 195, 247, 0.06);
}

.pub-tab.active[data-cat="news"] {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: rgba(79, 195, 247, 0.06);
}

.pub-tab.active[data-cat="event"] {
    color: #ff9800;
    border-bottom-color: #ff9800;
    background: rgba(255, 152, 0, 0.06);
}

.pub-tab.active[data-cat="changelog"] {
    color: #2ecc71;
    border-bottom-color: #2ecc71;
    background: rgba(46, 204, 113, 0.06);
}

/* Body */
.pub-body {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    align-items: flex-start;
    min-height: 120px;
}

/* NPC sprite */
.pub-npc {
    flex-shrink: 0;
    width: 98px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pub-npc img {
    display: block;
    image-rendering: pixelated;
}

.pub-content {
    flex: 1;
    min-width: 0;
}

/* List items */
.pub-list {
    display: flex;
    flex-direction: column;
}

.pub-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.15s ease;
}

.pub-item:last-child {
    border-bottom: none;
}

.pub-item:hover {
    padding-left: 6px;
    text-decoration: none;
    color: inherit;
}

.pub-item-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pub-item-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 4px;
}

.pub-item-cat i {
    font-size: 0.6rem;
}

.pub-item-cat-news {
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.1);
}

.pub-item-cat-event {
    color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.pub-item-cat-changelog {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.pub-item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.pub-item:hover .pub-item-title {
    color: var(--accent-color);
}

.pub-item-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    opacity: 0.7;
}

.pub-item-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.6;
    padding-top: 4px;
}

/* Empty state */
.pub-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    gap: 6px;
}

.pub-empty i {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 4px;
}

.pub-empty p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.pub-empty span {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Footer / Pagination */
.pub-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 20px;
    display: flex;
    justify-content: center;
}

.pub-pagination {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pub-pagination a,
.pub-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pub-pagination a {
    color: var(--text-secondary);
}

.pub-pagination a:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--accent-color);
    text-decoration: none;
}

.pub-page-current {
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    font-weight: 700;
}

.pub-page-ellipsis {
    color: var(--text-secondary);
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .pub-tab {
        font-size: 0.7rem;
        padding: 12px 8px;
        gap: 5px;
        letter-spacing: 0.3px;
    }

    .pub-tab span {
        display: none;
    }

    .pub-tab i {
        font-size: 1rem;
    }

    .pub-npc {
        display: none;
    }

    .pub-body {
        padding: 12px 16px;
    }

    .pub-item {
        padding: 10px 0;
    }

    .pub-item-title {
        font-size: 0.88rem;
    }

    .pub-item-excerpt {
        display: none;
    }
}

.publicacoes-empty p {
    font-size: 1rem;
    margin: 0;
}

/* Publicacoes mobile */
@media (max-width: 768px) {
    .publicacoes-page {
        padding: 15px;
    }

    .publicacoes-title {
        font-size: 1.5rem;
    }

    .publicacoes-grid {
        grid-template-columns: 1fr;
    }

    .filter-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}

/* ===============================================
   SHOP/COMMERCE PAGES - MODERN STYLES
   =============================================== */

/* Shop Tabs */
.shop-tabs {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
    margin-bottom: 16px;
}

.shop-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.25s ease;
}

.shop-tab:hover {
    color: var(--text-primary);
}

.shop-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.35);
}

/* Shop Container */
.shop-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shop-container > *:not(.shop-tabs) {
    width: 100%;
}

/* Shop Toolbar */
.shop-toolbar {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.shop-search-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.shop-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.shop-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.8rem;
    pointer-events: none;
}

.shop-search-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 11px 14px 11px 38px !important;
    color: var(--text-primary) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.83rem;
    transition: border-color 0.2s ease;
}

.shop-search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.shop-search-input:focus {
    outline: none;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

.shop-search-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.shop-search-btn:hover {
    box-shadow: 0 4px 18px rgba(52, 152, 219, 0.4);
    transform: translateY(-1px);
}

/* Shop Action Buttons */
.shop-action-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.shop-action-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.08);
}

.shop-action-btn.active {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.1);
}

.shop-clear-btn {
    padding: 10px 12px;
}

/* Shop Filters */
.shop-filters {
    display: none;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.shop-filters.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.shop-filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-filter-item:hover {
    border-color: rgba(79, 195, 247, 0.3);
    background: rgba(79, 195, 247, 0.05);
}

.shop-filter-item input[type="radio"] {
    accent-color: var(--accent-color);
}

.shop-filter-item label {
    color: var(--text-secondary);
    font-size: 0.83rem;
    cursor: pointer;
}

.shop-filter-item input[type="radio"]:checked + label {
    color: var(--accent-color);
}

/* Shop List */
.shop-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Shop Card (vendor/buyer row)
   Grid com colunas fixas garante que todos os cards tenham exatamente
   o mesmo layout, independente de ter ou não timer (vendedores vs compradores).
   Col 1: main (avatar + nome) — ocupa o restante
   Col 2: meta (location + timer opcional) — largura fixa, reserva espaço
   Col 3: action (seta) — largura fixa igual ao .shop-view-btn */
.shop-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px 34px;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.shop-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.shop-card:hover {
    border-color: rgba(79, 195, 247, 0.25);
    background: rgba(20, 30, 50, 0.7);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.shop-card:hover::before {
    opacity: 1;
}

.shop-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.shop-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(79, 195, 247, 0.08));
    border: 1px solid rgba(79, 195, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-color);
    font-size: 0.85rem;
}

.shop-card-avatar img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.shop-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.shop-card-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-card-title {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-style: italic;
}

.shop-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.shop-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    white-space: nowrap;
}

.shop-card-location i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.shop-card-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
}

.shop-card-timer.at-good {
    color: #66bb6a;
    background: rgba(102, 187, 106, 0.1);
}

.shop-card-timer.at-normal {
    color: #7289da;
    background: rgba(114, 137, 218, 0.1);
}

.shop-card-timer.at-warning {
    color: #ffa726;
    background: rgba(255, 167, 38, 0.1);
}

.shop-card-timer.at-critical {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.1);
}

.shop-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(79, 195, 247, 0.08);
    border: 1px solid rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    font-size: 0.8rem;
    transition: all 0.25s ease;
}

.shop-card:hover .shop-view-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.35);
}

/* Shop Pagination */
.shop-pagination-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.shop-pg-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.shop-pg-arrow:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.1);
}

.shop-pg-arrow.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.shop-pg-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-pg-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.shop-pg-num:hover {
    background: rgba(79, 195, 247, 0.08);
    color: var(--text-primary);
}

.shop-pg-num.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.35);
}

.shop-pg-dots {
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding: 0 4px;
    opacity: 0.5;
    user-select: none;
}

/* Legacy shop-row compat (used in verloja detail) */
.shop-row {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 12px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 16px;
}

.shop-row:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.shop-row-currency {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-row-currency img {
    max-width: 100%;
    max-height: 100%;
}

.shop-row-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    min-width: 110px;
}

.shop-row-title {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.83rem;
}

.shop-row-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-size: 0.8rem;
    min-width: 140px;
}

.shop-row-location i {
    color: #ff9800;
}

.shop-row-gender {
    width: 30px;
    text-align: center;
    color: var(--text-secondary);
}

.shop-row:hover .shop-view-btn {
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Shop Pagination (legacy) */
.shop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}

.shop-page-btn {
    background: rgba(79, 195, 247, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.shop-page-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.shop-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.shop-page-info {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.shop-page-input {
    background: rgba(20, 30, 48, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--text-primary);
    width: 80px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.shop-page-input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Shop Detail Page (legacy) */
.shop-detail-header {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
    text-align: center;
}

.shop-detail-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.shop-detail-title img {
    width: 24px;
    height: 24px;
}

.shop-detail-location {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.shop-detail-location i {
    color: #ff9800;
}

.shop-copy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
}

.shop-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.shop-items-container {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
}

.shop-items-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.shop-items-header i {
    color: #ff9800;
}

/* ============================================
   VERLOJA - Sleek list design
   ============================================ */

/* Back link */
.vl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.vl-back-link:hover {
    color: var(--accent-color);
}

/* Header bar */
.vl-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.vl-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(79, 195, 247, 0.08));
    border: 1px solid rgba(79, 195, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vl-header-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.vl-header-info {
    flex: 1;
    min-width: 0;
}

.vl-header-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vl-header-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.vl-location,
.vl-item-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.vl-location i {
    color: var(--accent-color);
    font-size: 0.7rem;
}

.vl-item-count i {
    color: #ff9800;
    font-size: 0.7rem;
}

.vl-navi-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 9px 16px;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.vl-navi-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(79, 195, 247, 0.08);
}

/* Table head */
.vl-table-head {
    display: flex;
    align-items: center;
    padding: 0 18px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
}

.vl-table-head .vl-col-item {
    flex: 1;
}

.vl-table-head .vl-col-qty {
    width: 50px;
    text-align: center;
}

.vl-table-head .vl-col-price {
    width: 130px;
    text-align: right;
}

.vl-table-head .vl-col-action {
    width: 36px;
}

/* Items container */
.vl-items {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

/* Item row */
.vl-item-row {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vl-item-row:last-child {
    border-bottom: none;
}

.vl-item-row:hover {
    background: rgba(79, 195, 247, 0.04);
}

/* Item column */
.vl-item-row .vl-col-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.vl-item-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vl-item-icon img {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain;
}

.vl-item-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.vl-item-name {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vl-item-name:hover {
    color: var(--accent-color);
}

.vl-item-name .refine {
    color: #ff9800;
    font-weight: 700;
}

.vl-item-name .item-slots {
    color: #a78bfa;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Card badges */
.vl-item-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.vl-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 152, 0, 0.08);
    border: 1px solid rgba(255, 152, 0, 0.2);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.65rem;
    color: #ffb74d;
    text-decoration: none;
    transition: all 0.15s ease;
}

.vl-card-badge:hover {
    background: rgba(255, 152, 0, 0.15);
    color: #ffa726;
}

.vl-card-badge img {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

/* Qty column */
.vl-item-row .vl-col-qty {
    width: 50px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    flex-shrink: 0;
}

/* Price column */
.vl-item-row .vl-col-price {
    width: 130px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.vl-zeny-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Action column */
.vl-item-row .vl-col-action {
    width: 36px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.vl-copy-btn {
    background: none;
    border: none;
    padding: 4px;
    color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
}

.vl-copy-btn:hover {
    color: var(--accent-color);
}

/* Verloja mobile */
@media (max-width: 768px) {
    .vl-header {
        flex-wrap: wrap;
        padding: 14px;
        gap: 10px;
    }

    .vl-header-icon {
        width: 38px;
        height: 38px;
    }

    .vl-header-name {
        font-size: 0.95rem;
    }

    .vl-navi-btn {
        width: 100%;
        justify-content: center;
    }

    .vl-table-head {
        display: none;
    }

    .vl-item-row {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px;
    }

    .vl-item-row .vl-col-item {
        flex: 1 1 100%;
    }

    .vl-item-row .vl-col-qty {
        width: auto;
        text-align: left;
    }

    .vl-item-row .vl-col-qty::before {
        content: 'x';
        margin-right: 2px;
        color: rgba(255, 255, 255, 0.3);
    }

    .vl-item-row .vl-col-price {
        width: auto;
        flex: 1;
        justify-content: flex-start;
    }

    .vl-item-row .vl-col-action {
        width: auto;
    }
}

/* Shop Item Row */
.shop-item-row {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 8px;
    gap: 8px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shop-item-row:hover {
    border-color: rgba(79, 195, 247, 0.3);
    background: rgba(30, 41, 59, 0.85);
}

.shop-item-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-item-icon img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.shop-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 5px;
}

.shop-item-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.shop-item-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-item-name a:hover {
    color: #4fc3f7;
}

.shop-item-refine {
    color: #ff9800;
    font-weight: 600;
}

.shop-item-slots {
    font-size: 0.8rem;
    font-weight: 500;
    color: #a78bfa;
    margin-left: 2px;
}

.shop-item-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.shop-item-card-badge {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.25);
    color: #ffb74d;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.shop-item-card-badge a {
    color: #ffb74d;
    text-decoration: none;
}

.shop-item-card-badge a:hover {
    color: #ff9800;
}

.shop-item-price {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.shop-item-price svg {
    flex-shrink: 0;
}

.shop-item-price img {
    width: 16px;
    height: 16px;
}

.shop-whosell-btn {
    background: none;
    border: none;
    padding: 2px;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    font-size: 0.75rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.shop-whosell-btn:hover {
    color: #4fc3f7;
}

.shop-whosell-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(79, 195, 247, 0.25);
    color: #e2e8f0;
    font-size: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.shop-whosell-btn:hover::after {
    opacity: 1;
}

.shop-item-amount {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 2px 6px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Shop Toast Notification */
.shop-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
}

.shop-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Shop Empty State */
.shop-empty {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 60px 30px;
    text-align: center;
}

.shop-empty i {
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.shop-empty h3 {
    color: var(--text-primary);
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.shop-empty p {
    color: var(--text-secondary);
}

.shop-empty a {
    color: var(--accent-color);
}

/* Shop Mobile Responsiveness */
@media (max-width: 768px) {
    .shop-tabs {
        width: 100%;
    }

    .shop-tab {
        padding: 9px 16px;
        font-size: 0.75rem;
        flex: 1;
    }

    .shop-container {
        padding: 0 12px 100px;
    }

    .shop-search-form {
        flex-direction: column;
    }

    .shop-search-wrapper {
        width: 100%;
        min-width: unset;
    }

    .shop-search-btn,
    .shop-action-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .shop-clear-btn {
        width: auto;
        padding: 12px 16px;
    }

    .shop-filters.active {
        grid-template-columns: 1fr;
    }

    .shop-card {
        grid-template-columns: minmax(0, 1fr) 34px;
        grid-template-areas:
            "main action"
            "meta meta";
        gap: 10px 12px;
        min-height: auto;
        padding: 14px;
    }

    .shop-card-main  { grid-area: main; }
    .shop-card-meta  {
        grid-area: meta;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .shop-card-action { grid-area: action; }

    .shop-view-btn {
        width: 30px;
        height: 30px;
    }

    /* Legacy shop-row mobile */
    .shop-row {
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .shop-row-currency {
        width: 35px;
        height: 35px;
    }

    .shop-row-name {
        flex-basis: calc(100% - 55px);
        order: -1;
        min-width: unset;
    }

    .shop-row-title {
        flex-basis: 100%;
        font-size: 0.9rem;
    }

    .shop-row-location {
        flex: 1;
        min-width: unset;
    }

    .shop-row-gender {
        display: none;
    }

    .shop-pagination {
        flex-wrap: wrap;
        gap: 10px;
    }

    .shop-page-btn {
        flex: 1;
        justify-content: center;
        min-width: 100px;
        padding: 12px 15px;
    }

    .shop-pagination-modern {
        gap: 4px;
        padding: 10px 8px;
    }

    .shop-pg-num,
    .shop-pg-arrow {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .shop-detail-header {
        padding: 16px;
    }

    .shop-detail-title {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .shop-item-row {
        flex-wrap: wrap;
    }

    .shop-item-price {
        font-size: 0.8rem;
    }
}

/* ============================================
   ERROR PAGE - MODERN LAYOUT
   ============================================ */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-code {
    font-family: 'Oxanium', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: 20px;
}

.error-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(79, 195, 247, 0.12), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.error-message {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 10px 0;
}

.error-submessage {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 30px 0;
    opacity: 0.7;
}

.btn-error-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-error-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

/* Error Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.4rem;
    }
}

/* ============================================
   TOOL/UPLOAD PAGE - MODERN LAYOUT
   ============================================ */

.tool-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tool-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

.tool-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.tool-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tool-content {
    padding: 30px;
}

/* Upload Area */
.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
    border: 2px dashed var(--glass-border);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--accent-color);
    background: rgba(79, 195, 247, 0.05);
}

.upload-area.has-file {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.upload-area:hover i,
.upload-area.drag-over i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.upload-area.has-file i {
    color: #4caf50;
}

.upload-area p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 10px 0;
    text-align: center;
}

.upload-area .upload-formats {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Progress Container */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tool-content .progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.tool-content .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0;
    transition: width 0.3s ease;
}

.tool-content .progress-text {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

/* Upload Button */
.btn-upload {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
}

.btn-upload:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tool Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .tool-page {
        padding: 20px 15px;
    }

    .tool-header {
        padding: 20px;
    }

    .tool-header h1 {
        font-size: 1.1rem;
    }

    .tool-content {
        padding: 20px;
    }

    .upload-area {
        padding: 40px 20px;
    }

    .upload-area i {
        font-size: 2.5rem;
    }
}

/* ============================================
   MAP DETAIL PAGE - MODERN LAYOUT
   ============================================ */

.map-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Map Toast */
.map-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4caf50;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.map-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.map-toast i {
    font-size: 1.1rem;
}

/* Map Breadcrumb */
.map-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.map-breadcrumb .breadcrumb-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-breadcrumb .breadcrumb-back:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.map-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-breadcrumb a:hover {
    color: var(--accent-color);
}

.map-breadcrumb .separator {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 0.8rem;
}

.map-breadcrumb .current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Map Header */
.map-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.map-preview {
    flex-shrink: 0;
}

.map-preview img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.map-info {
    flex: 1;
}

.map-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: 2px;
    text-shadow: 0 0 25px rgba(79, 195, 247, 0.15), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.map-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 15px 0;
}

.map-mini-preview {
    display: inline-block;
}

.map-mini-preview img {
    width: 75px;
    height: auto;
    border-radius: 4px;
    opacity: 0.8;
}

/* Map Sections */
.map-section {
    margin-bottom: 30px;
}

.map-section .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.map-section .section-header i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

.map-section .section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Map Grid */
.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Map Card */
.map-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.map-card:hover {
    border-color: rgba(79, 195, 247, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.map-card.monster-card.mvp {
    border-color: rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), var(--glass-bg));
}

.map-card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 12px;
}

.map-card .card-image img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

.map-card .card-info {
    text-align: center;
}

.map-card .card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.map-card .card-name .mvp-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border-radius: 4px;
    font-weight: 700;
}

.map-card .card-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.map-card .card-details span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.map-card .card-details i {
    font-size: 0.75rem;
    color: var(--accent-color);
}

/* NPC Card Copy Hint */
.map-card.npc-card .card-copy-hint {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.map-card.npc-card:hover .card-copy-hint {
    opacity: 1;
    color: var(--accent-color);
}

/* Map Page - Mobile Responsiveness */
@media (max-width: 768px) {
    .map-page {
        padding: 15px;
    }

    .map-header {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .map-preview {
        width: 100%;
        text-align: center;
    }

    .map-preview img {
        max-width: 150px;
    }

    .map-info {
        text-align: center;
    }

    .map-title {
        font-size: 1.5rem;
    }

    .map-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .map-card {
        padding: 12px;
    }

    .map-card .card-image {
        height: 60px;
    }

    .map-card .card-image img {
        max-height: 60px;
    }

    .map-card .card-name {
        font-size: 0.85rem;
    }
}



/* ============================================
   SUPPORT TICKETS (st-) - shadcn/ui inspired
   ============================================ */

/* === Base Layout === */
.st-page { max-width: 960px; margin: 0 auto; padding: 20px 20px 150px; }

/* === Panel / Card === */
.st-panel { background: hsl(222 40% 14% / .92); border: 1px solid hsl(215 20% 22%); border-radius: 8px; margin-bottom: 16px; backdrop-filter: blur(10px); }
.st-panel-flush .st-table { border-top: none; }

/* === Buttons === */
.st-btn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 500; border: none; border-radius: 6px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; text-decoration: none; white-space: nowrap; }
.st-btn-primary { background: hsl(210 100% 50%); color: #fff; }
.st-btn-primary:hover { background: hsl(210 100% 43%); color: #fff; }
.st-btn-outline { background: transparent; border: 1px solid hsl(215 20% 28%); color: hsl(210 20% 72%); }
.st-btn-outline:hover { background: hsl(215 20% 20%); border-color: hsl(215 20% 36%); color: #fff; }
.st-btn-ghost { background: transparent; color: hsl(210 20% 58%); }
.st-btn-ghost:hover { background: hsl(215 20% 18%); color: #fff; }
.st-btn-danger { background: hsl(0 55% 42%); color: #fff; }
.st-btn-danger:hover { background: hsl(0 55% 36%); color: #fff; }
.st-btn-delete { background: hsl(0 60% 30%); color: hsl(0 80% 80%); border: 1px solid hsl(0 50% 38%); }
.st-btn-delete:hover { background: hsl(0 60% 36%); color: #fff; }
.st-btn-success { background: hsl(145 55% 38%); color: #fff; }
.st-btn-success:hover { background: hsl(145 55% 32%); color: #fff; }
.st-btn-sm { padding: 7px 14px; font-size: .8rem; }
.st-btn-xs { padding: 5px 10px; font-size: .72rem; }
.st-btn-full { width: 100%; justify-content: center; padding: 10px 14px; font-size: .82rem; }

/* === Header Bar === */
.st-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.st-header-left { display: flex; align-items: center; gap: 12px; }
.st-header-left h3 { margin: 0; font-size: 1.2rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 10px; }
.st-header-left h3 i { color: hsl(210 100% 60%); font-size: 1.05rem; }
.st-header-right { display: flex; align-items: center; gap: 8px; }

/* === Stats Row === */
.st-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.st-stats-row-4 { grid-template-columns: repeat(4, 1fr); }
.st-stats-row-5 { grid-template-columns: repeat(5, 1fr); }
.st-stat-card { display: flex; align-items: center; gap: 14px; background: hsl(222 40% 14% / .92); border: 1px solid hsl(215 20% 22%); border-radius: 8px; padding: 16px 18px; backdrop-filter: blur(10px); transition: border-color .15s; border-left: 3px solid transparent; }
.st-stat-card:hover { border-color: hsl(215 20% 32%); }
.st-stat-blue { border-left-color: hsl(210 80% 55%); }
.st-stat-blue .st-stat-icon { background: hsl(210 80% 55% / .15); color: hsl(210 90% 70%); }
.st-stat-orange { border-left-color: hsl(38 90% 50%); }
.st-stat-orange .st-stat-icon { background: hsl(38 90% 50% / .15); color: hsl(38 90% 65%); }
.st-stat-purple { border-left-color: hsl(280 55% 55%); }
.st-stat-purple .st-stat-icon { background: hsl(280 55% 55% / .15); color: hsl(280 55% 72%); }
.st-stat-green { border-left-color: hsl(145 55% 45%); }
.st-stat-green .st-stat-icon { background: hsl(145 55% 45% / .15); color: hsl(145 55% 62%); }
.st-stat-cyan { border-left-color: hsl(195 80% 50%); }
.st-stat-cyan .st-stat-icon { background: hsl(195 80% 50% / .15); color: hsl(195 80% 65%); }
.st-stat-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.st-stat-data { display: flex; flex-direction: column; }
.st-stat-num { font-size: 1.35rem; font-weight: 700; color: #fff; line-height: 1.2; }
.st-stat-label { font-size: .7rem; color: hsl(210 15% 55%); font-weight: 500; text-transform: uppercase; letter-spacing: .3px; margin-top: 2px; }

/* === Tabs === */
.st-tabs { display: flex; gap: 4px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 2px; }
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: .78rem; font-weight: 500; color: hsl(210 15% 55%); background: transparent; border: 1px solid transparent; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: all .15s; cursor: pointer; }
.st-tab:hover { color: hsl(210 15% 80%); background: hsl(215 20% 18%); }
.st-tab.active { color: #fff; background: hsl(210 100% 50% / .12); border-color: hsl(210 100% 50% / .25); }
.st-tab-count { font-size: .68rem; background: hsl(215 20% 20%); color: hsl(210 15% 60%); padding: 1px 6px; border-radius: 10px; font-weight: 600; }
.st-tab.active .st-tab-count { background: hsl(210 100% 50% / .2); color: hsl(210 100% 70%); }

/* === Ticket Row (card-based list) === */
.st-ticket-list { display: flex; flex-direction: column; }
.st-ticket-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid hsl(215 20% 18%); transition: background .12s; cursor: pointer; text-decoration: none; color: inherit; }
.st-ticket-row:first-child { border-radius: 8px 8px 0 0; }
.st-ticket-row:last-child { border-bottom: none; border-radius: 0 0 8px 8px; }
.st-ticket-row:only-child { border-radius: 8px; }
.st-ticket-row:hover { background: hsl(210 50% 50% / .05); }
.st-ticket-row-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .88rem; flex-shrink: 0; background: hsl(215 20% 18%); color: hsl(210 80% 65%); }
.st-ticket-row-info { flex: 1; min-width: 0; }
.st-ticket-row-title { font-size: .88rem; font-weight: 500; color: hsl(210 15% 88%); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ticket-row-title .st-ticket-id { color: hsl(210 100% 65%); font-weight: 600; margin-right: 6px; font-size: .82rem; }
.st-ticket-row-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.st-ticket-row-date { font-size: .72rem; color: hsl(210 15% 45%); }
.st-ticket-row-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.st-ticket-row-responses { display: flex; align-items: center; gap: 4px; font-size: .72rem; color: hsl(210 15% 50%); padding: 3px 8px; background: hsl(215 20% 16%); border-radius: 10px; }
.st-ticket-row-responses i { font-size: .65rem; }

/* === Badges === */
.st-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 5px; font-size: .68rem; font-weight: 600; white-space: nowrap; letter-spacing: .2px; }
.st-badge-muted { background: hsl(215 20% 16%); color: hsl(210 15% 58%); }
.st-badge-sm { font-size: .62rem; padding: 2px 6px; }
.st-s-aberto { background: hsl(210 80% 55% / .12); color: hsl(210 90% 65%); }
.st-s-em_andamento { background: hsl(38 90% 50% / .12); color: hsl(38 90% 55%); }
.st-s-aguardando_jogador { background: hsl(280 55% 55% / .12); color: hsl(280 55% 65%); }
.st-s-resolvido { background: hsl(145 55% 45% / .12); color: hsl(145 55% 55%); }
.st-s-fechado { background: hsl(210 10% 42% / .12); color: hsl(210 10% 55%); }
.st-p-baixa { background: hsl(145 45% 42% / .1); color: hsl(145 45% 55%); }
.st-p-normal { background: hsl(210 55% 50% / .1); color: hsl(210 55% 60%); }
.st-p-alta { background: hsl(38 80% 50% / .1); color: hsl(38 85% 55%); }
.st-p-critica { background: hsl(0 65% 50% / .14); color: hsl(0 70% 62%); border: 1px solid hsl(0 55% 45% / .2); }

/* === Ticket ID === */
.st-ticket-id { color: hsl(210 100% 65%); font-weight: 600; margin-right: 6px; }

/* === Table (admin) === */
.st-table { width: 100%; border-collapse: collapse; }
.st-table thead th { padding: 10px 14px; text-align: left; font-size: .68rem; font-weight: 600; color: hsl(210 15% 48%); text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid hsl(215 20% 18%); white-space: nowrap; }
.st-table tbody tr { cursor: pointer; transition: background .12s; border-bottom: 1px solid hsl(215 20% 15%); }
.st-table tbody tr:hover { background: hsl(210 50% 50% / .05); }
.st-table tbody td { padding: 11px 14px; font-size: .82rem; color: hsl(210 15% 78%); }
.st-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 hsl(210 100% 50%); }
.st-th-check, .st-td-check { width: 36px; text-align: center; padding: 8px !important; }
.st-td-check input, .st-th-check input { cursor: pointer; accent-color: hsl(210 80% 55%); width: 15px; height: 15px; }
.st-muted { color: hsl(210 15% 48%); font-size: .78rem; }
.st-nowrap { white-space: nowrap; }
.st-empty { text-align: center; padding: 40px 20px !important; color: hsl(210 15% 42%); }

/* === Filters === */
.st-filters { display: flex; gap: 8px; padding: 14px 16px; border-bottom: 1px solid hsl(215 20% 18%); flex-wrap: wrap; align-items: center; }
.st-select, .st-input { padding: 7px 10px; background: hsl(222 47% 9%); border: 1px solid hsl(215 20% 22%); border-radius: 6px; color: #fff; font-size: .78rem; font-family: inherit; transition: border-color .15s, box-shadow .15s; }
.st-select:focus, .st-input:focus { outline: none; border-color: hsl(210 100% 50%); box-shadow: 0 0 0 2px hsl(210 100% 50% / .12); }
.st-input { flex: 1; min-width: 140px; }
.st-filters-sep { width: 1px; height: 24px; background: hsl(215 20% 22%); margin: 0 4px; }

/* Bulk bar */
.st-bulk-bar { display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: hsl(210 30% 16%); border-bottom: 1px solid hsl(210 20% 24%); }
.st-bulk-count { font-size: .82rem; color: hsl(210 60% 72%); font-weight: 600; }

/* === Pagination === */
.st-pag { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.st-pag-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; background: hsl(222 40% 14% / .92); border: 1px solid hsl(215 20% 22%); border-radius: 6px; color: hsl(210 15% 58%); text-decoration: none; font-size: .78rem; font-weight: 500; transition: all .15s; }
.st-pag-btn:hover { background: hsl(210 50% 50% / .08); color: #fff; }
.st-pag-btn.active { background: hsl(210 100% 50%); color: #fff; border-color: transparent; }

/* === Empty State / Hero === */
.st-empty-hero { text-align: center; padding: 40px 20px 16px; }
.st-empty-hero i { font-size: 3rem; color: hsl(210 100% 65% / .35); margin-bottom: 14px; display: block; }
.st-empty-hero h4 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 600; color: #fff; }
.st-empty-hero p { margin: 0; font-size: .84rem; color: hsl(210 15% 55%); }

/* === Category Grid === */
.st-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.st-cat-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; background: hsl(222 40% 12%); border: 1px solid hsl(215 20% 22%); border-radius: 8px; text-decoration: none; color: hsl(210 15% 68%); font-size: .78rem; font-weight: 500; transition: all .15s; text-align: center; -webkit-user-select: none; user-select: none; }
.st-cat-card i { font-size: 1.15rem; color: hsl(210 80% 65% / .7); transition: color .15s; }
.st-cat-card-desc { font-size: .68rem; color: hsl(210 15% 42%); font-weight: 400; margin-top: 2px; }
.st-cat-card:hover { background: hsl(210 50% 50% / .1); border-color: hsl(210 70% 50% / .3); color: #fff; }
.st-cat-card:hover i { color: hsl(210 100% 70%); }
.st-cat-card.active { background: hsl(210 60% 50% / .12); border-color: hsl(210 100% 52%); color: #fff; }
.st-cat-card.active i { color: hsl(210 100% 65%); }
.st-cat-header { padding: 14px 18px 0; font-size: .72rem; font-weight: 600; color: hsl(210 15% 50%); text-transform: uppercase; letter-spacing: .4px; }
.st-cat-card-sm { padding: 12px 10px; gap: 4px; }
.st-cat-card-sm i { font-size: 1rem; }

/* === Create Ticket Form === */
.st-form-expand { overflow: hidden; border-top: 1px solid hsl(215 20% 18%); }
.st-form-expand-inner { padding: 20px; }
.st-form-actions { display: flex; gap: 10px; align-items: center; padding-top: 8px; }
.st-form-actions .st-btn-primary { flex: 1; max-width: 260px; }
.st-form { padding: 0; }
.st-empty-hero-sm { padding: 30px 20px; }
.st-empty-hero-sm i { font-size: 2rem; margin-bottom: 10px; }
.st-form-section { margin-bottom: 24px; }
.st-form-section-title { font-size: .72rem; font-weight: 600; color: hsl(210 15% 50%); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.st-form-section-title::after { content: ""; flex: 1; height: 1px; background: hsl(215 20% 18%); }
.st-field { margin-bottom: 16px; }
.st-field label { display: block; font-size: .72rem; font-weight: 600; color: hsl(210 15% 50%); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.st-field label .st-required { color: hsl(0 70% 60%); margin-left: 2px; }
.st-field input, .st-field select, .st-field textarea { width: 100%; padding: 10px 12px; background: hsl(222 47% 9%); border: 1px solid hsl(215 20% 22%); border-radius: 6px; color: #fff; font-size: .86rem; font-family: inherit; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.st-field input:focus, .st-field select:focus, .st-field textarea:focus { outline: none; border-color: hsl(210 100% 50%); box-shadow: 0 0 0 2px hsl(210 100% 50% / .12); }
.st-field input.st-field-error, .st-field textarea.st-field-error { border-color: hsl(0 65% 50%); box-shadow: 0 0 0 2px hsl(0 65% 50% / .12); }
.st-field-error-msg { font-size: .7rem; color: hsl(0 70% 60%); margin-top: 4px; display: none; }
.st-field-error-msg.visible { display: block; }
.st-field textarea { resize: vertical; min-height: 110px; }
.st-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-counter { display: block; text-align: right; font-size: .7rem; color: hsl(210 15% 40%); margin-top: 4px; transition: color .15s; }
.st-counter.st-counter-warn { color: hsl(38 80% 55%); }
.st-counter.st-counter-danger { color: hsl(0 70% 60%); }

/* Priority Picker is below */

/* Priority Picker (segmented control) */
.st-priority-picker { display: flex; gap: 0; border: 1px solid hsl(215 20% 22%); border-radius: 6px; overflow: hidden; margin-bottom: 16px; }
.st-priority-option { flex: 1; padding: 9px 10px; font-size: .76rem; font-weight: 500; text-align: center; cursor: pointer; transition: all .15s; color: hsl(210 15% 58%); background: hsl(222 40% 12%); border-right: 1px solid hsl(215 20% 22%); user-select: none; }
.st-priority-option:last-child { border-right: none; }
.st-priority-option:hover { background: hsl(215 20% 18%); color: hsl(210 15% 78%); }
.st-priority-option.active { color: #fff; font-weight: 600; }
.st-priority-option[data-value="baixa"].active { background: hsl(145 45% 30%); color: hsl(145 50% 80%); }
.st-priority-option[data-value="normal"].active { background: hsl(210 55% 35%); color: hsl(210 60% 85%); }
.st-priority-option[data-value="alta"].active { background: hsl(38 70% 35%); color: hsl(38 85% 85%); }
.st-priority-option[data-value="critica"].active { background: hsl(0 55% 35%); color: hsl(0 70% 85%); }
.st-priority-hint { font-size: .68rem; color: hsl(210 15% 42%); margin-top: -8px; margin-bottom: 16px; }

/* === Ticket Detail View === */
.st-ticket-view { max-width: 760px; width: 100%; margin: 0 auto; }
.st-ticket-card { overflow: hidden; margin-bottom: 16px; min-width: 0; }
.st-ticket-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid hsl(215 20% 20%); }
.st-ticket-topbar-actions { display: flex; gap: 8px; }
.st-ticket-info { padding: 20px; border-bottom: 1px solid hsl(215 20% 18%); }
.st-ticket-title { margin: 0 0 14px; font-size: 1.15rem; font-weight: 600; color: #fff; line-height: 1.4; display: flex; align-items: baseline; gap: 8px; }
.st-detail-id { color: hsl(210 100% 65%); font-weight: 700; font-size: .88rem; }
.st-ticket-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st-ticket-dates { font-size: .73rem; color: hsl(210 15% 45%); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.st-ticket-dates i { margin-right: 3px; opacity: .7; }
.st-chat-divider { padding: 12px 20px; border-bottom: 1px solid hsl(215 20% 18%); }
.st-chat-divider span { font-size: .76rem; font-weight: 600; color: hsl(210 15% 50%); display: flex; align-items: center; gap: 6px; }
.st-chat-divider i { color: hsl(210 80% 58%); }
.st-chat-thread { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
.st-chat-msg { display: flex; gap: 12px; align-items: flex-start; }
.st-chat-avatar { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.st-avatar-player { background: hsl(210 45% 22%); color: hsl(210 75% 70%); }
.st-avatar-gm { background: hsl(210 75% 40% / .3); color: hsl(210 100% 70%); }
.st-chat-bubble { flex: 1; min-width: 0; background: hsl(222 35% 17%); border: 1px solid hsl(215 20% 22%); border-radius: 2px 8px 8px 8px; padding: 12px 16px; }
.st-chat-msg-gm .st-chat-bubble { background: hsl(210 45% 16%); border-color: hsl(210 50% 28%); border-left: 3px solid hsl(210 100% 50%); }
.st-chat-msg-int .st-chat-bubble { background: hsl(38 30% 14%); border-color: hsl(38 40% 25%); border-left: 3px solid hsl(38 80% 50%); }
.st-chat-bubble-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.st-chat-name { font-weight: 600; font-size: .82rem; color: #fff; display: flex; align-items: center; gap: 6px; }
.st-chat-time { font-size: .68rem; color: hsl(210 15% 42%); }
.st-chat-text { color: hsl(210 15% 76%); font-size: .85rem; line-height: 1.65; word-wrap: break-word; }
.st-gm-tag { background: hsl(210 100% 50%); color: #fff; font-size: .55rem; padding: 2px 6px; border-radius: 3px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.st-int-tag { background: hsl(38 80% 50% / .2); color: hsl(38 80% 58%); font-size: .55rem; padding: 2px 6px; border-radius: 3px; font-weight: 600; }
.st-timeline-event { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.st-timeline-dot { width: 8px; height: 8px; border-radius: 50%; background: hsl(210 60% 45%); flex-shrink: 0; margin-left: 14px; }
.st-timeline-text { font-size: .72rem; color: hsl(210 15% 45%); font-style: italic; }
.st-chat-reply { padding: 16px 20px; border-top: 1px solid hsl(215 20% 20%); background: hsl(222 40% 12% / .95); border-radius: 0 0 8px 8px; position: sticky; bottom: 0; z-index: 10; backdrop-filter: blur(10px); }
.st-chat-reply::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; background: linear-gradient(to top, hsl(222 40% 12% / .6), transparent); pointer-events: none; }
.st-chat-reply-row { display: flex; gap: 10px; align-items: flex-end; }
.st-chat-reply textarea { flex: 1; background: hsl(222 40% 16%); border: 1px solid hsl(215 20% 24%); border-radius: 8px; color: #fff; padding: 10px 14px; font-family: inherit; font-size: .85rem; resize: vertical; box-sizing: border-box; min-height: 80px; transition: border-color .15s, box-shadow .15s; }
.st-chat-reply textarea:focus { outline: none; border-color: hsl(210 100% 50%); box-shadow: 0 0 0 2px hsl(210 100% 50% / .12); }
.st-chat-send { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 8px; flex-shrink: 0; font-size: .95rem; align-self: flex-end; }
.st-chat-reply-extras { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.st-file-label { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: hsl(210 15% 52%); cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: all .15s; }
.st-file-label:hover { color: hsl(210 100% 65%); background: hsl(210 50% 50% / .06); }
.st-file-label i { font-size: .85rem; }
.st-file-hidden { display: none; }
.st-check-int { display: flex; align-items: center; gap: 6px; font-size: .74rem; color: hsl(38 80% 58%); cursor: pointer; }
.st-check-int input { accent-color: hsl(38 80% 55%); }
.st-chat-img { display: block; margin-top: 8px; max-width: 320px; cursor: pointer; }
.st-chat-img img { width: 100%; border-radius: 6px; border: 1px solid hsl(215 20% 20%); transition: opacity .15s; }
.st-chat-img img:hover { opacity: .85; }
.st-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; cursor: pointer; animation: stFadeIn .2s ease; }
.st-lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
@keyframes stFadeIn { from { opacity: 0; } to { opacity: 1; } }
.st-chat-closed { padding: 20px; border-top: 1px solid hsl(215 20% 20%); text-align: center; border-radius: 0 0 8px 8px; }
.st-chat-closed-icon { font-size: 1.5rem; color: hsl(210 15% 35%); margin-bottom: 8px; display: block; }
.st-chat-closed-text { font-size: .82rem; color: hsl(210 15% 45%); margin-bottom: 14px; }
.st-chat-closed-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.st-rating-section { padding: 20px; border-top: 1px solid hsl(215 20% 18%); text-align: center; }
.st-rating-title { font-size: .88rem; font-weight: 600; color: hsl(210 15% 80%); margin-bottom: 10px; }
.st-rating-stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.st-rating-star { font-size: 1.6rem; cursor: pointer; color: hsl(210 15% 28%); transition: color .15s, transform .1s; }
.st-rating-star:hover, .st-rating-star.active { color: hsl(45 90% 55%); }
.st-rating-star:hover { transform: scale(1.15); }
.st-rating-comment { width: 100%; max-width: 400px; margin: 0 auto 12px; }
.st-rating-comment textarea { width: 100%; padding: 8px 12px; background: hsl(222 47% 9%); border: 1px solid hsl(215 20% 22%); border-radius: 6px; color: #fff; font-size: .82rem; font-family: inherit; resize: none; min-height: 60px; box-sizing: border-box; }
.st-rating-comment textarea:focus { outline: none; border-color: hsl(210 100% 50%); box-shadow: 0 0 0 2px hsl(210 100% 50% / .12); }
.st-rating-done { font-size: .82rem; color: hsl(45 80% 55%); }
.st-rating-done i { margin-right: 4px; }
.st-gm-panel { overflow: hidden; }
.st-gm-header { padding: 14px 20px; font-size: .82rem; font-weight: 600; color: hsl(210 80% 68%); border-bottom: 1px solid hsl(215 20% 20%); display: flex; align-items: center; gap: 8px; background: hsl(210 45% 18% / .4); }
.st-gm-header i { font-size: .85rem; }
.st-gm-header-hint { font-size: .7rem; font-weight: 400; color: hsl(210 15% 45%); margin-left: auto; }
.st-gm-body { padding: 18px 20px; }
.st-gm-info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid hsl(215 20% 16%); }
.st-gm-cell { display: flex; flex-direction: column; gap: 4px; }
.st-gm-select-label { display: block; font-size: .65rem; font-weight: 600; color: hsl(210 15% 50%); text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.st-gm-info-value { font-size: .82rem; color: hsl(210 15% 80%); font-weight: 500; }
.st-gm-controls-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.st-gm-select-row { display: flex; gap: 6px; align-items: center; }
.st-gm-select { flex: 1; }
.st-gm-player-priority { font-size: .7rem; color: hsl(210 15% 42%); font-style: italic; margin-top: 4px; }
.st-gm-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid hsl(215 20% 16%); }

/* === Responsive === */
@media (max-width: 860px) {
    .st-stats-row-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
    .st-gm-info-row { grid-template-columns: 1fr; }
    .st-gm-controls-row { grid-template-columns: 1fr; }
    .st-ticket-meta-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .st-page { padding: 12px 8px 180px; }
    .st-form-grid { grid-template-columns: 1fr; }
    .st-table thead { display: none; }
    .st-table tbody tr { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 10px 14px; border-bottom: 1px solid hsl(215 20% 15%); }
    .st-table tbody td { padding: 0; border: none; font-size: .78rem; }
    .st-table tbody tr:hover td:first-child { box-shadow: none; }
    .st-filters { flex-direction: column; }
    .st-filters-sep { display: none; }
    .st-stats-row { grid-template-columns: repeat(3, 1fr); }
    .st-stats-row-4 { grid-template-columns: repeat(2, 1fr); }
    .st-stats-row-5 { grid-template-columns: repeat(2, 1fr); }
    .st-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .st-header-bar { flex-direction: column; align-items: flex-start; }
    .st-ticket-topbar { flex-direction: column; gap: 10px; align-items: flex-start; }
    .st-chat-bubble { min-width: 0; }
    .st-ticket-row { flex-wrap: wrap; }
    .st-ticket-row-right { width: 100%; margin-top: 6px; padding-left: 50px; }
    .st-priority-picker { flex-wrap: wrap; }
    .st-priority-option { min-width: 0; }
    .st-tabs { gap: 2px; }
    .st-gm-actions { justify-content: flex-start; }
}

/* ========================================
   COMUNIDADE - BUILDS & GUIAS
   ======================================== */

/* Page Layout */
.community-page {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px 60px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.community-header {
    text-align: center;
    margin-bottom: 24px;
}

.community-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.community-title .highlight {
    color: var(--primary-color);
}

.community-subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
}

/* Tabs Builds / Guias */
.community-tabs {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.community-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-family: 'Oxanium', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.community-tab i {
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.community-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(79, 195, 247, 0.3);
}

.community-tab:hover i {
    opacity: 1;
}

.community-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    background: transparent;
}

.community-tab.active i {
    opacity: 1;
}

.community-tab.create-btn {
    margin-left: auto;
    color: #2ecc71;
    border-bottom-color: transparent;
    font-size: 0.85rem;
}

.community-tab.create-btn:hover {
    border-bottom-color: rgba(46, 204, 113, 0.4);
    color: #2ecc71;
}

/* Filters */
.community-filters {
    margin-bottom: 24px;
}

.filter-group {
    margin-bottom: 12px;
}

.filter-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.2s;
}

.filter-chip:hover {
    color: #fff;
    border-color: var(--primary-color);
}

.filter-chip.active {
    background: rgba(52, 152, 219, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-chip.has-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.filter-chip-icon {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
}

.filter-chip.small {
    padding: 4px 10px;
    font-size: 0.78rem;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sort-toggle {
    display: flex;
    gap: 4px;
}

.sort-btn {
    padding: 5px 12px;
    border-radius: 6px;
    background: transparent;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.sort-btn:hover {
    color: #fff;
}

.sort-btn.active {
    background: var(--glass-bg);
    color: var(--primary-color);
}

/* Builds Grid */
.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.build-card {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s;
}

.build-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.15);
}

.build-card-render {
    height: 140px;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
}

.build-card-render img {
    image-rendering: pixelated;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%) scale(1.1);
}

.build-card-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.build-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.build-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.build-card-author {
    font-size: 0.8rem;
    color: #fff;
    font-weight: 700;
}

.build-card-class {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.build-card-level {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

.build-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}

.build-card-focus {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.focus-pvm { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.focus-pvp { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.focus-woe { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }
.focus-farm { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.focus-hybrid { background: rgba(52, 152, 219, 0.15); color: #3498db; }

.build-card-stats {
    margin-left: auto;
    display: flex;
    gap: 10px;
    color: rgba(255,255,255,0.45);
    font-size: 0.76rem;
}

.build-card-stats .fa-heart { color: #e74c3c; }
.build-card-stats .fa-comment { color: var(--primary-color); }
.build-card-stats .fa-eye { color: rgba(255,255,255,0.35); }

/* Guides List */
.guides-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
}

.guide-card:hover {
    border-color: var(--primary-color);
    transform: translateX(6px);
    box-shadow: -3px 0 0 0 var(--primary-color);
}

.guide-card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    min-width: 90px;
    text-align: center;
}

.cat-leveling { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.cat-class { background: rgba(52, 152, 219, 0.15); color: #3498db; }
.cat-farming { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.cat-pvp { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.cat-woe { background: rgba(155, 89, 182, 0.15); color: #9b59b6; }
.cat-newbie { background: rgba(26, 188, 156, 0.15); color: #1abc9c; }
.cat-other { background: rgba(149, 165, 166, 0.15); color: #95a5a6; }

.guide-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guide-card-class-tag {
    color: var(--primary-color);
    font-weight: 700;
}

.guide-card-excerpt {
    display: none;
    overflow: hidden;
}

.guide-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    flex-shrink: 0;
}

.guide-card-votes {
    color: #e74c3c;
}

/* Pagination */
.community-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: #fff;
}

.page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.page-ellipsis {
    color: rgba(255,255,255,0.3);
    padding: 0 4px;
}

/* Empty State */
.community-empty {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.community-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.community-empty p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.btn-create {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-create:hover {
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
}

/* ========================================
   BUILD VIEW (verbuild)
   ======================================== */

.build-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.build-back:hover {
    color: var(--primary-color);
}

.build-view-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* Left column - Character */
.build-view-char {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: sticky;
    top: 80px;
}

.build-char-render {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.build-char-render img {
    image-rendering: pixelated;
    transform: scale(6);
}

.build-char-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
}

.build-char-class {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.build-char-levels {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.build-char-levels strong {
    color: #fff;
}

.build-char-guild {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.build-focus-badge {
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Build Header */
.build-detail-header {
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.build-detail-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.build-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 14px;
}

.build-edited-badge {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
    font-style: italic;
}

.meta-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}

.meta-action-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.meta-action-danger:hover {
    background: rgba(231,76,60,0.15);
    border-color: rgba(231,76,60,0.3);
    color: #e74c3c;
}

.build-detail-meta i {
    margin-right: 4px;
}

/* Vote Button */
.build-vote-area {
    margin-top: 8px;
}

.btn-vote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-vote:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.15);
}

.btn-vote.voted {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-vote.voted i {
    animation: pulse-heart 0.3s ease;
}

/* Inline vote button (na meta row) */
.btn-vote-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(231, 76, 60, 0.25);
    background: rgba(231, 76, 60, 0.08);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: auto;
}

.btn-vote-inline:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-vote-inline.voted {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-vote-inline.voted i {
    animation: pulse-heart 0.3s ease;
}

.btn-vote-inline.own-content {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    background: transparent;
}

.btn-vote-inline.own-content:hover {
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
    background: transparent;
}

@keyframes pulse-heart {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.btn-vote.own-content {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.35);
    background: transparent;
}

.btn-vote.own-content:hover {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.35);
    background: transparent;
}

a.equip-slot {
    text-decoration: none;
    color: inherit;
}

a.equip-slot:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

/* Stats Panel */
.build-skills-panel,
.build-stats-panel,
.build-equip-panel,
.build-desc-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.panel-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-title i {
    color: var(--primary-color);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-row {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 10px;
}

.stat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Oxanium', sans-serif;
}

.stat-bar-bg {
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.stat-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
    font-family: 'Oxanium', sans-serif;
}

/* Equipment Grid */
.equip-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.equip-grid-2col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.equip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* Equipment + Char Center Panel */
.build-equip-char-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Char render mobile-only (acima dos equipamentos) */
.ecg-char-mobile-top {
    display: none;
}

.equip-char-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecg-row {
    display: grid;
    gap: 8px;
}

.ecg-2col {
    grid-template-columns: 1fr 1fr;
}

.ecg-3col-char {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.ecg-char-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
}

.ecg-char-render {
    width: 180px;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.ecg-char-render img {
    image-rendering: pixelated;
    position: absolute;
    left: 50%;
    top: 15%;
    transform: translate(-50%, -50%) scale(1.3);
}

.ecg-char-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.ecg-costume-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

.panel-subtitle {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.panel-subtitle i {
    color: #9b59b6;
}

.ecg-row-costume {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ecg-row-costume .equip-slot {
    flex: 1;
    min-width: 140px;
}

/* Stats + Train Side by Side */
.build-stats-train-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto 16px;
    align-items: stretch;
}

.build-stats-train-row .build-stats-panel,
.build-stats-train-row .build-train-panel {
    margin-bottom: 0;
}

/* Skills Panel */
.build-skills-panel {
    max-width: 800px;
    margin: 0 auto 16px;
}

.skills-count {
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.skill-group {
    margin-bottom: 14px;
}

.skill-group:last-child {
    margin-bottom: 0;
}

.skill-group-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(52,152,219,0.15);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 6px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    cursor: url('../assets/hand-cursor.gif'), pointer !important;
}

.skill-icon-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skill-icon-wrap:hover {
    border-color: var(--accent-color);
}

/* Tooltip da skill no hover */
.skill-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(79, 195, 247, 0.25);
    color: #e2e8f0;
    font-size: 0.72rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 10;
}

.skill-item:hover::after {
    opacity: 1;
}

.skill-icon {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}

.skill-lv {
    position: absolute;
    bottom: 1px;
    right: 2px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 3px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.7);
    line-height: 1;
}

.skill-name {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    line-height: 1.2;
    max-width: 52px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Training Panel - replica visual da página de treino */
.build-train-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
}

.train-total {
    font-weight: 400;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-left: 8px;
}

.train-perks-toggle {
    float: right;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.15s;
}

.train-perks-toggle:hover,
.train-perks-toggle.active {
    background: rgba(52,152,219,0.15);
    border-color: rgba(52,152,219,0.3);
    color: var(--accent-color);
}

.train-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Replica .train-stat da página de treino */
.build-train-panel .train-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.build-train-panel .train-label {
    font-size: 0.75rem;
    font-weight: 700;
    width: 28px;
    flex-shrink: 0;
    text-align: center;
}

.build-train-panel .train-bar-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.build-train-panel .train-bar {
    flex: 5;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.build-train-panel .train-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.build-train-panel .train-lv {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    white-space: nowrap;
    width: 30px;
    flex-shrink: 0;
}

/* Perks abaixo de cada atributo */
.train-perks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-left: 36px;
    margin-bottom: 4px;
}

.train-perk {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.55);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

.train-perk i {
    font-size: 0.55rem;
}

.train-perk-lvl {
    opacity: 0.5;
    font-size: 0.62rem;
}

.equip-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
    min-width: 0;
    overflow: hidden;
}

.equip-slot.filled:hover {
    background: rgba(255,255,255,0.06);
}

.equip-slot-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.equip-slot-icon img {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
}

.equip-slot-icon i {
    color: rgba(255,255,255,0.15);
    font-size: 0.8rem;
}

.equip-slot-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.equip-slot-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.equip-slot-name {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.equip-slot-name.empty-text {
    color: rgba(255,255,255,0.2);
    font-style: italic;
}

.equip-slot-cards {
    font-size: 0.75rem;
    color: var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description */
.build-description {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Comments */
.build-comments-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.comment-count {
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.build-add-comment-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.comment-form {
    /* placeholder */
    display: block;
}

.comment-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.2s;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.comment-char-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.btn-comment-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-comment-submit:hover {
    background: var(--secondary-color);
}

.btn-comment-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.comment-login-hint {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.comment-login-hint a {
    color: var(--primary-color);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comments-empty {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
    padding: 20px 0;
}

.comment-item {
    padding: 12px 14px 12px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.comment-author {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-author .head-avatar {
    width: 16px;
    height: 16px;
    clip-path: inset(-200% -50% -200% -50%);
    margin-right: 0;
}

.comment-author .head-avatar img {
    transform: translate(-50%, -50%) scale(0.85);
}

/* Head avatar reutilizável — mesmo estilo do header */
.head-avatar {
    display: inline-block;
    width: 14px;
    height: 14px;
    overflow: visible;
    position: relative;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: -2px;
    clip-path: inset(-200% -30% -200% -50%);
}

.head-avatar img {
    position: absolute;
    width: auto;
    height: auto;
    object-fit: none;
    left: 40%;
    top: -70%;
    transform: translate(-50%, -50%) scale(0.8);
    image-rendering: pixelated;
}

.comment-avatar {
    width: 22px;
    height: 22px;
    image-rendering: pixelated;
}

.comment-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.comment-delete {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 2px 6px;
    transition: color 0.2s;
}

.comment-delete:hover {
    color: #e74c3c;
}

.comment-body {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* Comment actions (responder) */
.comment-actions {
    margin-top: 4px;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.15s;
}

.comment-reply-btn:hover {
    color: var(--accent-color);
}

/* Replies thread */
.comment-replies {
    margin-left: 32px;
    margin-top: 8px;
    padding: 10px 14px;
    border-left: 2px solid rgba(52,152,219,0.15);
    background: rgba(255,255,255,0.02);
    border-radius: 0 8px 8px 0;
}

.comment-reply {
    padding: 10px 0;
    border-radius: 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.comment-reply:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.comment-reply:first-child {
    padding-top: 0;
}

.comment-replies-toggle {
    margin-top: 6px;
    margin-left: 32px;
    padding-left: 16px;
}

.toggle-replies-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.75rem;
    cursor: pointer;
    padding: 3px 0;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.toggle-replies-btn:hover {
    opacity: 1;
}

/* Reply form inline */
.reply-form-inline {
    margin: 8px 0 4px 32px;
    padding-left: 16px;
    border-left: 2px solid rgba(52,152,219,0.3);
}

.reply-form-inline .reply-input {
    font-size: 0.82rem;
    padding: 8px 10px;
    min-height: auto;
}

.btn-cancel-reply {
    background: none;
    border: 1px solid var(--glass-border);
    color: #888;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-cancel-reply:hover {
    color: #ccc;
    border-color: rgba(255,255,255,0.2);
}

.btn-submit-reply {
    background: rgba(52,152,219,0.15);
    border: 1px solid rgba(52,152,219,0.3);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-submit-reply:hover {
    background: rgba(52,152,219,0.3);
}

/* Comment form wrapper */
.comment-form-wrapper {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
}

/* Owner Actions */
.build-owner-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.btn-delete-build {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.1);
    color: rgba(231, 76, 60, 0.8);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-build:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #e74c3c;
}

.guide-owner-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.btn-edit-guide {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(52, 152, 219, 0.3);
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-edit-guide:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: var(--primary-color);
}

/* Entity search bar with button */
.entity-search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.entity-search-bar .entity-search-input {
    margin-bottom: 0;
    flex: 1;
}

.entity-search-go {
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.entity-search-go:hover {
    background: var(--secondary-color);
}

/* ========================================
   CREATE BUILD / GUIDE FORM
   ======================================== */

.create-build-page,
.create-guide-page {
    max-width: 800px;
    margin: 0 auto;
}

.create-build-form {
    display: block;
}

.form-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.form-section-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section-title i {
    color: var(--primary-color);
}

.form-section-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin: 0 0 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group textarea,
.form-group select,
.form-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 16px;
}

.flex-1 {
    flex: 1;
}

/* Character Select */
.char-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.char-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border-radius: 10px;
    border: 2px solid var(--glass-border);
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.char-select-card input {
    display: none;
}

.char-select-card:hover {
    border-color: rgba(52, 152, 219, 0.4);
}

.char-select-card.selected {
    border-color: var(--primary-color);
    background: rgba(52, 152, 219, 0.1);
}

.char-select-render {
    width: 137px;
    height: 126px;
    margin: 0 auto 5px;
    position: relative;
    overflow: hidden;
}

.char-select-render img {
    image-rendering: pixelated;
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -50%) scale(1.1);
}

.char-select-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.char-select-class {
    font-size: 0.78rem;
    color: var(--primary-color);
}

.char-select-level {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* Focus Select */
.focus-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.focus-option {
    cursor: pointer;
}

.focus-option input {
    display: none;
}

.focus-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}

.focus-icon {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
}

.focus-option input:checked + .focus-label,
.focus-label.checked {
    border-color: currentColor;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.form-hint {
    font-weight: 400;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* Submit */
.form-actions {
    text-align: center;
}

.btn-submit-build {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-build:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-submit-build:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   GUIDE ARTICLE VIEW
   ======================================== */

/* Guide View Layout */
.guide-view-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: flex-start;
}

.guide-comments-section {
    grid-column: 2;
}

.guide-author-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: sticky;
    top: 80px;
    text-align: center;
}

.guide-author-render {
    width: 140px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.guide-author-render img {
    image-rendering: pixelated;
    position: absolute;
    left: 50%;
    top: 13%;
    transform: translate(-50%, -50%) scale(1.1) scaleX(-1);
}

.guide-author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.guide-author-class {
    font-size: 0.78rem;
    color: var(--primary-color);
}

.guide-author-level {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.guide-article {
    max-width: 100%;
    min-width: 0;
}

.guide-article-header {
    margin-bottom: 30px;
}

.guide-category-badge,
.guide-class-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
    margin-bottom: 10px;
}

.guide-class-badge {
    background: rgba(52, 152, 219, 0.15);
    color: var(--primary-color);
}

.guide-article-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.guide-article-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
}

.guide-article-meta i {
    margin-right: 4px;
}

/* Guide Content - mesmo estilo do article-text dos posts */
.guide-view .build-comments-panel {
    margin-top: 24px;
}

.guide-article-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary) !important;
    line-height: 1.7;
}

/* Forçar cor clara em todo conteúdo (Quill salva cor inline escura) */
.guide-article-content,
.guide-article-content p,
.guide-article-content span,
.guide-article-content li,
.guide-article-content div {
    color: var(--text-secondary) !important;
}

.guide-article-content h1,
.guide-article-content h2 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.4rem;
    color: var(--text-primary) !important;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.guide-article-content h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1.15rem;
    color: var(--text-primary) !important;
    margin: 20px 0 8px;
}

.guide-article-content p {
    margin: 0 0 15px;
    line-height: 1.7;
}

.guide-article-content p:last-child {
    margin-bottom: 0;
}

.guide-article-content strong,
.guide-article-content b {
    color: var(--text-primary) !important;
}

.guide-article-content em,
.guide-article-content i:not(.fas):not(.far):not(.fab) {
    color: var(--accent-color) !important;
    font-style: italic;
}

.guide-article-content ul,
.guide-article-content ol {
    margin: 0 0 15px;
    padding-left: 24px;
}

.guide-article-content li {
    margin-bottom: 6px;
}

.guide-article-content blockquote {
    border-left: 3px solid var(--primary-color);
    padding: 12px 18px;
    margin: 16px 0;
    background: rgba(52, 152, 219, 0.06);
    border-radius: 0 8px 8px 0;
    color: rgba(255,255,255,0.65) !important;
}

.guide-article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

.guide-article-content a:not(.entity-inline-link) {
    color: var(--primary-color) !important;
    text-decoration: underline;
    text-decoration-color: rgba(52, 152, 219, 0.3);
}

.guide-article-content a:not(.entity-inline-link):hover {
    text-decoration-color: var(--primary-color);
}

/* Entity inline links dentro do guia (mesmo estilo dos posts) */
.guide-article-content .entity-inline-link {
    text-decoration: none !important;
}

.guide-article-content .entity-inline-name {
    color: var(--accent-color) !important;
}

/* Entity Embed Chips */
.entity-embed {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(52, 152, 219, 0.12);
    border: 1px solid rgba(52, 152, 219, 0.25);
    color: var(--accent-color);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.entity-embed:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: var(--primary-color);
}

.entity-icon {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
    vertical-align: middle;
}

/* ========================================
   QUILL EDITOR DARK THEME OVERRIDE
   ======================================== */

#quill-editor {
    min-height: 300px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    color: #fff;
    font-size: 0.95rem;
}

#quill-editor .ql-editor {
    min-height: 300px;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

#quill-editor .ql-editor.ql-blank::before {
    color: rgba(255,255,255,0.3);
    -webkit-text-fill-color: rgba(255,255,255,0.3);
    font-style: italic;
}

#quill-toolbar {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 8px 8px 0 0;
    padding: 8px;
}

#quill-toolbar .ql-stroke {
    stroke: rgba(255,255,255,0.6);
}

#quill-toolbar .ql-fill {
    fill: rgba(255,255,255,0.6);
}

#quill-toolbar .ql-picker-label {
    color: rgba(255,255,255,0.6);
}

#quill-toolbar button:hover .ql-stroke,
#quill-toolbar .ql-active .ql-stroke {
    stroke: var(--primary-color);
}

#quill-toolbar button:hover .ql-fill,
#quill-toolbar .ql-active .ql-fill {
    fill: var(--primary-color);
}

#quill-toolbar .ql-picker-options {
    background: var(--dark-surface);
    border-color: var(--glass-border);
}

#quill-toolbar .ql-picker-item {
    color: rgba(255,255,255,0.7);
}

#quill-toolbar .ql-picker-item:hover,
#quill-toolbar .ql-picker-item.ql-selected {
    color: var(--primary-color);
}

#quill-toolbar .ql-picker-label .ql-stroke {
    stroke: rgba(255,255,255,0.6);
}

/* Quill editor text colors - force override */
.ql-snow #quill-editor .ql-editor,
.ql-snow #quill-editor .ql-editor p,
.ql-snow #quill-editor .ql-editor li,
.ql-snow #quill-editor .ql-editor span {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.ql-snow #quill-editor .ql-editor h1,
.ql-snow #quill-editor .ql-editor h2,
.ql-snow #quill-editor .ql-editor h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.ql-snow #quill-editor .ql-editor a {
    color: var(--primary-color) !important;
}

.ql-snow #quill-editor .ql-editor blockquote {
    border-left: 3px solid var(--primary-color);
    color: rgba(255,255,255,0.7) !important;
}

/* Quill tooltip (link editor) */
.ql-snow .ql-tooltip {
    background: var(--dark-surface) !important;
    border-color: var(--glass-border) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

.ql-snow .ql-tooltip input[type="text"] {
    background: rgba(0,0,0,0.3) !important;
    border-color: var(--glass-border) !important;
    color: #fff !important;
}

.ql-snow .ql-tooltip a {
    color: var(--primary-color) !important;
}

.ql-snow .ql-tooltip a.ql-action::after,
.ql-snow .ql-tooltip a.ql-remove::before {
    color: var(--primary-color) !important;
}

/* Custom entity buttons in toolbar */
.ql-entity-item,
.ql-entity-monster,
.ql-entity-map {
    width: auto !important;
    padding: 2px 6px !important;
    color: rgba(255,255,255,0.6) !important;
    font-size: 14px;
}

.ql-entity-item:hover,
.ql-entity-monster:hover,
.ql-entity-map:hover {
    color: var(--primary-color) !important;
}

/* ========================================
   ENTITY SEARCH MODAL
   ======================================== */

.entity-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.entity-modal-content {
    background: #1a2332;
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.entity-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.15);
}

.entity-modal-header h3 {
    margin: 0;
    font-family: 'Oxanium', sans-serif;
    font-size: 1.05rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entity-modal-header h3 i {
    color: var(--primary-color);
}

.entity-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1;
    transition: all 0.15s;
}

.entity-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.entity-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
}

.entity-search-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.35) !important;
    color: #fff !important;
    font-size: 0.92rem;
    font-family: inherit;
    margin-bottom: 14px;
    transition: border-color 0.2s;
}

.entity-search-input::placeholder {
    color: rgba(255,255,255,0.3) !important;
}

.entity-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.entity-search-results {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.entity-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
}

.entity-result:hover {
    background: rgba(52, 152, 219, 0.12);
    border-color: rgba(52, 152, 219, 0.2);
}

.entity-result-icon {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    flex-shrink: 0;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
    padding: 2px;
}

.entity-result-fa {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
    color: var(--primary-color);
    font-size: 0.9rem;
}

.entity-result-name {
    flex: 1;
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 500;
}

.entity-result-id {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
    font-family: 'Oxanium', sans-serif;
}

.entity-hint,
.entity-loading {
    text-align: center;
    color: rgba(255,255,255,0.35) !important;
    font-size: 0.85rem;
    padding: 24px 0;
}

/* ========================================
   RESPONSIVE - COMMUNITY
   ======================================== */

@media (max-width: 768px) {
    /* Tabs mais compactos */
    .community-tab {
        padding: 10px 16px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    .community-tab.create-btn {
        margin-left: 0;
    }

    /* Título da página menor */
    .community-title {
        font-size: 1.5rem;
    }

    /* Builds grid */
    .builds-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    /* Equip+Char grid mobile */
    .ecg-2col {
        grid-template-columns: 1fr;
    }

    .ecg-char-mobile-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-bottom: 12px;
    }

    .ecg-char-mobile-top .ecg-char-render {
        width: 140px;
        height: 130px;
    }

    .ecg-char-mobile-top .ecg-char-render img {
        transform: translate(-50%, -50%) scale(1.1);
    }

    .ecg-char-center {
        display: none;
    }

    .ecg-3col-char {
        grid-template-columns: 1fr 1fr;
    }

    .ecg-char-render {
        width: 120px;
        height: 120px;
    }

    .ecg-char-render img {
        transform: translate(-50%, -50%) scale(1);
    }

    .build-stats-train-row {
        grid-template-columns: 1fr;
    }

    /* Build detail: título menor + meta wrapping */
    .build-detail-title {
        font-size: 1.3rem;
    }

    .build-detail-meta {
        gap: 10px;
        flex-wrap: wrap;
    }

    /* Painéis: padding menor */
    .build-stats-panel,
    .build-equip-panel,
    .build-desc-panel,
    .build-comments-panel {
        padding: 16px;
    }

    /* Guide view: layout 1 coluna */
    .guide-view-layout {
        grid-template-columns: 1fr;
    }

    .guide-comments-section {
        grid-column: 1;
    }

    /* Guide: sidebar horizontal com texto alinhado */
    .guide-author-sidebar {
        position: static;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
        padding: 12px 16px;
    }

    .guide-author-render {
        width: 80px;
        height: 80px;
    }

    .guide-author-render img {
        transform: translate(-50%, -50%) scale(0.8);
    }

    /* Guide: título menor */
    .guide-article-title {
        font-size: 1.4rem;
    }

    /* Guide card: layout empilhado */
    .guide-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .guide-card-category {
        min-width: auto;
    }

    .guide-card-title {
        white-space: normal;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .guide-card-footer {
        width: 100%;
        flex-wrap: wrap;
        gap: 8px;
    }

    .guide-article-content {
        padding: 20px;
    }

    /* Equipment */
    .equip-row {
        grid-template-columns: 1fr;
    }

    /* Filtros */
    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Sort buttons: mais tocáveis */
    .sort-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* Forms: padding menor */
    .form-section {
        padding: 16px;
    }

    .form-row {
        flex-direction: column;
    }

    .char-select-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    /* Quill toolbar: wrap melhor */
    #quill-toolbar {
        padding: 6px;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    /* Entity modal: quase full-screen */
    .entity-modal-content {
        max-width: 100%;
        max-height: 85vh;
    }
}

/* ---- Telefones pequenos ---- */
@media (max-width: 480px) {
    .community-page {
        padding: 0 10px 40px;
    }

    .community-title {
        font-size: 1.3rem;
    }

    .community-subtitle {
        font-size: 0.82rem;
    }

    /* Tabs: horizontal, scroll se necessário */
    .community-tabs {
        flex-direction: row;
        overflow-x: auto;
    }

    /* Builds grid: 1 coluna */
    .builds-grid {
        grid-template-columns: 1fr;
    }

    /* Filter chips: scroll horizontal */
    .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .filter-chips::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        flex-shrink: 0;
    }

    /* Build view char: empilhado de novo, compacto */
    .build-view-char {
        flex-direction: column;
        padding: 14px;
    }

    .build-char-render {
        width: 100px;
        height: 100px;
    }

    .build-char-render img {
        transform: scale(3.5);
    }

    .build-detail-title {
        font-size: 1.15rem;
    }

    .build-detail-meta {
        font-size: 0.78rem;
        gap: 8px;
    }

    /* Stats: grid mais apertado */
    .stat-row {
        grid-template-columns: 35px 1fr 35px;
        gap: 6px;
    }

    /* Equipment: mais compacto */
    .equip-slot {
        padding: 8px 10px;
        gap: 8px;
    }

    /* Comentários */
    .comment-item {
        padding: 10px;
    }

    .comment-header {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Guide title */
    .guide-article-title {
        font-size: 1.2rem;
    }

    .guide-article-content {
        padding: 14px;
    }

    .guide-article-content h2 {
        font-size: 1.15rem;
    }

    .guide-article-content h3 {
        font-size: 1rem;
    }

    /* Guide author: empilhado de novo */
    .guide-author-sidebar {
        flex-direction: column;
        text-align: center;
        padding: 14px;
    }

    /* Forms */
    .form-section {
        padding: 14px;
    }

    .form-section-title {
        font-size: 0.95rem;
    }

    .focus-label {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .btn-submit-build {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Char select */
    .char-select-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .char-select-card {
        padding: 10px 8px;
    }

    /* Vote button: full width */
    .btn-vote {
        width: 100%;
        justify-content: center;
    }

    /* Pagination: menores */
    .page-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 0.8rem;
    }

    /* Build card: stats em nova linha */
    .build-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .build-card-stats {
        margin-left: 0;
    }
}

/* ---- Telefones muito pequenos (iPhone SE etc) ---- */
@media (max-width: 375px) {
    .community-page {
        padding: 0 8px 30px;
    }

    .build-card-render {
        height: 110px;
    }

    .build-card-render img {
        transform: translate(-50%, -50%) scale(0.9);
    }

    .build-card-info {
        padding: 10px;
    }
}

/* ==================  AUTHOR LINK  ================ */
.author-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.author-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Dentro de cards (<a>) o author-link precisa se destacar */
.build-card .author-link,
.guide-card .author-link {
    position: relative;
    z-index: 2;
}

/* Sidebar do autor no guia — sem underline, sem mudar cor dos filhos */
a.guide-author-sidebar,
a.guide-author-sidebar:hover {
    text-decoration: none !important;
    color: inherit;
}
a.guide-author-sidebar:hover {
    border-color: var(--primary-color);
}
a.guide-author-sidebar:hover .guide-author-name {
    color: var(--primary-color);
}
a.guide-author-sidebar .guide-author-class,
a.guide-author-sidebar:hover .guide-author-class {
    text-decoration: none !important;
}
a.guide-author-sidebar .guide-author-level,
a.guide-author-sidebar:hover .guide-author-level {
    text-decoration: none !important;
}

/* Comment author link */
a.comment-author {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
a.comment-author:hover {
    text-decoration: underline;
}

/* ==================  PERFIL DO JOGADOR  ================ */
.profile-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    padding: 8px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    position: relative;
}

.profile-head {
    width: 24px;
    height: 24px;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.profile-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.profile-stats-inline {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.profile-stats-inline span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: all 0.2s;
    margin-left: 4px;
}

.profile-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========== Boost Event Banner ========== */
.boost-banner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    border: none;
    width: fit-content;
    margin: 0 auto;
}
.boost-banner i {
    color: #ff9933;
    font-size: 0.75rem;
}
.boost-banner strong {
    color: #ffaa44;
    font-weight: 600;
}
.boost-banner .boost-sep {
    opacity: 0.35;
    margin: 0 2px;
}
.boost-banner .boost-timer {
    font-family: monospace;
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
}
.boost-banner-home {
    margin-bottom: 16px;
}
.boost-banner-treino {
    margin-bottom: 10px;
}

/* ========================================
   MVP TIMERS PAGE
   ======================================== */

.mvp-timers-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Filter Tabs */
.mvpt-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 10px;
    overflow-x: auto;
}

.mvpt-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: url('../assets/hand-cursor.gif'), pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mvpt-filter:hover {
    background: rgba(79, 195, 247, 0.1);
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.mvpt-filter.active {
    background: rgba(79, 195, 247, 0.15);
    color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
}

.mvpt-filter i {
    font-size: 0.9rem;
}

/* Inline Search */
.mvpt-search-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    transition: border-color 0.3s ease;
    flex-shrink: 0;
}

.mvpt-search-inline:focus-within {
    border-color: var(--accent-color);
}

.mvpt-search-inline i {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.5;
}

.mvpt-search-inline input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    width: 130px;
}

.mvpt-search-inline input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Card Grid */
.mvpt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: start;
}

/* Card */
.mvpt-card {
    display: block;
    text-decoration: none;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    transition: all 0.35s ease;
    position: relative;
    cursor: url('../assets/hand-cursor.gif'), pointer;
}

.mvpt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Status-based card borders */
.mvpt-card.mvpt-status-alive {
    border-color: rgba(46, 204, 113, 0.3);
}

.mvpt-card.mvpt-status-alive:hover {
    border-color: rgba(46, 204, 113, 0.5);
}

.mvpt-card.mvpt-status-dead {
    border-color: rgba(231, 76, 60, 0.3);
}

.mvpt-card.mvpt-status-dead:hover {
    border-color: rgba(231, 76, 60, 0.5);
}

.mvpt-card.mvpt-status-window {
    border-color: rgba(241, 196, 15, 0.3);
}

.mvpt-card.mvpt-status-window:hover {
    border-color: rgba(241, 196, 15, 0.5);
}

/* Dead card sprite grayscale */
.mvpt-card.mvpt-status-dead .mvpt-mob-sprite img {
    filter: grayscale(0.7) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    opacity: 0.5;
}

/* Status Dot */
.mvpt-status-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 1;
}

.mvpt-status-alive .mvpt-status-dot {
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.mvpt-status-dead .mvpt-status-dot {
    background: #e74c3c;
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}

.mvpt-status-window .mvpt-status-dot {
    background: #f1c40f;
    box-shadow: 0 0 8px rgba(241, 196, 15, 0.6);
    animation: mvpt-pulse 2s ease-in-out infinite;
}

@keyframes mvpt-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Card Inner */
.mvpt-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
}

/* Mob Sprite */
.mvpt-mob-sprite {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
}

.mvpt-mob-sprite img {
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.mvpt-mob-sprite i {
    font-size: 1.4rem;
    color: var(--text-secondary);
    opacity: 0.4;
}

/* Mob Info */
.mvpt-mob-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mvpt-mob-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Row: level, map, status - all inline */
.mvpt-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
}

.mvpt-mob-map {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mvpt-mob-map i {
    font-size: 0.6rem;
    color: var(--accent-color);
    opacity: 0.7;
    flex-shrink: 0;
}

.mvpt-temporal-icon {
    color: #9b59b6 !important;
    opacity: 1 !important;
}

.mvpt-info-sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.mvpt-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 1px 7px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
}

.mvpt-badge i { font-size: 0.55rem; }

.mvpt-badge-alive { background: rgba(46, 204, 113, 0.12); color: #2ecc71; }
.mvpt-badge-dead { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }
.mvpt-badge-window { background: rgba(241, 196, 15, 0.12); color: #f1c40f; }

.mvpt-badge-dead .mvpt-countdown-text,
.mvpt-badge-window .mvpt-countdown-text {
    font-family: 'Oxanium', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
}

.mvpt-respawn-info {
    font-size: 0.65rem;
    color: var(--text-secondary);
    opacity: 0.4;
    font-family: 'Montserrat', sans-serif;
}

/* MVP Power Scaling Badge */
.mvpt-power {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    font-family: 'Oxanium', sans-serif;
}

.mvpt-power i { font-size: 0.55rem; }

.mvpt-power-low {
    background: rgba(230, 126, 34, 0.15);
    color: #e67e22;
}

.mvpt-power-mid {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.mvpt-power-high {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
    animation: mvpt-power-pulse 2s ease-in-out infinite;
}

@keyframes mvpt-power-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* System Info Banner */
.mvpt-system-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: rgba(230, 126, 34, 0.06);
    border: 1px solid rgba(230, 126, 34, 0.15);
    border-radius: var(--card-radius);
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    justify-content: center;
}

.mvpt-system-info i {
    color: #e67e22;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Modal Power Section */
.mvpt-modal-power {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--glass-border);
}

.mvpt-mp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.mvpt-mp-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mvpt-mp-label i {
    font-size: 0.7rem;
    color: #e67e22;
}

.mvpt-mp-value {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.mvpt-mp-cap {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.4;
}

.mvpt-mp-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
}

.mvpt-mp-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.mvpt-mp-stats {
    display: flex;
    gap: 16px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.6;
    font-family: 'Montserrat', sans-serif;
}

.mvpt-mp-stats i {
    font-size: 0.6rem;
    margin-right: 3px;
    opacity: 0.5;
}

/* Killer Row */
.mvpt-killer-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    font-family: 'Montserrat', sans-serif;
    min-width: 0;
}

.mvpt-killer-label {
    font-size: 0.58rem;
    color: var(--text-secondary);
    opacity: 0.35;
    flex-shrink: 0;
}

.mvpt-killer-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.mvpt-killer-row .head-avatar {
    width: 14px;
    height: 14px;
    margin-right: 0;
    flex-shrink: 0;
    transform: scaleX(-1);
}

.mvpt-killer-row .head-avatar img {
    transform: translate(-50%, -50%) scale(0.7);
}

/* Name row with DB link */
.mvpt-mob-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mvpt-db-link {
    color: var(--text-secondary);
    font-size: 0.65rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
    cursor: url('../assets/hand-cursor.gif'), pointer;
}

.mvpt-card:hover .mvpt-db-link { opacity: 0.4; }
.mvpt-db-link:hover { opacity: 1 !important; color: var(--accent-color); }

/* ========== Drop Modal ========== */
.mvpt-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.mvpt-modal-overlay.open {
    display: flex;
}

.mvpt-modal {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    width: 90%;
    max-width: 480px;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    animation: mvptModalIn 0.25s ease;
}

@keyframes mvptModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.mvpt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
}

.mvpt-modal-header h3 {
    font-family: 'Oxanium', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.mvpt-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: url('../assets/hand-cursor.gif'), pointer;
    padding: 4px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.mvpt-modal-close:hover { opacity: 1; }

.mvpt-modal-nav {
    display: flex;
    border-bottom: 1px solid var(--glass-border);
}

.mvpt-modal-tab {
    flex: 1;
    padding: 10px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: url('../assets/hand-cursor.gif'), pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mvpt-modal-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.mvpt-modal-tab.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    font-weight: 600;
}

.mvpt-modal-tab i {
    font-size: 0.75rem;
}

.mvpt-tab-badge {
    font-size: 0.62rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: inline-block;
}

.mvpt-modal-tab.active .mvpt-tab-badge {
    background: rgba(79, 195, 247, 0.15);
}

.mvpt-modal-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

/* Kill History List */
.mvpt-kill-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mvpt-kill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.mvpt-kill-avatar {
    flex-shrink: 0;
}

.mvpt-kill-avatar img {
    transform: translate(-50%, -50%) scale(0.8);
}

.mvpt-kill-noavatar {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.4;
    width: 14px;
    text-align: center;
}

.mvpt-kill-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mvpt-kill-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.mvpt-kill-map {
    font-size: 0.68rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.mvpt-kill-map i {
    font-size: 0.58rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.mvpt-kill-date {
    font-size: 0.68rem;
    color: var(--text-secondary);
    opacity: 0.5;
    text-align: right;
    line-height: 1.4;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Drop content (shared modal styles) */
.mvpt-drop-loading,
.mvpt-drop-empty {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 20px 0;
}

.mvpt-drop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mvpt-drop-empty i { font-size: 1.5rem; opacity: 0.3; }
.mvpt-drop-none { opacity: 0.5; font-size: 0.78rem; }

.mvpt-drop-kills,
.mvpt-drop-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mvpt-drop-kills i { color: #e74c3c; font-size: 0.7rem; }
.mvpt-drop-count i { color: var(--accent-color); font-size: 0.7rem; }

.mvpt-drop-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mvpt-drop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    cursor: url('../assets/hand-cursor.gif'), pointer;
}

.mvpt-drop-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.mvpt-drop-item.mvpt-drop-card {
    background: rgba(241, 196, 15, 0.06);
    border: 1px solid rgba(241, 196, 15, 0.15);
}

.mvpt-drop-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    image-rendering: pixelated;
    flex-shrink: 0;
}

.mvpt-drop-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mvpt-drop-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.mvpt-drop-name i { color: #f1c40f; font-size: 0.7rem; }

.mvpt-drop-meta {
    font-size: 0.68rem;
    color: var(--text-secondary);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mvpt-drop-meta i {
    font-size: 0.58rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.mvpt-drop-type-mvp {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
    vertical-align: middle;
    margin-left: 4px;
}

.mvpt-drop-legacy {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.4;
    text-align: center;
    padding: 4px 0 8px;
    font-style: italic;
}

.mvpt-drop-qty {
    font-family: 'Oxanium', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-color);
    flex-shrink: 0;
    min-width: 36px;
    text-align: right;
}

/* Temporal Section Header */
.mvpt-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 20px;
}

.mvpt-section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 89, 182, 0.3), transparent);
}

.mvpt-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oxanium', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #9b59b6;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.mvpt-section-title i {
    font-size: 0.9rem;
}

/* Empty State */
.mvpt-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
}

.mvpt-empty i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    opacity: 0.4;
}

.mvpt-empty p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mvp-timers-page {
        padding: 0 12px 30px;
    }

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

    .mvpt-filters {
        padding: 8px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .mvpt-filter {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .mvpt-filter span {
        display: none;
    }

    .mvpt-search-inline {
        margin-left: 0;
        flex: 1;
        min-width: 0;
    }

    .mvpt-search-inline input {
        width: 100%;
        min-width: 0;
    }

    .mvpt-mob-sprite {
        width: 60px;
        height: 60px;
    }

    .mvpt-mob-sprite img {
        max-width: 60px;
        max-height: 60px;
    }

    .mvpt-card-inner {
        padding: 12px;
        gap: 10px;
    }

    .mvpt-section-header {
        margin: 24px 0 16px;
    }

    .mvpt-section-title {
        font-size: 0.82rem;
        letter-spacing: 1px;
    }
}

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

    .mvpt-mob-sprite {
        width: 44px;
        height: 44px;
    }

    .mvpt-mob-sprite img {
        max-width: 44px;
        max-height: 44px;
    }

    .mvpt-mob-name {
        font-size: 0.85rem;
    }
}
