/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global image responsiveness */
img {
    max-width: 100%;
    height: auto;
}

:root {
    --primary-yellow: #FFFF00;
    --primary-green: #39FF14;
    --brand-yellow: #FFD700;
    --brand-green: #00FF00;
    --dark-green: #2D8B2D;
    --light-yellow: #FFFF80;
    --dark-bg: #0A0A0A;
    --light-bg: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #CCCCCC;
    --gray-dark: #666666;
    --shadow: 0 4px 20px rgba(255, 255, 0, 0.2);
    --hexagon-yellow: rgba(255, 255, 0, 0.1);
    --hexagon-green: rgba(57, 255, 20, 0.1);
    --web3-blue: #4A90E2;
    --web3-purple: #6B73FF;
    --connection-line: rgba(74, 144, 226, 0.3);
    --trading-highlight: #FFD700;
    --sustainable-energy: #39FF14;
    --opensource-accent: #4A90E2;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0a0a1a 100%);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, var(--hexagon-yellow) 0%, transparent 60%),
        radial-gradient(circle at 85% 15%, var(--hexagon-green) 0%, transparent 60%),
        radial-gradient(circle at 15% 85%, var(--hexagon-green) 0%, transparent 60%),
        radial-gradient(circle at 85% 85%, var(--hexagon-yellow) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, var(--hexagon-yellow) 0%, transparent 40%),
        radial-gradient(circle at 25% 50%, var(--hexagon-green) 0%, transparent 35%),
        radial-gradient(circle at 75% 50%, var(--hexagon-green) 0%, transparent 35%),
        radial-gradient(circle at 50% 25%, var(--hexagon-yellow) 0%, transparent 35%),
        radial-gradient(circle at 50% 75%, var(--hexagon-yellow) 0%, transparent 35%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 32px;
    width: auto;
    max-width: 120px;
}

.nav-logo h1 {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-yellow);
}

.btn-secondary {
    padding: 8px 20px !important;
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--dark-bg) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-yellow);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.main-heading {
    font-size: 4rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 1.5px;
    text-align: left;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 25px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary, .btn-outline {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-green));
    color: var(--dark-bg);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.beehive-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.beehive-image {
    max-width: 100%;
    height: auto;
    width: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.beehive-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}


@keyframes hexRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* Live Stats Section */
.live-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(57, 255, 20, 0.08) 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.stats-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
    align-items: center;
}

.network-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.stats-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 50px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card.price {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.stat-card.supply {
    border-color: var(--primary-green);
    box-shadow: 0 4px 20px rgba(57, 255, 20, 0.2);
}

.stat-card.hashrate {
    border-color: #FFA500;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.2);
}

.stat-card.blocks {
    border-color: #40E0D0;
    box-shadow: 0 4px 20px rgba(64, 224, 208, 0.2);
}

.stat-card.difficulty {
    border-color: #FF6B6B;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.2);
}

.stat-card.market-cap {
    border-color: #9A4CF7;
    box-shadow: 0 4px 20px rgba(154, 76, 247, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Inter', monospace;
}

.stat-sub {
    font-size: 0.8rem;
    color: var(--gray-dark);
    font-weight: 400;
}

.mining-performance {
    background: rgba(57, 255, 20, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(57, 255, 20, 0.1);
}

.mining-performance h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 600;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.performance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(57, 255, 20, 0.08);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(57, 255, 20, 0.15);
}

.performance-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    font-weight: 500;
}

.performance-value {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
    font-family: 'Inter', monospace;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: rgba(255, 215, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header .main-heading {
    font-size: 5rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 6px 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.3);
    letter-spacing: 2px;
    text-align: center;
    background: linear-gradient(45deg, #FFD700, #FFFF00, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: goldShimmer 3s ease-in-out infinite;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.sub-heading {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 10px rgba(57, 255, 20, 0.3);
}

.features::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: var(--primary-yellow);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.08;
    animation: hexRotate 25s linear infinite;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 120px;
    height: 120px;
    background: var(--primary-green);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.1;
    animation: hexRotate 20s linear infinite reverse;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 215, 0, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-yellow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}

.feature-card p {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Technology Section */
.technology {
    padding: 100px 0;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tech-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.tech-text p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 30px;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray-light);
}

.tech-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.tech-diagram {
    display: flex;
    align-items: center;
    gap: 40px;
}

.compact-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    max-width: 300px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 15px;
    border-radius: 12px;
    border: 2px solid;
    background: rgba(10, 10, 10, 0.8);
    transition: all 0.3s ease;
    min-width: 85px;
    max-width: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    word-wrap: break-word;
    text-align: center;
}

.bitcoin-source {
    border-color: #f7931a;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
}

.whive-core {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.3);
}

.energy-node {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
}

.reward-node {
    border-color: #FFA500;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.node-icon {
    font-size: 2rem;
}

.node-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

.node-icon-img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.flow-arrow::before {
    content: '↓';
    font-size: 1.2rem;
    color: var(--primary-yellow);
    animation: arrowPulse 2s ease-in-out infinite;
}

.flow-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.down-arrow::before {
    content: '↓';
    color: var(--primary-green);
}

.up-arrow::before {
    content: '↑';
}

.arrow-label {
    font-size: 0.6rem;
    color: var(--primary-green);
    font-weight: 500;
}

.device-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.flow-device {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 1px solid var(--primary-green);
    background: rgba(57, 255, 20, 0.1);
    transition: all 0.3s ease;
}

.device-mini:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(57, 255, 20, 0.2);
}

.device-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid var(--primary-green);
    background: rgba(57, 255, 20, 0.1);
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.device-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.2);
    background: rgba(57, 255, 20, 0.15);
}

.device-box .device-icon {
    font-size: 2rem;
}

.device-box .device-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
}

.device-icon {
    font-size: 1.2rem;
}

.final-step {
    display: flex;
    justify-content: center;
}

.reward-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFA500;
    background: rgba(255, 165, 0, 0.1);
}

.reward-icon {
    font-size: 1.3rem;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

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

/* Enhanced Protocol Flowchart */
.protocol-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.1);
}

.flow-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flow-arrow-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flow-arrow-right::before {
    content: '→';
    font-size: 1.2rem;
    color: var(--primary-yellow);
    animation: arrowPulse 2s ease-in-out infinite;
}

.flow-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.consensus-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid var(--primary-green);
    background: rgba(57, 255, 20, 0.1);
}

.consensus-icon {
    font-size: 1.3rem;
}

.consensus-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-green);
}

.flow-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.device-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.device-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--primary-green);
    background: rgba(57, 255, 20, 0.05);
    min-width: 65px;
    transition: all 0.3s ease;
}

.device-mini:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.2);
}

.device-mini.datacenter {
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 0, 0.05);
}

.device-mini.datacenter:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 0, 0.2);
}

.device-text {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 500;
}

.outcome-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.outcome-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid;
    min-width: 45px;
}

.outcome-node.energy {
    border-color: var(--primary-yellow);
    background: rgba(255, 255, 0, 0.05);
}

.outcome-node.open {
    border-color: var(--primary-green);
    background: rgba(57, 255, 20, 0.05);
}

.outcome-node.reward {
    border-color: #FFA500;
    background: rgba(255, 165, 0, 0.05);
}

.outcome-icon {
    font-size: 1rem;
}

.outcome-text {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--white);
}

/* Mining Section */
.mining {
    padding: 100px 0;
    background: rgba(57, 255, 20, 0.02);
}

.mining-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.mining-step {
    text-align: center;
    padding: 40px 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-green));
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.mining-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.mining-step p {
    color: var(--gray-light);
}

.mining-info {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 0, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 0, 0.1);
}

.mining-info h3 {
    font-size: 1.8rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.mining-info p {
    font-size: 1.1rem;
    color: var(--gray-light);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.mining-cta {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .mining-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .mining-cta .btn-primary,
    .mining-cta .btn-outline {
        width: 200px;
    }
}

/* Credibility Section */
.credibility {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(57, 255, 20, 0.03) 100%);
    position: relative;
}

.credibility::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(57, 255, 20, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.credibility-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.credibility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.credibility-card:hover::before {
    left: 100%;
}

.credibility-card:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.cred-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.credibility-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.credibility-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-light);
    position: relative;
    z-index: 1;
}

.credibility-card p strong {
    color: var(--brand-yellow);
    font-weight: 600;
}

@media (max-width: 768px) {
    .credibility-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .credibility-card {
        padding: 30px 25px;
    }
    
    .cred-icon {
        font-size: 3rem;
    }
}

/* Global Network Section */
.global-network {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
}

.global-network::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(57, 255, 20, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.network-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jurisdiction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.jurisdiction-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.jurisdiction-card:hover {
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.country-flag {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.country-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.country-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.mining-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

.node-count {
    font-size: 0.9rem;
    color: var(--gray-light);
    opacity: 0.8;
}

.network-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.network-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .jurisdiction-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .jurisdiction-card {
        padding: 20px;
        gap: 15px;
    }
    
    .country-flag {
        font-size: 2.5rem;
        min-width: 50px;
    }
    
    .network-stats {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--primary-green) 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Contributors Section */
.contributors {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.02) 0%, rgba(57, 255, 20, 0.02) 100%);
    position: relative;
}

.contributors-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dev-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.dev-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dev-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-yellow);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.dev-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-height: 300px;
    overflow: hidden;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contributor-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.contributor-card:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.contributor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
    font-weight: bold;
    overflow: hidden;
}

.contributor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.contributor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contributor-name {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}

.contributor-commits {
    font-size: 0.9rem;
    color: var(--gray-light);
    opacity: 0.8;
}

.development-info {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.development-info h3 {
    font-size: 1.6rem;
    color: var(--brand-yellow);
    margin-bottom: 15px;
}

.development-info p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .dev-stats {
        gap: 30px;
    }
    
    .dev-number {
        font-size: 1.8rem;
    }
    
    .contributors-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        max-height: 400px;
        max-width: 600px;
    }
    
    .contributor-card {
        padding: 12px;
    }
    
    .contributor-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Community Section */
.community {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 15%;
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.12;
    animation: hexFloat 8s ease-in-out infinite;
}

.community::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 15%;
    width: 110px;
    height: 110px;
    background: var(--primary-yellow);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    opacity: 0.1;
    animation: hexFloat 10s ease-in-out infinite 2s;
}

.community-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.community-link {
    padding: 15px 30px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-yellow);
    border-radius: 25px;
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.community-link:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.logo-footer {
    height: 24px;
    width: auto;
    max-width: 100px;
}

.footer-section h3 {
    color: var(--primary-yellow);
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-social a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border: 1px solid var(--primary-green);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--gray-dark);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--gray-light);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-yellow);
}

.footer-legal span {
    color: var(--gray-dark);
    font-size: 0.8rem;
}

/* 4K and Ultra-wide Display Support (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 1600px; /* Wider container for ultra-wide screens */
        padding: 0 40px;
    }
    
    .hero-container {
        gap: 80px;
        grid-template-columns: 1.2fr 1fr; /* Adjust proportions */
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .main-heading {
        font-size: 5.5rem;
        letter-spacing: 3px;
    }
    
    .beehive-image {
        width: 500px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
    }
    
    .logo {
        height: 36px;
        max-width: 140px;
    }
    
    .typing-effect {
        letter-spacing: 1px;
    }
}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1400px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-heading {
        font-size: 4.5rem;
    }
    
    .beehive-image {
        width: 450px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 900px;
    }
}

/* Desktop (1366px - 1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .main-heading {
        font-size: 4rem;
    }
    
    .beehive-image {
        width: 400px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 800px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 800px;
    }
}

/* Laptop and Tablet Landscape (1025px - 1365px) */
@media (min-width: 1025px) and (max-width: 1365px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .main-heading {
        font-size: 3.5rem;
    }
    
    .beehive-image {
        width: 350px;
    }
    
    .hero-container {
        gap: 50px;
    }
    
    .container {
        padding: 0 25px;
    }
}

/* Tablet Responsive Design (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .beehive-image {
        width: 320px;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .protocol-flowchart {
        max-width: 350px;
        padding: 20px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .main-heading {
        font-size: 3.2rem;
    }
    
    .sub-heading {
        font-size: 1.6rem;
    }
    
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    
    .beehive-container {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .features-header .main-heading {
        font-size: 3.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .logo {
        height: 30px;
        max-width: 120px;
    }
    
    .logo-footer {
        height: 22px;
        max-width: 90px;
    }
    
    /* Tablet-specific floating widget adjustments */
    .floating-mining-widget {
        min-width: 260px;
        max-width: 300px;
        bottom: 25px;
        right: 25px;
    }
}

/* Mobile Color Consistency */
@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%) !important;
    }
    
    body::before {
        background-image: 
            radial-gradient(circle at 20% 20%, var(--hexagon-yellow) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, var(--hexagon-green) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, var(--hexagon-green) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, var(--hexagon-yellow) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, var(--hexagon-yellow) 0%, transparent 30%) !important;
    }
    
    /* Ensure consistent header background */
    .header {
        background: rgba(10, 10, 10, 0.95) !important;
    }
    
    /* Ensure consistent navigation colors */
    .nav-menu.active {
        background: rgba(10, 10, 10, 0.95) !important;
    }
    .features-header .main-heading {
        font-size: 3.5rem;
        letter-spacing: 1.5px;
    }
    
    .sub-heading {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .beehive-image {
        width: 300px;
    }
    
    .protocol-flowchart {
        max-width: 380px;
        gap: 20px;
        padding: 25px;
    }
    
    .flow-node {
        min-width: 85px;
        padding: 12px 16px;
    }
    
    .device-mini {
        min-width: 55px;
        padding: 10px;
    }
    
    .device-grid {
        gap: 8px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .outcome-row {
        gap: 8px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 30px 0;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
        z-index: 999;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0 !important;
        display: flex !important;
    }
    
    .nav-menu li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stats-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .network-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    
    .compact-flowchart {
        max-width: 250px;
        gap: 12px;
        padding: 12px;
    }
    
    .device-row {
        gap: 8px;
    }
    
    .device-mini {
        width: 30px;
        height: 30px;
    }
    
    .device-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features-header .main-heading {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .sub-heading {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .beehive-image {
        width: 250px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 200px;
    }
    
    .protocol-flowchart {
        max-width: 320px;
        gap: 18px;
        padding: 20px;
    }
    
    .flow-node {
        min-width: 75px;
        padding: 10px 14px;
    }
    
    .device-mini {
        min-width: 50px;
        padding: 8px;
    }
    
    .outcome-node {
        min-width: 40px;
        padding: 6px 8px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .community-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .community-link {
        width: 200px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-legal span {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Additional mobile improvements */
    .stats-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 15px;
        max-width: 400px;
    }
    
    .jurisdiction-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 15px;
        max-width: 400px;
    }
    
    .dev-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .contributors-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        max-height: 350px;
        max-width: 400px;
    }
    
    /* Image optimizations for mobile */
    .logo {
        height: 28px;
        max-width: 100px;
    }
    
    .logo-footer {
        height: 20px;
        max-width: 80px;
    }
    
    .node-icon-img {
        width: 24px;
        height: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* Real-Time Mining Dashboard - Inspired by PulseChain UI Updates */
.realtime-mining-dashboard {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(57, 255, 20, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.realtime-mining-dashboard h3 {
    color: var(--brand-yellow);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mining-status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--white);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.pulse-dot.active {
    background: var(--primary-green);
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
}

.pulse-dot.mining {
    background: var(--brand-yellow);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
}

.pulse-dot.blocks {
    background: #00BFFF;
    box-shadow: 0 0 0 0 rgba(0, 191, 255, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.status-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-yellow);
}

.progress-container {
    margin-top: 12px;
}

.progress-label {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
}

.progress-fill.efficiency {
    background: linear-gradient(90deg, var(--brand-yellow) 0%, #FFA500 100%);
}

/* Old throbbing circle CSS removed - now using throbbing progress bar */

.progress-fill.blocks {
    background: linear-gradient(90deg, #00BFFF 0%, #0080FF 100%);
}

/* Throbbing Progress Bar Animation */
.progress-fill.throbbing {
    animation: throb-bar 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

@keyframes throb-bar {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
        transform: scaleY(1.2);
    }
}

/* Enhanced Action Cards */
.mining-actions-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.action-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(57, 255, 20, 0.4);
    background: rgba(57, 255, 20, 0.08);
}

.action-icon {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.action-content h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.action-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.btn-quick {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    color: var(--dark-bg);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-quick:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

/* Responsive Design for Mining Dashboard */
@media (max-width: 1024px) {
    .mining-status-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        max-width: 400px;
    }
    
    .realtime-mining-dashboard {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .realtime-mining-dashboard {
        margin-top: 30px;
        padding: 25px 15px;
    }
    
    .realtime-mining-dashboard h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 5px;
    }
    
    .mining-actions-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        /* Disable hover effects on mobile */
        transform: none !important;
    }
    
    .action-card:hover {
        transform: none !important;
    }
    
    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    /* Reduce animation intensity on mobile */
    .status-card {
        transition: none;
    }
    
    .status-card:hover {
        transform: none !important;
        border-color: rgba(255, 215, 0, 0.2) !important;
        box-shadow: none !important;
    }
    
    /* Simplify progress animations for mobile performance */
    .progress-fill {
        transition: width 0.4s ease;
    }
    
    /* Reduce throbbing intensity on mobile */
    .progress-fill.throbbing {
        animation-duration: 2.5s; /* Slower on mobile for battery */
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* Reduced glow */
    }
}

@media (max-width: 480px) {
    .status-card {
        padding: 15px;
        border-radius: 10px;
    }
    
    .status-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .status-value {
        font-size: 1.3rem;
    }
    
    .progress-container {
        margin-top: 8px;
    }
}

/* Mining Setup Wizard - Inspired by PulseChain's Simplified Interface */
.mining-wizard-section {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(57, 255, 20, 0.1);
}

.mining-wizard-section h3 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 40px;
}

.wizard-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.wizard-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    opacity: 1;
    transition: all 0.3s ease;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.step-connector {
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    margin-top: 10px;
    border-radius: 2px;
}

.wizard-step:last-child .step-connector {
    display: none;
}

.step-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: rgba(57, 255, 20, 0.4);
    background: rgba(57, 255, 20, 0.08);
}

.step-content h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--gray-light);
    margin-bottom: 25px;
}

/* Device Selection Options */
.device-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.device-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
}

.device-option:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.device-option.selected {
    border-color: var(--primary-green);
    background: rgba(57, 255, 20, 0.1);
}

.device-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.device-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.device-desc {
    font-size: 0.9rem;
    color: var(--gray-light);
}

/* Configuration Options */
.config-options {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.config-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.config-item label {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
}

.config-item input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.config-item input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-yellow);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.config-item select {
    padding: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-light);
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
}

#cpu-value {
    color: var(--brand-yellow);
    font-weight: 600;
}

/* Download Section */
.setup-summary {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.setup-summary h5 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--gray-light);
}

.summary-item span:last-child {
    color: var(--white);
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-download, .btn-guide {
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    color: var(--dark-bg);
    flex: 1;
    justify-content: center;
}

.btn-guide {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 215, 0, 0.3);
    flex: 1;
    justify-content: center;
}

.btn-download:hover, .btn-guide:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

.estimated-earnings {
    text-align: center;
    padding: 15px;
    background: rgba(57, 255, 20, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.estimated-earnings span:first-child {
    color: var(--gray-light);
    margin-right: 10px;
}

.estimated-earnings span:last-child {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Design for Wizard */
@media (max-width: 1024px) {
    .wizard-step {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-indicator {
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }
    
    .step-connector {
        width: 60px;
        height: 3px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .mining-wizard-section {
        padding: 25px 15px;
    }
    
    .device-options {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .mining-wizard-section h3 {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .device-option {
        padding: 20px 15px;
    }
    
    .device-icon {
        font-size: 2.5rem;
    }
}

/* Enhanced Breakpoints for All Modern Devices */

/* 4K Ultra-wide and Large Screens (2560px+) */
@media (min-width: 2560px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 2.4rem;
        min-height: 6.5rem;
        max-height: 6.5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
        max-width: 800px;
    }
    
    .floating-mining-widget {
        min-width: 350px;
        max-width: 400px;
        bottom: 120px; /* More clearance on large screens */
    }
    
    .realtime-mining-dashboard {
        padding: 60px 50px;
    }
    
    .mining-wizard-section {
        padding: 60px 50px;
    }
}

/* Large Desktop (1920-2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        min-height: 6rem;
        max-height: 6rem;
    }
    
    .floating-mining-widget {
        min-width: 320px;
        max-width: 360px;
        bottom: 110px;
    }
}

/* Standard Desktop (1366-1919px) */
@media (min-width: 1366px) and (max-width: 1919px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 2.1rem;
        min-height: 5.8rem;
        max-height: 5.8rem;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
    }
}

/* Laptop/Large Tablet (1025-1365px) */
@media (min-width: 1025px) and (max-width: 1365px) {
    .container {
        max-width: 1000px;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        min-height: 5.5rem;
        max-height: 5.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .mining-status-grid {
        grid-template-columns: repeat(3, 1fr);  
        gap: 25px;
        max-width: 900px;
    }
    
    .wizard-steps {
        max-width: 700px;
    }
    
    .floating-mining-widget {
        min-width: 300px;
        max-width: 320px;
    }
}

/* Enhanced Typing Effect Animation - Fixed for All Screen Sizes */
.typing-effect {
    position: relative;
    overflow: visible; /* Changed from hidden to prevent clipping */
    display: inline-block;
    min-height: 1.2em; /* Ensure minimum height for cursor */
}

.typing-effect::after {
    content: '|';
    position: absolute;
    right: -2px; /* Better positioning */
    top: 0;
    color: var(--brand-yellow);
    animation: blink 1s infinite;
    font-weight: 400;
    z-index: 1;
}

.typing-effect.typing-complete::after {
    animation: blink 1s infinite 2s, fadeOut 0.5s ease 4s forwards;
}

.typing-effect.no-cursor::after {
    display: none;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

/* Removed conflicting CSS animations - now handled purely by JavaScript */
.typing-effect.animate {
    /* Removed CSS animation to prevent conflicts with JavaScript typing */
    white-space: nowrap;
    overflow: hidden;
}

/* Support for text wrapping on very small screens */
.typing-effect.allow-wrap {
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}

/* Enhanced gradient text effect for typing - Optimized for all screens */
.gradient-text.typing-effect {
    background: linear-gradient(
        45deg,
        var(--brand-yellow) 0%,
        var(--primary-green) 25%,
        var(--brand-yellow) 50%,
        var(--primary-green) 75%,
        var(--brand-yellow) 100%
    );
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-yellow); /* Fallback for browsers without background-clip support */
}

.gradient-text.typing-effect.gradient-animated {
    animation: gradientShift 4s ease-in-out infinite;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (background-clip: text) or not (-webkit-background-clip: text) {
    .gradient-text.typing-effect {
        background: none;
        color: var(--brand-yellow);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    
    .gradient-text.typing-effect.gradient-animated {
        animation: textGlow 4s ease-in-out infinite;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Responsive adjustments for typing effect - All screen sizes */

/* Large screens (4K, Ultra-wide) - Enhanced effect */
@media (min-width: 2560px) {
    .typing-effect {
        font-size: 1.1em; /* Slightly larger on very large screens */
    }
    
    .typing-effect::after {
        right: -3px; /* Better spacing on large screens */
    }
}

/* Desktop and Laptop (1024px+) - Standard effect */
@media (min-width: 1024px) {
    .typing-effect {
        overflow: visible; /* Ensure cursor is always visible */
    }
    
    .hero-title .typing-effect {
        min-height: 1.3em; /* Ensure proper height for large text */
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .typing-effect::after {
        right: -2px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .typing-effect::after {
        font-size: 0.9em;
        right: -1px;
    }
    
    .hero-title .typing-effect {
        min-height: 1.2em;
    }
}

/* Small mobile - Allow text wrapping */
@media (max-width: 480px) {
    .typing-effect.mobile-wrap {
        white-space: normal;
        height: auto;
        line-height: 1.2;
        overflow: visible;
    }
    
    .typing-effect.mobile-wrap::after {
        position: relative;
        right: 0;
        margin-left: 2px;
    }
    
    .hero-title .typing-effect {
        min-height: auto;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    .gradient-text.typing-effect.gradient-animated {
        animation-duration: 6s; /* Slower gradient animation on mobile */
    }
}

@media (prefers-reduced-motion: reduce) {
    .typing-effect::after {
        animation: none;
    }
    
    .gradient-text.typing-effect {
        animation: none;
        background: linear-gradient(45deg, var(--brand-yellow), var(--primary-green));
    }
}

/* Typing Effect Cursor Fix for All Screen Sizes */
.typing-effect {
    position: relative !important;
    display: inline-block !important;
}

.typing-effect::after {
    content: '|' !important;
    color: var(--brand-yellow) !important;
    animation: blink 1s infinite !important;
    display: inline !important;
    margin-left: 2px !important;
}

.typing-effect.typing-complete::after {
    animation: blink 1s infinite 2s, fadeOut 0.5s ease 4s forwards !important;
}

/* Universal Screen Size Support */
@media (min-width: 320px) {
    .hero-title {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
        line-height: 1.3;
        min-height: 5.8rem; /* Always allocate space for 2 lines */
        max-height: 5.8rem;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-description {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }
}

/* Floating Mining Status Widget */
.floating-mining-widget {
    position: fixed;
    bottom: 100px; /* Moved up to avoid scroll-to-top button */
    right: 20px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 8999; /* Lower than scroll-to-top */
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s ease;
    display: none; /* Initially hidden */
}

.floating-mining-widget.visible {
    display: block;
    animation: slideInUp 0.5s ease;
}

.floating-mining-widget.collapsed .widget-content {
    display: none;
}

.floating-mining-widget.collapsed {
    min-width: 200px;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.widget-header:hover {
    background: rgba(255, 215, 0, 0.1);
}

.widget-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-green);
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7);
}

.widget-status span {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.widget-toggle {
    color: var(--brand-yellow);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.floating-mining-widget.collapsed .widget-toggle {
    transform: rotate(180deg);
}

.widget-content {
    padding: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-stat:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.widget-stat .stat-label {
    color: var(--gray-light);
    font-size: 0.85rem;
}

.widget-stat .stat-value {
    color: var(--brand-yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

.widget-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.widget-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--brand-yellow) 100%);
    color: var(--dark-bg);
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.widget-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
}

/* Enhanced Responsive Design for Floating Widget - All Screen Sizes */

/* 4K and Ultra-wide adjustments */
@media (min-width: 2560px) {
    .floating-mining-widget {
        min-width: 350px;
        max-width: 400px;
        bottom: 40px;
        right: 40px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    }
    
    .widget-stat .stat-value {
        font-size: 1.1rem;
    }
    
    .widget-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Large Desktop adjustments */
@media (min-width: 1920px) and (max-width: 2559px) {
    .floating-mining-widget {
        min-width: 320px;
        max-width: 360px;
        bottom: 35px;
        right: 35px;
    }
}

/* Desktop adjustments */
@media (min-width: 1366px) and (max-width: 1919px) {
    .floating-mining-widget {
        min-width: 300px;
        max-width: 340px;
        bottom: 30px;
        right: 30px;
    }
}

/* Tablet landscape adjustments */
@media (min-width: 769px) and (max-width: 1365px) {
    .floating-mining-widget {
        min-width: 280px;
        max-width: 320px;
        bottom: 25px;
        right: 25px;
    }
    
    /* Reduce animation intensity on tablets */
    .floating-mining-widget.visible {
        animation: slideInUp 0.4s ease;
    }
    
    .progress-fill {
        transition: width 0.5s ease;
    }
}

/* Mobile Portrait and Small Tablets */
@media (max-width: 768px) {
    .floating-mining-widget {
        bottom: 90px; /* More clearance for mobile navigation */
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
        /* Reduce heavy animations on mobile */
        animation: none;
    }
    
    .floating-mining-widget.visible {
        animation: slideInUp 0.3s ease; /* Faster animation on mobile */
    }
    
    .widget-content {
        padding: 15px;
    }
    
    .widget-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .widget-btn {
        padding: 12px;
        font-size: 0.9rem;
        /* Disable hover transforms on mobile to prevent performance issues */
        transform: none !important;
    }
    
    /* Reduce progress bar animation intensity */
    .progress-fill {
        transition: width 0.6s ease; /* Slower, less jarring */
    }
    
    /* Disable pulse animations on mobile to save battery */
    .status-dot, .pulse-dot {
        animation: none;
        background: var(--primary-green) !important;
    }
}

@media (max-width: 480px) {
    .floating-mining-widget {
        bottom: 80px; /* Account for smaller mobile screens */
        right: 10px;
        left: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    }
    
    .widget-header {
        padding: 12px 15px;
    }
    
    .widget-stat {
        margin-bottom: 10px;
        padding: 6px 0;
        font-size: 0.85rem; /* Smaller text for compact display */
    }
    
    .widget-stat .stat-value {
        font-size: 0.8rem;
    }
}

/* Enhanced Trading Symbol and Brand Highlights */
.trading-symbol-highlight {
    color: var(--trading-highlight);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: tradingPulse 2s ease-in-out infinite;
}

@keyframes tradingPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

.opensource-highlight {
    color: var(--opensource-accent);
    font-weight: 600;
    background: linear-gradient(135deg, #4A90E2, #6B73FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.opensource-highlight::after {
    content: " 🔓";
    -webkit-text-fill-color: var(--opensource-accent);
    background: none;
    font-size: 0.9em;
}

.sustainable-energy-highlight {
    color: var(--sustainable-energy);
    font-weight: 600;
    background: linear-gradient(135deg, #39FF14, #00FF7F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.sustainable-energy-highlight::before {
    content: "🌱 ";
    -webkit-text-fill-color: var(--sustainable-energy);
    background: none;
    font-size: 0.9em;
}

/* Enhanced body background with brand colors */
body {
    background: linear-gradient(135deg, 
        #0a0a1a 0%, 
        #1a1a2e 15%, 
        #16213e 30%, 
        #1a2530 45%, 
        #16213e 60%, 
        #1a1a2e 85%, 
        #0a0a1a 100%
    );
    position: relative;
}

/* Enhanced hexagonal pattern with trading colors */
body::before {
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 15%, rgba(57, 255, 20, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 15% 85%, rgba(57, 255, 20, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 85%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 25% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 75% 50%, rgba(57, 255, 20, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 50% 25%, rgba(255, 215, 0, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 50% 75%, rgba(255, 215, 0, 0.06) 0%, transparent 35%);
}

/* Trading pairs visibility enhancement */
.stat-card.price {
    border: 2px solid var(--trading-highlight);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2);
}

.stat-card.supply {
    border: 2px solid var(--sustainable-energy);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(0, 255, 127, 0.1));
    box-shadow: 0 8px 32px rgba(57, 255, 20, 0.2);
}

/* Enhanced feature cards for distributed computing emphasis */
.feature-card:nth-child(2) {
    border-left: 4px solid var(--sustainable-energy);
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.05), rgba(0, 255, 127, 0.05));
}

.feature-card:nth-child(1) {
    border-left: 4px solid var(--opensource-accent);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(107, 115, 255, 0.05));
}
/* ============================================
   PERFORMANCE FIXES (from performance-fixes.css)
============================================ */
/* WHIVE Protocol - Performance Optimizations and Layout Fixes */

/* ========================================
   PERFORMANCE OPTIMIZATIONS
======================================== */

/* GPU acceleration for animations */
.typing-effect,
.floating-mining-widget,
.progress-fill,
.pulse-dot,
.beehive-image,
.feature-card,
.stat-card {
    will-change: auto;
    transform: translateZ(0); /* Force GPU acceleration */
}

/* Reduce animations on low-end devices */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
    .typing-effect {
        will-change: contents; /* Lighter than transform */
    }
    
    .floating-mining-widget {
        will-change: transform, opacity;
    }
    
    /* Disable heavy animations on old mobile devices */
    @supports not (backdrop-filter: blur(10px)) {
        .floating-mining-widget {
            backdrop-filter: none;
            background: rgba(10, 10, 26, 0.95);
        }
        
        .header {
            backdrop-filter: none;
            background: rgba(10, 10, 10, 0.98);
        }
    }
}

/* Battery-saving mode detection */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .typing-effect::after {
        animation: none;
        opacity: 1;
    }
    
    .pulse-dot {
        animation: none;
    }
    
    .progress-fill {
        transition: none;
    }
    
    .progress-fill.throbbing {
        animation: none !important;
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.8) !important;
        transform: none !important;
    }
}

/* ========================================
   LAYOUT AND OVERFLOW FIXES
======================================== */

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix container overflow on very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
        max-width: 100%;
    }
    
    .hero-container,
    .stats-grid,
    .features-grid {
        margin: 0 -5px;
        padding: 0 5px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .stat-card {
        padding: 15px;
        margin-bottom: 10px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Fix image responsiveness issues */
.beehive-image,
.node-icon-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Logo specific sizing - preserve original dimensions with increased size */
.logo {
    height: 48px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-footer {
    height: 36px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo {
        height: 40px !important;
        max-width: 150px !important;
    }
    
    .logo-footer {
        height: 30px !important;
        max-width: 120px !important;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 36px !important;
        max-width: 130px !important;
    }
    
    .logo-footer {
        height: 28px !important;
        max-width: 100px !important;
    }
}

@media (min-width: 1200px) {
    .logo {
        height: 56px !important;
        max-width: 200px !important;
    }
    
    .logo-footer {
        height: 42px !important;
        max-width: 170px !important;
    }
}

/* Prevent text overflow */
.hero-title,
.main-heading,
.sub-heading {
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Fix grid layout issues on edge cases */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
}

.mining-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

/* ========================================
   SPECIFIC SCREEN SIZE FIXES
======================================== */

/* Ultra-wide display fixes (3440px+) */
@media (min-width: 3440px) {
    .container {
        max-width: 1800px;
    }
    
    .hero-container {
        max-width: 1600px;
        margin: 0 auto;
    }
    
    .stats-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Vertical orientation fixes */
@media (orientation: portrait) and (max-height: 800px) {
    .hero {
        min-height: 70vh;
        padding: 60px 0;
    }
    
    .floating-mining-widget {
        bottom: 60px;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .logo-footer,
    .beehive-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
======================================== */

/* Focus states for keyboard navigation */
.btn-primary:focus,
.btn-outline:focus,
.btn-secondary:focus,
.nav-menu a:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gradient-text {
        background: none;
        color: var(--primary-yellow);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .stat-card,
    .feature-card,
    .floating-mining-widget {
        border-width: 3px;
    }
}

/* Reduced transparency for better readability */
@media (prefers-reduced-transparency: reduce) {
    .header {
        background: rgba(10, 10, 10, 1);
        backdrop-filter: none;
    }
    
    .floating-mining-widget {
        background: rgba(10, 10, 26, 1);
        backdrop-filter: none;
    }
    
    .stat-card,
    .feature-card {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .header,
    .floating-mining-widget,
    .scroll-to-top,
    .nav-toggle {
        display: none !important;
    }
    
    .hero,
    .live-stats,
    .features {
        page-break-inside: avoid;
    }
    
    .typing-effect::after {
        display: none;
    }
    
    .gradient-text {
        background: none;
        color: #000;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* ========================================
   DARK MODE SUPPORT
======================================== */

/* Light mode override removed - WHIVE Protocol uses dark theme always */

/* ========================================
   CRITICAL PERFORMANCE FIXES
======================================== */

/* Prevent layout thrashing */
.hero-container,
.stats-grid,
.features-grid {
    contain: layout style;
}

/* Optimize animation performance */
@keyframes optimizedPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Use optimized animations for better performance */
.pulse-dot.optimized {
    animation: optimizedPulse 2s ease-in-out infinite;
}

/* Lazy loading preparation */
.beehive-image[loading="lazy"],
.logo[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

.beehive-image[loading="lazy"].loaded,
.logo[loading="lazy"].loaded {
    opacity: 1;
}

/* ========================================
   MEMORY OPTIMIZATION
======================================== */

/* Reduce memory usage on mobile */
@media (max-width: 768px) {
    .stats-grid,
    .features-grid {
        contain: layout;
    }
    
    /* Limit simultaneous animations */
    .progress-fill:nth-child(n+4) {
        animation-delay: 0.5s;
    }
}

/* Garbage collection hints */
.temporary-animation {
    contain: layout style paint;
}

.hidden-offscreen {
    contain: strict;
    visibility: hidden;
}
/* ============================================
   WHIVE ENHANCED STYLES (from styles-whive-enhanced.css)
============================================ */
/* WHIVE Protocol - Premium Web³ Hive Design System */

/* ============================================
   FOUNDATION - WHIVE BRAND DESIGN TOKENS
============================================ */

:root {
    /* WHIVE Brand Color System - From Logo */
    --whive-gold-primary: #FFD700;         /* Primary gold from logo */
    --whive-gold-light: #FFED4A;          /* Light gold gradient */
    --whive-green-primary: #39FF14;        /* Primary green from logo */
    --whive-green-light: #00FF00;         /* Bright green accent */
    --whive-black: #000000;               /* Deep black from logo */
    --whive-white: #FFFFFF;               /* Pure white */
    
    /* Background System - Web³ Hive */
    --bg-primary: var(--whive-black);      /* Primary background */
    --bg-secondary: #1A1A1A;              /* Secondary dark */
    --bg-tertiary: #2A2A2A;               /* Elevated surfaces */
    --bg-glass: rgba(26, 26, 26, 0.7);    /* Glass morphism base */
    --bg-surface: rgba(255, 215, 0, 0.05); /* Subtle gold tint */
    
    /* Text Hierarchy - WHIVE Standard */
    --text-primary: var(--whive-white);    /* Primary text */
    --text-secondary: #CCCCCC;             /* Secondary text */
    --text-tertiary: #888888;              /* Tertiary text */
    --text-quaternary: #666666;            /* Quaternary text */
    
    /* System Colors - Web³ Hive Palette */
    --system-error: #FF3B30;
    --system-warning: #FF9500;
    --system-success: var(--whive-green-primary);
    --system-info: #007AFF;
    --system-gold: var(--whive-gold-primary);
    --system-mint: #00C7BE;
    --system-teal: #30B0C7;
    --system-cyan: #32ADE6;
    --system-indigo: #5856D6;
    --system-purple: #AF52DE;
    --system-pink: #FF2D92;
    
    /* Typography - Modern System Fonts */
    --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    --font-text: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
    --font-mono: ui-monospace, "Cascadia Code", "Source Code Pro", "Menlo", monospace;
    
    /* Typography Scale - Web³ Hive Standard */
    --text-caption1: 0.75rem;              /* 12px */
    --text-caption2: 0.6875rem;            /* 11px */
    --text-footnote: 0.8125rem;            /* 13px */
    --text-subheadline: 0.9375rem;         /* 15px */
    --text-callout: 1rem;                  /* 16px */
    --text-body: 1.0625rem;                /* 17px */
    --text-headline: 1.0625rem;            /* 17px semibold */
    --text-title3: 1.25rem;                /* 20px */
    --text-title2: 1.375rem;               /* 22px */
    --text-title1: 1.75rem;                /* 28px */
    --text-large-title: 2.125rem;          /* 34px */
    
    /* Line Heights - Optimized for readability */
    --leading-tight: 1.2;
    --leading-normal: 1.4;
    --leading-relaxed: 1.6;
    
    /* Spacing - 8pt Grid System */
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    
    /* Borders & Radius - Web³ Hive Design */
    --border-width: 1px;
    --border-subtle: rgba(255, 215, 0, 0.1);    /* Subtle gold */
    --border-medium: rgba(255, 215, 0, 0.2);    /* Medium gold */
    --border-strong: rgba(255, 215, 0, 0.3);    /* Strong gold */
    
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-xlarge: 24px;
    
    /* Shadows - Web³ Hive Premium */
    --shadow-small: 0 2px 8px rgba(255, 215, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(255, 215, 0, 0.15);
    --shadow-large: 0 8px 32px rgba(255, 215, 0, 0.2);
    --shadow-xlarge: 0 16px 64px rgba(255, 215, 0, 0.25);
    
    /* Animations - Smooth Easing */
    --easing-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --easing-decelerate: cubic-bezier(0.0, 0.0, 0.2, 1);
    --easing-accelerate: cubic-bezier(0.4, 0.0, 1, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   RESET & BASE - PREMIUM FOUNDATION
============================================ */

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-text);
    font-size: var(--text-body);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ============================================
   PREMIUM BACKGROUND SYSTEM
============================================ */

.premium-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.4;
    background: 
        radial-gradient(circle at 20% 30%, var(--color-primary-gold) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--color-accent-green) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--color-accent-blue) 0%, transparent 50%);
    filter: blur(120px);
    animation: ambient-glow 20s ease-in-out infinite alternate;
}

@keyframes ambient-glow {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(1.1); }
}

/* ============================================
   GLASS MORPHISM SYSTEM
============================================ */

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-large);
}

.glass-elevated {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-medium);
}

.glass-premium {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(32px) saturate(220%);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-large);
}

/* ============================================
   TYPOGRAPHY SYSTEM - APPLE INSPIRED
============================================ */

.text-large-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, var(--text-large-title));
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

.text-title1 {
    font-family: var(--font-display);
    font-size: var(--text-title1);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: -0.015em;
}

.text-title2 {
    font-family: var(--font-display);
    font-size: var(--text-title2);
    font-weight: 600;
    line-height: var(--leading-normal);
    letter-spacing: -0.01em;
}

.text-title3 {
    font-family: var(--font-display);
    font-size: var(--text-title3);
    font-weight: 600;
    line-height: var(--leading-normal);
}

.text-body {
    font-family: var(--font-text);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: var(--leading-relaxed);
}

.text-callout {
    font-family: var(--font-text);
    font-size: var(--text-callout);
    font-weight: 400;
    line-height: var(--leading-normal);
}

.text-mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.01em;
}

/* ============================================
   WEB³ HIVE COMPONENTS
============================================ */

/* Web³ Hive Premium Navigation */
.premium-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4) 0;
    transition: all 0.3s var(--easing-standard);
}

.premium-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.premium-nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}

.premium-nav-link {
    font-family: var(--font-text);
    font-size: var(--text-body);
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-small);
    transition: all 0.2s var(--easing-standard);
}

.premium-nav-link:hover {
    background: var(--bg-surface);
    color: var(--whive-green-primary);
    transform: translateY(-1px);
}

/* Web³ Hive Glass Morphism Cards */
.apple-glass-card, .tesla-card, .whive-card, .whive-glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-large);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--easing-standard);
}

.apple-glass-card::before, .tesla-card::before, .whive-card::before, .whive-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--whive-green-primary), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s var(--easing-standard);
}

.apple-glass-card:hover, .tesla-card:hover, .whive-card:hover, .whive-glass-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-medium);
}

.apple-glass-card:hover::before, .tesla-card:hover::before, .whive-card:hover::before, .whive-glass-card:hover::before {
    opacity: 1;
}

.tesla-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.tesla-card-title {
    font-family: var(--font-text);
    font-size: var(--text-callout);
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tesla-card-value {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: var(--leading-tight);
    font-variant-numeric: tabular-nums;
}

.tesla-card-subtitle {
    font-family: var(--font-text);
    font-size: var(--text-footnote);
    color: var(--text-tertiary);
    margin-top: var(--space-2);
}

/* Web³ Hive Premium Buttons */
.btn-whive, .btn-apple {
    font-family: var(--font-text);
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--whive-black);
    background: var(--whive-gold-primary);
    border: none;
    border-radius: var(--radius-medium);
    padding: var(--space-3) var(--space-6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.2s var(--easing-standard);
    position: relative;
    overflow: hidden;
    min-width: 44px;
    min-height: 44px;
}

.btn-whive:hover, .btn-apple:hover {
    background: var(--whive-gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-whive:active, .btn-apple:active {
    transform: translateY(0);
    box-shadow: var(--shadow-small);
}

.btn-whive-primary, .btn-apple-primary {
    background: var(--whive-gold-primary);
    color: var(--whive-black);
}

.btn-whive-secondary, .btn-apple-secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.btn-whive-secondary:hover, .btn-apple-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--border-strong);
}

/* Web³ Hive Dashboard Grid */
.tesla-dashboard, .whive-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .tesla-dashboard, .whive-dashboard {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .tesla-dashboard, .whive-dashboard {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-8);
    }
}

/* ============================================
   ANIMATIONS - WEB³ HIVE MICRO-INTERACTIONS
============================================ */

/* Web³ Hive smooth entrance */
@keyframes whive-spring-up {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-spring-up {
    animation: whive-spring-up 0.6s var(--easing-standard);
}

/* Web³ Hive data stream animation */
@keyframes whive-data-stream {
    0% {
        opacity: 0.6;
        transform: translateX(-5px);
    }
    50% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0.6;
        transform: translateX(5px);
    }
}

.animate-data-stream {
    animation: whive-data-stream 2s ease-in-out infinite;
}

/* Web³ Hive glow effect */
@keyframes whive-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.animate-premium-glow {
    animation: whive-glow 3s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE DESIGN - WEB³ HIVE STANDARDS
============================================ */

.container-premium {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (max-width: 768px) {
    .container-premium {
        padding: 0 var(--space-4);
    }
    
    .tesla-dashboard {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .tesla-card {
        padding: var(--space-4);
    }
}

/* ============================================
   UTILITY CLASSES
============================================ */

/* Visibility */
.hidden { display: none; }
.invisible { visibility: hidden; }

/* Spacing */
.m-0 { margin: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }

/* Text alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Grid utilities */
.grid { display: grid; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Transitions */
.transition-all { transition: all 0.3s var(--easing-standard); }
.transition-fast { transition: all 0.15s var(--easing-standard); }

/* ============================================
   DARK MODE OPTIMIZATIONS
============================================ */

@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode */
}

/* ============================================
   REDUCED MOTION SUPPORT
============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .premium-background {
        animation: none;
    }
    
    .animate-spring-up,
    .animate-data-stream,
    .animate-premium-glow {
        animation: none;
    }
}

/* ============================================
   WEB³ HIVE LIVE DATA INDICATORS
============================================ */

/* Live data pulse indicator */
[data-live] {
    position: relative;
}

[data-live]::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 8px;
    height: 8px;
    background: var(--whive-green-primary);
    border-radius: 50%;
    animation: whive-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--whive-green-primary);
}

@keyframes whive-pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Touch-friendly button sizing */
.apple-button, .whive-button {
    min-width: 44px;
    min-height: 44px;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-medium);
    transition: all 0.2s var(--easing-standard);
}

/* ============================================
   WEB³ HIVE PROGRESS BARS & STATUS INDICATORS
============================================ */

/* Network Health Progress Bars */
.progress-container {
    margin-top: var(--space-3);
}

.progress-label {
    font-family: var(--font-text);
    font-size: var(--text-footnote);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-small);
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--whive-green-primary) 0%, 
        var(--whive-gold-primary) 50%, 
        var(--whive-green-light) 100%
    );
    border-radius: var(--radius-small);
    transition: width 0.8s var(--easing-standard);
    position: relative;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%
    );
    animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced progress variants */
.progress-fill.efficiency {
    background: linear-gradient(90deg, 
        var(--whive-gold-primary) 0%, 
        var(--whive-gold-light) 100%
    );
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.progress-fill.blocks {
    background: linear-gradient(90deg, 
        var(--whive-green-primary) 0%, 
        var(--whive-green-light) 100%
    );
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.3);
}

.progress-fill.throbbing {
    animation: progress-throb 1.5s ease-in-out infinite alternate;
}

@keyframes progress-throb {
    0% { 
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.3); 
        filter: brightness(1);
    }
    100% { 
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); 
        filter: brightness(1.2);
    }
}

/* Status cards that contain progress bars */
.status-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-large);
    padding: var(--space-5);
    position: relative;
    transition: all 0.3s var(--easing-standard);
}

.status-card:hover {
    transform: translateY(-1px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-medium);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-callout);
    font-weight: 500;
    color: var(--text-primary);
}

.status-value {
    font-size: var(--text-title3);
    font-weight: 700;
    color: var(--whive-gold-primary);
    font-variant-numeric: tabular-nums;
}

/* Pulse dots for live indicators */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--whive-green-primary);
    box-shadow: 0 0 8px var(--whive-green-primary);
    animation: whive-pulse 2s ease-in-out infinite;
}

.pulse-dot.active {
    background: var(--whive-green-primary);
    box-shadow: 0 0 12px var(--whive-green-primary);
}

.pulse-dot.blocks {
    background: var(--whive-gold-primary);
    box-shadow: 0 0 8px var(--whive-gold-primary);
}

/* Mining status grid */
.mining-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (max-width: 768px) {
    .mining-status-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .status-card {
        padding: var(--space-4);
    }
    
    .progress-bar {
        height: 6px;
    }
}