/* ============================================
   MMORPG GAME INTERFACE THEME
   Klasik oyun arayüzü teması
   ============================================ */

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

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
    /* MMORPG - Alev & Obsidyen Paleti */
    --bg-primary: #0b0a10;
    --bg-secondary: #111018;
    --bg-panel: #181421;
    --bg-dark: #0a080f;
    --bg-overlay: radial-gradient(circle at 20% 20%, rgba(255, 120, 40, 0.08), transparent 35%), radial-gradient(circle at 80% 0%, rgba(255, 60, 60, 0.06), transparent 40%), linear-gradient(135deg, rgba(12, 9, 18, 0.9), rgba(9, 7, 14, 0.95));
    
    --primary: #ff9d3c;
    --primary-dark: #d66a1f;
    --primary-light: #ffc076;
    --accent: #ff4d4d;
    --accent-dark: #d43030;
    --accent-soft: rgba(255, 77, 77, 0.16);
    
    --gold: #d6a23f;
    --gold-light: #ffde8c;
    --emerald: #3ccf91;
    --text-primary: #f2e9dc;
    --text-secondary: #cfc4b2;
    --text-muted: #998f83;
    
    --border: rgba(255, 158, 66, 0.25);
    --border-strong: rgba(255, 77, 77, 0.35);
    --border-light: rgba(255, 255, 255, 0.08);
    
    --shadow: rgba(0, 0, 0, 0.6);
    --shadow-light: rgba(0, 0, 0, 0.35);
    --glow: 0 0 20px rgba(255, 128, 64, 0.25), 0 0 40px rgba(255, 77, 77, 0.15);
    
    --nav-height: 80px;
}

/* Basit Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Body ve Arkaplan */
body {
    position: relative;
    font-family: 'Cinzel', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Times New Roman', serif;
    background: url('arkaplan.png') center top / cover no-repeat fixed, var(--bg-overlay);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    max-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: var(--nav-height);
    width: 100%;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "kern" 1;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 6, 12, 0.45) 0%, rgba(8, 6, 12, 0.65) 45%, rgba(10, 8, 14, 0.78) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation Bar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(12, 10, 18, 0.92), rgba(12, 9, 16, 0.85));
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(255, 128, 64, 0.18);
    backdrop-filter: blur(12px);
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--nav-height);
    max-width: 100%;
    background: linear-gradient(135deg, rgba(30, 22, 38, 0.82), rgba(22, 16, 26, 0.82));
    border-bottom: 1px solid var(--border-strong);
    gap: 18px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 128, 64, 0.22);
    backdrop-filter: blur(14px);
}

.hero-nav__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-nav__crest {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 222, 140, 0.35), rgba(255, 128, 64, 0.2) 45%, rgba(20, 12, 16, 0.9) 75%);
    border: 2px solid var(--border-strong);
    box-shadow: 0 0 18px rgba(255, 128, 64, 0.25), inset 0 0 20px rgba(255, 77, 77, 0.2);
    display: grid;
    place-items: center;
}

.hero-nav__crest-letter {
    font-family: 'Cinzel', 'Inter', serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--gold-light);
    text-shadow: 0 0 12px rgba(255, 157, 60, 0.6), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-nav__brand-text {
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--primary);
    padding-left: 16px;
    background: linear-gradient(135deg, rgba(255, 157, 60, 0.18), rgba(255, 77, 77, 0.12));
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: var(--glow);
}

.hero-nav__title {
    font-family: 'Inter', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(255, 128, 64, 0.65),
        0 0 30px rgba(255, 77, 77, 0.45),
        2px 2px 6px rgba(0, 0, 0, 0.9);
    position: relative;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.hero-nav__tag {
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-size: 12px;
    color: var(--primary-light);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: -2px;
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(255, 157, 60, 0.6),
        1px 1px 2px rgba(0, 0, 0, 0.9);
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.hero-nav__badge {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 77, 77, 0.12);
    border: 1px solid var(--border);
    text-transform: uppercase;
    box-shadow: inset 0 0 12px rgba(255, 128, 64, 0.08);
}

.hero-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.hero-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(145deg, rgba(32, 24, 38, 0.82), rgba(26, 18, 30, 0.82));
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-nav__link:hover {
    color: var(--gold-light);
    background: linear-gradient(145deg, rgba(38, 28, 42, 0.95), rgba(30, 22, 36, 0.95));
    border-color: var(--border-strong);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 77, 77, 0.28);
}

.hero-nav__link.active {
    color: var(--gold-light);
    background: linear-gradient(145deg, rgba(255, 157, 60, 0.28), rgba(255, 77, 77, 0.22));
    border-color: var(--border-strong);
    box-shadow: 0 0 18px rgba(255, 128, 64, 0.3), inset 0 0 12px rgba(255, 77, 77, 0.08);
}

.hero-nav__link-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav__link-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hero-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-nav__action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.hero-nav__action:hover {
    background: rgba(15, 22, 40, 0.9);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.hero-nav__action--accent {
    background: rgba(10, 14, 26, 1);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.hero-nav__action--accent:hover {
    background: rgba(15, 22, 40, 1);
}

.hero-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.hero-nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-secondary);
    transition: all 0.3s;
}

/* Main Wrapper */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px 60px;
    animation: fadeIn 0.5s ease-out;
    box-sizing: border-box;
}

/* Panels */
.panel {
    position: relative;
    background: linear-gradient(160deg, rgba(20, 17, 26, 0.9), rgba(16, 12, 20, 0.92));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 35px var(--shadow), 0 0 25px rgba(255, 128, 64, 0.15);
    animation: slideDown 0.6s ease-out;
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 157, 60, 0.08), transparent 45%), radial-gradient(circle at 80% 0%, rgba(255, 77, 77, 0.07), transparent 50%);
    pointer-events: none;
    opacity: 0.9;
}

.panel h2 {
    font-family: 'Inter', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 14px;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    text-shadow: 0 0 14px rgba(255, 157, 60, 0.35), 0 0 28px rgba(255, 77, 77, 0.25);
}

.panel h3 {
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 18px 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(16, 12, 20, 0.9);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: 0 8px 24px var(--shadow);
}

thead {
    background: linear-gradient(135deg, rgba(255, 157, 60, 0.22), rgba(255, 77, 77, 0.22));
}

th {
    padding: 15px;
    text-align: left;
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-weight: 600;
    color: var(--gold-light);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-strong);
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    background: rgba(12, 10, 16, 0.75);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(255, 157, 60, 0.16);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(255, 157, 60, 0.9), rgba(255, 77, 77, 0.85));
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 128, 64, 0.25);
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 77, 77, 0.35);
    color: var(--text-primary);
}

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

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 157, 60, 0.95), rgba(212, 106, 31, 0.92));
    border-color: var(--border-strong);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 169, 86, 1), rgba(230, 115, 45, 0.96));
}

.btn-success {
    background: linear-gradient(135deg, rgba(60, 207, 145, 0.85), rgba(37, 153, 111, 0.85));
    border-color: rgba(60, 207, 145, 0.45);
    color: #0f1b14;
}

.btn-success:hover {
    background: linear-gradient(135deg, rgba(82, 230, 168, 0.95), rgba(44, 168, 125, 0.9));
}

.btn-danger {
    background: linear-gradient(135deg, rgba(255, 77, 77, 0.9), rgba(191, 30, 30, 0.92));
    border-color: rgba(255, 77, 77, 0.4);
    color: #fff1f1;
}

.btn-danger:hover {
    background: linear-gradient(135deg, rgba(255, 96, 96, 0.98), rgba(204, 46, 46, 0.96));
}

.btn-warning {
    background: linear-gradient(135deg, rgba(255, 190, 92, 0.9), rgba(255, 157, 60, 0.9));
    border-color: rgba(255, 190, 92, 0.45);
    color: #1f140a;
}

.btn-warning:hover {
    background: linear-gradient(135deg, rgba(255, 205, 118, 0.95), rgba(255, 173, 86, 0.95));
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: none !important;
    font-variant: normal;
    font-feature-settings: "liga" 1, "kern" 1;
    letter-spacing: 0.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Türkçe karakter desteği - büyük ve küçük harf farkını net göster */
input[type="text"]:not(:placeholder-shown),
input[type="password"]:not(:placeholder-shown),
input[type="email"]:not(:placeholder-shown),
input[type="text"]::value,
input[type="password"]::value,
input[type="email"]::value {
    text-transform: none !important;
    font-variant: normal;
    font-size: 15px;
}

/* Türkçe karakterler için özel stil */
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder {
    text-transform: none;
    font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(10, 14, 26, 0.9);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Messages */
.message {
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 2px solid;
    animation: slideDown 0.5s ease-out;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.message.success {
    background: rgba(34, 139, 34, 0.3);
    border-color: #228b22;
    color: #90ee90;
}

.message.error {
    background: rgba(139, 0, 0, 0.3);
    border-color: #8b0000;
    color: #ff6b6b;
}

.message.info {
    background: rgba(30, 144, 255, 0.3);
    border-color: #1e90ff;
    color: #87ceeb;
}

.message.warning {
    background: rgba(184, 134, 11, 0.3);
    border-color: #b8860b;
    color: #ffd700;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    border: 1px solid;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.badge-primary {
    background: rgba(74, 144, 226, 0.4);
    color: var(--primary-light);
    border-color: var(--primary);
}

.badge-success {
    background: rgba(34, 139, 34, 0.4);
    color: #90ee90;
    border-color: #228b22;
}

.badge-danger {
    background: rgba(139, 0, 0, 0.4);
    color: #ff6b6b;
    border-color: #8b0000;
}

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

.info-grid .panel {
    margin-bottom: 0;
}

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: linear-gradient(145deg, rgba(24, 18, 30, 0.9), rgba(16, 12, 20, 0.9));
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 28px var(--shadow);
}

.stat-box:hover {
    background: linear-gradient(145deg, rgba(26, 20, 32, 0.95), rgba(20, 14, 24, 0.95));
    border-color: var(--border-strong);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 128, 64, 0.18);
}

.stat-box h3 {
    font-family: 'Inter', 'MedievalSharp', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, cursive;
    font-size: 15px;
    color: var(--primary-light);
    margin: 10px 0 8px;
    text-transform: uppercase;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

.stat-box p {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-light);
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-wrapper {
        padding: 20px 15px;
    }
    
    .panel {
        padding: 25px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    :root {
        --nav-height: 60px;
    }
    
    .hero-nav {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
        position: relative;
    }
    
    .hero-nav__brand-text {
        padding: 10px 15px;
    }
    
    .hero-nav__title {
        font-size: 28px;
    }
    
    .hero-nav__tag {
        font-size: 11px;
    }
    
    .hero-nav__links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        display: none;
        gap: 5px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        border-top: 2px solid var(--border);
        padding: 15px;
        z-index: 1000;
        box-shadow: 0 8px 30px var(--shadow);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
    }
    
    .hero-nav__links.show {
        display: flex;
    }
    
    .hero-nav__link {
        width: 100%;
        justify-content: center;
    }
    
    .hero-nav__toggle {
        display: flex;
    }
    
    .hero-nav__actions {
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        display: none;
        gap: 5px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        border-top: 2px solid var(--border);
        padding: 15px;
        z-index: 999;
        box-shadow: 0 8px 30px var(--shadow);
    }
    
    .hero-nav__actions.show {
        display: flex;
    }
    
    .hero-nav__action {
        width: 100%;
        justify-content: center;
    }
    
    .panel {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .panel h2 {
        font-size: 24px;
        padding-bottom: 10px;
        margin-bottom: 15px;
    }
    
    .panel h3 {
        font-size: 18px;
        margin: 15px 0 10px;
    }
    
    .main-wrapper {
        padding: 15px 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    table {
        font-size: 14px;
    }
    
    th, td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-nav__title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    
    .panel h2 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--border);
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 144, 226, 0.6);
    border-radius: 6px;
    border: 2px solid rgba(26, 26, 46, 0.9);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 144, 226, 0.8);
}

/* Footer */
footer {
    position: relative;
    background: linear-gradient(140deg, rgba(18, 14, 22, 0.85), rgba(12, 9, 16, 0.9));
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-strong);
    padding: 40px 30px 32px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.55), 0 0 26px rgba(255, 128, 64, 0.18);
    font-family: 'Inter', 'Cinzel', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, serif;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255, 157, 60, 0.14), transparent 45%), radial-gradient(circle at 85% 10%, rgba(255, 77, 77, 0.12), transparent 50%);
    pointer-events: none;
}

footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-content {
    display: flex;
    justify-content: space-around;
    align-items: start;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

footer .footer-section {
    flex: 1;
    min-width: 250px;
}

footer .footer-section h3 {
    color: var(--gold-light);
    margin-bottom: 15px;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .footer-section h3 svg {
    width: 28px;
    height: 28px;
    fill: var(--gold-light);
    filter: drop-shadow(0 0 8px rgba(255, 157, 60, 0.4));
}

footer .footer-section h4 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

footer .footer-section p {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95em;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer .footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

footer .footer-links a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(255, 157, 60, 0.5);
}

footer .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-secondary);
}

footer .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

footer .footer-contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
    filter: drop-shadow(0 0 6px rgba(255, 157, 60, 0.35));
}

footer .footer-contact-item span {
    font-size: 0.9em;
}

footer .footer-copyright {
    border-top: 1px solid var(--border-strong);
    padding-top: 20px;
    margin-top: 20px;
}

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

footer .footer-copyright span.footer-brand {
    color: var(--gold-light);
    font-weight: bold;
}

footer .footer-copyright span.footer-team {
    color: var(--text-muted);
    margin-left: 15px;
}

/* Tab System */
.tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(10, 14, 26, 0.8);
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
}

.tab-btn:hover {
    color: var(--primary-light);
    background: rgba(15, 22, 40, 0.9);
}

.tab-btn.active {
    color: var(--primary-light);
    background: rgba(10, 14, 26, 0.95);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

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

.tab-badge {
    display: inline-block;
    background: rgba(74, 144, 226, 0.3);
    color: var(--primary-light);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    margin-left: 8px;
    min-width: 20px;
    text-align: center;
}

/* Quest Accordion */
.quest-item {
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quest-header {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.quest-header:hover {
    background: rgba(15, 22, 40, 0.9);
}

.quest-header h4 {
    margin: 0;
    font-size: 14px;
    color: var(--primary-light);
    flex: 1;
    font-weight: 600;
}

.quest-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quest-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 15px;
}

.quest-details.open {
    max-height: 5000px;
    padding: 12px 15px;
    border-top: 1px solid var(--border);
}

.quest-toggle {
    font-size: 12px;
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.quest-item.open .quest-toggle {
    transform: rotate(180deg);
}

.quest-progress-bar {
    width: 120px;
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.quest-progress-fill {
    height: 100%;
    transition: width 0.3s;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Faction Statistics */
.faction-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.faction-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faction-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faction-name {
    font-size: 1.2em;
    font-weight: 700;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00;
}

.faction-count {
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 600;
}

.faction-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faction-bar-matrix {
    flex: 1;
    height: 40px;
    background: #000;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 10px currentColor,
        0 0 20px currentColor;
}

.faction-bar-matrix[data-color="red"] {
    border-color: #ff0040;
    color: #ff0040;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 0, 64, 0.6),
        0 0 20px rgba(255, 0, 64, 0.4);
}

.faction-bar-matrix[data-color="cyan"] {
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 255, 255, 0.6),
        0 0 20px rgba(0, 255, 255, 0.4);
}

.faction-bar-matrix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.15;
    animation: matrixGrid 20s linear infinite;
    pointer-events: none;
}

.faction-bar-fill {
    height: 100%;
    position: relative;
    background: inherit;
    border-radius: 0;
    box-shadow: 
        0 0 15px currentColor,
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 30px currentColor;
    transform-origin: left;
    will-change: width, transform;
    clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 3px 100%);
    overflow: visible;
    animation: barOscillate 2s ease-in-out infinite;
}

.faction-bar-matrix[data-color="red"] .faction-bar-fill {
    background: linear-gradient(90deg, #ff0040, #ff4080, #ff0040);
    box-shadow: 
        0 0 15px rgba(255, 0, 64, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 64, 0.6);
}

.faction-bar-matrix[data-color="cyan"] .faction-bar-fill {
    background: linear-gradient(90deg, #00ffff, #40ffff, #00ffff);
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 255, 0.6);
}


.faction-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.15) 2px,
        rgba(255, 255, 255, 0.15) 4px
    );
    animation: matrixScan 3s linear infinite;
    z-index: 1;
}


.faction-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        currentColor 40%,
        currentColor 100%
    );
    opacity: 0.9;
    animation: barEdgeMove 1.8s ease-in-out infinite;
    z-index: 3;
    box-shadow: 
        -8px 0 15px currentColor,
        -15px 0 30px currentColor,
        inset -5px 0 10px currentColor;
    clip-path: polygon(0 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
    filter: blur(0.5px);
}

.faction-percentage {
    font-size: 1.2em;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    min-width: 70px;
    text-align: right;
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;
    animation: numberPulse 1.2s ease-out, matrixGlitch 3s infinite;
    letter-spacing: 2px;
}

@keyframes barFillGas {
    0% {
        width: 0%;
        transform: scaleX(0) scaleY(1);
    }
    50% {
        transform: scaleX(1.08) scaleY(1.05);
    }
    70% {
        transform: scaleX(0.95) scaleY(1.02);
    }
    85% {
        transform: scaleX(1.02) scaleY(1);
    }
    100% {
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes matrixShimmer {
    0% {
        transform: translateX(-150%) skewX(-30deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(400%) skewX(-30deg);
        opacity: 0;
    }
}

@keyframes matrixGrid {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, 10px);
    }
}

@keyframes matrixScan {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(200%);
        opacity: 0;
    }
}

@keyframes numberPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseFinish {
    0% {
        transform: scaleX(1) scaleY(1);
    }
    50% {
        transform: scaleX(1.03) scaleY(1.02);
    }
    100% {
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes matrixGlitch {
    0%, 90%, 100% {
        transform: translate(0);
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor;
    }
    91% {
        transform: translate(-1px, 1px);
        text-shadow: 
            -2px 0 #00ff00,
            2px 0 #ff00ff;
    }
    92% {
        transform: translate(1px, -1px);
        text-shadow: 
            2px 0 #00ff00,
            -2px 0 #ff00ff;
    }
    93% {
        transform: translate(-1px, 1px);
    }
    94% {
        transform: translate(1px, -1px);
    }
    95% {
        transform: translate(0);
    }
}

@keyframes barEdgePulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.6;
        width: 6px;
    }
    50% {
        transform: translateX(-4px);
        opacity: 1;
        width: 10px;
    }
}

@keyframes barOscillate {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(3px);
    }
    50% {
        transform: translateX(0px);
    }
    75% {
        transform: translateX(-3px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes barEdgeMove {
    0% {
        transform: translateX(5px);
        opacity: 0.6;
        width: 15px;
    }
    25% {
        transform: translateX(-3px);
        opacity: 1;
        width: 25px;
    }
    50% {
        transform: translateX(-8px);
        opacity: 0.9;
        width: 20px;
    }
    75% {
        transform: translateX(-3px);
        opacity: 1;
        width: 25px;
    }
    100% {
        transform: translateX(5px);
        opacity: 0.6;
        width: 15px;
    }
}

@media (max-width: 768px) {
    .faction-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .faction-bar-container {
        width: 100%;
    }
    
    .faction-percentage {
        min-width: 50px;
        font-size: 1em;
    }
}
