* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Courier New', monospace;
    background: #000;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,255,0,0.03) 2px, rgba(0,255,0,0.03) 4px);
    color: #0f0;
    padding: 1rem;
    min-height: 100vh;
}
.container { max-width: 1400px; margin: 0 auto; }
h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0,255,0,0.8);
    cursor: pointer;
    word-break: break-word;
    transition: all 0.3s;
}
h1:hover {
    text-shadow: 0 0 20px rgba(0,255,0,1);
    transform: scale(1.02);
}
.header-info {
    text-align: center;
    font-size: 0.9rem;
    color: #6f6;
    margin-bottom: 1rem;
}
.xp-bar {
    max-width: 400px;
    margin: 1rem auto;
    border: 2px solid #0a0;
    height: 20px;
    background: #000;
}
.xp-fill {
    height: 100%;
    background: linear-gradient(to right, #0a0, #0f0);
    transition: width 0.5s;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.panel {
    border: 2px solid #0f0;
    padding: 1rem;
    background: rgba(0,255,0,0.05);
    box-shadow: 0 0 10px rgba(0,255,0,0.1);
    transition: box-shadow 0.3s;
}
.panel:hover {
    box-shadow: 0 0 15px rgba(0,255,0,0.2);
}
.panel h3 {
    margin-bottom: 0.75rem;
    color: #0f0;
}
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #0a0;
    align-items: center;
    gap: 0.3rem;
}
.stat-row span:last-child {
    font-size: 1.1rem;
    font-weight: bold;
}
button {
    padding: 0.75rem;
    border: 2px solid #0f0;
    background: #000;
    color: #0f0;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    margin-top: 0.5rem;
    transition: all 0.2s;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}
button:hover:not(:disabled) {
    background: #0f0;
    color: #000;
}
button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
input, textarea {
    width: 100%;
    background: #000;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 0.5rem;
    font-family: inherit;
    margin: 0.5rem 0;
}
.log {
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.85rem;
    padding: 0.5rem;
    background: #000;
    border: 1px solid #0a0;
}
.log-entry {
    margin-bottom: 0.25rem;
    animation: fadeIn 0.3s;
}
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid #0f0;
    background: rgba(0,0,0,0.95);
    color: #0f0;
    z-index: 1000;
    animation: slideIn 0.3s;
    max-width: 300px;
}
.notification.warning { border-color: #f90; color: #f90; }
.notification.error { border-color: #f00; color: #f00; }
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.modal-content {
    border: 2px solid #0f0;
    padding: 2rem;
    background: #000;
    max-width: 600px;
    margin: 1rem;
    max-height: 80vh;
    overflow-y: auto;
}
.hidden { display: none !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.highlight { color: #ff0; font-weight: bold; }
.error { color: #f00; }
.success { color: #0f0; }
.warning { color: #ff0; }

/* TABS SYSTEM */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0a0;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #0a0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.tab-button:hover {
    color: #0f0;
    background: rgba(0, 255, 0, 0.15);
    transform: translateY(-2px);
}

.tab-button.active {
    color: #0f0;
    border-bottom-color: #0f0;
    background: rgba(0, 255, 0, 0.1);
    font-weight: bold;
    box-shadow: 0 -2px 10px rgba(0,255,0,0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #0a0; border: 1px solid #0f0; }
::-webkit-scrollbar-thumb:hover { background: #0f0; }

@media (max-width: 768px) {
    h1 { font-size: 1.5rem; }
    .grid { grid-template-columns: 1fr; }
    button { font-size: 0.9rem; padding: 0.6rem; }
}
