/* ===========================
   BitCloud Mining — Stylesheet
   Premium Dark Bitcoin Theme
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --btc-orange: #F7931A;
    --btc-gold: #FFB547;
    --btc-dark: #FF6B00;
    --bg-primary: #080B14;
    --bg-secondary: #0D1220;
    --bg-card: #111827;
    --bg-card-hover: #1A2236;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --border-color: rgba(247, 147, 26, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text-primary: #FFFFFF;
    --text-secondary: #8B9BB4;
    --text-muted: #4A5568;
    --positive: #00D4A4;
    --negative: #FF4D6D;
    --purple: #8B5CF6;
    --blue: #3B82F6;
    --grad-orange: linear-gradient(135deg, #F7931A, #FF6B00);
    --grad-gold: linear-gradient(135deg, #FFB547, #F7931A);
    --grad-bg: linear-gradient(135deg, #080B14 0%, #0D1220 50%, #080B14 100%);
    --shadow-orange: 0 0 40px rgba(247, 147, 26, 0.2);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ========================
   UTILITY
   ======================== */

.gradient-text {
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.3);
    color: var(--btc-orange);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================
   NAVBAR
   ======================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(8, 11, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-primary {
    background: var(--grad-orange);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 147, 26, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: rgba(247, 147, 26, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========================
   HERO
   ======================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    gap: 60px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 147, 26, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 164, 0.1);
    border: 1px solid rgba(0, 212, 164, 0.25);
    color: var(--positive);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--positive);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-subtitle strong {
    color: var(--btc-gold);
}

.hero-btc-price {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 32px;
}

.price-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.price-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.price-change {
    font-weight: 600;
    font-size: 0.9rem;
}

.price-change.positive {
    color: var(--positive);
}

.price-change.negative {
    color: var(--negative);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grad-orange);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(247, 147, 26, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: 0.5s;
}

.btn-hero-primary:hover::after {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(247, 147, 26, 0.55);
}

.btn-hero-primary.large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    border-color: var(--btc-orange);
    background: rgba(247, 147, 26, 0.05);
}

.play-icon {
    width: 34px;
    height: 34px;
    background: var(--btc-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.hero-stat {
    text-align: center;
    padding: 0 28px;
}

.hero-stat:first-child {
    padding-left: 0;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Visual */

.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 600px;
}

.bitcoin-orbit {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bitcoin-core {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bitcoin-symbol {
    font-size: 5rem;
    font-weight: 900;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(247, 147, 26, 0.7));
    animation: btcFloat 4s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes btcFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-12px) scale(1.04);
    }
}

.mining-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: spin linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-color: rgba(247, 147, 26, 0.5);
    animation-duration: 8s;
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.2);
}

.ring-2 {
    width: 280px;
    height: 280px;
    border-color: rgba(247, 147, 26, 0.25);
    animation-duration: 14s;
    animation-direction: reverse;
    border-style: dashed;
}

.ring-3 {
    width: 370px;
    height: 370px;
    border-color: rgba(247, 147, 26, 0.12);
    animation-duration: 22s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--grad-orange);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.8);
}

.dot-1 {
    animation: orbit1 8s linear infinite;
}

.dot-2 {
    animation: orbit2 14s linear infinite reverse;
}

.dot-3 {
    animation: orbit1 22s linear infinite reverse;
}

@keyframes orbit1 {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    from {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    animation: cardFloat 5s ease-in-out infinite;
}

.card-1 {
    top: 0;
    right: 10px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 60px;
    right: 0;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 140px;
    left: 0;
    animation-delay: 0.8s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.fc-icon {
    font-size: 1.5rem;
}

.fc-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fc-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--btc-gold);
}

/* ========================
   DASHBOARD
   ======================== */

.dashboard,
.plans,
.stats-section,
.calculator-section,
.referral-section,
.faq-section,
.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dash-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.dash-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.card-badge.live {
    background: rgba(0, 212, 164, 0.1);
    color: var(--positive);
    border: 1px solid rgba(0, 212, 164, 0.3);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Wallet Card */
.wallet-balance {
    margin-bottom: 20px;
}

.balance-btc {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.balance-usd {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.wallet-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.wallet-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    border: none;
}

.wallet-btn.withdraw {
    background: rgba(247, 147, 26, 0.12);
    color: var(--btc-orange);
    border: 1px solid rgba(247, 147, 26, 0.25);
}

.wallet-btn.withdraw:hover {
    background: rgba(247, 147, 26, 0.2);
}

.wallet-btn.deposit {
    background: rgba(0, 212, 164, 0.1);
    color: var(--positive);
    border: 1px solid rgba(0, 212, 164, 0.25);
}

.wallet-btn.deposit:hover {
    background: rgba(0, 212, 164, 0.18);
}

.profit-today {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 212, 164, 0.05);
    border: 1px solid rgba(0, 212, 164, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
}

.pt-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pt-value {
    font-weight: 700;
    font-size: 0.9rem;
}

.pt-value.positive {
    color: var(--positive);
}

/* Hashrate Card */
.hashrate-indicator {
    font-size: 0.75rem;
    color: var(--positive);
    background: rgba(0, 212, 164, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.hashrate-main {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-bottom: 16px;
}

.hashrate-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hashrate-unit {
    font-size: 1rem;
    color: var(--text-muted);
    padding-bottom: 8px;
    font-weight: 600;
}

.hashrate-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.hashrate-fill {
    height: 100%;
    background: var(--grad-orange);
    border-radius: 3px;
    width: 0%;
    transition: width 2s ease;
    box-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

.hashrate-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hd-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.hd-val {
    color: var(--text-primary);
    font-weight: 500;
}

/* Rigs Card */
.rigs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.rig-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-glass);
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
}

.rig-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rig-status.on {
    background: var(--positive);
    box-shadow: 0 0 8px rgba(0, 212, 164, 0.6);
    animation: pulse 2s infinite;
}

.rig-status.off {
    background: var(--negative);
}

.rig-name {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
}

.rig-hash {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.start-stop-btn {
    background: rgba(255, 77, 109, 0.1);
    border: 1px solid rgba(255, 77, 109, 0.25);
    color: var(--negative);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.start-stop-btn:hover {
    background: rgba(255, 77, 109, 0.18);
}

.total-rigs {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 8px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 8px;
}

/* Chart Card */
.chart-card {
    grid-column: span 2;
}

.chart-period {
    display: flex;
    gap: 6px;
}

.period-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

/* ========================
   HASH TERMINAL CARD
   ======================== */

.terminal-card {
    grid-column: span 2;
}

.hash-terminal {
    background: #010409;
    border: 1px solid rgba(0, 212, 164, 0.15);
    border-radius: 10px;
    padding: 12px;
    height: 120px;
    overflow: hidden;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    position: relative;
}

.hash-terminal::before {
    content: 'SHA-256 ENGINE';
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 0.6rem;
    color: rgba(0, 212, 164, 0.4);
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.hash-line {
    color: #00D4A4;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: hashFadeIn 0.2s ease;
    line-height: 1.4;
}

.hash-line.found {
    color: #F7931A;
    font-weight: bold;
    background: rgba(247, 147, 26, 0.08);
    border-radius: 3px;
    padding: 0 4px;
}

.hash-line.info {
    color: #3B82F6;
}

.hash-line.warn {
    color: #FFB547;
}

@keyframes hashFadeIn {
    from {
        opacity: 0;
        transform: translateX(-6px);
    }

    to {
        opacity: 0.85;
        transform: translateX(0);
    }
}

.share-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.share-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.share-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--positive);
}

.share-bar {
    height: 6px;
    background: rgba(0, 212, 164, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.share-fill {
    height: 100%;
    background: linear-gradient(90deg, #00D4A4, #3B82F6);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 212, 164, 0.5);
}

.shares-found {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 8px 10px;
    background: rgba(0, 212, 164, 0.04);
    border: 1px solid rgba(0, 212, 164, 0.1);
    border-radius: 8px;
}

.shares-num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--positive);
}

/* ========================
   MINING LOG CARD
   ======================== */

.mining-log-card {
    grid-column: span 2;
}

.clear-log-btn {
    background: rgba(255, 77, 109, 0.08);
    border: 1px solid rgba(255, 77, 109, 0.2);
    color: var(--negative);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}

.clear-log-btn:hover {
    background: rgba(255, 77, 109, 0.15);
}

.mining-log {
    background: #010409;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    height: 150px;
    overflow-y: auto;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.72rem;
    display: flex;
    flex-direction: column;
    gap: 3px;
    scroll-behavior: smooth;
}

.mining-log::-webkit-scrollbar {
    width: 4px;
}

.mining-log::-webkit-scrollbar-track {
    background: transparent;
}

.mining-log::-webkit-scrollbar-thumb {
    background: rgba(247, 147, 26, 0.3);
    border-radius: 2px;
}

.log-entry {
    padding: 1px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: logSlide 0.25s ease;
    line-height: 1.5;
}

@keyframes logSlide {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.log-entry.info {
    color: #3B82F6;
}

.log-entry.success {
    color: #00D4A4;
}

.log-entry.warn {
    color: #FFB547;
}

.log-entry.error {
    color: #FF4D6D;
}

.log-entry.hash {
    color: rgba(139, 155, 180, 0.7);
}

/* ========================
   PAYOUT PROGRESS
   ======================== */

.payout-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.payout-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.payout-bar-fill {
    height: 100%;
    background: var(--grad-orange);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease;
    box-shadow: 0 0 8px rgba(247, 147, 26, 0.4);
}

.payout-bar-pct {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--btc-orange);
    min-width: 36px;
    text-align: right;
}

/* ========================
   API STATUS BADGE
   ======================== */
.api-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--positive);
    background: rgba(0, 212, 164, 0.08);
    border: 1px solid rgba(0, 212, 164, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
}

.api-status.offline {
    color: #FFB547;
    background: rgba(255, 181, 71, 0.08);
    border-color: rgba(255, 181, 71, 0.2);
}

.period-btn.active {
    background: rgba(247, 147, 26, 0.15);
    border-color: rgba(247, 147, 26, 0.4);
    color: var(--btc-orange);
}

.chart-container {
    height: 160px;
    margin: 16px 0;
    position: relative;
}

.chart-summary {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
}

.cs-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cs-value {
    font-size: 0.9rem;
    font-weight: 700;
}

.cs-value.positive {
    color: var(--positive);
}

/* Rewards Feed */
.rewards-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    max-height: 180px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(247, 147, 26, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(247, 147, 26, 0.08);
    animation: slideInReward 0.4s ease;
    font-size: 0.82rem;
}

@keyframes slideInReward {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reward-icon {
    font-size: 1rem;
}

.reward-amount {
    font-weight: 700;
    color: var(--btc-gold);
    margin-left: auto;
}

.reward-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Payout Timer */
.payout-timer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin: 16px 0;
    justify-content: center;
}

.timer-block {
    text-align: center;
}

.timer-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--btc-gold);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 16px;
    line-height: 1;
    min-width: 64px;
    text-align: center;
}

.timer-sep {
    font-size: 2rem;
    font-weight: 800;
    color: var(--btc-orange);
    padding-bottom: 16px;
}

.timer-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.payout-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.pi-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.pi-val {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================
   PLANS
   ======================== */

.plans {
    padding: 100px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.plans-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--text-muted);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: 0.3s;
}

input:checked+.toggle-slider {
    background: rgba(247, 147, 26, 0.2);
    border-color: var(--btc-orange);
}

input:checked+.toggle-slider::after {
    transform: translateX(24px);
    background: var(--btc-orange);
}

.discount-badge {
    background: rgba(0, 212, 164, 0.1);
    color: var(--positive);
    border: 1px solid rgba(0, 212, 164, 0.3);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-orange);
}

.plan-card.featured {
    border-color: var(--btc-orange);
    box-shadow: 0 0 50px rgba(247, 147, 26, 0.15);
    background: linear-gradient(180deg, rgba(247, 147, 26, 0.07) 0%, var(--bg-card) 60%);
    transform: translateY(-12px);
}

.plan-card.featured:hover {
    transform: translateY(-18px);
}

.plan-popular {
    display: inline-block;
    background: var(--grad-orange);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.plan-header {
    margin-bottom: 24px;
}

.plan-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.plan-price {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 8px;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.price-per {
    font-size: 0.85rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
}

.plan-hashrate {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--btc-orange);
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.plan-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:has(✅) {
    color: var(--text-primary);
}

.plan-daily {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 20px;
}

.daily-btc {
    color: var(--positive);
    font-weight: 700;
}

.plan-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.plan-btn.btn-primary {
    background: var(--grad-orange);
    color: white;
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.35);
}

.plan-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 147, 26, 0.5);
}

.plan-btn.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.plan-btn.btn-outline:hover {
    border-color: var(--btc-orange);
    color: var(--btc-orange);
    background: rgba(247, 147, 26, 0.05);
}

/* ========================
   STATS SECTION
   ======================== */

.stats-section {
    padding: 80px 40px;
    max-width: 100%;
    background: linear-gradient(180deg, transparent, rgba(247, 147, 26, 0.03) 50%, transparent);
}

.stats-section .section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stat-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--btc-gold);
    margin-bottom: 6px;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ========================
   CALCULATOR
   ======================== */

.calculator-section {
    padding: 80px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 28px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-group {
    margin-bottom: 28px;
}

.calc-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    outline: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--grad-orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.5);
    transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--btc-gold);
    min-width: 100px;
    text-align: right;
}

.free-badge {
    font-size: 0.65rem;
    background: rgba(0, 212, 164, 0.15);
    color: var(--positive);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 4px;
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-result-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s;
}

.calc-result-item.featured {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(255, 107, 0, 0.05));
    border-color: var(--border-color);
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.1);
    transform: scale(1.03);
}

.cr-period {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.cr-btc {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.cr-usd {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ========================
   REFERRAL
   ======================== */

.referral-section {
    max-width: 100%;
    padding: 80px 40px;
    background: radial-gradient(ellipse at center, rgba(247, 147, 26, 0.05) 0%, transparent 70%);
}

.referral-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.referral-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 16px 0;
}

.referral-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.referral-link-box {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
}

.ref-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    font-family: monospace;
}

.copy-btn {
    background: var(--grad-orange);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
}

.referral-stats {
    display: flex;
    gap: 32px;
}

.rs-item {
    display: flex;
    flex-direction: column;
}

.rs-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.rs-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Referral Visual Tree */
.ref-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ref-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.ref-node.you {
    background: var(--grad-orange);
    color: white;
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.4);
    font-size: 0.7rem;
    animation: btcFloat 3s ease-in-out infinite;
}

.ref-node.friend {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 1.2rem;
}

.ref-node.friend.active {
    border-color: var(--btc-orange);
    box-shadow: 0 0 15px rgba(247, 147, 26, 0.3);
}

.ref-branches {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.ref-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ref-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, var(--btc-orange), transparent);
}

.ref-earn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--positive);
    background: rgba(0, 212, 164, 0.1);
    border: 1px solid rgba(0, 212, 164, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ========================
   FAQ
   ======================== */

.faq-section {
    padding: 80px 40px;
    max-width: 900px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    padding: 20px 24px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.faq-arrow {
    color: var(--btc-orange);
    transition: transform 0.3s;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* ========================
   CTA
   ======================== */

.cta-section {
    max-width: 100%;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, rgba(255, 107, 0, 0.04) 50%, transparent 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 40px;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-guarantee {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 12px 0 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
    color: var(--text-secondary);
}

.social-link:hover {
    border-color: var(--btc-orange);
    color: var(--btc-orange);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.fl-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl-group h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.fl-group a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.fl-group a:hover {
    color: var(--btc-orange);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}

/* ========================
   MODAL
   ======================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--btc-orange);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* ========================
   TOAST
   ======================== */

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-card);
    max-width: 320px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .chart-card {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        flex-direction: column;
        padding: 120px 24px 60px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .chart-card,
    .terminal-card,
    .mining-log-card {
        grid-column: span 1;
    }

    .calculator {
        grid-template-columns: 1fr;
    }

    .referral-inner {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .hero-btc-price {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .dashboard,
    .plans,
    .stats-section,
    .calculator-section,
    .referral-section,
    .faq-section,
    .cta-section {
        padding: 60px 20px;
    }

    .bitcoin-orbit {
        width: 300px;
        height: 300px;
    }

    .ring-3 {
        width: 280px;
        height: 280px;
    }

    .card-3 {
        display: none;
    }
}

/* ========================
   TRANSACTION HISTORY
   ======================== */

.tx-history-section {
    position: relative;
    z-index: 1;
    padding: 80px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.tx-history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tx-table-card {
    grid-column: span 2;
}

.tx-table-wrap {
    overflow-x: auto;
    margin-top: 4px;
}

.tx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.83rem;
}

.tx-table thead th {
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.tx-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.tx-table tbody tr:hover {
    background: rgba(247, 147, 26, 0.04);
}

.tx-table td {
    padding: 10px 12px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.tx-table td:first-child {
    color: var(--text-primary);
    font-family: inherit;
    font-weight: 500;
}

.tx-type-mine {
    color: var(--positive) !important;
}

.tx-type-withdraw {
    color: var(--negative) !important;
}

.tx-type-bonus {
    color: var(--btc-gold) !important;
}

.tx-hash {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========================
   POOL SWITCHER
   ======================== */

.pool-switcher-card {
    display: flex;
    flex-direction: column;
}

.pool-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.pool-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-glass);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.pool-item:hover {
    border-color: var(--border-color);
    background: rgba(247, 147, 26, 0.04);
}

.pool-item.active {
    border-color: rgba(247, 147, 26, 0.4);
    background: rgba(247, 147, 26, 0.06);
}

.pool-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pool-dot.green {
    background: var(--positive);
    box-shadow: 0 0 6px rgba(0, 212, 164, 0.6);
}

.pool-dot.yellow {
    background: var(--btc-gold);
    box-shadow: 0 0 6px rgba(255, 181, 71, 0.5);
}

.pool-dot.red {
    background: var(--negative);
}

.pool-info {
    flex: 1;
}

.pool-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.pool-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.pool-fee-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(247, 147, 26, 0.1);
    color: var(--btc-orange);
    border: 1px solid rgba(247, 147, 26, 0.2);
}

.pool-active-badge {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--positive);
    background: rgba(0, 212, 164, 0.1);
    border: 1px solid rgba(0, 212, 164, 0.25);
    padding: 2px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========================
   PERFORMANCE METRICS
   ======================== */

.perf-metrics-card {
    display: flex;
    flex-direction: column;
}

.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

.perf-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px;
    transition: border-color 0.2s;
}

.perf-item:hover {
    border-color: var(--border-color);
}

.perf-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.perf-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--btc-gold);
}

.perf-value.green {
    color: var(--positive);
}

.perf-value.orange {
    color: var(--btc-orange);
}

.perf-value.blue {
    color: #3B82F6;
}

/* ========================
   SOUND TOGGLE
   ======================== */

.sound-toggle-btn {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.sound-toggle-btn:hover {
    transform: translateY(-2px);
    border-color: var(--btc-orange);
    box-shadow: 0 6px 24px rgba(247, 147, 26, 0.3);
}

/* ========================
   CALC-SLIDER APPEARANCE FIX
   ======================== */

.calc-slider {
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .tx-history-grid {
        grid-template-columns: 1fr;
    }

    .tx-table-card {
        grid-column: span 1;
    }

    .perf-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .tx-history-section {
        padding: 60px 20px;
    }

    .perf-grid {
        grid-template-columns: 1fr;
    }
}