/**
 * ==============================================================================
 * RESCUECOUP ENTERPRISE MASTER DESIGN SYSTEM (style.css)
 * ==============================================================================
 * Silicon Valley Diamond Standard | OLED Cinematic Dark Mode (#060709)
 * Signature Curved Squircle Card Architecture (border-radius: 36px)
 * Pixel-Perfect Responsive Layouts | Zero-Bloat Performance
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-oled: #060709;
    --bg-surface: #0b0e14;
    --bg-surface-elevated: #111622;
    --bg-surface-card: #0e121a;

    /* Signature Squircle Card System */
    --card-gradient: linear-gradient(180deg, rgba(20, 26, 38, 0.95) 0%, rgba(10, 14, 22, 0.98) 100%);
    --card-border: rgba(255, 255, 255, 0.10);
    --card-border-hover: rgba(0, 229, 255, 0.45);
    --card-radius: 36px;
    --card-inner-radius: 28px;

    /* Neon Accents */
    --cyan: #00e5ff;
    --cyan-glow: rgba(0, 229, 255, 0.35);
    --cyan-dim: rgba(0, 229, 255, 0.12);
    --magenta: #ff007f;
    --magenta-glow: rgba(255, 0, 127, 0.35);
    --magenta-dim: rgba(255, 0, 127, 0.12);
    --green: #00e676;
    --green-glow: rgba(0, 230, 118, 0.35);
    --green-dim: rgba(0, 230, 118, 0.12);
    --red: #ff3366;
    --red-glow: rgba(255, 51, 102, 0.35);
    --yellow: #ffb703;
    --yellow-dim: rgba(255, 183, 3, 0.12);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-muted-extra: #475569;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

    /* Animations & Transitions */
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.18s var(--ease-apple);
    --transition-normal: 0.3s var(--ease-apple);
}

/* -------------------------------------------------------------------------- */
/* Universal Reset & Global Canvas                                            */
/* -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-oled);
}

body {
    background-color: var(--bg-oled);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
}

body.theme-oled {
    background: radial-gradient(circle at 50% 0%, #0d121c 0%, var(--bg-oled) 75%);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    color: #ffffff;
    font-weight: 700;
}

img, svg {
    display: inline-block;
    vertical-align: middle;
}

/* -------------------------------------------------------------------------- */
/* Top Market Ticker Bar                                                      */
/* -------------------------------------------------------------------------- */
.market-ticker-bar {
    width: 100%;
    background: rgba(4, 6, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 2.5rem;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.ticker-corridors {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
}

.ticker-label {
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ticker-item {
    color: #cbd5e1;
    font-weight: 500;
}

.ticker-item strong {
    font-weight: 700;
    margin-left: 0.35rem;
}

.ticker-status {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}

.pulse-indicator {
    color: var(--green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pulse-indicator i {
    font-size: 0.55rem;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 4px var(--green)); }
    50% { opacity: 0.4; transform: scale(0.85); filter: none; }
}

.ticker-latency {
    color: var(--cyan);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* -------------------------------------------------------------------------- */
/* Navigation Bar                                                             */
/* -------------------------------------------------------------------------- */
.coup-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 10, 16, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--card-border);
}

.navbar-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0.9rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(255, 0, 128, 0.15) 100%);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 0 16px var(--cyan-glow);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.38rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #ffffff;
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--cyan);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* -------------------------------------------------------------------------- */
/* Buttons Suite                                                              */
/* -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.78rem 1.6rem;
    min-height: 46px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    user-select: none;
    letter-spacing: 0.25px;
    line-height: 1.25;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px) scale(0.98) !important;
}

.btn-pill {
    border-radius: 999px !important;
}

.btn-lg {
    padding: 1rem 2.25rem;
    min-height: 52px;
    font-size: 1.02rem;
    letter-spacing: 0.3px;
    border-radius: 16px;
}

.btn-md {
    padding: 0.78rem 1.6rem;
    min-height: 46px;
    font-size: 0.92rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 0.52rem 1.25rem;
    min-height: 36px;
    font-size: 0.82rem;
    border-radius: 10px;
}

.btn-xs {
    padding: 0.35rem 0.85rem;
    min-height: 28px;
    font-size: 0.74rem;
    border-radius: 8px;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, #00a0dc 100%);
    color: #040912;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 24px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 32px rgba(0, 229, 255, 0.55);
    color: #02050b;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.btn-outline-danger {
    background: rgba(255, 51, 102, 0.06);
    border-color: rgba(255, 51, 102, 0.35);
    color: #ff3366;
}

.btn-outline-danger:hover {
    border-color: #ff3366;
    color: #ffffff;
    background: rgba(255, 51, 102, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.35);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.btn-magenta {
    background: linear-gradient(135deg, var(--magenta) 0%, #a855f7 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px rgba(255, 0, 128, 0.35);
}

.btn-magenta:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 32px rgba(255, 0, 128, 0.55);
    color: #ffffff;
}

.btn-positive, .btn-success {
    background: linear-gradient(135deg, var(--positive) 0%, #00b0ff 100%);
    color: #03080e;
    font-weight: 800;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 24px rgba(0, 230, 118, 0.35);
}

.btn-positive:hover, .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 14px 32px rgba(0, 230, 118, 0.55);
    color: #010408;
}

.btn-danger {
    background: linear-gradient(135deg, #ff3366 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(255, 51, 102, 0.35);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 51, 102, 0.55);
    color: #ffffff;
}

.btn-warning {
    background: var(--yellow);
    color: #000000;
    box-shadow: 0 6px 18px rgba(255, 183, 3, 0.35);
}

/* -------------------------------------------------------------------------- */
/* SIGNATURE CURVED SQUIRCLE CARDS (Main Card Style - Directive Fulfill)     */
/* -------------------------------------------------------------------------- */
.curved-surface-card {
    position: relative;
    border-radius: var(--card-radius);
    background: var(--card-gradient);
    border: 1px solid var(--card-border);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 24px 50px rgba(0, 0, 0, 0.75);
    padding: 2.25rem 2rem;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

/* Curved Top Specular Inset Rim */
.curved-surface-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    pointer-events: none;
}

/* Subtle Corner Ambient Aura */
.curved-surface-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -40px;
    width: 200px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.curved-surface-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 30px 60px rgba(0, 0, 0, 0.85),
        0 0 35px var(--cyan-glow);
}

.curved-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.curved-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.curved-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: #ffffff;
}

.curved-sparkline svg {
    width: 85px;
    height: 26px;
    overflow: visible;
}

.curved-sparkline path {
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline-red path { stroke: var(--red); filter: drop-shadow(0 0 6px var(--red-glow)); }
.sparkline-green path { stroke: var(--green); filter: drop-shadow(0 0 6px var(--green-glow)); }
.sparkline-cyan path { stroke: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan-glow)); }

.curved-card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.curved-card-ticker {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.curved-card-badge {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
}

.badge-positive { color: var(--green); }
.badge-negative { color: var(--red); }
.badge-cyan { color: var(--cyan); }
.badge-magenta { color: var(--magenta); }

.curved-card-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.curved-card-extra {
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.curved-card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.curved-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.curved-surface-card:hover .curved-card-link {
    color: var(--cyan);
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------- */
/* Hero Section (Cinematic Apple/Osmo Dark Stage)                            */
/* -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 6.5rem 2.5rem 5.5rem 2.5rem;
    overflow: hidden;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-bg-glow {
    position: absolute;
    top: 5%;
    left: 30%;
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(255, 0, 128, 0.05) 50%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1380px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cyan);
    width: fit-content;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.08;
    color: #ffffff;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.75rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-val {
    font-family: var(--font-heading);
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1;
}

.hero-stat-lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 440px;
    position: relative;
}

.showcase-card-1 {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 229, 255, 0.15);
}

.showcase-card-2 {
    transform: translateX(24px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 128, 0.15);
}

/* -------------------------------------------------------------------------- */
/* Sections & Headers Framework                                               */
/* -------------------------------------------------------------------------- */
.section-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 5.5rem 2.5rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.text-center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.25);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--cyan);
    margin-bottom: 1rem;
    width: fit-content;
}

.section-badge.badge-magenta {
    background: rgba(255, 0, 128, 0.08);
    border-color: rgba(255, 0, 128, 0.25);
    color: var(--magenta);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.65rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* Curved Cards Marketplace Grid                                              */
/* -------------------------------------------------------------------------- */
.section-curved-grid {
    padding-top: 1.5rem;
    padding-bottom: 5.5rem;
}

.curved-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 2.25rem;
    margin-bottom: 2.25rem;
}

.progress-bar-wrap {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin: 0.65rem 0;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
}

.progress-cyan { background: linear-gradient(90deg, #00e5ff, #00b4d8); }
.progress-green { background: linear-gradient(90deg, #00e676, #00b0ff); }

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* 3 Pillars of Execution                                                     */
/* -------------------------------------------------------------------------- */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.pillar-card {
    position: relative;
    background: var(--card-bg, #0b0e14);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.75rem 2.25rem;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.pillar-step {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.25);
    text-transform: uppercase;
}

.pillar-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.icon-cyan { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.25); color: var(--cyan); }
.icon-magenta { background: rgba(255, 0, 128, 0.1); border: 1px solid rgba(255, 0, 128, 0.25); color: var(--magenta); }
.icon-positive { background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.25); color: var(--green); }

.pillar-title {
    font-family: var(--font-heading);
    font-size: 1.38rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.pillar-desc {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.pillar-tag {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* -------------------------------------------------------------------------- */
/* The Heist Teaser Section                                                   */
/* -------------------------------------------------------------------------- */
.heist-teaser-section {
    margin: 4.5rem auto;
}

.heist-teaser-card {
    background: radial-gradient(ellipse at 70% 50%, rgba(255, 0, 128, 0.14) 0%, rgba(13, 17, 26, 0.98) 70%);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 36px;
    padding: 3.75rem 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 0, 128, 0.15);
}

.heist-teaser-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.heist-teaser-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #ffffff;
    line-height: 1.15;
}

.heist-teaser-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.heist-teaser-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.heist-teaser-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.safe-dial-preview {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a2232 0%, #0a0d14 100%);
    border: 3px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.85);
}

.dial-outer-ring {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dialSpin 25s linear infinite;
}

@keyframes dialSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dial-inner-knob {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25334a 0%, #0f1420 100%);
    border: 2px solid var(--magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--magenta);
    font-size: 1.65rem;
    box-shadow: 0 0 22px rgba(255, 0, 128, 0.45);
}

.multiplier-tag-preview {
    margin-top: 1.5rem;
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    background: rgba(255, 0, 128, 0.15);
    border: 1px solid var(--magenta);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--magenta);
}

/* -------------------------------------------------------------------------- */
/* Institutional Trust & Security Grid                                        */
/* -------------------------------------------------------------------------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.trust-card {
    background: rgba(13, 17, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 2.25rem 1.85rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.trust-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.35);
}

.trust-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: #ffffff;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.trust-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* Master Institutional Footer — World-Class Rebuild                          */
/* -------------------------------------------------------------------------- */

/* ── Ticker Band ─────────────────────────────────────────────────────────── */
@keyframes footerTicker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer-ticker-band {
    background: linear-gradient(90deg, rgba(0,229,255,0.06) 0%, rgba(255,0,127,0.04) 100%);
    border-top: 1px solid rgba(0,229,255,0.15);
    border-bottom: 1px solid rgba(0,229,255,0.08);
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
}

.ticker-track {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: footerTicker 40s linear infinite;
    will-change: transform;
}

.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    padding: 0 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.3px;
}

.ticker-val {
    color: var(--cyan);
    font-weight: 700;
}

.ticker-sep {
    color: rgba(255,255,255,0.15);
    font-size: 0.6rem;
    line-height: 1;
}

/* ── Main Footer Body ────────────────────────────────────────────────────── */
.coup-footer {
    position: relative;
    background: linear-gradient(180deg, #080b11 0%, #040609 100%);
    border-top: 1px solid rgba(0,229,255,0.12);
    padding: 5rem 3rem 0 3rem;
    margin-top: 5rem;
    overflow: hidden;
}

.footer-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 200px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.footer-glow--cyan {
    width: 500px;
    height: 300px;
    background: rgba(0, 229, 255, 0.05);
    top: -60px;
    left: -100px;
}

.footer-glow--magenta {
    width: 400px;
    height: 250px;
    background: rgba(255, 0, 127, 0.04);
    bottom: 80px;
    right: -80px;
}

/* ── Footer Main Grid ────────────────────────────────────────────────────── */
.footer-main {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

/* ── Column 1: Brand ─────────────────────────────────────────────────────── */
.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    width: fit-content;
}

.footer-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(0,229,255,0.12);
    border: 1px solid rgba(0,229,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cyan);
    box-shadow: 0 0 18px rgba(0,229,255,0.2);
    flex-shrink: 0;
    transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.footer-brand-lockup:hover .footer-brand-icon {
    border-color: rgba(0,229,255,0.6);
    box-shadow: 0 0 28px rgba(0,229,255,0.35);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    line-height: 1;
}

.footer-brand-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 3px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Live Status */
.footer-live-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.2);
    border-radius: 12px;
    width: fit-content;
}

.footer-status-led {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    flex-shrink: 0;
}

.footer-status-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.footer-status-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-status-value {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    letter-spacing: 0.2px;
}

/* Trust Chips */
.footer-trust-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-trust-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.65rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 9px;
    font-family: var(--font-mono);
    font-size: 0.67rem;
    color: var(--text-secondary);
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.footer-trust-chip:hover {
    background: rgba(0,229,255,0.07);
    border-color: rgba(0,229,255,0.2);
    color: var(--cyan);
}

.footer-trust-chip i {
    font-size: 0.75rem;
    color: var(--cyan);
    flex-shrink: 0;
}

/* Social Bar */
.footer-social-bar {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-social-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: rgba(0,229,255,0.12);
    border-color: rgba(0,229,255,0.35);
    color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,229,255,0.15);
}

/* ── Footer Nav Columns (2, 3, 4) ────────────────────────────────────────── */
.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-col-heading {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-col-heading i {
    font-size: 0.75rem;
    color: var(--cyan);
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.5rem;
    border-radius: 9px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.865rem;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.04);
    padding-left: 0.85rem;
}

.footer-nav-link:hover .fn-icon {
    color: var(--cyan);
}

.fn-icon {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted-extra);
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.fn-text {
    flex: 1;
}

.fn-badge {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    background: rgba(255,183,3,0.15);
    color: var(--yellow);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.fn-badge--live {
    background: rgba(0,230,118,0.12);
    color: var(--green);
}

.fn-badge--ai {
    background: rgba(0,229,255,0.12);
    color: var(--cyan);
}

.fn-ext-icon {
    font-size: 0.6rem;
    color: var(--text-muted-extra);
    margin-left: auto;
}

/* ── Column 5: CTA / Newsletter ──────────────────────────────────────────── */
.footer-cta-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-newsletter-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-newsletter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.footer-nl-icon {
    position: absolute;
    left: 0.9rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 1;
}

.footer-newsletter-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.footer-newsletter-input::placeholder { color: var(--text-muted); }

.footer-newsletter-input:focus {
    border-color: rgba(0,229,255,0.5);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.08);
    background: rgba(0,229,255,0.04);
}

.footer-newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--cyan) 0%, rgba(0,180,210,1) 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0,229,255,0.25);
}

.footer-newsletter-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0,229,255,0.4);
}

.footer-newsletter-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.footer-newsletter-notice {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    min-height: 1.2em;
    margin: 0;
    padding: 0;
}

/* Mini Stats */
.footer-mini-stats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
}

.footer-mini-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.fms-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.fms-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    text-align: center;
}

.footer-mini-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* App Badges */
.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-app-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer-app-badge:hover {
    background: rgba(0,229,255,0.07);
    border-color: rgba(0,229,255,0.25);
    color: var(--cyan);
    transform: translateY(-1px);
}

.footer-app-badge > i {
    font-size: 1.2rem;
    color: var(--cyan);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.footer-app-badge-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fab-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.3px;
}

.fab-main {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    font-family: var(--font-heading);
}

/* ── Divider ─────────────────────────────────────────────────────────────── */
.footer-divider-wrap {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto 2.5rem auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,229,255,0.15) 30%, rgba(255,255,255,0.07) 70%, transparent 100%);
}

.footer-divider-emblem {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 0 18px rgba(0,229,255,0.15);
}

/* ── Bottom Bar ──────────────────────────────────────────────────────────── */
.footer-bottom-bar {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 3rem 2.5rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-copyright strong {
    color: var(--text-secondary);
}

.footer-bottom-tagline {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted-extra);
    letter-spacing: 0.3px;
}

.footer-bottom-center {
    text-align: center;
}

.footer-risk-note {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted-extra);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    margin: 0;
    padding: 0.35rem 0.75rem;
    background: rgba(255,183,3,0.04);
    border: 1px solid rgba(255,183,3,0.1);
    border-radius: 8px;
}

.footer-risk-note i {
    color: rgba(255,183,3,0.6);
    font-size: 0.65rem;
    flex-shrink: 0;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--green);
    padding: 0.3rem 0.65rem;
    background: rgba(0,230,118,0.07);
    border: 1px solid rgba(0,230,118,0.18);
    border-radius: 8px;
}

.footer-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 7px var(--green);
    flex-shrink: 0;
}

/* Keep old aliases so nothing else breaks */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.status-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.footer-version {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted-extra);
    letter-spacing: 0.4px;
}

/* trust-badge kept for backward compat */
.trust-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* ── Footer Responsive Breakpoints ───────────────────────────────────────── */
@media (max-width: 1280px) {
    .footer-main {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-cta-col {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .footer-col-heading:first-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .coup-footer { padding: 4rem 2rem 0 2rem; }
    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-cta-col { grid-column: 1 / -1; display: flex; flex-direction: column; }
    .footer-bottom-bar {
        grid-template-columns: 1fr 1fr;
        padding: 1.25rem 2rem 2rem 2rem;
    }
    .footer-bottom-center { grid-column: 1 / -1; order: 3; }
    .footer-bottom-right { align-items: flex-end; }
    .footer-divider-wrap { padding: 0 2rem; }
    .footer-risk-note { white-space: normal; }
}

@media (max-width: 768px) {
    .coup-footer { padding: 3rem 1.25rem 0 1.25rem; }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
    .footer-brand-col, .footer-cta-col { grid-column: 1 / -1; }
    .footer-bottom-bar {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem 1.25rem 2rem 1.25rem;
    }
    .footer-bottom-left { align-items: center; }
    .footer-bottom-right { align-items: center; }
    .footer-risk-note { justify-content: center; white-space: normal; }
    .footer-ticker-band { height: 32px; }
    .ticker-item { font-size: 0.65rem; padding: 0 1.25rem; }
    .footer-divider-wrap { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-trust-chips { grid-template-columns: 1fr 1fr; }
    .footer-mini-stats { gap: 0; }
    .footer-bottom-bar { padding: 1rem 1rem 1.5rem 1rem; }
}

/* -------------------------------------------------------------------------- */
/* Auth Pages Styling                                                         */
/* -------------------------------------------------------------------------- */
.auth-page-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
}

.auth-card {
    max-width: 470px;
    width: 100%;
    background: linear-gradient(180deg, #101622 0%, #0a0e17 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 32px;
    padding: 2.85rem 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85);
    position: relative;
    z-index: 1;
}

.auth-brand-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px var(--cyan-glow);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.94rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.demo-creds-box {
    background: rgba(0, 229, 255, 0.06);
    border: 1px dashed rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
    margin-top: 1.75rem;
}

.demo-creds-title {
    font-size: 0.76rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cyan);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.demo-buttons-row {
    display: flex;
    gap: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Form Controls & Inputs                                                     */
/* -------------------------------------------------------------------------- */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label, label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
    letter-spacing: 0.4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control,
.form-input,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: rgba(8, 12, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    box-sizing: border-box;
}

.form-control:focus,
.form-input:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.18), 0 0 15px rgba(0, 229, 255, 0.1);
    background: rgba(10, 15, 26, 0.98);
}

.form-control::placeholder,
.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-style: normal;
    font-family: var(--font-body);
}

.form-control:disabled,
.form-control[readonly],
.form-input:disabled,
.form-input[readonly],
input:disabled,
input[readonly],
textarea:disabled,
textarea[readonly] {
    background: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    cursor: not-allowed;
}

textarea.form-control,
textarea.form-input,
textarea {
    min-height: 95px;
    line-height: 1.55;
    resize: vertical;
}

select.form-control,
select.form-input,
select {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(8, 12, 20, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background-color: #080c14;
    color: #ffffff;
    padding: 10px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 0.35;
    cursor: pointer;
}

input[type=number]:hover::-webkit-inner-spin-button {
    opacity: 0.85;
}

.form-control-sm,
.form-input-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.84rem;
    border-radius: 10px;
}

.form-control-xs,
.form-input-xs {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    border-radius: 8px;
}

/* Modern Fintech Input Groups */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    position: relative;
}

.input-group .form-control,
.input-group .form-input,
.input-group input {
    border-radius: 0;
    flex: 1;
    margin: 0;
}

.input-group > *:first-child {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
}

.input-group > *:last-child {
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

.input-group > *:not(:first-child) {
    margin-left: -1px;
}

.input-group .form-control:focus,
.input-group .form-input:focus,
.input-group input:focus {
    z-index: 2;
}

.input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    user-select: none;
    letter-spacing: 0.5px;
}

.input-group-addon.addon-muted {
    color: var(--text-muted);
}

.input-group-addon.addon-gold {
    color: var(--gold);
}

.input-group-addon.addon-magenta {
    color: var(--magenta);
}

.input-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix span {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-weight: 700;
}

.input-prefix .form-control,
.input-prefix .form-input {
    padding-left: 2rem;
}

.input-with-badge {
    position: relative;
}

.input-with-badge span {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--cyan);
    font-weight: 700;
}

.copy-input-group {
    display: flex;
    gap: 0.5rem;
}

.search-form-inline, .filter-form-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Dashboard Shell & Trader Cockpit                                           */
/* -------------------------------------------------------------------------- */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar, .sidebar-admin {
    width: 270px;
    flex-shrink: 0;
    background: rgba(8, 11, 16, 0.96);
    border-right: 1px solid var(--card-border);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-main {
    flex: 1;
    background: var(--bg-oled);
    overflow-y: auto;
    padding-bottom: 5rem;
}

.dashboard-topbar, .topbar-admin {
    padding: 1.25rem 2.5rem;
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-hero {
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.page-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
}

.vault-balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan);
}

/* -------------------------------------------------------------------------- */
/* Tables & Ledgers                                                           */
/* -------------------------------------------------------------------------- */
.responsive-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    background: var(--bg-surface);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.responsive-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.25rem;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.responsive-table td {
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.responsive-table tr:last-child td {
    border-bottom: none;
}

.responsive-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* -------------------------------------------------------------------------- */
/* The Heist Arena & Mini-Game                                                */
/* -------------------------------------------------------------------------- */
.heist-arena-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.heist-canvas-card {
    background: linear-gradient(180deg, #101622 0%, #090d14 100%);
    border: 1px solid rgba(255, 0, 128, 0.25);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 128, 0.12);
}

.heist-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hud-item span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
}

.hud-item strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #ffffff;
}

.canvas-wrapper {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.canvas-wrapper canvas {
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.heist-controls-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0;
}

.heist-actions-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.heist-rules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rule-box {
    background: rgba(14, 19, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.rule-icon {
    font-size: 1.25rem;
    color: var(--cyan);
}

.rule-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.rule-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.multiplier-active-banner {
    padding: 1rem 1.5rem;
    border-radius: 16px;
    background: rgba(255, 0, 128, 0.12);
    border: 1px solid var(--magenta);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* -------------------------------------------------------------------------- */
/* Fiat Deposit & Conversion Desk                                             */
/* -------------------------------------------------------------------------- */
.deposit-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
}

.conversion-preview-card {
    background: var(--card-bg, #0e121a);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.25rem;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.preview-row:last-child {
    border-bottom: none;
}

.crypto-deposit-box {
    background: rgba(0, 229, 255, 0.04);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 20px;
    padding: 1.75rem;
    margin-top: 1.5rem;
}

.crypto-notes {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.note-item {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* -------------------------------------------------------------------------- */
/* Syndicate Detail & Underwriting                                            */
/* -------------------------------------------------------------------------- */
.syndicate-detail-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.5rem;
}

.pool-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.75rem 0;
}

.spec-box {
    background: rgba(14, 19, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.pool-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.tag-chip {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.76rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* Grids & Cards Framework (FAQ, Contact, Profile, Admin)                     */
/* -------------------------------------------------------------------------- */
.faq-grid, .contact-grid, .profile-grid, .marketing-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(14, 19, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.faq-answer {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-info-card, .contact-form-card, .admin-card, .legal-card {
    background: var(--card-gradient);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.5rem;
}

.callout-box {
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.5rem 0;
}

.callout-icon {
    font-size: 1.3rem;
    color: var(--cyan);
}

.callout-text {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.55;
}

.health-indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.health-card {
    background: rgba(14, 19, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.health-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.health-name {
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
}

.health-stat {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
}

.health-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* God Mode Banner */
.god-mode-banner {
    position: sticky;
    top: 0;
    z-index: 1002;
    background: linear-gradient(90deg, #ff1744 0%, #d50000 100%);
    color: #ffffff;
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
}

.banner-inner {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------------------------------------------- */
/* Coup Oracle AI Floating Trigger & Chat Window                              */
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* Coup Oracle AI Cinematic FAB & Fluid Cubic-Bezier Modal                    */
/* -------------------------------------------------------------------------- */
.oracle-fab-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 56px;
    height: 56px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    animation: oracleIconGlow 2.5s infinite ease-in-out;
}

@keyframes oracleIconGlow {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.7));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(0, 229, 255, 1)) drop-shadow(0 0 26px rgba(0, 229, 255, 0.85));
        transform: scale(1.08);
    }
}

.oracle-fab-trigger:hover {
    transform: scale(1.18);
    animation-play-state: paused;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 1)) drop-shadow(0 0 35px rgba(0, 229, 255, 0.95));
}

.oracle-fab-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.oracle-message-icon,
.oracle-robot-icon {
    font-size: 2.2rem;
    color: #00e5ff;
    text-shadow: 0 0 16px rgba(0, 229, 255, 0.9);
}

.oracle-fab-glow,
.oracle-fab-pulse,
.oracle-fab-label {
    display: none !important;
}

.oracle-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.oracle-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.oracle-modal-container {
    width: 440px;
    max-width: 100%;
    height: 600px;
    max-height: 90vh;
    background: linear-gradient(180deg, #111622 0%, #080c14 100%);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--cyan-glow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.oracle-modal-backdrop.active .oracle-modal-container {
    transform: translateY(0) scale(1);
}

.oracle-header {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oracle-messages-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.oracle-bubble {
    padding: 1rem 1.25rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 90%;
}

.oracle-bubble-bot {
    background: rgba(14, 20, 31, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.oracle-input-bar {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 14, 0.95);
    display: flex;
    gap: 0.75rem;
}

/* -------------------------------------------------------------------------- */
/* Utility Color & Typography Classes                                         */
/* -------------------------------------------------------------------------- */
.text-cyan { color: var(--cyan) !important; }
.text-positive { color: var(--green) !important; }
.text-magenta { color: var(--magenta) !important; }
.text-warning { color: var(--yellow) !important; }
.text-white { color: #ffffff !important; }
.text-muted { color: var(--text-muted) !important; }
.text-muted-extra { color: var(--text-muted-extra) !important; }
.text-accent-cyan { color: var(--cyan) !important; }

.font-bold { font-weight: 700 !important; }
.font-mono { font-family: var(--font-mono) !important; }
.text-center { text-align: center !important; }
.text-sm { font-size: 0.85rem !important; }
.text-xs { font-size: 0.75rem !important; }
.text-lg { font-size: 1.15rem !important; }

.gradient-text-cyan {
    background: linear-gradient(135deg, #00e5ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -------------------------------------------------------------------------- */
/* Responsive Media Queries                                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-stats-row {
        justify-content: center;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .heist-teaser-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .heist-teaser-actions {
        justify-content: center;
    }
    .heist-arena-grid, .deposit-grid, .syndicate-detail-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .market-ticker-bar {
        padding: 0.35rem 1rem;
        font-size: 0.72rem;
    }
    .ticker-corridors {
        gap: 0.85rem;
    }
    .coup-navbar {
        padding: 0.85rem 1.25rem;
    }
    .navbar-container {
        padding: 0;
    }
    .navbar-nav {
        display: none;
    }
    .hero-section {
        padding: 4rem 1.25rem 3.5rem 1.25rem;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-stats-row {
        flex-direction: column;
        gap: 1.25rem;
    }
    .section-container {
        padding: 3.5rem 1.25rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .curved-cards-grid {
        grid-template-columns: 1fr;
    }
    .curved-surface-card {
        border-radius: 28px;
        padding: 1.75rem 1.5rem;
    }
    .showcase-card-2 {
        transform: none;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


/* -------------------------------------------------------------------------- */
/* Dashboard Body & Layout Wrappers                                           */
/* -------------------------------------------------------------------------- */
.main-content-wrapper {
    min-height: calc(100vh - 80px);
}

.layout-dashboard, .layout-admin {
    background-color: var(--bg-oled);
}

.dashboard-main-viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-y: auto;
    background: var(--bg-oled);
}

.dashboard-body-content {
    padding: 2rem 2.5rem 5rem 2.5rem;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

/* -------------------------------------------------------------------------- */
/* Dashboard Topbar & Breadcrumbs                                             */
/* -------------------------------------------------------------------------- */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

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

.topbar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 700;
}

.topbar-pill, .topbar-balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    background: rgba(14, 20, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
}

.topbar-balance-pill strong {
    color: var(--cyan);
}

/* -------------------------------------------------------------------------- */
/* Sidebar Navigation & User Card                                             */
/* -------------------------------------------------------------------------- */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.sidebar-toggle-btn, .sidebar-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.nav-section-title {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 0.75rem 0.3rem 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.sidebar-link.active {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(14, 20, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.user-avatar, .avatar-admin {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan) 0%, #0077b6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #040912;
    font-size: 0.95rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-badge {
    font-size: 0.68rem;
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 700;
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-logout-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.sidebar-logout-link:hover {
    background: rgba(255, 51, 102, 0.1);
}

/* -------------------------------------------------------------------------- */
/* Cockpit & Cards Framing                                                    */
/* -------------------------------------------------------------------------- */
.cockpit-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cockpit-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}

.cockpit-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #ffffff;
}

.cockpit-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.cockpit-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cockpit-card {
    background: var(--card-gradient);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    padding: 2.25rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.cockpit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.card-subheading {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.balance-label {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
}

.balance-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* Tables, Cells & Badges                                                     */
/* -------------------------------------------------------------------------- */
.table-responsive, .table-dark {
    width: 100%;
}

.table-cell-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cell-primary {
    font-weight: 700;
    color: #ffffff;
}

.cell-secondary {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid #00e676;
    color: #00e676;
}

.status-completed {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid #00e5ff;
    color: #00e5ff;
}

.badge-mini {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.badge-admin, .pill-admin {
    background: rgba(255, 23, 68, 0.15);
    border: 1px solid #ff1744;
    color: #ff1744;
}

.link-admin {
    color: var(--cyan);
    font-size: 0.85rem;
    text-decoration: underline;
}

.error-badge {
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 51, 102, 0.15);
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.empty-state-box {
    text-align: center;
    padding: 3.5rem 2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -------------------------------------------------------------------------- */
/* Flash Notifications / Toasts                                               */
/* -------------------------------------------------------------------------- */
.flash-toast {
    padding: 1rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 600;
}

.flash-success {
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid #00e676;
    color: #00e676;
}

.flash-error {
    background: rgba(255, 51, 102, 0.12);
    border: 1px solid var(--red);
    color: #ff8099;
}

.flash-close {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
}

/* -------------------------------------------------------------------------- */
/* Referral Viral Tree Visualizer                                             */
/* -------------------------------------------------------------------------- */
.network-tree-container {
    background: var(--bg-surface);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    overflow-x: auto;
}

.tree-root-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.tree-branches {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.tree-branch-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tree-connector-line {
    width: 2px;
    height: 30px;
    background: rgba(0, 229, 255, 0.3);
}

.root-badge, .child-badge, .tree-badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(14, 20, 31, 0.9);
    border: 1px solid rgba(0, 229, 255, 0.3);
    font-family: var(--font-mono);
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.referee-email {
    font-size: 0.82rem;
    color: #cbd5e1;
}

.referee-balance {
    font-size: 0.78rem;
    color: var(--cyan);
    font-weight: 700;
}

/* -------------------------------------------------------------------------- */
/* Profile & Syndicate Specifications                                         */
/* -------------------------------------------------------------------------- */
.profile-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.profile-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.syndicate-description {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 1.5rem 0;
}

.progress-section {
    margin: 1.5rem 0;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* -------------------------------------------------------------------------- */
/* Coup Oracle Modal Refinements                                              */
/* -------------------------------------------------------------------------- */
.oracle-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

.oracle-title-wrap {
    display: flex;
    flex-direction: column;
}

.oracle-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.oracle-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.oracle-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.oracle-credits-pill {
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyan);
    font-weight: 700;
}

.oracle-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
}

.oracle-close-btn:hover {
    color: #ffffff;
}

.oracle-quick-prompts {
    padding: 0.5rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.quick-prompt-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    font-size: 0.74rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-prompt-chip:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--cyan);
    color: var(--cyan);
}

.oracle-send-btn {
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    background: var(--cyan);
    color: #040912;
    border: none;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubble-sender {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.bubble-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.oracle-pulse-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.oracle-btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    z-index: -1;
    filter: blur(8px);
    opacity: 0.4;
}

.oracle-btn-label {
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.heist-arena-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }

/* -------------------------------------------------------------------------- */
/* Neon Arcade & Missions Dashboard Suite                                     */
/* -------------------------------------------------------------------------- */
.arcade-ticker-bar {
    display: flex;
    align-items: center;
    background: rgba(16, 22, 34, 0.75);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    overflow: hidden;
    margin-top: 1rem;
}
.ticker-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ff0055;
    white-space: nowrap;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ticker-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
    font-size: 0.8rem;
}
.ticker-scroll::-webkit-scrollbar {
    display: none;
}
.arcade-game-card {
    border-radius: 36px !important;
    position: relative;
    overflow: hidden;
}
.mining-rig-card {
    border-radius: 24px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.mining-rig-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 145, 0, 0.5);
}

/* ==============================================================================
   PHASE 10: ZENITH EXPANSION (PWA, NOTIFICATIONS, BOUNTIES, AI AUTO-TRADER, SETTINGS)
   ============================================================================== */

/* Unified Notification Bell & Dropdown */
.notif-bell-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.notif-bell-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.notif-bell-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.4);
    color: var(--cyan);
    transform: scale(1.05);
}
.notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff0055;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
}
.notif-badge.badge-visible {
    display: flex;
}
.notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 360px;
    background: rgba(8, 8, 14, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 243, 255, 0.1);
    z-index: 1100;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}
.notif-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}
.btn-mark-all-read {
    background: transparent;
    border: none;
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.btn-mark-all-read:hover {
    background: rgba(0, 243, 255, 0.1);
}
.notif-dropdown-body {
    max-height: 380px;
    overflow-y: auto;
}
.notif-empty-state {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.notif-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s ease;
}
.notif-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.notif-item.unread {
    background: rgba(0, 243, 255, 0.04);
    border-left: 3px solid var(--cyan);
}
.notif-icon-col {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.notif-text-col {
    flex: 1;
    min-width: 0;
}
.notif-item-title {
    font-size: 0.82rem;
    color: #fff;
    display: block;
    margin-bottom: 2px;
    line-height: 1.3;
}
.notif-item-msg {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 4px 0;
}
.notif-item-time {
    font-size: 0.68rem;
    color: var(--text-muted-extra);
    font-family: var(--font-mono);
}
.notif-dropdown-footer {
    padding: 0.65rem 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}
.btn-enable-push {
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}
.btn-enable-push:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: var(--cyan);
}

/* Social Bounties & Missions */
.bounties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.bounty-card {
    border-radius: 36px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.bounty-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 243, 255, 0.3);
}
.bounty-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.reward-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 187, 0, 0.1);
    border: 1px solid rgba(255, 187, 0, 0.3);
    font-size: 0.78rem;
}
.fiat-sub {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
}
.bounty-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #fff;
    line-height: 1.35;
}
.bounty-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 1rem 0;
}
.bounty-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.input-with-button {
    display: flex;
    gap: 0.5rem;
}
.input-with-button .form-input {
    flex: 1;
}
.status-box {
    padding: 0.75rem 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
}
.status-approved {
    background: rgba(0, 230, 153, 0.08);
    border: 1px solid rgba(0, 230, 153, 0.25);
}
.status-verifying {
    background: rgba(255, 187, 0, 0.08);
    border: 1px solid rgba(255, 187, 0, 0.25);
}
.status-rejected {
    background: rgba(255, 0, 85, 0.08);
    border: 1px solid rgba(255, 0, 85, 0.25);
}
.points-badge-box {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.points-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.points-value {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-mono);
}
.points-fiat {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Points Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-squircle {
    border-radius: 36px !important;
    background: #0a0a10;
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 243, 255, 0.15);
    overflow: hidden;
}
.conversion-summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.85rem 1.15rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.85rem;
}
.input-with-max {
    position: relative;
    display: flex;
    align-items: center;
}
.input-with-max input {
    padding-right: 65px;
}
.input-with-max button {
    position: absolute;
    right: 8px;
}
.conversion-result-box {
    background: rgba(0, 230, 153, 0.08);
    border: 1px solid rgba(0, 230, 153, 0.25);
    border-radius: 16px;
    padding: 0.85rem 1.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.convert-receive-val {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-mono);
}

/* Coup Oracle AI Auto-Trader & Continuous Radar */
.oracle-radar-card {
    background: linear-gradient(135deg, rgba(8, 12, 22, 0.95) 0%, rgba(13, 20, 36, 0.85) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 24px;
    padding: 1.25rem 1.75rem;
    margin: 1.25rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.radar-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.radar-pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--cyan);
}

.radar-ticker-strip {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
}

.radar-ticker-strip::-webkit-scrollbar {
    display: none;
}

.ticker-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.76rem;
    font-family: var(--font-mono);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.ticker-chip.active-scan {
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.08);
    color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.decision-actions-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.btn-approve-trade {
    background: linear-gradient(135deg, #00f3ff 0%, #00e676 50%, #00b0ff 100%);
    background-size: 200% 200%;
    color: #020610 !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    border-radius: 14px;
    padding: 0.85rem 1.4rem !important;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.35), 0 4px 12px rgba(0, 230, 118, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.3px;
    animation: approveGlowPulse 4s ease-in-out infinite alternate;
}

.btn-approve-trade:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 32px rgba(0, 243, 255, 0.65), 0 8px 24px rgba(0, 230, 118, 0.45), inset 0 1px 0 #ffffff;
    color: #000000 !important;
}

.btn-decline-trade {
    background: rgba(255, 51, 102, 0.08) !important;
    color: #ff4d79 !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    border-radius: 14px;
    padding: 0.85rem 1.2rem !important;
    min-height: 48px;
    border: 1px solid rgba(255, 51, 102, 0.35) !important;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-decline-trade:hover {
    background: rgba(255, 51, 102, 0.22) !important;
    color: #ffffff !important;
    border-color: #ff3366 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(255, 51, 102, 0.4);
}

@keyframes approveGlowPulse {
    0% { background-position: 0% 50%; box-shadow: 0 0 18px rgba(0, 243, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.5); }
    100% { background-position: 100% 50%; box-shadow: 0 0 26px rgba(0, 230, 118, 0.45), inset 0 1px 0 rgba(255,255,255,0.7); }
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}
.signal-card {
    border-radius: 36px !important;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.signal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 243, 255, 0.35);
}
.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.15rem;
}
.asset-pair-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.asset-title {
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #fff;
}
.roi-pill {
    display: flex;
    flex-direction: column;
    text-align: right;
}
.signal-metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}
.metric-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.metric-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}
.metric-val {
    font-size: 0.95rem;
    font-weight: 800;
}
.confidence-bar-container {
    margin-bottom: 1rem;
}
.confidence-label-flex {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
}
.progress-cyan {
    background: linear-gradient(90deg, #00b4d8, #00f3ff);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}
.signal-thesis {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--cyan);
    padding: 0.5rem 0.75rem;
    border-radius: 0 12px 12px 0;
    margin: 0 0 1rem 0;
}
.quick-alloc-pills {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

/* Global Settings Matrix */
.settings-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

/* Sub-links in Sidebar Navigation */
.sidebar-sub {
    padding-left: 2.8rem !important;
    font-size: 0.82rem !important;
    opacity: 0.85;
}
.sidebar-sub:hover {
    opacity: 1;
    background: rgba(0, 243, 255, 0.05);
}
.sidebar-sub i {
    font-size: 0.75rem !important;
    width: 1rem !important;
}

/* Custom CSS Tooltip System */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 12px;
    background: rgba(10, 10, 18, 0.96);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 243, 255, 0.2);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: rgba(0, 243, 255, 0.3) transparent transparent transparent;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
[data-tooltip]:hover::after {
    opacity: 1;
}

/* 500 Error Squircle Buttons */
.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.error-actions .btn {
    border-radius: 20px;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* -------------------------------------------------------------------------- */
/* Universal OLED Pagination Controls                                        */
/* -------------------------------------------------------------------------- */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.75rem 0.25rem;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pagination-summary {
    color: var(--text-muted, #8b92b2);
    font-size: 0.8rem;
}
.pagination-nav {
    display: flex;
    align-items: center;
}
.pagination-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.35rem;
}
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #c4c9dc;
    font-size: 0.85rem;
    font-family: var(--font-mono, monospace);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pagination-link:hover {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.4);
    color: #00f3ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 243, 255, 0.15);
}
.pagination-item.active .pagination-link.current {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.25), rgba(0, 243, 255, 0.08));
    border-color: #00f3ff;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.3);
}
.pagination-link.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}
.pagination-ellipsis {
    min-width: 32px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-family: var(--font-mono, monospace);
}

/* -------------------------------------------------------------------------- */
/* Topbar User Profile Menu & Dropdown                                        */
/* -------------------------------------------------------------------------- */
.user-profile-menu {
    position: relative;
    display: inline-block;
}

.profile-trigger-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.35rem 0.75rem 0.35rem 0.45rem;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-trigger-btn:hover,
.profile-trigger-btn[aria-expanded="true"] {
    background: rgba(0, 243, 255, 0.08);
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00f3ff, #b537f2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #05070d;
    font-family: var(--font-mono, monospace);
    box-shadow: 0 2px 8px rgba(0, 243, 255, 0.3);
}

.profile-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.profile-email {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-chevron {
    font-size: 0.7rem;
    color: var(--text-muted, #94a3b8);
    transition: transform 0.2s ease;
}

.profile-trigger-btn[aria-expanded="true"] .profile-chevron {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    background: rgba(8, 12, 20, 0.96);
    border: 1px solid rgba(0, 243, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 243, 255, 0.12);
    backdrop-filter: blur(24px);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    animation: dropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown-menu.show,
.profile-dropdown-menu.active {
    display: flex;
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pd-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00f3ff 0%, #b537f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #040812;
    font-family: var(--font-mono);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.35);
    flex-shrink: 0;
}

.pd-user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 2px;
}

.pd-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-subaccount {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.profile-dropdown-balance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 243, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-bal-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-bal-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pd-bal-val {
    font-size: 0.88rem;
    font-weight: 800;
}

.profile-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 0.25rem 0;
}

.profile-dropdown-links {
    list-style: none;
    padding: 0.35rem 0.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.pd-link > div,
.pd-link > span:first-of-type {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.pd-link i {
    width: 18px;
    text-align: center;
    font-size: 0.88rem;
}

.pd-link:hover {
    background: rgba(0, 243, 255, 0.08);
    color: #00f3ff;
    padding-left: 0.95rem;
}

.profile-dropdown-footer {
    padding: 0.5rem 0.75rem 0.75rem 0.75rem;
}

.pd-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ff4d79;
    background: rgba(255, 51, 102, 0.08);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pd-logout-btn:hover {
    background: rgba(255, 51, 102, 0.22);
    color: #ffffff;
    border-color: #ff3366;
    box-shadow: 0 0 16px rgba(255, 51, 102, 0.35);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}





