@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

:root {
    /* Ultra Modern Dark Theme */
    --bg-base: #030305;
    --bg-surface: #0a0a0c;
    --bg-elevated: #111114;
    --bg-floating: rgba(17, 17, 20, 0.7);

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-strong: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --text-pure: #ffffff;
    --text-primary: #ededed;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;

    --brand-primary: #6366f1;
    /* Indigo */
    --brand-hover: #818cf8;
    --brand-glow: rgba(99, 102, 241, 0.25);

    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --success-border: rgba(16, 185, 129, 0.2);

    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --danger-border: rgba(239, 68, 68, 0.2);

    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 20px var(--brand-glow);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════
   RESET & TYPOGRAPHY
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

html {
    font-size: 14px;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Subtle background glow effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -10%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-hover);
}

::selection {
    background: rgba(99, 102, 241, 0.4);
    color: #fff;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.text-center {
    text-align: center;
}

/* ═══════════════════════════════════════════════
   NAVBAR (GLASSMORPHIC FLOATING)
   ═══════════════════════════════════════════════ */
.navbar {
    height: 64px;
    background: var(--bg-floating);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-pure);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.navbar-brand:hover {
    color: var(--text-pure);
}

.navbar-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.navbar-nav li a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar-nav li a:hover,
.navbar-nav li a.active {
    color: var(--text-pure);
}

.navbar-nav li a.btn-nav {
    background: var(--brand-primary);
    color: var(--text-pure);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.navbar-nav li a.btn-nav:hover {
    background: var(--brand-hover);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border-subtle);
}

.user-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
    white-space: nowrap;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Primary Button - Glow and Gradient */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #4f46e5 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

/* Secondary Button - Surface Match */
.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background: var(--border-strong);
    color: var(--text-pure);
    border-color: var(--border-hover);
}

/* Success Button */
.btn-success {
    background: var(--success);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    background: #059669;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Danger Button */
.btn-danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

/* ═══════════════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════════════ */
.alert {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.alert-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid var(--danger-border);
}

/* ═══════════════════════════════════════════════
   FORMS & INPUTS
   ═══════════════════════════════════════════════ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:hover {
    border-color: var(--border-hover);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

/* Custom Checkbox */
input[type="checkbox"] {
    accent-color: var(--brand-primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════
   PREMIUM CARDS
   ═══════════════════════════════════════════════ */
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-pure);
}

.card-body {
    padding: 24px;
}

.card-footer {
    padding: 16px 24px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ═══════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════ */
.badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.badge-info {
    background: var(--brand-bg);
    color: var(--brand-hover);
    border-color: rgba(99, 102, 241, 0.2);
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
    border-color: var(--success-border);
}

.badge-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border-color: var(--danger-border);
}

.badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.2);
}

.badge-secondary {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border-color: var(--border-strong);
}

/* ═══════════════════════════════════════════════
   PANEL LAYOUT (SIDEBAR & CONTENT)
   ═══════════════════════════════════════════════ */
.panel-wrapper {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 64px);
    position: relative;
    width: 100%;
}

.sidebar {
    width: 280px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-section {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 16px 0 8px 12px;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
}

.sidebar-menu li a:hover {
    background: var(--bg-elevated);
    color: var(--text-pure);
}

.sidebar-menu li a.active {
    background: rgba(99, 102, 241, 0.15) !important;
    color: var(--brand-primary) !important;
    font-weight: 600;
    border-left: 3px solid var(--brand-primary);
}

.menu-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
}

.panel-content {
    flex: 1;
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-header {
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-pure);
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════
   STATS GRID (DASHBOARDS)
   ═══════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--border-strong);
}

.stat-icon.purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.2);
}

.stat-icon.green {
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.2);
}

.stat-icon.blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
}

.stat-icon.orange {
    color: #fb923c;
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.2);
}

.stat-info h3 {
    font-size: 1.75rem;
    color: var(--text-pure);
    margin-bottom: 4px;
}

.stat-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════
   GRIDS & TABLES
   ═══════════════════════════════════════════════ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-strong);
}

tbody td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.95rem;
}

tbody tr {
    transition: background var(--transition);
}

tbody tr:hover {
    background: var(--bg-elevated);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════
   STEAM ACCOUNTS GRID
   ═══════════════════════════════════════════════ */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.account-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: var(--transition);
}

.account-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.account-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-tertiary);
    overflow: hidden;
}

.account-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-name {
    font-size: 1.15rem;
    color: var(--text-pure);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-pure);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ═══════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at top center, rgba(99, 102, 241, 0.1) 0%, var(--bg-base) 60%);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.logo-mark {
    width: 64px;
    height: 64px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--brand-primary);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════
   LANDING PAGE
   ═══════════════════════════════════════════════ */
.hero {
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(circle at center 20%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8, #6366f1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.badge-feature {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.packages-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    color: var(--brand-hover);
    background: var(--brand-bg);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.package-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.1);
}

.package-card.featured {
    border-color: var(--brand-primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--bg-surface) 100%);
}

.package-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.package-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.package-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.package-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.feature-value {
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    margin-top: auto;
    padding: 32px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

/* ═══════════════════════════════════════════════
   CHAT / MESSAGES
   ═══════════════════════════════════════════════ */
.chat-container {
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    position: relative;
    font-size: 0.95rem;
}

.message-incoming {
    align-self: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    border-bottom-left-radius: 4px;
}

.message-outgoing {
    align-self: flex-end;
    background: var(--brand-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-bottom: 4px;
    display: block;
}

.chat-input {
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

/* ═══════════════════════════════════════════════
   GAME SELECTION MODAL
   ═══════════════════════════════════════════════ */
.game-select-card {
    background: var(--bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    flex: 0 0 160px;
    width: 160px;
}

.game-select-card img {
    width: 100%;
    aspect-ratio: 460/215;
    object-fit: cover;
    border-radius: 4px;
    background: var(--bg-surface);
}

.game-select-card.selected {
    border-color: var(--brand-primary);
    background: rgba(99, 102, 241, 0.1);
}

.game-select-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════ */
@media (max-width: 992px) {
    .sidebar {
        width: 80px;
        padding: 24px 12px;
    }

    .sidebar-section,
    .sidebar-menu li a span:not(.menu-icon) {
        display: none;
    }

    .sidebar-menu li a {
        justify-content: center;
        padding: 12px;
    }

    .panel-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
    }

    .navbar-nav {
        gap: 12px;
    }

    .nav-user {
        gap: 8px;
        margin-left: 8px;
        padding-left: 8px;
    }

    .navbar-brand span:not(.logo-icon) {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .panel-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
    }

    .sidebar-menu {
        flex-direction: row;
    }

    .sidebar-menu li a {
        padding: 8px;
    }
}