/* Gold button custom for rankings */
.gold-btn {
    background: linear-gradient(90deg, #FFD700 0%, #FFB300 100%);
    border: none;
    color: #222 !important;
}
.gold-btn-outline {
    border: 2px solid #FFD700;
    color: #FFD700 !important;
    background: transparent;
}
.gold-btn:focus, .gold-btn-outline:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.5);
}

/* Castle siege grid */
.castle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
}

@media (max-width: 900px) {
    .castle-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .castle-grid {
        grid-template-columns: 1fr;
    }
}

.castle-grid-item {
    display: flex;
    justify-content: center;
}

.castle-card {
    width: 300px;
    height: 290px;
}

.castle-card-image {
    position: relative;
    overflow: hidden;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.castle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grandboss grid */
/* ========================================
   L2 Starter - Flask Template Styles
   ======================================== */

/* CSS Variables */
:root {
    --background: 222 47% 6%;
    --foreground: 45 20% 95%;
    --card: 222 47% 8%;
    --card-foreground: 45 20% 95%;
    --primary: 45 100% 50%;
    --primary-foreground: 222 47% 6%;
    --secondary: 210 100% 50%;
    --secondary-foreground: 0 0% 100%;
    --muted: 222 30% 15%;
    --muted-foreground: 222 20% 60%;
    --border: 222 30% 20%;
    --gold-dark: 35 100% 40%;
    --gold-light: 50 100% 60%;
    --radius: 0.75rem;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    min-height: 100vh;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--background) / 0.95));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--gold-dark)), hsl(var(--primary)), hsl(var(--gold-light)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: hsl(var(--foreground));
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border));
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.3s ease;
}

.mobile-nav-links a:hover {
    background: hsl(var(--muted));
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 20px hsl(var(--primary) / 0.3);
}

.btn-primary:hover {
    background: hsl(var(--primary) / 0.9);
    box-shadow: 0 0 30px hsl(var(--primary) / 0.5);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary) / 0.5);
}

.btn-outline:hover {
    background: hsl(var(--primary) / 0.1);
    border-color: hsl(var(--primary));
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    box-shadow: 0 0 20px hsl(var(--secondary) / 0.2);
}

.btn-secondary:hover {
    background: hsl(var(--secondary) / 0.8);
}

.btn-epic {
    background: linear-gradient(135deg, hsl(var(--gold-dark)), hsl(var(--primary)), hsl(var(--gold-dark)));
    color: hsl(var(--primary-foreground));
    box-shadow: 0 0 30px hsl(var(--primary) / 0.4);
}

.btn-epic:hover {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.6);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card-glass {
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border) / 0.5);
}

.card-glow {
    box-shadow: 0 0 40px hsl(var(--primary) / 0.1);
}

/* ========================================
   Forms
   ======================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: hsl(var(--foreground));
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.2);
}

.form-input::placeholder {
    color: hsl(var(--muted-foreground));
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    width: 1.25rem;
    height: 1.25rem;
}

.input-icon-wrapper .form-input {
    padding-left: 3rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem;
    overflow: hidden;
    background: hsl(var(--background));
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-media-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-media-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, hsl(var(--background) / 0.38), hsl(var(--background) / 0.52)),
        radial-gradient(circle at center, transparent 0%, hsl(var(--background) / 0.18) 60%, hsl(var(--background) / 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        hsl(var(--background) / 0.88) 0%, 
        hsl(var(--background) / 0.22) 24%, 
        hsl(var(--background) / 0.18) 76%, 
        hsl(var(--background)) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: hsl(var(--primary) / 0.1);
    border: 1px solid hsl(var(--primary) / 0.3);
    border-radius: 9999px;
    color: hsl(var(--primary));
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--foreground)), hsl(var(--primary)), hsl(var(--gold-light)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .hero-media-video {
        transform: scale(1.08);
    }
}

/* ========================================
   Stats Grid
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: hsl(var(--card) / 0.5);
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.stat-value {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   Tables
   ======================================== */
.table-wrapper {
    overflow-x: auto;
}

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

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid hsl(var(--border));
}

.table th {
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table tr:hover {
    background: hsl(var(--muted) / 0.3);
}

/* ========================================
   Stats Dashboard
   ======================================== */
.stats-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-dashboard-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.chart-box {
    position: relative;
    width: 100%;
    min-height: 260px;
}

.chart-box canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ========================================
   Dashboard Styles (scoped)
   ======================================== */
.dashboard-scope {
    position: relative;
    overflow: hidden;
}

.dashboard-scope .dashboard-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://l2feel.fun/assets/img/bg_register.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: 0;
}

.dashboard-scope .dashboard-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.8);
    background-image: radial-gradient(circle at center, transparent 0%, #000 100%);
    z-index: 1;
}

.dashboard-scope .dashboard-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.dashboard-scope .l2-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.dashboard-scope .glass-panel {
    background: rgba(20, 20, 25, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-scope .glass-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.dashboard-scope .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .dashboard-scope .dashboard-grid {
        grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.35fr) minmax(0, 0.7fr);
        align-items: start;
    }

    .dashboard-scope .dashboard-col-center {
        grid-column: span 1;
    }

    .dashboard-scope .dashboard-col-right {
        grid-column: span 1;
        grid-row: span 1;
    }

    .dashboard-scope .dashboard-col-classes {
        grid-column: span 1;
    }
}

.dashboard-scope .dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-scope .dashboard-col-pico {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-scope .dashboard-col-classes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-scope .dashboard-panel,
.dashboard-scope .dashboard-col-center,
.dashboard-scope .dashboard-col-pico,
.dashboard-scope .dashboard-col-classes {
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.dashboard-scope .dashboard-col-newplayers {
    grid-column: 1 / -1;
    border-radius: 0.75rem;
    padding: 0;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dashboard-scope .new-players-head {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-scope .new-players-subtitle {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.dashboard-scope .new-players-search {
    position: relative;
    width: min(100%, 280px);
}

.dashboard-scope .new-players-search i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.8rem;
}

.dashboard-scope .new-players-search input {
    width: 100%;
    padding: 0.55rem 0.9rem 0.55rem 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    outline: none;
    font-size: 0.82rem;
}

.dashboard-scope .new-players-search input:focus {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.4);
}

.dashboard-scope .new-players-search-btn {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.18);
    color: #f3e6bc;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.7rem;
    line-height: 1;
}

.dashboard-scope .new-players-search-btn:hover {
    background: rgba(212, 175, 55, 0.3);
}

.dashboard-scope .new-players-filters {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-scope .new-players-filters label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.dashboard-scope .new-players-filters select {
    background: rgba(0, 0, 0, 0.35);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.35rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
}

.dashboard-scope .new-players-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    color: #34d399;
}

.dashboard-scope .new-players-flag {
    margin-left: auto;
    font-size: 0.72rem;
    color: rgba(212, 175, 55, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 0.35rem;
    padding: 0.2rem 0.45rem;
}

.dashboard-scope .new-players-apply {
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.15);
    color: #f5e7b7;
    border-radius: 0.35rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    line-height: 1;
}

.dashboard-scope .new-players-apply:hover {
    background: rgba(212, 175, 55, 0.25);
}

.dashboard-scope .new-players-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
}

.dashboard-scope .new-players-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.dashboard-scope .new-players-table thead th {
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.45);
    color: #9ca3af;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1;
}

.dashboard-scope .new-players-table tbody td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
    color: #d1d5db;
}

.dashboard-scope .new-players-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-scope .new-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dashboard-scope .player-name {
    color: #f3f4f6;
    font-weight: 600;
}

.dashboard-scope .player-meta {
    margin-top: 0.25rem;
    color: #9ca3af;
    font-size: 0.72rem;
}

.dashboard-scope .clan-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.45rem;
    padding: 0.1rem 0.35rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #cbd5e1;
}

.dashboard-scope .clan-chip i {
    font-size: 0.62rem;
    color: #94a3b8;
}

.dashboard-scope .combat-chip {
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    border-radius: 0.35rem;
    padding: 0.15rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.dashboard-scope .combat-chip i {
    margin-right: 0.3rem;
    font-size: 0.68rem;
}

.dashboard-scope .combat-pvp {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.dashboard-scope .combat-pk {
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-scope .status-chip {
    display: inline-block;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.dashboard-scope .status-chip.online {
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
}

.dashboard-scope .status-chip.hardcore {
    color: #facc15;
    background: rgba(250, 204, 21, 0.1);
}

.dashboard-scope .new-players-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.dashboard-scope .new-players-pagination a,
.dashboard-scope .new-players-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.35rem;
    font-size: 0.78rem;
    color: #9ca3af;
    text-decoration: none;
}

.dashboard-scope .new-players-pagination a {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.dashboard-scope .new-players-pagination a.active {
    color: #0b0b0d;
    background: #d4af37;
    border-color: #d4af37;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .dashboard-scope .dashboard-col-newplayers {
        min-height: 520px;
    }
}

.dashboard-scope .dashboard-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    font-family: 'Cinzel', serif;
}

.dashboard-scope .dashboard-title i {
    font-size: 1rem;
}

.dashboard-scope .dashboard-center-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-scope .dashboard-pill {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.6rem;
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    color: hsl(var(--muted-foreground));
}

.dashboard-scope .dashboard-chart-sm {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-scope .dashboard-chart-sm canvas {
    width: 100% !important;
    height: 100% !important;
}

.dashboard-scope .dashboard-chart-lg {
    position: relative;
    min-height: 280px;
}

.dashboard-scope .dashboard-chart-creation {
    height: 360px;
    min-height: 360px;
}

.dashboard-scope .dashboard-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.dashboard-scope .text-gold {
    color: #d4af37;
}

.dashboard-scope .text-blue {
    color: #60a5fa;
}

.dashboard-scope .text-red {
    color: #ef4444;
}

.dashboard-scope .text-emerald {
    color: #34d399;
}

.dashboard-scope .table th,
.dashboard-scope .table td {
    color: hsl(var(--foreground));
}

.dashboard-scope .table tr:hover {
    background: rgba(20, 20, 25, 0.6);
}

.dashboard-scope ::-webkit-scrollbar {
    width: 8px;
}

.dashboard-scope ::-webkit-scrollbar-track {
    background: #020202;
    border-left: 1px solid rgba(255, 255, 255, 0.02);
}

.dashboard-scope ::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #2a201a, #55402d);
    border-radius: 4px;
    border: 1px solid #000;
}

.dashboard-scope ::-webkit-scrollbar-thumb:hover {
    background: #6d563d;
}

/* ========================================
   Stats Dashboard
   ======================================== */
.stats-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-dashboard-grid-small {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.chart-box {
    position: relative;
    width: 100%;
    min-height: 260px;
}

.chart-box canvas {
    width: 100% !important;
    height: 100% !important;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-weight: 600;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #000; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); color: #fff; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-description {
    color: hsl(var(--muted-foreground));
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-column a {
    display: block;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: hsl(var(--foreground));
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    text-align: center;
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

/* ========================================
   Flash Messages
   ======================================== */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: hsl(142 76% 36%);
    color: white;
}

.flash-error {
    background: hsl(0 84% 60%);
    color: white;
}

.flash-warning {
    background: hsl(45 100% 50%);
    color: hsl(var(--primary-foreground));
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========================================
   Page Sections
   ======================================== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--card)));
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.page-subtitle {
    color: hsl(var(--muted-foreground));
    font-size: 1.125rem;
}

.section {
    padding: 4rem 0;
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: hsl(var(--muted-foreground));
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: hsl(var(--muted-foreground));
}

.auth-footer a {
    color: hsl(var(--primary));
    text-decoration: none;
}

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

/* Bonus Banner */
.bonus-banner {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.1), hsl(var(--secondary) / 0.1));
    border: 1px solid hsl(var(--primary) / 0.3);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bonus-title {
    font-family: 'Cinzel', serif;
    font-size: 0.875rem;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.bonus-items {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.wiki-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.wiki-filter-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.wiki-search {
    min-width: 280px;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: #fff;
}

.wiki-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: rgba(255,255,255,0.06);
    color: #dbe4f0;
    font-size: 0.86rem;
}

.wiki-media {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.25rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.wiki-media.wiki-media-sm {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
    padding: 0.2rem;
}

.wiki-media.wiki-media-md {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
}

.wiki-media.wiki-media-lg {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 16px;
    padding: 0.3rem;
}

.wiki-media.wiki-media-xl {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    border-radius: 18px;
    padding: 0.4rem;
}

.wiki-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.12);
    transform-origin: center;
}

.wiki-page-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.wiki-page-title-with-icon i {
    color: #f5d97e;
    font-size: 0.95em;
    filter: drop-shadow(0 4px 10px rgba(212,175,55,0.35));
}

.wiki-feature-title {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #f8fafc;
}

.wiki-feature-title i {
    color: #f5d97e;
    font-size: 0.95em;
    filter: drop-shadow(0 4px 10px rgba(212,175,55,0.35));
}

.wiki-detail-hero {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.wiki-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.wiki-stat {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.03);
}

.wiki-stat-label {
    font-size: 0.78rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.3rem;
}

.wiki-stat-value {
    font-weight: 600;
    color: #f8fafc;
}

.wiki-class-banner {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(255,255,255,0.03));
}

.wiki-class-banner img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}

.wiki-tree-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.wiki-tree-sidebar {
    position: sticky;
    top: 88px;
}

.wiki-tree-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.wiki-tree-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    color: #dbe4f0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.wiki-tree-nav-link span {
    color: #f5d97e;
    font-weight: 600;
}

.wiki-tree-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wiki-race-feature {
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 0;
}

.wiki-race-feature-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.wiki-race-feature-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.38;
}

.wiki-race-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,12,18,0.94), rgba(9,12,18,0.45));
}

.wiki-race-feature-copy {
    position: relative;
    z-index: 1;
    padding: 1.35rem;
}

.wiki-race-feature-copy h3 {
    margin: 0.85rem 0 0.45rem;
    font-size: 1.45rem;
}

.wiki-race-feature-copy p {
    margin: 0;
    color: #cbd5e1;
}

.wiki-race-section {
    overflow: hidden;
}

.wiki-race-header {
    margin: -1.5rem -1.5rem 1.25rem;
}

.wiki-race-backdrop {
    position: relative;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(15,23,42,0.45));
    padding: 1rem;
}

.wiki-race-backdrop img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.5;
}

.wiki-race-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,12,18,0.92), rgba(9,12,18,0.6), rgba(9,12,18,0.2));
}

.wiki-race-copy {
    position: relative;
    z-index: 1;
    padding: 1.75rem;
    max-width: 560px;
}

.wiki-race-copy h2 {
    margin: 0.8rem 0 0.55rem;
    font-size: 2rem;
}

.wiki-race-copy p {
    color: #cbd5e1;
    margin: 0;
}

.wiki-tree-strip {
    padding: 0.25rem 0 0;
}

.wiki-class-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.wiki-org-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.wiki-org-root-block {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.wiki-org-root {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    border: 1px solid rgba(212,175,55,0.28);
    background: rgba(255,255,255,0.04);
    color: #f8fafc;
    border-radius: 10px;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}

.wiki-org-root img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.wiki-org-branch {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    position: relative;
}

.wiki-org-branch.level-1,
.wiki-org-branch.level-2,
.wiki-org-branch.level-3 {
    border-left: 1px dashed rgba(212,175,55,0.24);
    margin-left: 0.55rem;
}

.wiki-org-branch-node {
    position: relative;
    padding: 0.2rem 0 0.2rem 0.85rem;
}

.wiki-org-branch-node::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 15px;
    width: 0.7rem;
    border-top: 1px dashed rgba(212,175,55,0.24);
}

.wiki-org-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: #dbe4f0;
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: left;
}

.wiki-org-link:hover,
.wiki-org-root:hover {
    color: #f5d97e;
}

.wiki-org-link-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex: 0 0 14px;
}

.wiki-org-link-text {
    position: relative;
    padding-left: 2.65rem;
}

.wiki-org-link-text::before {
    content: "\251C\2500\2500\2192";
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(212,175,55,0.9);
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.04rem;
}

.wiki-class-list-item {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    color: #f8fafc;
    padding: 0.95rem;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.wiki-class-list-item.compact {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    padding: 0.3rem 0.22rem;
    min-height: 52px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    justify-items: center;
    align-content: start;
    text-align: center;
}

.wiki-class-list-item.compact.tree {
    width: 100%;
}

.wiki-class-list-item:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,0.42);
}

.wiki-class-list-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.12);
}

.wiki-class-list-icon.compact {
    width: 18px;
    height: 18px;
    border-radius: 5px;
}

.wiki-class-list-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wiki-class-list-copy {
    min-width: 0;
    width: 100%;
}

.wiki-class-list-name {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.25;
}

.wiki-class-list-name.compact {
    font-size: 6px;
    line-height: 1.05;
    text-align: center;
}

.wiki-class-list-meta {
    margin-top: 0.35rem;
    color: #cbd5e1;
    font-size: 0.82rem;
}

.wiki-class-list-meta.compact {
    margin-top: 0.05rem;
    font-size: 5px;
    line-height: 1.05;
    text-align: center;
}

.wiki-modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1400;
}

.wiki-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
}

.wiki-modal-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1120px, calc(100vw - 2rem));
    max-height: 90vh;
    overflow: auto;
}

.wiki-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    z-index: 2;
}

.wiki-modal-banner {
    position: relative;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.wiki-modal-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.46;
}

.wiki-modal-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9,12,18,0.96), rgba(9,12,18,0.55), rgba(9,12,18,0.12));
}

.wiki-modal-banner-copy {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    max-width: 520px;
}

.wiki-modal-banner-copy h2 {
    margin: 0.85rem 0 0.45rem;
    font-size: 2rem;
}

.wiki-modal-banner-copy p {
    color: #cbd5e1;
    margin: 0;
}

.wiki-modal-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.wiki-modal-org-wrap {
    overflow-x: auto;
    padding: 0.5rem 0 0.25rem;
}

.wiki-modal-org-tree,
.wiki-modal-org-tree ul {
    position: relative;
    padding-top: 20px;
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

.wiki-modal-org-tree ul {
    gap: 0.75rem;
}

.wiki-modal-org-tree li {
    position: relative;
    text-align: center;
    padding: 20px 0.5rem 0 0.5rem;
}

.wiki-modal-org-tree li::before,
.wiki-modal-org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    width: 50%;
    height: 20px;
    border-top: 1px solid rgba(212,175,55,0.28);
}

.wiki-modal-org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 1px solid rgba(212,175,55,0.28);
}

.wiki-modal-org-tree li:only-child::before,
.wiki-modal-org-tree li:only-child::after {
    display: none;
}

.wiki-modal-org-tree li:only-child {
    padding-top: 0;
}

.wiki-modal-org-tree li:first-child::before,
.wiki-modal-org-tree li:last-child::after {
    border: 0 none;
}

.wiki-modal-org-tree li:last-child::before {
    border-right: 1px solid rgba(212,175,55,0.28);
    border-radius: 0 8px 0 0;
}

.wiki-modal-org-tree li:first-child::after {
    border-radius: 8px 0 0 0;
}

.wiki-modal-org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 20px;
    border-left: 1px solid rgba(212,175,55,0.28);
}

.wiki-modal-org-node {
    width: 148px;
    min-height: 108px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    padding: 0.75rem 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.wiki-modal-org-node.active {
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 0 0 1px rgba(212,175,55,0.28), 0 12px 28px rgba(0,0,0,0.22);
}

.wiki-modal-org-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.55rem;
}

.wiki-modal-org-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wiki-modal-org-name {
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f8fafc;
}

@media (max-width: 768px) {
    .wiki-search {
        min-width: 100%;
    }

    .wiki-stat-grid {
        grid-template-columns: 1fr;
    }

    .wiki-tree-layout {
        grid-template-columns: 1fr;
    }

    .wiki-tree-sidebar {
        position: static;
    }

    .wiki-race-copy {
        padding: 1.25rem;
    }

    .wiki-race-copy h2,
    .wiki-modal-banner-copy h2 {
        font-size: 1.45rem;
    }

    .wiki-class-list {
        grid-template-columns: 1fr;
    }

    .wiki-org-layout {
        grid-template-columns: 1fr;
    }

    .wiki-modal-org-tree,
    .wiki-modal-org-tree ul {
        justify-content: flex-start;
    }

    .wiki-modal-org-node {
        width: 132px;
        min-height: 96px;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: hsl(var(--primary));
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.4;
}

.checkbox-label a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

footer.footer {
    flex-shrink: 0;
    width: 100%;
    background: hsl(var(--background));
    border-top: 1px solid hsl(var(--border) / 0.5);
    padding: 2rem 0 1rem 0;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
}


.input-wrapper {
    display: flex;
    align-items: center;
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0 12px;
    height: 48px;
    transition: all 0.25s ease;
}

/* efeito foco */
.input-wrapper:focus-within {
    border-color: #f5c542;
    box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.25);
}

/* ícone */
.input-icon {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    height: auto;
    color: #f5c542;
    display: flex;
    align-items: center;
    margin-right: 10px;
    flex-shrink: 0;
}

/* input */
.input-wrapper input,
.input-wrapper .form-control {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 100%;
    height: 100%;
    font-size: 15px;
    padding: 0;
    margin: 0;
    box-shadow: none;
}
.input-wrapper .form-control:focus {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* placeholder */
.input-wrapper input::placeholder {
    color: #888;
}


/* ===============================
   RAIDBOSS PAGINATION (ISOLADO)
   =============================== */

.raidboss-pagination {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

/* Cores base isoladas */
.raidboss-pagination {
    --gold: #d4af37;
    --gold-dark: #b8962e;
    --gold-light: #f5e28a;
    --dark-bg: #0f0f0f;
}

/* Botões */
.raidboss-pagination .page-link {
    background-color: var(--dark-bg);
    color: var(--gold);
    border: 1px solid var(--gold);
    margin: 0 3px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* Hover */
.raidboss-pagination .page-link:hover {
    background-color: var(--gold);
    color: #000;
    border-color: var(--gold-light);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* Página ativa */
.raidboss-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: #000;
    border-color: var(--gold);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.9);
}

/* Desabilitado */
.raidboss-pagination .page-item.disabled .page-link {
    background-color: #1a1a1a;
    color: #666;
    border-color: #333;
    cursor: not-allowed;
    box-shadow: none;
}

/* Ellipsis (...) */
.raidboss-pagination .page-item.disabled span.page-link {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

/* Tamanho grande */
.raidboss-pagination.pagination-lg .page-link {
    padding: 10px 18px;
    font-size: 1.05rem;
}

/* Garante horizontal */
.raidboss-pagination .page-item {
    display: inline-flex;
}

/* ========================================
   Global Access Card
   ======================================== */
.global-access-card {
    grid-column: 1 / -1;
}
.global-access-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.global-access-head .dashboard-title {
    margin-bottom: 0;
}
.global-access-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #5ff7c7;
}
.global-access-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.global-metric {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
}
.global-metric-wide {
    grid-column: span 2;
}
.metric-top-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.metric-top-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.9rem;
}
.metric-top-chip .chip-count {
    color: #ffdd85;
    font-weight: 600;
}
.metric-empty {
    color: #a0a0ad;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .global-metric-wide {
        grid-column: span 1;
    }
}

/* ========================================
   Info Page
   ======================================== */
.info-page {
    position: relative;
    padding: 6rem 1.5rem 4rem;
    min-height: calc(100vh - 120px);
}
.info-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(194,154,91,0.15), transparent 55%);
    pointer-events: none;
}
.info-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}
.info-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}
.info-sidebar {
    display: none;
}
@media (min-width: 1024px) {
    .info-sidebar {
        display: block;
    }
}
.info-sidebar-card {
    position: sticky;
    top: 110px;
    background: rgba(10,10,12,0.85);
    border: 1px solid rgba(194,154,91,0.2);
    padding: 1.5rem;
    border-radius: 0.25rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 30px rgba(0,0,0,0.45);
}
.info-sidebar-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.3em;
    color: #c29a5b;
    font-size: 0.95rem;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.65rem;
    margin-bottom: 1rem;
}
.info-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem;
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9ca3af;
    border-left: 2px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}
.info-nav-link i {
    font-size: 0.5rem;
    opacity: 0;
    color: #c29a5b;
    transition: all 0.2s ease;
}
.info-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.04);
    border-left-color: #c29a5b;
}
.info-nav-link:hover i {
    opacity: 1;
    transform: translateX(4px);
}
.info-main {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.info-block-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.info-block-header h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 2rem;
    color: #fff;
}
.info-accent {
    width: 6px;
    height: 36px;
    background: #c29a5b;
    box-shadow: 0 0 15px #c29a5b;
}
.info-rate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.info-rate-card {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 0.3rem;
    transition: border 0.2s ease;
}
.info-rate-card:hover {
    border-color: rgba(194,154,91,0.5);
}
.info-rate-value {
    display: block;
    font-size: 2rem;
    font-family: 'Cinzel', serif;
    color: #fff;
}
.info-rate-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #9ca3af;
    width: fit-content;
    padding: 0.25rem 0.5rem;
    background: rgba(255,255,255,0.05);
    margin-top: 0.5rem;
}
.info-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(59,130,246,0.2);
    background: rgba(59,130,246,0.08);
    border-radius: 0.35rem;
    color: #93c5fd;
}
.info-highlight i {
    font-size: 1.5rem;
}
.info-highlight strong {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    display: block;
    color: #60a5fa;
}
.info-highlight p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #cbd5f5;
}
.info-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.info-section-header h3 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d1d5db;
    font-size: 1.6rem;
}
.info-section-accent {
    width: 4px;
    height: 32px;
    background: #6b7280;
}
.info-enchant-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: 1.5rem;
}
.info-enchant-meta i {
    margin-right: 0.35rem;
}
.info-enchant-meta div:first-child i {
    color: #22c55e;
}
.info-enchant-meta div:last-child i {
    color: #f87171;
}
.info-enchant-list {
    display: grid;
    gap: 1rem;
}
.info-enchant-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    border-radius: 0.35rem;
    padding: 1rem;
    transition: border 0.2s ease;
}
.info-enchant-card:hover {
    border-color: rgba(255,255,255,0.08);
}
.info-enchant-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    font-size: 1.1rem;
    border-left: 3px solid #c29a5b;
    padding-left: 0.75rem;
    margin-bottom: 1rem;
}
.info-enchant-bars {
    display: grid;
    gap: 0.65rem;
}
.info-enchant-bar {
    background: rgba(0,0,0,0.4);
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 1rem;
}
.info-enchant-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--bar-width, 60%);
}
.info-enchant-bar span,
.info-enchant-bar strong {
    position: relative;
    z-index: 1;
}
.info-enchant-bar.normal::before {
    background: linear-gradient(90deg, #c29a5b, #fbbf24);
    opacity: 0.8;
}
.info-enchant-bar.blessed::before {
    background: linear-gradient(90deg, #0891b2, #3b82f6);
    opacity: 0.8;
}
.info-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
}
.info-note i {
    margin-right: 0.4rem;
}
.info-elemental-wrap {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.info-elemental-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.info-elemental-card {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.35rem;
    padding: 1rem;
}
.info-elemental-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}
.info-elemental-card-top h4 {
    margin: 0;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
}
.info-elemental-card-top span {
    color: #c29a5b;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.info-elemental-card p {
    color: #9ca3af;
    font-size: 0.82rem;
    margin: 0 0 0.8rem;
    line-height: 1.45;
}
.info-elemental-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}
.info-elemental-icon-item {
    text-align: center;
}
.info-elemental-icon-wrap {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.35rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.info-elemental-icon {
    width: 86%;
    height: 86%;
    object-fit: contain;
}
.info-elemental-icon-fallback {
    color: #c29a5b;
    font-size: 1rem;
}
.info-elemental-icon-item small {
    display: block;
    color: #cbd5f5;
    font-size: 0.7rem;
    line-height: 1.15;
}
.info-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.info-feature-card {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 0.3rem;
    transition: border 0.2s ease, background 0.2s ease;
}
.info-feature-card:hover {
    border-color: rgba(194,154,91,0.4);
    background: #111116;
}
.info-feature-card i {
    color: #c29a5b;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}
.info-feature-card h4 {
    font-family: 'Cinzel', serif;
    color: #fff;
    margin-bottom: 0.4rem;
}
.info-feature-card p {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.5;
}
.info-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.info-event-card {
    position: relative;
    min-height: 220px;
    border-radius: 0.35rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background-image:
        linear-gradient(180deg, rgba(5,6,10,0.15) 0%, rgba(5,6,10,0.8) 75%),
        var(--event-bg);
    background-size: cover;
    background-position: center;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.info-event-card.is-fallback {
    background-image: linear-gradient(160deg, rgba(194,154,91,0.25), rgba(17,17,22,0.95));
}
.info-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(194,154,91,0.45);
    box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}
.info-event-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(7,8,12,0.08) 20%, rgba(7,8,12,0.95) 100%);
    transition: background 0.25s ease, transform 0.25s ease;
}
.info-event-card:hover .info-event-overlay {
    background: linear-gradient(180deg, rgba(7,8,12,0.25) 0%, rgba(7,8,12,0.92) 45%);
}
.info-event-overlay i {
    color: #d8b070;
    font-size: 1.55rem;
    margin-bottom: 0.45rem;
}
.info-event-overlay h4 {
    margin: 0 0 0.35rem;
    font-family: 'Cinzel', serif;
    color: #fff;
}
.info-event-overlay p {
    margin: 0;
    color: #d6dbeb;
    font-size: 0.8rem;
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: max-height 0.28s ease, opacity 0.25s ease, transform 0.25s ease;
}
.info-event-card:hover .info-event-overlay p {
    max-height: 100px;
    opacity: 1;
    transform: translateY(0);
}
@media (hover: none) {
    .info-event-overlay p {
        max-height: 100px;
        opacity: 1;
        transform: translateY(0);
    }
}
.info-newbie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.info-newbie-panel {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.35rem;
    padding: 1rem;
}
.info-newbie-panel h4 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
}
.info-newbie-panel h4 i {
    color: #c29a5b;
    margin-right: 0.45rem;
}
.info-newbie-list {
    margin: 0;
    padding-left: 1rem;
    color: #cbd5f5;
    font-size: 0.85rem;
    display: grid;
    gap: 0.35rem;
}
.info-newbie-list li::marker {
    color: #c29a5b;
}
.info-newbie-list.compact {
    font-size: 0.8rem;
    gap: 0.28rem;
}
.info-newbie-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
    margin-top: 0.35rem;
}
.info-newbie-item-card {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.3rem;
    background: rgba(255,255,255,0.02);
}
.info-newbie-item-card strong {
    color: #fbbf24;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}
.info-newbie-item-name {
    color: #cbd5f5;
    line-height: 1.1;
    font-size: 0.76rem;
    min-width: 0;
}
.info-newbie-item-icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: 0.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.info-newbie-item-icon {
    width: 86%;
    height: 86%;
    object-fit: contain;
}
.info-newbie-item-fallback {
    color: #9ca3af;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.info-newbie-list.ordered {
    padding-left: 1.2rem;
}
.info-newbie-kit-card {
    border-color: rgba(255,255,255,0.06);
}
.info-newbie-kit-card h4 {
    font-size: 0.9rem;
}
.info-table-wrapper {
    overflow: hidden;
    border-radius: 0.3rem;
    border: 1px solid rgba(255,255,255,0.05);
}
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.info-table thead {
    background: #101012;
    color: #c29a5b;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.info-table th,
.info-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-table tbody tr:hover {
    background: rgba(255,255,255,0.04);
}
.info-alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(248,113,113,0.2);
    background: rgba(248,113,113,0.08);
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #fca5a5;
}
.info-alert h5 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: #f87171;
    margin-bottom: 0.3rem;
}
.info-system-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}
.info-system-list li {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: #0a0a0c;
    transition: border 0.2s ease;
}
.info-system-list li:hover {
    border-color: rgba(194,154,91,0.3);
}
.info-system-icon {
    width: 42px;
    height: 42px;
    border-radius: 0.3rem;
    background: rgba(194,154,91,0.15);
    color: #c29a5b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-system-list strong {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: #fff;
}
.info-system-list p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #9ca3af;
}
.info-tattoo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.info-tattoo-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: #0a0a0c;
    transition: border 0.2s ease, transform 0.2s ease;
}
.info-tattoo-card:hover {
    border-color: rgba(194,154,91,0.35);
    transform: translateY(-2px);
}
.info-tattoo-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 0.35rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at 30% 30%, rgba(194,154,91,0.18), rgba(0,0,0,0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.info-tattoo-icon {
    width: 82%;
    height: 82%;
    object-fit: contain;
    image-rendering: auto;
}
.info-tattoo-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c29a5b;
    font-size: 1.25rem;
}
.info-tattoo-body {
    min-width: 0;
}
.info-tattoo-title-row {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.info-tattoo-title-row h4 {
    margin: 0;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}
.info-tattoo-id {
    font-size: 0.75rem;
    color: #c29a5b;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}
.info-tattoo-stats {
    margin: 0;
    padding-left: 1rem;
    color: #cbd5f5;
    font-size: 0.82rem;
    display: grid;
    gap: 0.28rem;
}
.info-tattoo-stats li::marker {
    color: #c29a5b;
}
.info-buff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}
.info-buff-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: #0a0a0c;
    transition: border 0.2s ease, transform 0.2s ease;
}
.info-buff-card:hover {
    border-color: rgba(194,154,91,0.35);
    transform: translateY(-2px);
}
.info-buff-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 0.35rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.18), rgba(0,0,0,0.35));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.info-buff-icon {
    width: 82%;
    height: 82%;
    object-fit: contain;
}
.info-buff-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.15rem;
}
.info-buff-body {
    min-width: 0;
}
.info-buff-title-row h4 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
}
.info-buff-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}
.info-buff-meta span {
    font-size: 0.7rem;
    color: #dbeafe;
    border: 1px solid rgba(96,165,250,0.22);
    background: rgba(59,130,246,0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.info-buff-stats {
    margin: 0;
    padding-left: 1rem;
    color: #cbd5f5;
    font-size: 0.82rem;
    display: grid;
    gap: 0.28rem;
}
.info-buff-stats li::marker {
    color: #60a5fa;
}
@media (max-width: 1023px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .info-buff-card {
        grid-template-columns: 48px 1fr;
    }
    .info-buff-icon-wrap {
        width: 48px;
        height: 48px;
    }
    .info-buff-grid {
        grid-template-columns: 1fr;
    }
    .info-newbie-items-grid {
        grid-template-columns: 1fr;
    }
    .info-elemental-icons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .info-tattoo-card {
        grid-template-columns: 48px 1fr;
    }
    .info-tattoo-icon-wrap {
        width: 48px;
        height: 48px;
    }
    .info-tattoo-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}
