@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- 1. CONFIGURAÇÕES E VARIÁVEIS --- */
:root {
    --bg-main: #07090c;
    --bg-panel: rgba(17, 19, 24, 0.85);
    --bg-input: #12151b;
    
    --color-primary: #d4af37; /* Dourado */
    --color-primary-hover: #ffdf00;
    --color-secondary: #e53e3e; /* Vermelho */
    --color-secondary-hover: #ff4d4d;
    
    --text-main: #e2e8f0;
    --text-muted: #8a92a6;
    --text-gold: #f3cf7a;
    
    --border-gold: rgba(212, 175, 55, 0.2);
    --border-gold-focus: rgba(212, 175, 55, 0.6);
    --border-red: rgba(229, 62, 62, 0.3);
    
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
    
    --glow-gold: 0 0 10px rgba(212, 175, 55, 0.3);
    --glow-gold-strong: 0 0 15px rgba(212, 175, 55, 0.6);
    --glow-red: 0 0 10px rgba(229, 62, 62, 0.4);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 2. RESET E ESTILOS BÁSICOS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(229, 62, 62, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, #07090c 0%, #0c0e12 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 700;
    color: #ffffff;
}

ul {
    list-style: none;
}

/* --- 3. COMPONENTES DE ESTRUTURA E GLASSMORPHISM --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.panel {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.7;
}

.panel:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.05);
}

.panel-title {
    font-size: 1.25rem;
    border-bottom: 1px solid var(--border-gold);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-shadow: var(--glow-gold);
}

.panel-title span {
    color: var(--color-primary);
}

/* --- 4. FORMULÁRIOS PREMIUM (DROPDOWN, RADIO, INPUTS) --- */

/* Campos de Texto (Inputs) */
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: var(--glow-gold), inset 0 2px 4px rgba(0,0,0,0.4);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, #8a6f27 0%, #d4af37 50%, #aa852a 100%);
    color: #111;
    border: 1px solid #ffdf00;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #aa852a 0%, #ffdf00 50%, #d4af37 100%);
    box-shadow: var(--glow-gold-strong);
    color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #1f1111 0%, #5a1818 50%, #1f1111 100%);
    color: #fff;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.15);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a1818 0%, #e53e3e 50%, #5a1818 100%);
    box-shadow: var(--glow-red);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Dropdown Personalizado (Select) */
.select-container {
    position: relative;
    width: 100%;
}

select {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    padding: 12px 40px 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

select:focus {
    border-color: var(--color-primary);
    box-shadow: var(--glow-gold), inset 0 2px 4px rgba(0,0,0,0.4);
}

/* Estilização dos itens de dropdown (options) */
select option {
    background-color: #111318;
    color: #ffffff;
    padding: 12px;
}

select option:hover {
    background-color: var(--color-primary) !important;
    color: #000000 !important;
}

/* Checkbox & Radio Button Customizados */
.custom-checkbox, .custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
    user-select: none;
    font-size: 0.95rem;
}

.custom-checkbox input, .custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Checkmark Visual */
.checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    margin-right: 10px;
    transition: var(--transition-smooth);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

/* Para Radio */
.custom-radio .checkmark {
    border-radius: 50%;
}

.custom-checkbox:hover input ~ .checkmark,
.custom-radio:hover input ~ .checkmark {
    border-color: var(--color-primary);
    box-shadow: var(--glow-gold);
}

.custom-checkbox input:checked ~ .checkmark,
.custom-radio input:checked ~ .checkmark {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    box-shadow: var(--glow-gold);
}

/* Marcador interno */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio input:checked ~ .checkmark:after {
    display: block;
    left: 6px;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: var(--glow-gold-strong);
}

/* --- 5. TABELAS PREMIUM (RANKING E ESTATÍSTICAS) --- */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

table th {
    background-color: rgba(0, 0, 0, 0.4);
    font-family: var(--font-heading);
    color: var(--color-primary);
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: var(--transition-smooth);
}

table tbody tr {
    transition: var(--transition-smooth);
}

table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.03);
}

table tbody tr:hover td {
    color: #ffffff;
    border-bottom-color: rgba(212, 175, 55, 0.15);
}

/* Posições especiais do Ranking */
.rank-pos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-family: var(--font-heading);
    font-weight: bold;
    border-radius: 50%;
    font-size: 0.85rem;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    color: #000;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #708090 100%);
    color: #000;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.5);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
    color: #fff;
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.4);
}

.rank-other {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* --- 6. HEADER E LOGO --- */
.header-wrapper {
    background: rgba(7, 9, 12, 0.9);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.logo span {
    color: var(--color-primary);
    margin-left: 5px;
}

/* Navegação Principal */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
    box-shadow: var(--glow-gold);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

/* Botão Menu Mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- 7. LAYOUT CENTRAL (CONTEÚDO E SIDEBAR) --- */
.main-wrapper {
    padding: 40px 0;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* --- 8. SIDEBAR COMPONENTS --- */

/* Widget Server Status */
.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.status-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
}

.status-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.status-online {
    color: #48bb78;
    text-shadow: 0 0 5px rgba(72, 187, 120, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #48bb78;
    border-radius: 50%;
    box-shadow: 0 0 8px #48bb78;
    animation: pulse 1.5s infinite;
}

.status-offline {
    color: var(--color-secondary);
    text-shadow: 0 0 5px rgba(229, 62, 62, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-offline::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

/* Widget Login Form */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.85rem;
}

.login-options a {
    color: var(--text-muted);
}

.login-options a:hover {
    color: var(--color-primary);
}

/* Links Rápidos Sidebar */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-sidebar-download {
    background: linear-gradient(135deg, #1a2332 0%, #2b3e5a 100%);
    border: 1px solid rgba(66, 153, 225, 0.3);
    color: #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.btn-sidebar-download::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: rotate(30deg);
    animation: sheen 4s infinite;
}

.btn-sidebar-download:hover {
    border-color: #4299e1;
    box-shadow: 0 0 15px rgba(66, 153, 225, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Banner de Fallback do Banco */
.db-alert {
    background: rgba(229, 62, 62, 0.1);
    border: 1px solid var(--border-red);
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #feb2b2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.db-alert-title {
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* --- 9. CONTEÚDO PRINCIPAL (HOME VIEW) --- */

/* Hero Banner */
.hero-banner {
    background-image: 
        linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.8) 100%),
        url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="800" height="300" viewBox="0 0 800 300"%3E%3Crect width="800" height="300" fill="%230f111a"/%3E%3Cpath d="M 0,150 Q 200,80 400,150 T 800,150" fill="none" stroke="%233e1414" stroke-width="5"/%3E%3Cpath d="M 0,100 Q 250,220 500,100 T 800,100" fill="none" stroke="%23d4af37" stroke-width="1" opacity="0.1"/%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4), 0 4px 8px rgba(0,0,0,0.8);
    margin-bottom: 10px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Info do Servidor Grid */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.info-card {
    background: rgba(17, 19, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: var(--transition-smooth);
}

.info-card:hover {
    background: rgba(17, 19, 24, 0.9);
    border-color: var(--border-gold);
    transform: translateY(-3px);
}

.info-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-card-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-primary);
}

/* Abas de Ranking Widget */
.tab-container {
    display: flex;
    border-bottom: 1px solid var(--border-gold);
    margin-bottom: 15px;
}

.tab-btn {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 12px 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    outline: none;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    box-shadow: var(--glow-gold);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Seção de Notícias */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.news-item:hover {
    background: rgba(212, 175, 55, 0.02);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateX(3px);
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-tag {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
}

.tag-news {
    background-color: rgba(66, 153, 225, 0.15);
    color: #90cdf4;
    border: 1px solid rgba(66, 153, 225, 0.3);
}

.tag-event {
    background-color: rgba(72, 187, 120, 0.15);
    color: #9ae6b4;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.tag-update {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--text-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* --- 10. RODAPÉ --- */
.footer-wrapper {
    background: #040507;
    border-top: 1px solid var(--border-gold);
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* --- 11. ANIMAÇÕES --- */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(72, 187, 120, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0);
    }
}

@keyframes sheen {
    0% {
        left: -120%;
    }
    20% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 12. RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .nav-menu {
        display: none; /* Controlado via JS */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(7, 9, 12, 0.98);
        border-bottom: 1px solid var(--border-gold);
        padding: 20px;
        gap: 15px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-banner {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* --- 13. ESTILOS DO DROPDOWN E SESSÃO DO USUÁRIO --- */
.nav-dropdown-wrapper {
    position: relative;
}

.btn-user-menu {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-content {
    position: absolute;
    right: 0;
    top: calc(100% + 5px);
    background: rgba(10, 12, 16, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    width: 280px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.1);
    display: none;
    z-index: 200;
}

/* Hover no Desktop ativa o dropdown */
@media (min-width: 769px) {
    .nav-dropdown-wrapper:hover .nav-dropdown-content {
        display: block;
        animation: fadeIn 0.25s ease;
    }
}

/* Estilo do Formulário de Login Rápido no Header */
.dropdown-form-group {
    margin-bottom: 12px;
}

.dropdown-form-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dropdown-form-group input {
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    background-color: #0b0d11 !important;
}

.dropdown-error-msg {
    color: #feb2b2;
    background: rgba(229, 62, 62, 0.15);
    border-left: 3px solid var(--color-secondary);
    padding: 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    margin: 10px 0;
}

.dropdown-footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.dropdown-footer-links a {
    color: var(--text-muted);
}

.dropdown-footer-links a:hover {
    color: var(--color-primary);
}

.dropdown-footer-links .bullet {
    color: rgba(255,255,255,0.1);
}

.dropdown-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 12px 0;
}

/* Links do Dropdown quando Logado */
.nav-dropdown-content.logged-in {
    width: 220px;
    padding: 15px;
}

.nav-dropdown-content.logged-in a {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #ffffff;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.nav-dropdown-content.logged-in a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--color-primary);
    padding-left: 16px;
}

.nav-dropdown-content.logged-in .btn-logout {
    color: #feb2b2;
}

.nav-dropdown-content.logged-in .btn-logout:hover {
    background: rgba(229, 62, 62, 0.1);
    color: var(--color-secondary-hover);
}

/* Suporte de menu logado no Mobile */
@media (max-width: 768px) {
    .nav-dropdown-wrapper {
        margin: 10px 0;
        width: 100%;
    }
    
    .nav-dropdown-content {
        position: relative;
        top: 0;
        right: 0;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.3);
        box-shadow: none;
        border-color: rgba(212, 175, 55, 0.1);
        display: block !important;
        margin-top: 10px;
        padding: 12px;
    }
}

/* --- 14. ESTILOS DO PERFIL DO USUÁRIO --- */
.profile-container {
    animation: fadeIn 0.4s ease-in-out;
}

.profile-info-card {
    background: linear-gradient(135deg, rgba(17, 19, 24, 0.9) 0%, rgba(10, 12, 16, 0.95) 100%);
}

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

@media (max-width: 576px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
}

.info-value.text-gold {
    color: var(--text-gold);
    text-shadow: 0 0 8px rgba(243, 207, 122, 0.2);
}

/* Tabelas e Badges do Perfil */
.profile-char-table {
    margin-top: 10px;
}

.char-name-col {
    color: #ffffff;
}

.char-class-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Badges de Classes do Mu Online */
.class-0, .class-1, .class-2, .class-3 {
    border-color: rgba(66, 153, 225, 0.3);
    color: #90cdf4;
    background: rgba(66, 153, 225, 0.05);
}

.class-16, .class-17, .class-18, .class-19 {
    border-color: rgba(229, 62, 62, 0.3);
    color: #feb2b2;
    background: rgba(229, 62, 62, 0.05);
}

.class-32, .class-33, .class-34, .class-35 {
    border-color: rgba(72, 187, 120, 0.3);
    color: #9ae6b4;
    background: rgba(72, 187, 120, 0.05);
}

.class-48, .class-50 {
    border-color: rgba(237, 137, 54, 0.3);
    color: #fbd38d;
    background: rgba(237, 137, 54, 0.05);
}

.class-64, .class-66 {
    border-color: rgba(212, 175, 55, 0.4);
    color: #f3cf7a;
    background: var(--color-primary);
}

.class-80, .class-81, .class-82, .class-83 {
    border-color: rgba(159, 122, 234, 0.3);
    color: #d6bcfa;
    background: rgba(159, 122, 234, 0.05);
}

.nav-dropdown-content.show {
    display: block !important;
}

/* ==========================================================================
   15. MODAL DE DETALHES DO PERSONAGEM (POPUP PREMIUM)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: rgba(10, 12, 16, 0.98);
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.15);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, rgba(10, 12, 16, 0) 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: var(--glow-gold);
}

.modal-title span {
    color: var(--color-primary);
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
}

.modal-grid-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.modal-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
}

.modal-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.modal-stat-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.modal-stat-value.gold {
    color: var(--color-primary);
}

.modal-stat-value.points {
    font-family: monospace;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    text-align: right;
    background: rgba(0, 0, 0, 0.2);
}

/* Linhas clicáveis na tabela de personagens */
.profile-char-table tbody tr {
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease;
}

.profile-char-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.05) !important;
}

/* ==========================================================================
   16. GUIAS INTERNAS DO MODAL DE DETALHES (ESTÉTICA PREMIUM)
   ========================================================================== */
.modal-tab-container {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 6px;
    overflow: hidden;
    padding: 3px;
    gap: 4px;
    margin-bottom: 20px;
}

.modal-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.modal-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.modal-tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, #b8860b 100%);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.modal-tab-content {
    display: none;
    animation: fadeInTab 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid do Formulário de Cadastro */
.register-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .register-grid .form-group {
        grid-column: span 1 !important;
    }
}

/* Layout da Área Administrativa */
.layout-admin-grid {
    grid-template-columns: 1fr !important;
}

.admin-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .admin-wrapper {
        grid-template-columns: 1fr;
    }
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 20px 15px;
    backdrop-filter: blur(10px);
    align-self: start;
}

.admin-sidebar-title {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
}

.admin-nav-tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    text-align: left;
    transition: all 0.3s ease;
}

.admin-nav-btn:hover {
    background: var(--color-primary);
    color: #000000;
}

.admin-nav-btn.active {
    background: var(--color-primary);
    color: #000000;
    font-weight: 700;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.admin-panel {
    background: rgba(18, 18, 18, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 550px;
}

.admin-panel-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.admin-panel-title span {
    color: var(--color-primary);
}

.admin-panel-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

/* Geral View Stats Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    opacity: 0.7;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.admin-stat-val {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.admin-stat-lbl {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Split Layout: List Left, Details Right */
.admin-split-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .admin-split-layout {
        grid-template-columns: 1fr;
    }
}

.admin-list-pane {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 520px;
}

.admin-search-wrapper {
    margin-bottom: 12px;
    position: relative;
}

.admin-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}

.admin-scroll-list {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Personalizando scrollbar */
.admin-scroll-list::-webkit-scrollbar {
    width: 6px;
}
.admin-scroll-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.admin-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}
.admin-scroll-list::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.4);
}

.admin-list-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.admin-list-item:hover {
    background: var(--color-primary);
    border-color: rgba(212, 175, 55, 0.15);
}

.admin-list-item.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--color-primary);
}

.admin-list-item-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.admin-list-item.active .admin-list-item-title {
    color: var(--color-primary);
}

.admin-list-item-subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.admin-detail-pane {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    position: relative;
}

.admin-detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    gap: 15px;
}

.admin-detail-placeholder i {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.15);
}

.admin-detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-detail-header h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.3rem;
    margin: 0;
}

.admin-detail-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
    max-height: 380px;
}

.admin-detail-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.admin-detail-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}

.admin-grid-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 576px) {
    .admin-grid-fields {
        grid-template-columns: 1fr;
    }
}

.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-field-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-align: left;
}

.admin-field-group input,
.admin-field-group select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-field-group input:focus,
.admin-field-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.admin-field-group input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.6);
}

/* Badges de Status */
.badge-admin {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-gm {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-banned {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Skill Grid */
.admin-skills-wrapper {
    margin-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 15px;
}

.admin-skills-wrapper h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 12px;
    text-align: left;
}

.admin-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media (max-width: 1200px) {
    .admin-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .admin-skills-grid {
        grid-template-columns: 1fr;
    }
}

.admin-skill-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #000000;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
    user-select: none;
}

.admin-skill-checkbox:hover {
    background: rgba(255, 255, 255, 0.05);
}

.admin-skill-checkbox input {
    cursor: pointer;
    accent-color: var(--color-primary);
}

.admin-detail-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.admin-list-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Estilos de Grade do NPC Shop */
.shop-grid-container {
    display: grid;
    grid-template-columns: repeat(8, 40px);
    grid-template-rows: repeat(15, 40px);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 6px;
    padding: 2px;
    position: relative;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.shop-grid-cell {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.shop-grid-item {
    position: absolute;
    box-sizing: border-box;
    padding: 2px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.15s ease;
}

.shop-grid-item:hover {
    transform: scale(1.02);
    z-index: 15;
}

.shop-grid-item-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 4px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
}

.shop-grid-item.active .shop-grid-item-content {
    border-color: #ffffff;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.shop-grid-item-name {
    font-size: 0.65rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.1;
    word-break: break-all;
}

.shop-grid-item-lvl {
    position: absolute;
    bottom: 2px;
    right: 3px;
    font-size: 0.6rem;
    color: var(--color-primary);
    font-weight: 900;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.9);
}

.modal-shop-item-row:hover {
    background: rgba(255, 255, 255, 0.03);
}
