/* Dark Gothic Cyberpunk Theme */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a28;
    --accent-cyan: #00ffff;
    --accent-purple: #a855f7;
    --accent-red: #ef4444;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --border-glow: rgba(0, 255, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.2);
}

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

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 255, 0.03) 0px,
        rgba(0, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow), inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.ascii-logo {
    color: var(--accent-cyan);
    font-size: 8px;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--accent-cyan);
    margin: 0;
}

.tagline {
    color: var(--accent-purple);
    font-style: italic;
    font-size: 14px;
    margin-top: 10px;
    text-shadow: 0 0 5px var(--accent-purple);
}

.player-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid var(--border-glow);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 12px;
}

.stat-value {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px var(--accent-cyan);
}

.stat-separator {
    color: var(--accent-purple);
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    gap: 20px;
    flex: 1;
    margin-bottom: 20px;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.nav-menu {
    list-style: none;
}

.nav-menu > li {
    margin-bottom: 10px;
}

.nav-link {
    display: block;
    padding: 12px 15px;
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--accent-purple);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    transform: translateX(5px);
}

.nav-link.connect-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    border: 2px solid var(--accent-cyan);
    color: #000;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    animation: pulse-glow 2s infinite;
}

.nav-link.connect-btn:hover {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(168, 85, 247, 0.6);
    transform: translateX(0) scale(1.08);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.7);
    }
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .arrow {
    float: right;
    font-size: 10px;
    transition: transform 0.3s;
}

.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 5px;
}

.nav-dropdown:hover .dropdown-menu {
    max-height: 200px;
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu a {
    padding: 8px 15px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(0, 255, 255, 0.5);
    color: var(--accent-cyan);
    font-weight: bold;
}

.dropdown-menu a:hover {
    background: rgba(168, 85, 247, 0.4);
    border-color: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Content Frame */
.content-frame {
    flex: 1;
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow-glow), inset 0 0 20px rgba(0, 0, 0, 0.5);
    min-height: 600px;
    overflow-y: auto;
}

/* Welcome Screen */
.welcome-screen h1 {
    color: var(--accent-cyan);
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-cyan);
}

.intro-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent-purple);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(168, 85, 247, 0.2);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--accent-purple);
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
}

.connect-info {
    text-align: center;
    background: rgba(0, 255, 255, 0.05);
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    padding: 30px;
}

.connect-info h2 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--accent-cyan);
}

.connect-details p {
    font-size: 16px;
    margin: 10px 0;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 18px;
    text-shadow: 0 0 5px var(--accent-cyan);
}

/* Footer */
.footer {
    background: var(--bg-tertiary);
    border: 2px solid var(--accent-purple);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 12px;
}

.status-online {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 50px;
    color: var(--accent-cyan);
    font-size: 18px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Content Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-cyan);
    padding: 12px;
    text-align: left;
    border: 1px solid var(--accent-purple);
}

td {
    padding: 10px 12px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
}

tr:hover {
    background: rgba(0, 255, 255, 0.05);
}

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

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 968px) {
    .main-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
    }
    
    .ascii-logo {
        font-size: 6px;
    }
}

