:root {
    --bg-dark: #121212;
    --bg-panel: #1e1e1e;
    --accent: #f68b1f;
    --text-bright: #ffffff;
    --text-dim: #b3b3b3;
    --border: #333333;
    --max-width: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-bright);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Unified Container for alignment */
.content-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Alignment */
.main-header {
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hotbar-toggle {
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 1.5rem;
    cursor: pointer;
}

.user-info { font-size: 0.9rem; }
.user-label { color: var(--text-dim); margin-right: 5px; }
.user-name { color: var(--accent); font-weight: 600; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-panel);
    z-index: 1000;
    transition: 0.3s ease;
    padding: 30px;
    border-right: 1px solid var(--border);
}

.sidebar.active { left: 0; }
.sidebar-link {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-link:hover { color: var(--accent); }
.close-sidebar {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-bright);
    padding: 5px 10px;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    z-index: 500;
}
.overlay.active { display: block; }

/* Page Content Structure */
.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 800px;
}

/* Simple Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-block {
    padding: 20px 0;
}

.step-num {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.info-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.info-block p {
    color: var(--text-dim);
    font-size: 1rem;
}

/* Action Area */
.action-bar {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.main-btn {
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    transition: opacity 0.2s;
}

.main-btn:hover { opacity: 0.9; }

@media (max-width: 768px) {
    .page-header h2 { font-size: 1.8rem; }
}