/* ============================================
   MODERN TEKNOLOJIK GAMING PANEL CSS
   ============================================ */

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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #7b2ff7;
    --accent-color: #ff006e;
    --success-color: #00ff88;
    --warning-color: #ffb800;
    --danger-color: #ff3860;
    --dark-bg: #0a0e27;
    --card-bg: rgba(15, 25, 45, 0.75);
    --sidebar-bg: rgba(10, 15, 35, 0.95);
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0b0;
    --border-color: rgba(0, 212, 255, 0.2);
    --glow-color: rgba(0, 212, 255, 0.5);
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color); }
    50% { box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color), 0 0 30px var(--glow-color); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Body ve Arka Plan */
body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    background-image: url('siteeeee.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Arka plan overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.15);
    z-index: -1;
    backdrop-filter: blur(0px);
}

/* Ana Wrapper */
.main-wrapper { 
    display: flex;
    min-height: 100vh;
}

/* ============================================
   SIDEBAR - Modern Gaming Style
   ============================================ */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    height: 100vh;
    padding: 0;
    position: fixed;
    border-right: 2px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 5px 0 30px rgba(0, 212, 255, 0.1);
    overflow-y: auto;
}

/* Scrollbar styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

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

.sidebar .logo {
    text-align: center;
    padding: 30px 20px;
    font-size: 1.6em;
    color: #fff;
    font-weight: 900;
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    position: relative;
}

.sidebar .logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.sidebar nav {
    padding: 20px 0;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    color: var(--text-secondary);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    margin: 5px 0;
}

.sidebar nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.2), transparent);
    transition: width 0.3s ease;
}

.sidebar nav a:hover::before,
.sidebar nav a.active::before {
    width: 100%;
}

.sidebar nav a:hover, 
.sidebar nav a.active {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.sidebar nav a.active {
    font-weight: 700;
}

 

/* Admin Panel Link */
.sidebar nav a[style*="color: #ffc107"] {
    color: var(--warning-color) !important;
    border-top: 1px solid rgba(255, 184, 0, 0.3);
    margin-top: 15px;
    font-weight: 700;
}

.sidebar nav a[style*="color: #ffc107"]:hover {
    background: rgba(255, 184, 0, 0.1);
    border-left-color: var(--warning-color);
}

/* ============================================
   TOP RIGHT MENU - Futuristic Style
   ============================================ */
.top-right-menu {
    position: fixed !important;
    top: 20px;
    right: 25px;
    left: auto;
    bottom: auto;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.top-right-menu a {
    pointer-events: auto;
}

.top-right-menu a {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9), rgba(123, 47, 247, 0.9));
    border: 2px solid var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    width: 180px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.top-right-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.top-right-menu a:hover::before {
    left: 100%;
}

.top-right-menu a:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
    border-color: var(--success-color);
}

.top-right-menu a svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 10px;
    fill: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* ============================================
   MOBILE MENU BUTTON
   ============================================ */
.mobile-menu-button {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999; 
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid var(--primary-color);
    color: white;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.6);
}

.mobile-menu-button svg { 
    width: 28px; 
    height: 28px; 
    fill: white; 
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content {
    margin-left: 280px;
    padding: 40px;
    width: calc(100% - 280px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

/* ============================================
   PANEL CARDS - Glassmorphism
   ============================================ */
.panel {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.3);
}

.panel:hover::before {
    opacity: 0.2;
}

.panel h2 {
    margin-top: 0;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.panel h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* ============================================
   STAT GRID - Gaming Stats
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.1));
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
}

.stat-box h3 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-box p {
    font-size: 2.2em;
    color: #fff;
    font-weight: 900;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
}

/* ============================================
   TABLES - Futuristic Design
   ============================================ */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
}

th, td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

th {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 247, 0.2));
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
    transform: scale(1.01);
}

/* ============================================
   FORMS - Modern Input Design
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

/* ============================================
   BUTTONS - Cyber Style
   ============================================ */
.btn {
    padding: 14px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 0.95em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
    border-color: var(--success-color);
}

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

/* ============================================
   MESSAGES - Alert Boxes
   ============================================ */
.message {
    padding: 18px 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    font-weight: 600;
    border-left: 4px solid;
    animation: fadeInUp 0.5s ease;
}

.message.success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.05));
    color: var(--success-color);
    border-left-color: var(--success-color);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.2);
}

.message.error {
    background: linear-gradient(135deg, rgba(255, 56, 96, 0.15), rgba(255, 56, 96, 0.05));
    color: var(--danger-color);
    border-left-color: var(--danger-color);
    box-shadow: 0 4px 20px rgba(255, 56, 96, 0.2);
}

/* ============================================
   LOGIN & REGISTER FORMS
   ============================================ */
.login-register-form {
    max-width: 450px;
    margin: 60px auto;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-color);
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.2);
}

.login-register-form h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
        width: 100%;
        padding: 30px 20px;
    }
    
    .mobile-menu-button {
        display: block;
    }
    
    .top-right-menu {
        top: 80px;
        right: 15px;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .panel {
        padding: 20px;
    }
    
    .panel h2 {
        font-size: 1.4em;
    }
    
    .stat-box p {
        font-size: 1.8em;
    }
    
    table {
        font-size: 0.85em;
    }
    
    th, td {
        padding: 10px;
    }
    
    .top-right-menu a {
        width: 160px;
        padding: 10px 15px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 15px;
    }
    
    .login-register-form {
        margin: 30px 15px;
        padding: 25px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }
}

/* ============================================
   ADDITIONAL MARKET PAGE STYLES
   ============================================ */
.market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

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

.form-side, .info-side {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.form-side h4, .info-side h4 {
    color: var(--primary-color);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 12px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-display {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 212, 255, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    text-align: center;
}

.price-display label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.9em;
}

.price-display span {
    color: var(--warning-color);
    font-size: 2.2em;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.7);
}

.bonus-info {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.05));
    border: 2px solid var(--success-color);
    border-radius: 10px;
    color: var(--success-color);
    text-align: center;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.info-side p {
    margin-bottom: 12px;
    line-height: 1.8;
}

.info-side strong {
    color: var(--primary-color);
}

#confirmation-form {
    display: none;
    margin-top: 25px;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    padding-top: 25px;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

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

/* ============================================
   LOADING ANIMATION
   ============================================ */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }

/* ============================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================ */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* ============================================
   ENHANCED RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 480px) {
    .stat-box h3 {
        font-size: 0.9em;
    }
    
    .stat-box p {
        font-size: 1.6em;
    }
    
    .panel h2 {
        font-size: 1.3em;
    }
    
    .top-right-menu {
        top: 70px;
        right: 10px;
    }
    
    .top-right-menu a {
        width: 150px;
        padding: 8px 12px;
        font-size: 0.85em;
    }
}

/* ============================================
   FOCUS STATES FOR ACCESSIBILITY
   ============================================ */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   Fight Log Page
   ============================================ */
.empty-feed {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
}

.fight-log-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(5, 10, 30, 0.9), rgba(0, 212, 255, 0.08));
}

.fight-log-panel::before,
.fight-log-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.fight-log-panel::before {
    background-image: linear-gradient(120deg, rgba(8, 12, 28, 0.8), rgba(8, 12, 28, 0.5)),
                      url('siteeeee.jpg');
    background-size: cover;
    background-position: center;
    filter: saturate(1.3) contrast(1.1);
    opacity: 0.4;
    z-index: 0;
}

.fight-log-panel::after {
    background: radial-gradient(circle at 20% 20%, rgba(255, 0, 102, 0.25), transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(0, 212, 255, 0.25), transparent 55%),
                radial-gradient(circle at 50% 80%, rgba(255, 184, 0, 0.2), transparent 60%);
    mix-blend-mode: screen;
    animation: arenaPulse 6s ease-in-out infinite alternate;
    z-index: 0;
}

.fight-flames {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 120%, rgba(255, 82, 0, 0.5), transparent 60%),
        radial-gradient(circle at 80% 130%, rgba(255, 154, 0, 0.45), transparent 55%),
        radial-gradient(circle at 50% 110%, rgba(255, 0, 72, 0.35), transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 75%);
    animation: flamesDance 5s ease-in-out infinite alternate;
    mix-blend-mode: screen;
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

.fight-log-panel > * {
    position: relative;
    z-index: 1;
}

@keyframes flamesDance {
    0% {
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
    50% {
        transform: scale(1.03) translateY(-8px);
        filter: blur(1px);
    }
    100% {
        transform: scale(1.06) translateY(-12px);
        filter: blur(0px);
    }
}

.fight-log-panel > * {
    position: relative;
    z-index: 1;
}

@keyframes arenaPulse {
    0% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        opacity: 0.65;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.45;
    }
}

.fight-sparks {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 184, 0, 0.5) 30%, transparent 40%),
                      radial-gradient(rgba(0, 212, 255, 0.5) 30%, transparent 40%),
                      radial-gradient(rgba(255, 0, 102, 0.4) 30%, transparent 40%);
    background-size: 200px 200px, 260px 260px, 320px 320px;
    animation: sparksDrift 12s linear infinite;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

@keyframes sparksDrift {
    0% {
        background-position: 0 0, 50px 80px, -30px -40px;
    }
    50% {
        background-position: 80px -40px, 0 0, 50px 60px;
    }
    100% {
        background-position: 0 0, 50px 80px, -30px -40px;
    }
}

.fight-panel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fight-panel-header h2 {
    margin-bottom: 5px;
}

.fight-panel-header p {
    margin: 0;
    color: var(--text-secondary);
}

.fight-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fight-filter select {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    outline: none;
}

.fight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.fight-stat-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35);
}

.fight-stat-card .stat-label {
    display: block;
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fight-stat-card .stat-value {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fight-stat-card .stat-value small {
    font-size: 0.55em;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.fight-table-wrapper {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.fight-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}

.fight-table thead {
    background: rgba(0, 212, 255, 0.08);
}

.fight-table th,
.fight-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fight-table th {
    font-size: 0.85em;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.fight-table tbody tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

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

.table-fighter {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.table-fighter strong {
    font-size: 1.05em;
}

.table-fighter small {
    color: var(--text-secondary);
    font-size: 0.8em;
}

.table-fighter.killer strong {
    color: var(--success-color);
}

.table-fighter.victim strong {
    color: var(--danger-color);
}

.table-map {
    color: var(--primary-color);
    font-weight: 600;
}

.badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-skill {
    background: rgba(255, 184, 0, 0.15);
    color: var(--warning-color);
    border: 1px solid rgba(255, 184, 0, 0.4);
}

.badge-normal {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-row {
    box-shadow: inset 4px 0 0 rgba(255, 184, 0, 0.5);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .sidebar,
    .top-right-menu,
    .mobile-menu-button,
    footer {
        display: none;
    }
    
    .content {
        margin-left: 0;
        width: 100%;
    }
    
    .panel {
        box-shadow: none;
        border: 1px solid #000;
    }
}
