/* ============================================
   JADE DYNASTY CARNAGE - ShadCN-Inspired Design
   Modern Dark Theme with Fire Palette
   Orange, Red, Yellow, White, Black
   ============================================ */

/* ============================================
   CSS VARIABLES - ShadCN Style
   ============================================ */
:root {
    /* Core Fire Palette */
    --background: 0 0% 3%;
    --foreground: 0 0% 98%;

    /* Card & Surface Colors */
    --card: 0 0% 5%;
    --card-foreground: 0 0% 98%;
    --card-hover: 0 0% 8%;

    /* Popover */
    --popover: 0 0% 5%;
    --popover-foreground: 0 0% 98%;

    /* Primary - Orange */
    --primary: 24 100% 50%;
    --primary-foreground: 0 0% 2%;

    /* Secondary - Dark Gray */
    --secondary: 0 0% 12%;
    --secondary-foreground: 0 0% 98%;

    /* Muted */
    --muted: 0 0% 12%;
    --muted-foreground: 0 0% 64%;

    /* Accent - Yellow/Gold */
    --accent: 45 100% 51%;
    --accent-foreground: 0 0% 2%;

    /* Destructive - Red */
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;

    /* Border & Input */
    --border: 0 0% 15%;
    --input: 0 0% 15%;
    --ring: 24 100% 50%;

    /* Fire Colors - Direct */
    --fire-orange: #ff6b00;
    --fire-orange-rgb: 255, 107, 0;
    --fire-red: #dc2626;
    --fire-red-rgb: 220, 38, 38;
    --fire-yellow: #fbbf24;
    --fire-yellow-rgb: 251, 191, 36;
    --fire-white: #fafafa;
    --fire-black: #0a0a0a;

    /* Glow Effects */
    --glow-orange: rgba(255, 107, 0, 0.5);
    --glow-red: rgba(220, 38, 38, 0.5);
    --glow-yellow: rgba(251, 191, 36, 0.5);

    /* Typography - Inter + Geist (ShadCN default) */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Geist Mono', 'JetBrains Mono', monospace;
    --font-display: 'Inter', sans-serif;

    /* Border Radius - ShadCN Style */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow-orange: 0 0 20px rgba(255, 107, 0, 0.3), 0 0 40px rgba(255, 107, 0, 0.1);
    --shadow-glow-red: 0 0 20px rgba(220, 38, 38, 0.3), 0 0 40px rgba(220, 38, 38, 0.1);
    --shadow-glow-yellow: 0 0 20px rgba(251, 191, 36, 0.3), 0 0 40px rgba(251, 191, 36, 0.1);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   BASE RESET - ShadCN Style
   ============================================ */
.shadcn-dashboard * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.shadcn-dashboard {
    font-family: var(--font-sans);
    background: transparent;
    color: hsl(var(--foreground));
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base background layer */
.shadcn-dashboard::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    z-index: -1;
}

/* ============================================
   TYPOGRAPHY - ShadCN Style
   ============================================ */
.shadcn-dashboard h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.shadcn-dashboard h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.shadcn-dashboard h3 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.shadcn-dashboard h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

.shadcn-dashboard p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

.shadcn-dashboard .text-xs { font-size: 0.75rem; }
.shadcn-dashboard .text-sm { font-size: 0.875rem; }
.shadcn-dashboard .text-base { font-size: 1rem; }
.shadcn-dashboard .text-lg { font-size: 1.125rem; }
.shadcn-dashboard .text-xl { font-size: 1.25rem; }
.shadcn-dashboard .text-2xl { font-size: 1.5rem; }
.shadcn-dashboard .text-3xl { font-size: 1.875rem; }
.shadcn-dashboard .text-4xl { font-size: 2.25rem; }

.shadcn-dashboard .font-light { font-weight: 300; }
.shadcn-dashboard .font-normal { font-weight: 400; }
.shadcn-dashboard .font-medium { font-weight: 500; }
.shadcn-dashboard .font-semibold { font-weight: 600; }
.shadcn-dashboard .font-bold { font-weight: 700; }

.shadcn-dashboard .text-muted { color: hsl(var(--muted-foreground)); }
.shadcn-dashboard .text-primary { color: var(--fire-orange); }
.shadcn-dashboard .text-accent { color: var(--fire-yellow); }
.shadcn-dashboard .text-destructive { color: var(--fire-red); }

/* ============================================
   HERO BACKGROUND IMAGE
   ============================================ */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.4;
    filter: saturate(1.2) brightness(0.85);
}

/* Dark gradient overlay on hero image */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.95) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.3) 30%, rgba(10, 10, 10, 0.5) 70%, rgba(10, 10, 10, 0.9) 100%);
    pointer-events: none;
}

/* Fire glow overlay */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at bottom, rgba(255, 107, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at top right, rgba(220, 38, 38, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Vignette effect */
.hero-background .vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px 80px rgba(10, 10, 10, 0.9);
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   VORTEX BACKGROUND
   ============================================ */
.vortex-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.vortex-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Radial gradient overlay for depth */
.vortex-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.6) 100%);
}

/* Grid overlay for modern tech feel */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 107, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Scanline effect (subtle texture) */
.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
    pointer-events: none;
}

/* ============================================
   LAYOUT - Dashboard Structure
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.dashboard-sidebar {
    width: 280px;
    background: url('../images/background/menubg.png') no-repeat center center;
    background-size: cover;
    border-right: 1px solid hsl(var(--border));
    padding: var(--spacing-6);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 50;
    /* Internal border glow effect */
    box-shadow:
        inset 0 0 30px rgba(255, 107, 0, 0.15),
        inset 0 0 60px rgba(255, 107, 0, 0.08),
        inset 0 0 100px rgba(251, 191, 36, 0.05),
        inset 2px 0 15px rgba(255, 107, 0, 0.2),
        inset -2px 0 15px rgba(255, 107, 0, 0.1);
    overflow: hidden;
}

/* Sidebar subtle edge glow - soft flickering on edges only */
.dashboard-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Subtle edge-only glow using box-shadow */
    box-shadow:
        inset 8px 0 15px -8px rgba(255, 107, 0, 0.4),
        inset -8px 0 15px -8px rgba(255, 107, 0, 0.3),
        inset 0 8px 15px -8px rgba(251, 191, 36, 0.3),
        inset 0 -8px 15px -8px rgba(255, 69, 0, 0.4);
    pointer-events: none;
    z-index: 3;
    animation: edgeFlicker 2s ease-in-out infinite;
}

/* Right edge outer glow only */
.dashboard-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: -2px;
    width: 4px;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(255, 107, 0, 0.6) 0%,
        rgba(251, 191, 36, 0.4) 25%,
        rgba(255, 69, 0, 0.5) 50%,
        rgba(251, 191, 36, 0.4) 75%,
        rgba(255, 107, 0, 0.6) 100%
    );
    filter: blur(3px);
    pointer-events: none;
    z-index: 4;
    animation: edgeGlowFlicker 1.5s ease-in-out infinite alternate;
}

@keyframes edgeFlicker {
    0%, 100% {
        box-shadow:
            inset 8px 0 15px -8px rgba(255, 107, 0, 0.35),
            inset -8px 0 15px -8px rgba(255, 107, 0, 0.25),
            inset 0 8px 15px -8px rgba(251, 191, 36, 0.25),
            inset 0 -8px 15px -8px rgba(255, 69, 0, 0.35);
    }
    33% {
        box-shadow:
            inset 10px 0 18px -8px rgba(255, 69, 0, 0.45),
            inset -10px 0 18px -8px rgba(251, 191, 36, 0.35),
            inset 0 10px 18px -8px rgba(255, 107, 0, 0.3),
            inset 0 -10px 18px -8px rgba(251, 191, 36, 0.4);
    }
    66% {
        box-shadow:
            inset 8px 0 16px -8px rgba(251, 191, 36, 0.4),
            inset -8px 0 16px -8px rgba(255, 69, 0, 0.3),
            inset 0 8px 16px -8px rgba(255, 69, 0, 0.35),
            inset 0 -8px 16px -8px rgba(255, 107, 0, 0.45);
    }
}

@keyframes edgeGlowFlicker {
    0% { opacity: 0.5; filter: blur(2px); }
    25% { opacity: 0.7; filter: blur(4px); }
    50% { opacity: 0.6; filter: blur(3px); }
    75% { opacity: 0.8; filter: blur(5px); }
    100% { opacity: 0.55; filter: blur(3px); }
}

.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: var(--spacing-8);
    padding-top: 100px; /* Account for fixed header */
    min-height: 100vh;
}

/* ============================================
   SIDEBAR COMPONENTS
   ============================================ */
.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding-bottom: var(--spacing-6);
    border-bottom: 1px solid hsl(var(--border));
    margin-bottom: var(--spacing-6);
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px var(--glow-orange));
}

.sidebar-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-1);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-lg);
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--fire-orange);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.sidebar-link:hover {
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
}

.sidebar-link:hover::before {
    transform: scaleY(1);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.15), transparent);
    color: var(--fire-orange);
    border-left: 3px solid var(--fire-orange);
}

.sidebar-link.active::before {
    transform: scaleY(1);
}

.sidebar-link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px currentColor);
    transition: all var(--transition-base);
}

.sidebar-link:hover .sidebar-link-icon {
    filter: drop-shadow(0 0 8px var(--glow-orange));
    transform: scale(1.1);
}

.sidebar-link.active .sidebar-link-icon {
    filter: drop-shadow(0 0 10px var(--glow-orange));
}

.sidebar-section {
    margin-top: var(--spacing-6);
    padding-top: var(--spacing-6);
    border-top: 1px solid hsl(var(--border));
}

.sidebar-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: hsl(var(--muted-foreground));
    margin-bottom: var(--spacing-3);
    padding: 0 var(--spacing-4);
}

/* User profile in sidebar */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4);
    background: hsl(var(--secondary));
    border-radius: var(--radius-lg);
    margin-top: auto;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-status {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
}

/* ============================================
   CARD COMPONENT - ShadCN Style
   ============================================ */
.card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-glow-orange);
}

.card-header {
    padding: var(--spacing-6);
    border-bottom: 1px solid hsl(var(--border));
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.card-title-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 6px var(--glow-orange));
}

.card-description {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-top: var(--spacing-1);
}

.card-content {
    padding: var(--spacing-6);
}

.card-footer {
    padding: var(--spacing-4) var(--spacing-6);
    border-top: 1px solid hsl(var(--border));
    background: rgba(0, 0, 0, 0.2);
}

/* ============================================
   FRAMED CARDS - Cards with Background Frame Images
   ============================================ */
.card-framed {
    position: relative;
    background: transparent;
    border: none !important;
    border-radius: 0;
    overflow: visible;
    box-shadow: none !important;
    /* Set minimum dimensions to ensure frame is large enough */
    min-height: 320px;
}

.card-framed:hover {
    border-color: transparent;
    box-shadow: none !important;
    transform: none;
}

.card-frame-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
    z-index: 0;
    border-radius: 0;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
    transition: filter var(--transition-base);
}

.card-framed:hover .card-frame-bg {
    filter: drop-shadow(0 4px 20px rgba(255, 107, 0, 0.2)) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

.card-content-framed {
    position: relative;
    z-index: 1;
    /* Padding adjusted for larger frame - content sits inside frame borders */
    padding: 85px 55px 45px 55px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* No fallback border - let frame image define the look */
.card-framed::before {
    display: none;
}

/* Framed card content adjustments - compact */
.card-framed .info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.card-framed .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
}

.card-framed .separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.15), transparent);
    margin: 0.1rem 0;
}

/* Compact text for framed cards */
.card-framed .text-sm {
    font-size: 0.75rem;
}

.card-framed .font-semibold {
    font-size: 0.85rem;
}

/* Even more compact for smaller frames */
.card-framed .text-muted {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* ============================================
   STAT CARDS - Dashboard Stats
   ============================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-8);
}

.stat-card {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-xl);
    padding: var(--spacing-6);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--stat-color, var(--fire-orange)), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-glow-orange);
}

.stat-card.orange { --stat-color: var(--fire-orange); }
.stat-card.red { --stat-color: var(--fire-red); }
.stat-card.yellow { --stat-color: var(--fire-yellow); }

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-4);
}

.stat-card-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
}

.stat-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--stat-color, var(--glow-orange)));
    transition: all var(--transition-base);
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--stat-color, var(--glow-orange)));
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1;
    margin-bottom: var(--spacing-2);
    font-variant-numeric: tabular-nums;
}

.stat-card-value.glow-orange {
    color: var(--fire-orange);
}

.stat-card-value.glow-yellow {
    color: var(--fire-yellow);
}

.stat-card-value.glow-red {
    color: var(--fire-red);
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-sm);
}

.stat-card-change.positive {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.stat-card-change.negative {
    color: var(--fire-red);
    background: rgba(220, 38, 38, 0.1);
}

/* ============================================
   BUTTON COMPONENT - ShadCN Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--fire-orange), #e65c00);
    color: var(--fire-black);
    box-shadow: 0 0 0 0 var(--glow-orange);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7b1a, var(--fire-orange));
    box-shadow: var(--shadow-glow-orange);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
    background: hsl(var(--card-hover));
    border-color: rgba(255, 107, 0, 0.3);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: hsl(var(--muted-foreground));
}

.btn-ghost:hover {
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
}

/* Destructive Button */
.btn-destructive {
    background: var(--fire-red);
    color: white;
}

.btn-destructive:hover {
    background: #b91c1c;
    box-shadow: var(--shadow-glow-red);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    border: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.btn-outline:hover {
    background: hsl(var(--secondary));
    border-color: var(--fire-orange);
    color: var(--fire-orange);
}

/* Button Sizes */
.btn-sm {
    padding: var(--spacing-1) var(--spacing-3);
    font-size: 0.75rem;
}

.btn-lg {
    padding: var(--spacing-3) var(--spacing-6);
    font-size: 1rem;
}

.btn-icon {
    padding: var(--spacing-2);
    width: 36px;
    height: 36px;
}

.btn-icon img {
    width: 18px;
    height: 18px;
}

/* ============================================
   INPUT COMPONENT - ShadCN Style
   ============================================ */
.input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

.input-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.input {
    width: 100%;
    padding: var(--spacing-2) var(--spacing-3);
    font-size: 0.875rem;
    font-family: var(--font-sans);
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    color: hsl(var(--foreground));
    transition: all var(--transition-base);
}

.input:focus {
    outline: none;
    border-color: var(--fire-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.input::placeholder {
    color: hsl(var(--muted-foreground));
}

.input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   BADGE COMPONENT
   ============================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    padding: var(--spacing-1) var(--spacing-2);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.badge-default {
    background: hsl(var(--secondary));
    color: hsl(var(--foreground));
}

.badge-primary {
    background: rgba(255, 107, 0, 0.15);
    color: var(--fire-orange);
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
    background: rgba(251, 191, 36, 0.15);
    color: var(--fire-yellow);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-destructive {
    background: rgba(220, 38, 38, 0.15);
    color: var(--fire-red);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* ============================================
   AVATAR COMPONENT
   ============================================ */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    font-weight: 600;
    color: white;
}

.avatar-sm { width: 32px; height: 32px; font-size: 0.75rem; }
.avatar-md { width: 40px; height: 40px; font-size: 0.875rem; }
.avatar-lg { width: 48px; height: 48px; font-size: 1rem; }
.avatar-xl { width: 64px; height: 64px; font-size: 1.25rem; }

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   TABLE COMPONENT
   ============================================ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid hsl(var(--border));
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th {
    padding: var(--spacing-3) var(--spacing-4);
    text-align: left;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid hsl(var(--border));
    white-space: nowrap;
}

.table td {
    padding: var(--spacing-3) var(--spacing-4);
    border-bottom: 1px solid hsl(var(--border));
    color: hsl(var(--foreground));
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: rgba(255, 107, 0, 0.05);
}

/* ============================================
   TABS COMPONENT
   ============================================ */
.tabs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.tabs-list {
    display: flex;
    gap: var(--spacing-1);
    background: hsl(var(--secondary));
    padding: var(--spacing-1);
    border-radius: var(--radius-lg);
    width: fit-content;
}

.tab-trigger {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-trigger:hover {
    color: hsl(var(--foreground));
}

.tab-trigger.active {
    background: rgba(255, 107, 0, 0.15);
    color: var(--fire-orange);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.tab-trigger-icon {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 4px currentColor);
}

.tab-trigger.active .tab-trigger-icon {
    filter: drop-shadow(0 0 8px var(--glow-orange));
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PROGRESS COMPONENT
   ============================================ */
.progress {
    height: 8px;
    background: hsl(var(--secondary));
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--fire-orange), var(--fire-yellow));
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    box-shadow: 0 0 10px var(--glow-orange);
}

/* ============================================
   SEPARATOR
   ============================================ */
.separator {
    height: 1px;
    background: hsl(var(--border));
    margin: var(--spacing-4) 0;
}

.separator-vertical {
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 0 var(--spacing-4);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    margin-bottom: var(--spacing-8);
}

.page-header-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-2);
}

.page-header-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 15px var(--glow-orange));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--fire-white), var(--fire-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
}

.page-header-highlight {
    color: var(--fire-orange);
    font-weight: 600;
}

/* ============================================
   QUICK ACTIONS GRID
   ============================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-3);
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4);
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: hsl(var(--muted-foreground));
    transition: all var(--transition-base);
}

.quick-action:hover {
    background: hsl(var(--card-hover));
    border-color: var(--fire-orange);
    color: var(--fire-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-orange);
}

.quick-action-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 4px currentColor);
    transition: all var(--transition-base);
}

.quick-action:hover .quick-action-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--glow-orange));
}

.quick-action-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

/* ============================================
   ANIMATION UTILITIES
   ============================================ */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--glow-orange));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px var(--glow-orange)) drop-shadow(0 0 40px var(--glow-yellow));
        transform: scale(1.02);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ============================================
   GLOW EFFECTS
   ============================================ */
.glow-orange {
    box-shadow: 0 0 20px var(--glow-orange);
}

.glow-red {
    box-shadow: 0 0 20px var(--glow-red);
}

.glow-yellow {
    box-shadow: 0 0 20px var(--glow-yellow);
}

.text-glow-orange {
    text-shadow: 0 0 10px var(--glow-orange), 0 0 20px var(--glow-orange);
}

.text-glow-red {
    text-shadow: 0 0 10px var(--glow-red), 0 0 20px var(--glow-red);
}

.text-glow-yellow {
    text-shadow: 0 0 10px var(--glow-yellow), 0 0 20px var(--glow-yellow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 240px;
    }

    .dashboard-main {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-slow);
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dashboard-main {
        margin-left: 0;
        padding: var(--spacing-4);
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .tabs-list {
        width: 100%;
        overflow-x: auto;
    }

    .quick-actions {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
.shadcn-dashboard ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.shadcn-dashboard ::-webkit-scrollbar-track {
    background: hsl(var(--secondary));
    border-radius: var(--radius-full);
}

.shadcn-dashboard ::-webkit-scrollbar-thumb {
    background: hsl(var(--border));
    border-radius: var(--radius-full);
}

.shadcn-dashboard ::-webkit-scrollbar-thumb:hover {
    background: var(--fire-orange);
}

/* ============================================
   TOOLTIP (Simple CSS-only)
   ============================================ */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: var(--spacing-1) var(--spacing-2);
    background: hsl(var(--popover));
    color: hsl(var(--popover-foreground));
    font-size: 0.75rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 100;
    border: 1px solid hsl(var(--border));
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ============================================
   SKELETON LOADING
   ============================================ */
.skeleton {
    background: linear-gradient(
        90deg,
        hsl(var(--secondary)) 0%,
        hsl(var(--muted)) 50%,
        hsl(var(--secondary)) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: var(--spacing-2);
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: var(--spacing-3);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.skeleton-card {
    height: 120px;
}

/* ============================================
   INFO LIST COMPONENT
   ============================================ */
.info-list {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-2) 0;
}

.info-item span:first-child {
    flex-shrink: 0;
}

.info-item span:last-child {
    text-align: right;
}

/* Message box for form feedback */
.message-box {
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-4);
    font-size: 0.875rem;
    display: none;
}

.message-box.show {
    display: block;
}

.message-box.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.message-box.error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: var(--fire-red);
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-8);
    text-align: center;
    color: hsl(var(--muted-foreground));
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-4);
    color: var(--fire-orange);
    opacity: 0.6;
}

/* ============================================
   TOP NAVIGATION BAR - ShadCN Style
   ============================================ */
.shadcn-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-8);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-logo .logo-icon {
    font-size: 1.75rem;
    color: var(--fire-orange);
    text-shadow: 0 0 15px var(--glow-orange);
    transition: all var(--transition-base);
}

.navbar-logo:hover .logo-icon {
    text-shadow: 0 0 25px var(--glow-orange), 0 0 40px var(--glow-yellow);
    transform: scale(1.1);
}

.navbar-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    flex: 1;
    justify-content: center;
}

.navbar-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--fire-orange), var(--fire-yellow));
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: var(--radius-full);
}

.navbar-link:hover {
    color: hsl(var(--foreground));
    background: rgba(255, 255, 255, 0.05);
}

.navbar-link:hover::after {
    width: 60%;
}

.navbar-link i {
    font-size: 1rem;
    transition: all var(--transition-base);
}

.navbar-link:hover i {
    color: var(--fire-orange);
    text-shadow: 0 0 10px var(--glow-orange);
}

.navbar-discord {
    color: #5865F2;
}

.navbar-discord:hover {
    color: #7289DA;
    background: rgba(88, 101, 242, 0.1);
}

.navbar-discord:hover::after {
    background: linear-gradient(90deg, #5865F2, #7289DA);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    flex-shrink: 0;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
}

.navbar-user-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-1) var(--spacing-3);
    background: hsl(var(--secondary));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
}

.navbar-user-btn:hover {
    border-color: var(--fire-orange);
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.navbar-avatar {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.navbar-username {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
}

.navbar-logout {
    opacity: 0.7;
}

.navbar-logout:hover {
    opacity: 1;
    color: var(--fire-red) !important;
}

/* Mobile toggle button */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: transparent;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: hsl(var(--foreground));
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.navbar-toggle:hover {
    border-color: var(--fire-orange);
}

.navbar-toggle:hover span {
    background: var(--fire-orange);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Adjust dashboard layout for navbar */
.shadcn-dashboard .dashboard-layout {
    padding-top: 64px;
}

.shadcn-dashboard .dashboard-sidebar {
    top: 70px;
    height: calc(100vh - 70px);
}

.shadcn-dashboard .dashboard-footer {
    margin-left: 280px;
}

/* Mobile responsive navbar */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 var(--spacing-4);
    }

    .navbar-link span {
        display: none;
    }

    .navbar-link {
        padding: var(--spacing-2);
    }

    .navbar-username {
        display: none;
    }

    .shadcn-dashboard .dashboard-footer {
        margin-left: 240px;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid hsl(var(--border));
        flex-direction: column;
        padding: var(--spacing-4);
        gap: var(--spacing-2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-slow);
        z-index: 99;
    }

    .navbar-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-menu .navbar-link {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-3);
    }

    .navbar-menu .navbar-link span {
        display: inline;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-user-btn {
        padding: var(--spacing-1) var(--spacing-2);
    }

    .shadcn-dashboard .dashboard-sidebar {
        z-index: 98;
    }

    .shadcn-dashboard .dashboard-footer {
        margin-left: 0;
    }
}

/* ============================================
   DASHBOARD - INDEX PAGE STYLE NAVBAR
   ============================================ */
.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
}

.dashboard-header .navbar-minimal {
    height: 70px;
}

.dashboard-header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.dashboard-header .nav-menu-minimal {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-header .nav-link-minimal {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Crimson Pro', 'Cormorant Garamond', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dashboard-header .nav-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px var(--fire-orange));
    transition: all 0.3s ease;
}

.dashboard-header .nav-link-minimal:hover,
.dashboard-header .nav-link-minimal.active {
    color: var(--fire-orange);
}

.dashboard-header .nav-link-minimal:hover .nav-icon-img,
.dashboard-header .nav-link-minimal.active .nav-icon-img {
    filter: drop-shadow(0 0 8px var(--fire-yellow));
    transform: scale(1.1);
}

.dashboard-header .nav-auth-minimal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.dashboard-header .user-panel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-header .user-link {
    flex-direction: row;
    gap: 0.5rem;
}

.dashboard-header .auth-btn-minimal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-header .auth-btn-minimal:hover {
    color: white;
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--fire-orange);
}

.dashboard-header .auth-btn-minimal i {
    font-size: 0.9rem;
    color: var(--fire-orange);
}

.dashboard-header .auth-btn-logout-minimal {
    padding: 0.6rem;
    border-color: rgba(255, 68, 68, 0.3);
}

.dashboard-header .auth-btn-logout-minimal:hover {
    background: rgba(255, 68, 68, 0.15);
    border-color: #ff6666;
}

.dashboard-header .auth-btn-logout-minimal i {
    color: #ff6666;
}

/* Navbar stat items */
.nav-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 8px;
}

.nav-stat-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.5));
}

.nav-stat-label {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.nav-stat-value {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fire-orange);
}

.nav-stat-value.status-online {
    color: #4caf50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.nav-stat-value.status-offline {
    color: var(--fire-red);
}

/* Font Awesome icon in nav stat (for PVP tokens) */
.nav-stat-icon-fa {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.5));
}

.nav-pvp-icon {
    color: #e74c3c;
    filter: drop-shadow(0 0 5px rgba(231, 76, 60, 0.5));
}

.nav-pvp-value {
    color: #e74c3c !important;
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.nav-vote-value {
    color: #fbbf24 !important;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.dashboard-header .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.dashboard-header .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--fire-orange);
    transition: all 0.3s ease;
}

/* ============================================
   CENTERED SIDEBAR STYLES
   ============================================ */
.dashboard-sidebar-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-4) var(--spacing-2);
}

.sidebar-logo-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-2);
    padding: var(--spacing-2) 0;
    position: relative;
    z-index: 2;
}

.sidebar-logo-img {
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.6));
    animation: logoGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Large logo variant - doubled size */
.sidebar-logo-img.sidebar-logo-large {
    max-width: 260px;
    width: 100%;
}

/* Triple logo size - full sidebar width */
.sidebar-logo-img.sidebar-logo-triple {
    max-width: 250px;
    width: 100%;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 107, 0, 0.8)); }
}

.sidebar-nav-centered {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sidebar-nav-centered .sidebar-section-title {
    text-align: center;
    width: 100%;
}

/* Left-aligned text but centered container */
.sidebar-link-centered {
    width: 92%;
    justify-content: flex-start;
    text-align: left;
    white-space: nowrap;
    overflow: visible;
}

/* Sidebar link icon for custom images - larger size with floating animation */
.sidebar-link-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    transition: all 0.3s ease;
    /* Floating animation for sidebar icons */
    animation: sidebarIconFloat 3s ease-in-out infinite;
}

/* Staggered floating delays for sidebar icons */
.sidebar-nav .sidebar-link:nth-child(1) .sidebar-link-icon { animation-delay: 0s; }
.sidebar-nav .sidebar-link:nth-child(2) .sidebar-link-icon { animation-delay: 0.3s; }
.sidebar-nav .sidebar-link:nth-child(3) .sidebar-link-icon { animation-delay: 0.6s; }
.sidebar-section:nth-child(2) .sidebar-link:nth-child(1) .sidebar-link-icon { animation-delay: 0.9s; }
.sidebar-section:nth-child(2) .sidebar-link:nth-child(2) .sidebar-link-icon { animation-delay: 1.2s; }
.sidebar-section:nth-child(2) .sidebar-link:nth-child(3) .sidebar-link-icon { animation-delay: 1.5s; }

/* Sidebar icon floating animation */
@keyframes sidebarIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.4));
    }
    25% {
        transform: translateY(-3px) rotate(-3deg);
        filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6));
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
        filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.7));
    }
    75% {
        transform: translateY(-3px) rotate(3deg);
        filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.6));
    }
}

.sidebar-link:hover .sidebar-link-icon,
.sidebar-link.active .sidebar-link-icon {
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.8));
    transform: scale(1.1);
    /* Pause floating animation on hover for smooth scale effect */
    animation-play-state: paused;
}

/* Sidebar link text - white color, larger, gold on hover */
.sidebar-link-centered span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-link-centered:hover span,
.sidebar-link-centered.active span {
    color: var(--fire-yellow);
}

/* Dashboard fonts to match index */
.shadcn-dashboard h1,
.shadcn-dashboard h2,
.shadcn-dashboard h3,
.shadcn-dashboard h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.shadcn-dashboard .page-header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

.shadcn-dashboard .card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.shadcn-dashboard .sidebar-link {
    font-family: 'Crimson Pro', Georgia, serif;
}

.shadcn-dashboard .sidebar-section-title {
    font-family: 'Crimson Pro', Georgia, serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Medium screens - compact nav stat items */
@media (max-width: 1400px) {
    .nav-stat-label {
        display: none;
    }

    .nav-stat-item {
        padding: 0.4rem 0.6rem;
        gap: 0.35rem;
    }

    .dashboard-header .nav-auth-minimal {
        gap: 0.5rem;
    }
}

/* Mobile responsive for dashboard header */
@media (max-width: 768px) {
    .dashboard-header .nav-menu-minimal {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: var(--spacing-4);
        gap: var(--spacing-2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .dashboard-header .nav-menu-minimal.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .dashboard-header .nav-link-minimal {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .dashboard-header .nav-toggle {
        display: flex;
    }

    .dashboard-header .nav-auth-minimal {
        display: none;
    }
}