:root {
    --bg: #f0f4f9;
    --bg-soft: #e6eef8;
    --card: #ffffff;
    --text: #132238;
    --muted: #58718b;
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    --danger: #ef4444;
    --warning: #f59e0b;
    --success: #10b981;
    --border: #d7e2ef;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.14);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --bg-soft: #1e293b;
    --card: #1e293b;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --accent: #818cf8;
    --accent-2: #a78bfa;
    --border: #334155;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== APP SHELL ========== */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    color: #f1f5f9;
    padding: 1.5rem 1rem;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-close {
    display: none;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3Ccircle cx='37' cy='7' r='1'/%3E%3Ccircle cx='7' cy='37' r='1'/%3E%3Ccircle cx='37' cy='37' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    position: relative;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-link-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: rgba(241, 245, 249, 0.7);
    margin: 0.25rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.925rem;
}

.nav-link-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(4px);
}

.nav-link-custom.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-link-custom .icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== MAIN AREA ========== */
.main-area {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 1.5rem 2rem 6rem;
    min-height: 100vh;
}

/* ========== TOPBAR ========== */
.topbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========== CARDS ========== */
.card-soft {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.card-soft:hover {
    box-shadow: var(--shadow-md);
}

.kpi-card {
    padding: 1.25rem;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.kpi-icon.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}

.kpi-icon.success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
}

.kpi-icon.warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #fff;
}

.kpi-icon.danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
}

.kpi-label {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-value {
    font-weight: 800;
    font-size: 1.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.kpi-trend {
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 0.25rem;
}

/* ========== BUTTONS ========== */
.btn-brand {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-brand:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.btn-outline-brand {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-brand:hover {
    background: var(--accent);
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--accent);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--muted);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--bg-soft);
    color: var(--text);
}

/* ========== TABLES ========== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--bg-soft);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 1rem;
    border: none;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: var(--border);
}

/* ========== STATUS PILLS ========== */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

.status-approved,
.status-active,
.status-completed {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.status-rejected,
.status-blocked,
.status-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

/* ========== FORMS ========== */
.form-control,
.form-select {
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    padding: 0.75rem 1rem;
    background: var(--card);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* ========== BOTTOM NAV ========== */
.bottom-nav {
    display: none;
}

/* ========== AUTH ========== */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.auth-wrap::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -200px;
    right: -200px;
}

.auth-wrap::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -150px;
    left: -150px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-brand img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.auth-brand-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

/* ========== LANDING PAGE (LIGHT MODE) ========== */
.landing-body {
    background: #ffffff;
    min-height: 100vh;
}

.landing-header {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: #1e293b;
    padding: 1.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.landing-header::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    top: -400px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.landing-header::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
    right: -200px;
    bottom: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.5rem;
}

.landing-brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.8rem;
    color: #6366f1;
    font-weight: 600;
}

.landing-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.landing-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 1.5rem 0 1rem;
    color: #1e293b;
}

.landing-subtitle {
    color: #64748b;
    max-width: 600px;
    font-size: 1.125rem;
    line-height: 1.7;
}

.landing-hero {
    position: relative;
    z-index: 1;
}

.landing-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.landing-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.landing-stat-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.landing-stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.landing-stat-value {
    font-weight: 800;
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
}

.landing-section {
    padding: 4rem 0;
}

.section-head {
    margin-bottom: 3rem;
}

.section-head h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.section-head p {
    color: #64748b;
    font-size: 1.1rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.service-card a:hover {
    gap: 0.75rem;
}

.step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.step-card span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.step-card p {
    margin: 1rem 0 0;
    font-weight: 600;
    color: #1e293b;
}

.landing-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* ========== REWARDS ========== */
.reward-panel {
    padding: 1.5rem;
}

#wheel {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 4.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: conic-gradient(
        #6366f1 0deg 45deg,
        #8b5cf6 45deg 90deg,
        #a855f7 90deg 135deg,
        #d946ef 135deg 180deg,
        #ec4899 180deg 225deg,
        #f43f5e 225deg 270deg,
        #f97316 270deg 315deg,
        #eab308 315deg 360deg
    );
}

.wheel-pointer {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid #fff;
    margin: 0 auto 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.match-card {
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    background: var(--card);
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.match-card.matched {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    transform: scale(1.05);
}

.currency-box {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    background: var(--card);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1199.98px) {
    .sidebar {
        width: 260px;
    }
    .main-area {
        margin-left: 260px;
        width: calc(100% - 260px);
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1002;
        display: block;
    }
    
    .sidebar.show {
        transform: translateX(0);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar-close {
        display: block;
    }
    
    .main-area {
        width: 100%;
        margin-left: 0;
        padding: 1rem;
        padding-bottom: 6rem;
    }
    
    .topbar {
        border-radius: var(--radius-lg);
        padding: 0.75rem 1rem;
    }
    
    .bottom-nav {
        position: fixed;
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        border-radius: var(--radius-lg);
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: space-around;
        padding: 0.5rem;
        z-index: 1100;
        box-shadow: var(--shadow-lg);
    }
    
    .bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.65rem;
        color: var(--muted);
        padding: 0.4rem 0.5rem;
        border-radius: var(--radius-sm);
        transition: all 0.3s ease;
    }
    
    .bottom-nav a .nav-icon {
        font-size: 1.25rem;
    }
    
    .bottom-nav a.active {
        background: linear-gradient(135deg, var(--accent), var(--accent-2));
        color: #fff;
    }
    
    .kpi-card {
        min-height: 120px;
        padding: 1rem;
    }
    
    .kpi-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }
    
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-stat-grid {
        grid-template-columns: 1fr;
    }
    
    .section-head h2 {
        font-size: 1.75rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    #wheel {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 575.98px) {
    .landing-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-nav .d-flex {
        width: 100%;
        justify-content: center;
    }
    
    .landing-nav .btn {
        flex: 1;
    }
    
    .kpi-card {
        min-height: 100px;
    }
    
    .table-wrapper {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* ========== UTILITY ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--muted);
}

.theme-toggle-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}