:root {
      --bg-color: #0f0d17;
      --card-bg: #1a1724;
      --card-border: #2a253d;
      --accent-color: #8b5cf6;
      --accent-hover: #7c3aed;
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-main);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Navbar */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background: rgba(26, 23, 36, 0.8);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--card-border);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      color: var(--text-main);
      text-decoration: none;
      font-weight: bold;
      font-size: 1.25rem;
    }

    .mini-avatar {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      object-fit: cover;
    }

    .nav-links {
      display: flex;
      gap: 0.75rem;
      align-items: center;
    }

    .nav-btn {
      background: transparent;
      border: 1px solid var(--card-border);
      color: var(--text-muted);
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      cursor: pointer;
      font-size: 0.95rem;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .nav-btn:hover, .nav-btn.active {
      background: var(--accent-color);
      color: white;
      border-color: var(--accent-color);
    }

    /* Main Container */
    main {
      flex: 1;
      max-width: 1100px;
      width: 100%;
      margin: 0 auto;
      padding: 2.5rem 1.5rem;
    }

    .page {
      display: none;
    }

    .page.active {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Hero Section */
    .hero {
      display: flex;
      align-items: center;
      gap: 2rem;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 2.5rem;
      border-radius: 1rem;
      margin-bottom: 1.5rem;
    }

    .avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--accent-color);
    }

    .hero h1 {
      font-size: 2.25rem;
      margin-bottom: 0.5rem;
    }

    .tag {
      color: var(--text-muted);
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .online {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(16, 185, 129, 0.1);
      color: #10b981;
      padding: 0.25rem 0.75rem;
      border-radius: 2rem;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .online-dot {
      width: 8px;
      height: 8px;
      background-color: #10b981;
      border-radius: 50%;
      box-shadow: 0 0 8px #10b981;
    }

    .description {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 1.5rem;
      border-radius: 1rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    /* Stats Grid */
    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .stat {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 1.25rem;
      border-radius: 0.75rem;
      text-align: center;
    }

    .stat-icon {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .stat-value {
      font-size: 1.5rem;
      font-weight: bold;
      color: var(--text-main);
      margin-bottom: 0.25rem;
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .invite {
      display: block;
      width: 100%;
      text-align: center;
      background: var(--accent-color);
      color: white;
      padding: 1rem;
      border-radius: 0.75rem;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.2s ease;
    }

    .invite:hover {
      background: var(--accent-hover);
    }

    /* Commands Page Styles */
    .page-title {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }

    .page-subtitle {
      color: var(--text-muted);
      margin-bottom: 2rem;
    }

    .command-category-title {
      font-size: 1.1rem;
      font-weight: 600;
      margin: 2rem 0 1rem 0;
      color: var(--accent-color);
    }

    .command-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1rem;
    }

    .command-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 0.75rem;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .command-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .command-name {
      font-family: monospace;
      font-size: 1.05rem;
      font-weight: bold;
      color: var(--text-main);
      background: rgba(139, 92, 246, 0.1);
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
    }

    .command-type {
      font-size: 0.7rem;
      background: var(--card-border);
      color: var(--text-muted);
      padding: 0.2rem 0.5rem;
      border-radius: 4px;
      font-weight: 600;
    }

    .command-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.4;
    }
