/* ==============================================
   SOULMARKET CYBERPUNK THEME
   Direction Artistique: Soul Flame
   ============================================== */

/* ============================================
   FONTS IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Primary Colors */
    --cyan-plasma: #00F5FF;
    --magenta-soul: #FF00FF;
    --purple-glow: #8B5CF6;

    /* Background Colors */
    --void-black: #0A0A0F;
    --dark-surface: #12121A;
    --elevated-surface: #1A1A25;
    --circuit-grey: #2A2A3A;

    /* Semantic Colors */
    --success-neon: #00FF88;
    --warning-amber: #FFB800;
    --error-red: #FF3366;
    --info-cyan: #00D4FF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--cyan-plasma) 0%, var(--purple-glow) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--magenta-soul) 0%, var(--cyan-plasma) 100%);
    --gradient-soul: linear-gradient(180deg, var(--cyan-plasma) 0%, var(--magenta-soul) 50%, var(--purple-glow) 100%);

    /* Shadows */
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.4);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.4);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.4);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   BASE STYLES
   ============================================ */
html, body {
    background-color: var(--void-black);
    background-image: url('/images/bg-proposal-7.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #FFFFFF;
    font-family: 'Exo 2', 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

/* Make MudBlazor containers transparent */
.mud-layout,
.mud-main-content,
.mud-layout-content {
    background: transparent !important;
}

/* ============================================
   SITE BACKGROUND OVERLAY
   ============================================ */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.85) 0%,
        rgba(10, 10, 15, 0.80) 30%,
        rgba(10, 10, 15, 0.80) 70%,
        rgba(10, 10, 15, 0.90) 100%
    );
}

/* Background with slightly less overlay for home page hero */
.site-background.home-page {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.75) 0%,
        rgba(10, 10, 15, 0.70) 30%,
        rgba(10, 10, 15, 0.75) 70%,
        rgba(10, 10, 15, 0.90) 100%
    );
}

::selection {
    background: var(--magenta-soul);
    color: var(--void-black);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--circuit-grey);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-plasma);
}

/* ============================================
   TEXT EFFECTS
   ============================================ */
.text-glow {
    text-shadow:
        0 0 10px rgba(0, 245, 255, 0.8),
        0 0 20px rgba(0, 245, 255, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3);
}

.text-glow-magenta {
    text-shadow:
        0 0 10px rgba(255, 0, 255, 0.8),
        0 0 20px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(255, 0, 255, 0.3);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-soul {
    background: var(--gradient-soul);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes flame-flicker {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 10px var(--cyan-plasma));
        transform: scaleY(1);
    }
    25% {
        filter: brightness(1.1) drop-shadow(0 0 15px var(--magenta-soul));
        transform: scaleY(1.02);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 20px var(--cyan-plasma));
        transform: scaleY(0.98);
    }
    75% {
        filter: brightness(1.05) drop-shadow(0 0 12px var(--purple-glow));
        transform: scaleY(1.01);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow:
            0 0 30px rgba(0, 245, 255, 0.6),
            0 0 60px rgba(255, 0, 255, 0.3);
    }
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-2px, 2px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translate(2px, -2px);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translate(1px, 1px);
        filter: hue-rotate(0deg);
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes scan-line {
    0% {
        top: -100%;
    }
    100% {
        top: 100%;
    }
}

/* Animation Classes */
.flame-animate {
    animation: flame-flicker 3s ease-in-out infinite;
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.glitch-hover:hover {
    animation: glitch 0.4s ease-in-out;
}

.float-animate {
    animation: float 4s ease-in-out infinite;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card-cyber {
    background: linear-gradient(180deg, var(--dark-surface) 0%, var(--elevated-surface) 100%);
    border: 1px solid var(--circuit-grey);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: var(--gradient-secondary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.card-cyber:hover::before {
    opacity: 1;
}

.card-cyber:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 30px rgba(0, 245, 255, 0.15),
        0 0 60px rgba(255, 0, 255, 0.1);
}

/* Hexagonal Card */
.card-hex {
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    background: var(--dark-surface);
    padding: 2rem;
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-cyber {
    background: var(--gradient-primary);
    border: none;
    color: var(--void-black);
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber:hover {
    box-shadow: var(--glow-cyan);
    transform: scale(1.02);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--cyan-plasma);
    color: var(--cyan-plasma);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-normal);
}

.btn-ghost:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* ============================================
   INPUT STYLES
   ============================================ */
.input-cyber {
    background: var(--dark-surface);
    border: 1px solid var(--circuit-grey);
    border-radius: 4px;
    color: #FFFFFF;
    padding: 12px 16px;
    font-family: 'Exo 2', sans-serif;
    transition: all var(--transition-normal);
}

.input-cyber:focus {
    border-color: var(--cyan-plasma);
    box-shadow:
        0 0 0 3px rgba(0, 245, 255, 0.1),
        0 0 20px rgba(0, 245, 255, 0.2);
    outline: none;
}

.input-cyber::placeholder {
    color: #4A4A5A;
}

/* ============================================
   HEXAGON FRAME
   ============================================ */
.hex-frame {
    position: relative;
    display: inline-block;
}

.hex-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-secondary);
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    z-index: -1;
    animation: border-flow 3s ease infinite;
    background-size: 200% 200%;
}

.hex-frame-inner {
    clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    background: var(--dark-surface);
}

/* ============================================
   CIRCUIT BACKGROUND PATTERN
   ============================================ */
.circuit-bg {
    background-image:
        linear-gradient(var(--circuit-grey) 1px, transparent 1px),
        linear-gradient(90deg, var(--circuit-grey) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

.circuit-bg-animated {
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: circuit-pulse 4s ease-in-out infinite;
}

@keyframes circuit-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* ============================================
   SCAN LINE EFFECT
   ============================================ */
.scan-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan-plasma), transparent);
    animation: scan-line 4s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.nav-cyber {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--circuit-grey);
}

.nav-link-cyber {
    color: #B0B0C0;
    text-decoration: none;
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-link-cyber::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link-cyber:hover {
    color: var(--cyan-plasma);
}

.nav-link-cyber:hover::after {
    width: 100%;
}

.nav-link-cyber.active {
    color: var(--cyan-plasma);
}

.nav-link-cyber.active::after {
    width: 100%;
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge-cyber {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-cyan {
    background: rgba(0, 245, 255, 0.15);
    color: var(--cyan-plasma);
    border: 1px solid rgba(0, 245, 255, 0.3);
}

.badge-magenta {
    background: rgba(255, 0, 255, 0.15);
    color: var(--magenta-soul);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.badge-success {
    background: rgba(0, 255, 136, 0.15);
    color: var(--success-neon);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

/* ============================================
   PRICE TAG STYLE
   ============================================ */
.price-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.2) 0%, rgba(255, 136, 0, 0.2) 100%);
    border: 1px solid rgba(255, 184, 0, 0.4);
    border-radius: 4px;
    color: #FFB800;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.price-tag .sats-icon {
    color: #FFB800;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.8) 100%
    );
    z-index: -1;
}

/* ============================================
   LOADING STATES
   ============================================ */
.skeleton-cyber {
    background: linear-gradient(
        90deg,
        var(--dark-surface) 25%,
        var(--elevated-surface) 50%,
        var(--dark-surface) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   MUDBLAZOR OVERRIDES
   ============================================ */

/* AppBar */
.mud-appbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--circuit-grey);
}

/* Drawer */
.mud-drawer {
    background: var(--dark-surface) !important;
    border-right: 1px solid var(--circuit-grey) !important;
}

/* Cards */
.mud-card {
    background: var(--dark-surface) !important;
    border: 1px solid var(--circuit-grey);
    transition: all var(--transition-normal);
}

.mud-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.1);
}

/* Paper */
.mud-paper {
    background: var(--dark-surface) !important;
}

/* Chips */
.mud-chip {
    font-family: 'Exo 2', sans-serif;
}

.mud-chip.mud-chip-color-primary {
    background: rgba(0, 245, 255, 0.15) !important;
    color: var(--cyan-plasma) !important;
}

.mud-chip.mud-chip-color-secondary {
    background: rgba(255, 0, 255, 0.15) !important;
    color: var(--magenta-soul) !important;
}

/* Buttons */
.mud-button-root.mud-button-filled.mud-button-filled-primary {
    background: var(--gradient-primary) !important;
    color: var(--void-black) !important;
}

.mud-button-root.mud-button-outlined.mud-button-outlined-primary {
    border-color: var(--cyan-plasma) !important;
    color: var(--cyan-plasma) !important;
}

.mud-button-root.mud-button-outlined.mud-button-outlined-primary:hover {
    background: rgba(0, 245, 255, 0.1) !important;
}

/* Text Fields */
.mud-input-control .mud-input-slot {
    background: var(--dark-surface) !important;
}

.mud-input.mud-input-outlined .mud-input-outlined-border {
    border-color: var(--circuit-grey) !important;
}

.mud-input.mud-input-outlined:focus-within .mud-input-outlined-border {
    border-color: var(--cyan-plasma) !important;
    box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.1);
}

/* Tables */
.mud-table {
    background: var(--dark-surface) !important;
}

.mud-table-row:hover {
    background: var(--elevated-surface) !important;
}

/* Dialogs */
.mud-dialog {
    background: var(--dark-surface) !important;
    border: 1px solid var(--circuit-grey);
}

/* Tabs */
.mud-tab.mud-tab-active {
    color: var(--cyan-plasma) !important;
}

.mud-tabs-toolbar::after {
    background: var(--circuit-grey) !important;
}

.mud-tab-slider {
    background: var(--cyan-plasma) !important;
}

/* Rating */
.mud-rating-item .mud-icon-root {
    color: #FFB800 !important;
}

/* Alerts */
.mud-alert-filled.mud-alert-filled-info {
    background: rgba(0, 212, 255, 0.15) !important;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.mud-alert-filled.mud-alert-filled-success {
    background: rgba(0, 255, 136, 0.15) !important;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.mud-alert-filled.mud-alert-filled-warning {
    background: rgba(255, 184, 0, 0.15) !important;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.mud-alert-filled.mud-alert-filled-error {
    background: rgba(255, 51, 102, 0.15) !important;
    border: 1px solid rgba(255, 51, 102, 0.3);
}

/* Pagination */
.mud-pagination-item.mud-pagination-item-selected {
    background: var(--gradient-primary) !important;
    color: var(--void-black) !important;
}

/* ============================================
   NEW LAYOUT STYLES - V2
   ============================================ */

/* Navbar Glass Effect */
.navbar-glass {
    background: rgba(10, 10, 15, 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.15);
    padding: 0 16px !important;
    height: 64px !important;
}

.navbar-glass .mud-toolbar {
    min-height: 64px !important;
}

/* Logo styling */
.logo-glow {
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.5));
    transition: filter var(--transition-normal);
}

.logo-glow:hover {
    filter: drop-shadow(0 0 15px rgba(0, 245, 255, 0.8));
}

.brand-text {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 700 !important;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Links */
.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
    border-radius: 8px !important;
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--cyan-plasma) !important;
    background: rgba(0, 245, 255, 0.08) !important;
}

.nav-link .mud-icon-root {
    font-size: 1.1rem;
}

/* Search Field */
.search-field .mud-input-slot {
    background: rgba(26, 26, 37, 0.8) !important;
    border-radius: 24px !important;
}

.search-field .mud-input-outlined .mud-input-outlined-border {
    border-radius: 24px !important;
    border-color: var(--circuit-grey) !important;
}

.search-field:focus-within .mud-input-outlined-border {
    border-color: var(--cyan-plasma) !important;
}

/* Wallet Chip */
.wallet-chip {
    border-radius: 16px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.75rem !important;
}

/* Connect Button */
.connect-btn {
    border-radius: 20px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    padding: 6px 16px !important;
}

/* Mobile Drawer */
.drawer-glass {
    background: rgba(18, 18, 26, 0.98) !important;
    backdrop-filter: blur(20px);
}

.drawer-glass .mud-nav-link {
    border-radius: 8px;
    margin: 2px 8px;
}

.drawer-glass .mud-nav-link:hover {
    background: rgba(0, 245, 255, 0.1);
}

/* Main Content */
.main-content {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
}

/* Footer */
.footer-cyber {
    background: linear-gradient(180deg, var(--void-black) 0%, #050508 100%);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-cyber a {
    transition: color var(--transition-normal);
}

.footer-cyber a:hover {
    color: var(--cyan-plasma) !important;
}

/* ============================================
   AI CONFIG CARD COMPONENT
   ============================================ */
.config-card {
    background: linear-gradient(180deg, var(--dark-surface) 0%, rgba(18, 18, 26, 0.8) 100%);
    border: 1px solid var(--circuit-grey);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.config-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.config-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 245, 255, 0.1);
}

.config-card:hover::before {
    opacity: 1;
}

.config-card-header {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.config-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.config-type-icon.prompt {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: var(--purple-glow);
}

.config-type-icon.agent {
    background: rgba(0, 245, 255, 0.15);
    border-color: rgba(0, 245, 255, 0.3);
    color: var(--cyan-plasma);
}

.config-type-icon.model {
    background: rgba(255, 0, 255, 0.15);
    border-color: rgba(255, 0, 255, 0.3);
    color: var(--magenta-soul);
}

.config-type-icon.automation {
    background: rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--success-neon);
}

.config-type-icon.rag {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

.config-type-icon.voice {
    background: rgba(255, 184, 0, 0.15);
    border-color: rgba(255, 184, 0, 0.3);
    color: var(--warning-amber);
}

.config-type-icon.image {
    background: rgba(255, 51, 102, 0.15);
    border-color: rgba(255, 51, 102, 0.3);
    color: var(--error-red);
}

.config-type-icon.code {
    background: rgba(60, 60, 80, 0.3);
    border-color: rgba(100, 100, 120, 0.4);
    color: #a0a0b0;
}

.config-type-icon.default {
    background: rgba(0, 245, 255, 0.1);
    border-color: rgba(0, 245, 255, 0.2);
    color: var(--cyan-plasma);
}

/* Category Pills */
.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    color: var(--cyan-plasma);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.category-pill:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   SELLER DASHBOARD STYLES
   ============================================ */
.stat-card-dashboard {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.8) 0%, rgba(26, 26, 37, 0.6) 100%) !important;
    border: 1px solid var(--circuit-grey) !important;
    border-radius: 12px !important;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card-dashboard:hover {
    border-color: var(--cyan-plasma) !important;
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

.stat-card-dashboard:hover::before {
    opacity: 1;
}

.recent-sale-item {
    background: rgba(18, 18, 26, 0.4);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.recent-sale-item:hover {
    background: rgba(0, 245, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.2);
}

.listings-table .mud-table-row:hover {
    background: rgba(0, 245, 255, 0.05) !important;
}

.listings-table .mud-table-head .mud-table-cell {
    background: rgba(18, 18, 26, 0.6) !important;
    border-bottom: 1px solid var(--circuit-grey) !important;
    color: var(--cyan-plasma) !important;
    font-weight: 600;
}

.listings-table .mud-table-cell {
    border-bottom: 1px solid rgba(42, 42, 58, 0.5) !important;
}

/* ============================================
   FORM INPUT STYLES
   ============================================ */
.search-input .mud-input-outlined-border {
    border-color: var(--circuit-grey) !important;
}

.search-input:hover .mud-input-outlined-border,
.search-input:focus-within .mud-input-outlined-border {
    border-color: var(--cyan-plasma) !important;
}

.form-field .mud-input-outlined-border {
    border-color: var(--circuit-grey) !important;
    transition: all var(--transition-normal);
}

.form-field:hover .mud-input-outlined-border {
    border-color: rgba(0, 245, 255, 0.5) !important;
}

.form-field:focus-within .mud-input-outlined-border {
    border-color: var(--cyan-plasma) !important;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.category-pill.active {
    background: var(--gradient-primary);
    color: var(--void-black);
    border-color: transparent;
}

/* Stats Card V2 */
.stat-card-v2 {
    text-align: center;
    padding: 20px 32px !important;
    background: rgba(18, 18, 26, 0.6) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 245, 255, 0.15) !important;
    min-width: 120px;
}

.stat-card-v2 .mud-typography-h4 {
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: -0.02em;
}

/* Legacy Stats Card */
.stat-card {
    text-align: center;
    padding: 24px;
    background: rgba(18, 18, 26, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(0, 245, 255, 0.1);
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value.cyan { color: var(--cyan-plasma); }
.stat-value.magenta { color: var(--magenta-soul); }
.stat-value.purple { color: var(--purple-glow); }
.stat-value.amber { color: var(--warning-amber); }

/* Feature Card */
.feature-card {
    padding: 32px 24px;
    background: rgba(18, 18, 26, 0.4);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: rgba(18, 18, 26, 0.7);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--void-black);
}

/* How It Works Step */
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--void-black);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Category Chip */
.category-chip {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.category-chip:hover {
    transform: translateY(-2px);
}

/* Cursor Pointer */
.cursor-pointer {
    cursor: pointer;
}

/* Browse Header */
.browse-header {
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

/* Divider with centered text */
.divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0;
}

.divider-with-text::before,
.divider-with-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider-with-text span {
    padding: 0 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Payment Options */
.payment-option {
    background: rgba(18, 18, 26, 0.4) !important;
    border: 1px solid var(--circuit-grey) !important;
    border-radius: 8px !important;
    transition: all var(--transition-normal);
}

.payment-option:hover {
    border-color: rgba(0, 245, 255, 0.3) !important;
    background: rgba(18, 18, 26, 0.6) !important;
}

.payment-option-selected {
    background: rgba(0, 245, 255, 0.1) !important;
    border: 1px solid var(--cyan-plasma) !important;
    border-radius: 8px !important;
}

/* ============================================
   NEW LISTING PAGE STYLES
   ============================================ */
.file-upload-zone {
    background: rgba(18, 18, 26, 0.4) !important;
    border: 2px dashed var(--circuit-grey) !important;
    border-radius: 12px !important;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.file-upload-zone:hover {
    border-color: var(--cyan-plasma) !important;
    background: rgba(0, 245, 255, 0.05) !important;
}

.screenshot-slot {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 26, 0.4) !important;
    border: 2px dashed var(--circuit-grey) !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.screenshot-slot:hover {
    border-color: var(--cyan-plasma) !important;
    background: rgba(0, 245, 255, 0.05) !important;
}

.screenshot-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 6px;
}

.screenshot-remove {
    position: absolute !important;
    top: -8px;
    right: -8px;
    background: var(--error-red) !important;
    width: 20px !important;
    height: 20px !important;
}

.listing-preview {
    background: rgba(18, 18, 26, 0.6) !important;
    border: 1px solid var(--circuit-grey) !important;
    border-radius: 8px !important;
}

.sticky-sidebar {
    position: sticky;
    top: 80px;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   ACCOUNT PAGE STYLES
   ============================================ */
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--cyan-plasma);
    box-shadow: var(--glow-cyan);
}

.wallet-card {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 184, 0, 0.05) 100%) !important;
    border: 1px solid rgba(255, 184, 0, 0.3) !important;
    border-radius: 12px !important;
}

.purchase-item {
    background: rgba(18, 18, 26, 0.4) !important;
    border: 1px solid var(--circuit-grey) !important;
    border-radius: 12px !important;
    transition: all var(--transition-normal);
}

.purchase-item:hover {
    border-color: var(--cyan-plasma) !important;
    background: rgba(0, 245, 255, 0.03) !important;
}

/* ============================================
   WALLET CONNECT DIALOG STYLES
   ============================================ */
.wallet-option {
    background: rgba(18, 18, 26, 0.4) !important;
    border: 1px solid var(--circuit-grey) !important;
    border-radius: 12px !important;
    transition: all var(--transition-normal);
}

.wallet-option:hover {
    border-color: rgba(0, 245, 255, 0.4) !important;
    background: rgba(0, 245, 255, 0.05) !important;
}

.wallet-option-selected {
    border-color: var(--cyan-plasma) !important;
    background: rgba(0, 245, 255, 0.1) !important;
    box-shadow: var(--glow-cyan);
}

.wallet-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-icon.lightning {
    background: rgba(255, 184, 0, 0.2);
    color: var(--warning-amber);
    border: 1px solid rgba(255, 184, 0, 0.4);
}

.wallet-icon.strike {
    background: rgba(0, 245, 255, 0.2);
    color: var(--cyan-plasma);
    border: 1px solid rgba(0, 245, 255, 0.4);
}

.wallet-icon.monero {
    background: rgba(139, 92, 246, 0.2);
    color: var(--purple-glow);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.purchase-list-item {
    transition: all var(--transition-normal);
}

.purchase-list-item:hover {
    background: rgba(0, 245, 255, 0.03) !important;
}

.account-tabs .mud-tabs-header {
    background: rgba(18, 18, 26, 0.6) !important;
    border-radius: 12px;
}

.account-tabs .mud-tab {
    color: rgba(255, 255, 255, 0.6) !important;
}

.account-tabs .mud-tab.mud-tab-active {
    color: var(--cyan-plasma) !important;
}

/* ============================================
   DASHBOARD MODE TOGGLE STYLES
   ============================================ */
.mode-switch-container {
    background: rgba(10, 10, 15, 0.6);
    border-bottom: 1px solid var(--circuit-grey);
}

.mode-toggle {
    width: 100%;
    display: flex !important;
}

.mode-toggle .mud-button-root {
    flex: 1;
    border-radius: 0 !important;
}

.mode-toggle .mud-button-root:first-child {
    border-radius: 8px 0 0 8px !important;
}

.mode-toggle .mud-button-root:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.mode-toggle .mud-button-filled {
    background: var(--gradient-primary) !important;
    color: var(--void-black) !important;
    font-weight: 600;
}

.mode-toggle .mud-button-outlined {
    border-color: var(--circuit-grey) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.mode-toggle .mud-button-outlined:hover {
    background: rgba(0, 245, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Responsive utilities */
@media (max-width: 959px) {
    .navbar-glass {
        padding: 0 8px !important;
    }

    .main-content {
        padding-top: 56px;
    }

    .footer-cyber {
        padding: 32px 16px 16px;
    }

    .sticky-sidebar {
        position: static;
    }
}

/* ============================================
   AUTH DIALOG MOBILE FIX
   ============================================ */
@media (max-width: 600px) {
    .mud-dialog {
        margin: 16px !important;
        max-width: calc(100vw - 32px) !important;
        width: 100% !important;
    }

    .mud-dialog .mud-dialog-content {
        padding: 16px !important;
        overflow-x: hidden !important;
    }

    .mud-dialog .mud-tabs {
        min-width: 0 !important;
    }

    .mud-dialog .mud-tabs-toolbar {
        min-width: 0 !important;
        flex-wrap: nowrap !important;
    }

    .mud-dialog .mud-tab {
        min-width: auto !important;
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }

    .mud-dialog .mud-tab .mud-tab-icon {
        margin-right: 4px !important;
    }

    /* Hide tab text on very small screens, show only icons */
    .mud-dialog .mud-tabs-tabpanel {
        padding: 0 !important;
    }

    .google-btn {
        font-size: 0.875rem !important;
    }

    .browse-header {
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .browse-header .mud-typography-h4 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        padding: 0 8px !important;
    }
}
