/* assets/css/style.css */
:root {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --surface: #1e293b;
    --surface-hover: #273549;
    --border: #334155;
    --border-light: #273549;
    --text: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-light: #1e3a5f;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --accent: #8b5cf6;
    --accent-light: #2d1b69;
    --green: #10b981;
    --green-light: #064e3b;
    --amber: #f59e0b;
    --amber-light: #451a03;
    --red: #ef4444;
    --red-light: #450a0a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition: 0.2s ease;
    --ticker-height: 30px;
}

[data-theme="light"] {
    --bg: #fafbfc;
    --bg-alt: #f0f4f8;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --primary-light: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.25);
    --accent-light: #f5f3ff;
    --green-light: #ecfdf5;
    --amber-light: #fffbeb;
    --red-light: #fef2f2;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
    padding-top: 0; /* space for sticky ticker + header is handled automatically */
}

/* Toast */
.toast-container {
    position: fixed;
    top: 40px; /* below ticker */
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 0.9rem;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.toast.success {
    border-left: 4px solid var(--green);
}
.toast.error {
    border-left: 4px solid var(--red);
}
.toast.info {
    border-left: 4px solid var(--primary);
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 1rem;
    line-height: 1;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}
.theme-toggle-btn:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
}
.theme-icon-light,
.theme-icon-dark {
    display: inline-block;
    transition: all 0.3s ease;
}
[data-theme="light"] .theme-icon-dark {
    opacity: 0.4;
}
[data-theme="dark"] .theme-icon-light {
    opacity: 0.4;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.btn-sm {
    padding: 7px 16px;
    font-size: 0.825rem;
    border-radius: 6px;
}
.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius);
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary-light);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}
.btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--text);
}
.btn-full {
    width: 100%;
}
.btn-danger {
    background: transparent;
    color: var(--red);
    border: 1px solid var(--red);
}
.btn-danger:hover {
    background: var(--red-light);
}
.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 0 14px transparent; }
}

/* ==================== LIVE TICKER ==================== */
.live-ticker {
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    height: var(--ticker-height);
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}
.ticker-inner {
    display: inline-flex;
    gap: 24px;
    padding: 0 20px;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ticker-label {
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.ticker-item span:last-child {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-secondary);
}
.ticker-divider {
    color: var(--border);
    font-weight: 300;
    user-select: none;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==================== LANDING PAGE ==================== */
.landing-page {
    min-height: 100vh;
}
.landing-header {
    position: sticky;
    top: var(--ticker-height); /* directly below ticker */
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
[data-theme="light"] .landing-header {
    background: rgba(255, 255, 255, 0.85);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon {
    width: 36px;
    height: 36px;
}
.logo-text {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.nav-links {
    display: flex;
    gap: 24px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.nav-links a:hover {
    color: var(--primary);
}
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Hero */
.hero-section {
    position: relative;
    padding: 80px 24px 60px;
    overflow: hidden;
}
.hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1 1 400px;
}
.hero-mockup {
    flex: 0 0 360px;
    max-width: 100%;
}
.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-stats-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    transition: all var(--transition);
}
.stat-chip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 600;
}
.stat-value {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    font-family: var(--font-mono);
}

/* Mockup Card */
.mockup-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(8px);
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.8);
}
[data-theme="light"] .mockup-card {
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.12);
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
}
.mockup-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}
.mockup-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.mockup-stat {
    flex: 1 1 calc(50% - 12px);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ms-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 600;
}
.ms-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    font-family: var(--font-mono);
}
.status-online {
    color: var(--green) !important;
}
.mockup-chart {
    height: 50px;
    width: 100%;
}
.mockup-chart svg {
    width: 100%;
    height: 100%;
}

/* Why Miners Choose */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.why-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.why-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}
.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Sections */
.section {
    padding: 60px 24px;
}
.section-alt {
    background: var(--bg-alt);
}
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}
.cta-section {
    text-align: center;
    padding: 60px 24px;
}
.cta-section .hero-cta-group {
    justify-content: center;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Pools Landing */
.pools-grid-landing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.pool-card-landing {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pool-card-landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.pool-card-landing[data-coin="BTC"]:hover {
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.15);
    transform: translateY(-4px);
}
.pool-card-landing[data-coin="BCH"]:hover {
    box-shadow: 0 0 30px rgba(10, 193, 142, 0.15);
    transform: translateY(-4px);
}
.pool-card-icon-large {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}
.pool-card-icon-large svg {
    width: 100%;
    height: 100%;
}
.pool-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.pool-card-badge.online {
    background: var(--green-light);
    color: var(--green);
}
.pool-card-landing h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.pool-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.pool-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pool-features span {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.pool-url-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* Solo */
.solo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}
.solo-info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.solo-info-card.accent {
    border: 2px solid var(--accent);
    background: var(--accent-light);
}
.solo-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.solo-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.pack-toggle {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.pack-tab {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
    color: var(--text);
}
.pack-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.pack-placeholder {
    margin-top: 14px;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
}
.disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Payout */
.payout-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.info-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}
.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trust */
.trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
}
.trust-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.trust-item:hover {
    box-shadow: var(--shadow-md);
}
.trust-check {
    color: var(--green);
    font-weight: 700;
}

/* Liquidity Landing */
.liquidity-landing-hero {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.liquidity-landing-hero p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}
.liquidity-landing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.liquidity-landing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.liquidity-landing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.liquidity-landing-card .liq-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.liquidity-landing-card h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}
.liquidity-landing-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.liquidity-risk-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    padding: 12px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}

/* Status Wide Card */
.status-card-wide {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}
.status-card-left h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.status-card-left p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.status-card-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}
.status-card-right {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
}
.status-chip.online {
    color: var(--green);
    border-color: var(--green);
    background: var(--green-light);
}
.status-chip.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

/* Partner */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}
.partner-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition);
}
.partner-card:hover {
    box-shadow: var(--shadow-md);
}
.partner-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}
.partner-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.partner-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Footer */
.landing-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 30px 24px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--primary);
}

/* Dashboard App */
.dashboard-app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    padding-top: 0; /* dashboard header is not sticky */
}
.dash-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    z-index: 50;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.dash-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-icon-sm {
    width: 30px;
    height: 30px;
}
.dash-logo-text {
    font-weight: 800;
    font-size: 1.1rem;
}
.dash-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}
.dash-header-center {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-user-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.dash-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dash-status-dot.online {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
}
.dash-header-right {
    display: flex;
    gap: 8px;
    align-items: center;
}
.dash-body {
    display: flex;
    flex: 1;
}
.dash-sidebar {
    width: 240px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    flex-shrink: 0;
    overflow-y: auto;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.sidebar-link:hover {
    background: var(--bg-alt);
    color: var(--text);
}
.sidebar-link.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}
.dash-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.kpi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.kpi-card:hover {
    box-shadow: var(--shadow-md);
}
.kpi-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.kpi-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    font-family: var(--font-mono);
}
.kpi-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 2px;
}
.welcome-card {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}
.welcome-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.welcome-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.quick-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.quick-action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* Section Group */
.section-group {
    margin-bottom: 24px;
}
.section-group-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Tables */
.data-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.data-table th {
    background: var(--bg-alt);
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text);
}
.data-table tbody tr:hover {
    background: var(--surface-hover);
}
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.7rem;
    font-family: var(--font);
}
.status-badge.online {
    background: var(--green-light);
    color: var(--green);
}
.status-badge.standby {
    background: var(--amber-light);
    color: var(--amber);
}
.status-badge.offline {
    background: var(--red-light);
    color: var(--red);
}
.status-badge.coming-soon {
    background: var(--primary-light);
    color: var(--primary);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    align-items: center;
}
.filter-chip {
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    background: var(--surface);
    color: var(--text-secondary);
    transition: all var(--transition);
}
.filter-chip.active,
.filter-chip:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}
.filter-search {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-family: var(--font);
    font-size: 0.85rem;
    background: var(--surface);
    color: var(--text);
    flex: 1;
    min-width: 180px;
    max-width: 280px;
}
.filter-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Setup Wizard */
.setup-wizard {
    max-width: 900px;
    margin: 0 auto;
}
.setup-intro-card {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}
.setup-intro-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.setup-intro-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.setup-pool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.setup-pool-select-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
}
.setup-pool-select-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.setup-pool-select-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.setup-pool-select-card .pool-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.setup-pool-select-card .setup-badge-selected {
    display: none;
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.setup-pool-select-card.active .setup-badge-selected {
    display: block;
}
.setup-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.setup-config-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}
.setup-config-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 16px;
}
.setup-copy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}
.setup-copy-row .label {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    min-width: 70px;
}
.setup-copy-row code {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text);
    word-break: break-all;
}
.setup-copy-row .btn-copy {
    flex-shrink: 0;
}
.setup-asic-example {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--text);
    overflow-x: auto;
    white-space: pre;
}
.setup-checklist {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}
.setup-checklist h4 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 12px;
}
.setup-checklist ol {
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 2;
}
.setup-checklist ol li {
    padding-left: 4px;
}
.setup-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    padding: 12px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

/* Earnings Chart */
.chart-container {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.chart-header h4 {
    font-weight: 700;
    font-size: 1rem;
}
.chart-svg {
    width: 100%;
    height: 200px;
}
.chart-line-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.chart-area-path {
    fill: url(#chartAreaGrad);
    stroke: none;
}
.chart-point {
    fill: var(--primary);
    stroke: var(--surface);
    stroke-width: 2;
}

/* Wallet Table */
.wallet-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

/* Settings Tabs */
.settings-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}
.settings-tab {
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    background: none;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}
.settings-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Calculator */
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.calc-inputs {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.calc-inputs .form-group {
    margin-bottom: 16px;
}
.calc-inputs label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text);
}
.calc-inputs select,
.calc-inputs input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border var(--transition);
    background: var(--surface);
    color: var(--text);
}
.calc-inputs select:focus,
.calc-inputs input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.calc-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.calc-summary-card {
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}
.calc-summary-card .kpi-value {
    font-size: 2rem;
}
.calc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.calc-result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
.calc-result-card .kpi-label {
    font-size: 0.7rem;
}
.calc-result-card .kpi-value {
    font-size: 1.1rem;
}
.calc-profit-positive {
    color: var(--green) !important;
}
.calc-profit-negative {
    color: var(--red) !important;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border);
    border-radius: 24px;
    transition: 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}
input:checked+.toggle-slider {
    background: var(--primary);
}
input:checked+.toggle-slider::before {
    transform: translateX(20px);
}

/* Liquidity Page (Dashboard) */
.liquidity-hero {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}
.liquidity-hero h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.liquidity-hero p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}
.liquidity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.liquidity-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.liquidity-card .liq-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}
.liquidity-card h4 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.liquidity-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Hashrate Packs */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.pack-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.pack-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}
.pack-card h4 {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.pack-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.pack-coin-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 8px;
}
.pack-coin-badge.btc {
    background: #fef3c7;
    color: #92400e;
}
.pack-coin-badge.bch {
    background: #dbeafe;
    color: #1e40af;
}
.pack-chance {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.pack-tech-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.pack-status {
    font-weight: 700;
    color: var(--amber);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalIn 0.25s ease;
    color: var(--text);
}
.modal-wide {
    max-width: 520px;
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--transition);
}
.modal-close:hover {
    color: var(--text);
}
.modal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 14px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text);
}
.form-group small {
    color: var(--text-muted);
    font-weight: 400;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border var(--transition);
    background: var(--surface);
    color: var(--text);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.modal-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.modal-switch a {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Section header inside dash */
.dash-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(64px + var(--ticker-height));
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-container {
        flex-direction: column;
    }
    .hero-mockup {
        flex: 1 1 auto;
        width: 100%;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .solo-content {
        grid-template-columns: 1fr;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .pools-grid-landing {
        grid-template-columns: 1fr;
    }
    .setup-two-col {
        grid-template-columns: 1fr;
    }
    .status-card-wide {
        flex-direction: column;
        align-items: flex-start;
    }
    .dash-sidebar {
        width: 60px;
        padding: 12px 6px;
    }
    .sidebar-link {
        justify-content: center;
        padding: 10px;
        font-size: 0;
        gap: 0;
    }
    .sidebar-link[data-page="overview"]::before { content: '📊'; font-size: 1.2rem; }
    .sidebar-link[data-page="miner"]::before { content: '⛏️'; font-size: 1.2rem; }
    .sidebar-link[data-page="earnings"]::before { content: '💰'; font-size: 1.2rem; }
    .sidebar-link[data-page="wallet"]::before { content: '💳'; font-size: 1.2rem; }
    .sidebar-link[data-page="payouts"]::before { content: '💸'; font-size: 1.2rem; }
    .sidebar-link[data-page="setup"]::before { content: '⚙️'; font-size: 1.2rem; }
    .sidebar-link[data-page="calculator"]::before { content: '🧮'; font-size: 1.2rem; }
    .sidebar-link[data-page="hashrate-packs"]::before { content: '⚡'; font-size: 1.2rem; }
    .sidebar-link[data-page="liquidity"]::before { content: '🔹'; font-size: 1.2rem; }
    .sidebar-link[data-page="settings"]::before { content: '🔧'; font-size: 1.2rem; }
    .dash-header-center {
        display: none;
    }
    .kpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .calc-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
    .setup-pool-cards {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats-preview {
        flex-direction: column;
        align-items: center;
    }
    .dash-sidebar {
        width: 48px;
        padding: 8px 4px;
    }
    .dash-content {
        padding: 12px;
    }
    .calc-detail-grid {
        grid-template-columns: 1fr;
    }
    .kpi-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dash-header {
        padding: 0 10px;
    }
    .dash-header-right .btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    .dash-logo-text {
        font-size: 0.9rem;
    }
    .dash-badge {
        display: none;
    }
    .packs-grid {
        grid-template-columns: 1fr 1fr;
    }
    .setup-pool-cards {
        grid-template-columns: 1fr 1fr;
    }
    .pool-card-landing {
        padding: 20px;
    }
    .setup-two-col {
        grid-template-columns: 1fr;
    }
    .liquidity-landing-cards {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   FINAL VPS PATCH – LIGHT DEFAULT / MINER TRUST / ACTION MODALS
   ================================================== */

/* Subtiles Mining-Feeling im Hero */
.hero-section::after {
    content: '₿';
    position: absolute;
    right: 8%;
    top: 22%;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #f7931a, #ffb547);
    box-shadow: 0 16px 40px rgba(247, 147, 26, 0.25);
    opacity: 0.85;
    animation: miningFloat 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes miningFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-14px) rotate(8deg); }
}

/* Gebaut für echte Miner – sauberes Grid statt Textliste */
.miner-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 28px auto 0;
}

.miner-trust-item {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 18px 18px 46px;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.miner-trust-item::before {
    content: '✓';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
}

.miner-trust-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Miner Details Modal */
.miner-detail-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.miner-detail-modal {
    width: min(760px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 26px;
    position: relative;
    animation: modalIn 0.2s ease;
}

.miner-history-modal {
    width: min(900px, 100%);
}

.miner-detail-close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.miner-detail-close:hover {
    color: var(--text);
}

.miner-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.miner-detail-kicker {
    display: inline-flex;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 6px;
}

.miner-detail-header h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.miner-detail-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.miner-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.miner-detail-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.miner-detail-card span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 4px;
}

.miner-detail-card strong {
    font-family: var(--font-mono);
    font-size: 1.08rem;
}

.miner-detail-note {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    padding: 13px 15px;
    font-size: 0.86rem;
    line-height: 1.5;
    margin: 16px 0;
}

.miner-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Light Mode optisch als Standard etwas sauberer */
[data-theme="light"] body {
    background: #f8fafc;
}

[data-theme="light"] .section-alt {
    background: #eef4fb;
}

[data-theme="light"] .dash-content {
    background: #f8fafc;
}

@media (max-width: 900px) {
    .hero-section::after {
        right: 4%;
        top: 16%;
        opacity: 0.45;
    }

    .miner-detail-modal {
        padding: 22px 18px;
    }
}



/* ==================================================
   FINAL VPS PATCH – ASIC HERO / INLINE MINER HISTORY
   ================================================== */

/* altes einzelnes BTC Bubble ausblenden */
.hero-section::after {
    display: none !important;
}

.hero-mockup {
    position: relative;
}

.asic-hero-visual {
    position: absolute;
    right: -105px;
    top: -18px;
    width: 150px;
    height: 120px;
    pointer-events: none;
    z-index: 3;
}

.asic-box {
    position: absolute;
    right: 16px;
    top: 42px;
    width: 96px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(145deg, #111827, #334155);
    border: 1px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
}

[data-theme="dark"] .asic-box {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.asic-box::before,
.asic-box::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 18px;
    height: 8px;
    background: #64748b;
    border-radius: 0 0 5px 5px;
}

.asic-box::before { left: 18px; }
.asic-box::after { right: 18px; }

.asic-fan {
    position: absolute;
    top: 13px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,0.2);
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.85) 0 3px, transparent 4px),
        conic-gradient(from 0deg, rgba(59,130,246,0.95), rgba(255,255,255,0.08), rgba(59,130,246,0.95));
    animation: fanSpin 1.8s linear infinite;
}

.fan-left { left: 14px; }
.fan-right { right: 14px; }

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

.asic-grill {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 4px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.32) 0 7px, transparent 7px 12px);
}

.coin {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #f7931a, #ffbf5f);
    box-shadow: 0 12px 30px rgba(247, 147, 26, 0.32);
    border: 1px solid rgba(255,255,255,0.45);
    animation: coinPop 3.4s ease-in-out infinite;
}

.coin-a { right: 118px; top: 18px; animation-delay: 0s; }
.coin-b { right: 74px; top: 4px; animation-delay: 0.7s; transform: scale(0.86); }
.coin-c { right: 42px; top: 20px; animation-delay: 1.4s; transform: scale(0.75); }

@keyframes coinPop {
    0% { opacity: 0; transform: translate(26px, 40px) scale(0.55) rotate(-20deg); }
    18% { opacity: 1; }
    55% { opacity: 1; transform: translate(-4px, -10px) scale(1) rotate(10deg); }
    100% { opacity: 0; transform: translate(-44px, -42px) scale(0.7) rotate(26deg); }
}

/* Miner Tabelle Verlauf inline */
.miner-row-active {
    background: var(--primary-light) !important;
}

.miner-history-row td {
    padding: 0 !important;
    background: var(--bg-alt);
}

.miner-history-panel {
    margin: 0;
    padding: 22px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, var(--surface), var(--bg-alt));
}

.miner-history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.miner-history-head h4 {
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: 2px;
}

.miner-history-head p {
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.miner-history-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.miner-history-metrics div {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.miner-history-metrics span {
    display: block;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.miner-history-metrics strong {
    font-family: var(--font-mono);
    font-size: 1rem;
}

.miner-history-chart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 14px;
}

.miner-history-chart svg {
    width: 100%;
    height: 118px;
}

.miner-history-chart line {
    stroke: var(--border);
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.miner-history-chart polyline {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.miner-history-events {
    display: grid;
    gap: 8px;
}

.miner-history-events div {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 12px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.82rem;
}

.miner-history-events strong {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.miner-history-events em {
    font-style: normal;
    color: var(--green);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .asic-hero-visual {
        right: -20px;
        top: -42px;
        opacity: 0.72;
        transform: scale(0.85);
    }
}

@media (max-width: 760px) {
    .asic-hero-visual {
        display: none;
    }

    .miner-history-events div {
        grid-template-columns: 1fr;
    }
}
