/* BRUTAL PARALLAX THEME - OVER THE TOP HERO */
/* Multi-layer parallax, striking animations, maximum impact */

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

:root {
    /* Blood Red Palette */
    --red-primary: #dc2626;
    --red-dark: #991b1b;
    --red-darker: #7f1d1d;
    --red-bright: #ef4444;
    --red-glow: rgba(220, 38, 38, 0.5);
    --red-glow-intense: rgba(220, 38, 38, 0.8);

    /* Industrial Darks */
    --black: #0a0a0a;
    --black-pure: #000000;
    --dark-1: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;

    /* Sharp Whites */
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);

    /* Status */
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;

    /* Borders */
    --border-harsh: 2px solid var(--red-primary);
    --border-subtle: 1px solid var(--white-20);
    --border-dark: 1px solid var(--dark-3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================
   EPIC HERO SECTION - MULTI-LAYER PARALLAX
   ========================================== */

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-pure);
}

/* Parallax Layer Base */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

/* Layer 1: Deep Grid Background */
.layer-1 {
    background:
        linear-gradient(90deg, var(--white-10) 1px, transparent 1px),
        linear-gradient(var(--white-10) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
}

/* Layer 2: Diagonal Slash Lines */
.layer-2 {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 80px,
        var(--red-glow) 80px,
        var(--red-glow) 82px
    );
    opacity: 0.15;
}

/* Layer 3: Floating Geometric Shapes */
.layer-3 {
    z-index: 2;
}

.geo-shape {
    position: absolute;
    border: 2px solid var(--red-primary);
    opacity: 0.4;
    transition: transform 0.3s ease-out;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
    animation: float1 8s ease-in-out infinite;
}

.shape-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 10%;
    border-radius: 0;
    animation: float2 6s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 10%;
    transform: rotate(30deg);
    animation: float3 10s ease-in-out infinite;
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 15%;
    animation: float1 7s ease-in-out infinite reverse;
}

.shape-5 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 30%;
    transform: rotate(-15deg);
    animation: float2 9s ease-in-out infinite;
}

.shape-6 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 80%;
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-30px) rotate(50deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(30deg); }
    50% { transform: translateY(-40px) rotate(35deg); }
}

/* Layer 4: Giant Watermark Logo */
.layer-4 {
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-watermark-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 800px;
    height: auto;
    opacity: 0.08;
    filter: blur(2px);
    animation: watermarkPulse 4s ease-in-out infinite;
}

@keyframes watermarkPulse {
    0%, 100% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.12; transform: translate(-50%, -50%) scale(1.02); }
}

/* Layer 5: Glitch Lines */
.layer-5 {
    z-index: 3;
    mix-blend-mode: screen;
}

.glitch-line {
    position: absolute;
    height: 2px;
    background: var(--red-bright);
    opacity: 0;
    animation: glitchLine 4s infinite;
}

.line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 0;
    width: 60%;
    animation-delay: 1.5s;
}

.line-3 {
    top: 75%;
    right: 0;
    width: 40%;
    animation-delay: 3s;
}

@keyframes glitchLine {
    0%, 90%, 100% { opacity: 0; transform: translateX(0); }
    92% { opacity: 1; transform: translateX(10px); }
    94% { opacity: 0.5; transform: translateX(-5px); }
    96% { opacity: 1; transform: translateX(5px); }
    98% { opacity: 0; transform: translateX(0); }
}

/* Layer 6: Glow Orbs */
.layer-6 {
    z-index: 2;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    transition: transform 0.3s ease-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--red-glow);
    top: -10%;
    right: -5%;
    animation: orbPulse1 6s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--red-glow);
    bottom: 10%;
    left: -5%;
    animation: orbPulse2 8s ease-in-out infinite;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--red-glow-intense);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbPulse3 4s ease-in-out infinite;
}

@keyframes orbPulse1 {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes orbPulse2 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.15); }
}

@keyframes orbPulse3 {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* ==========================================
   HERO CONTENT - STRIKING TYPOGRAPHY
   ========================================== */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Massive Animated Logo */
.hero-logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
}

.hero-main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    animation: logoEntrance 1s ease-out, logoPulse 3s ease-in-out infinite 1s;
    filter: drop-shadow(0 0 30px var(--red-glow));
}

@keyframes logoEntrance {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 30px var(--red-glow)); }
    50% { filter: drop-shadow(0 0 60px var(--red-glow-intense)); }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--red-glow) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Logo Rings */
.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--red-primary);
    border-radius: 50%;
    opacity: 0;
    animation: ringExpand 3s ease-out infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 100%;
    height: 100%;
    animation-delay: 1s;
}

.ring-3 {
    width: 100%;
    height: 100%;
    animation-delay: 2s;
}

@keyframes ringExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
        border-width: 2px;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-width: 1px;
    }
}

/* MEGA TITLE - Character by Character Animation */
.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 0.85;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.title-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
}

.title-line.line-2 {
    font-size: 1.3em;
    margin: 0.1em 0;
}

.title-line.line-3 {
    /* Ensure COIN stays on one line */
    flex-wrap: nowrap;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px) rotateX(-90deg);
    animation: charReveal 0.6s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.08s);
    color: var(--white);
    text-shadow:
        4px 4px 0 var(--black),
        8px 8px 0 var(--red-dark);
}

.hero-title .char.accent {
    color: var(--red-primary);
    text-shadow:
        4px 4px 0 var(--black),
        8px 8px 0 var(--red-darker),
        0 0 60px var(--red-glow);
}

@keyframes charReveal {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(-90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Glitch Effect */
.hero-title.glitch {
    animation: titleGlitch 0.2s ease;
}

@keyframes titleGlitch {
    0% { transform: translate(0); }
    20% { transform: translate(-5px, 5px); }
    40% { transform: translate(5px, -5px); }
    60% { transform: translate(-3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

/* Tagline */
.hero-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.tagline-decoration {
    width: 80px;
    height: 2px;
    background: var(--red-primary);
}

.tagline-text {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--white-70);
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--white-70);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.4s forwards;
}

.hero-description strong {
    color: var(--red-primary);
    font-weight: 700;
}

/* ==========================================
   MEGA STATS DISPLAY
   ========================================== */

.hero-stats-mega {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border: var(--border-harsh);
    background: var(--black);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.6s forwards;
}

.mega-stat {
    padding: 2rem;
    text-align: center;
    border-right: var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.mega-stat:last-child {
    border-right: none;
}

.mega-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--red-glow) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-stat:hover::before {
    opacity: 0.3;
}

.mega-stat-value {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--red-primary);
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.mega-stat-bar {
    width: 0;
    height: 3px;
    background: var(--red-primary);
    margin: 0.75rem auto;
    transition: width 1s ease-out;
    box-shadow: 0 0 10px var(--red-glow);
}

.mega-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--white-50);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* ==========================================
   MEGA CTA BUTTONS
   ========================================== */

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.8s forwards;
}

.cta-mega {
    position: relative;
    padding: 20px 50px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.cta-mega.primary {
    background: var(--red-primary);
    color: var(--white);
    box-shadow: 8px 8px 0 var(--red-darker);
}

.cta-mega.secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--red-primary);
    box-shadow: 8px 8px 0 var(--dark-3);
}

.cta-mega .cta-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: 0;
}

.cta-mega:hover .cta-bg {
    left: 0;
}

.cta-mega .cta-text,
.cta-mega .cta-arrow {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.cta-mega.primary:hover .cta-text,
.cta-mega.primary:hover .cta-arrow {
    color: var(--red-primary);
}

.cta-mega.secondary:hover .cta-text,
.cta-mega.secondary:hover .cta-arrow {
    color: var(--black);
}

.cta-mega .cta-arrow {
    font-size: 1.5rem;
    transform: translateX(0);
    transition: transform 0.3s ease, color 0.3s ease;
}

.cta-mega:hover .cta-arrow {
    transform: translateX(8px);
}

.cta-mega:hover {
    transform: translate(-4px, -4px);
}

.cta-mega.primary:hover {
    box-shadow: 12px 12px 0 var(--red-darker);
}

.cta-mega.secondary:hover {
    box-shadow: 12px 12px 0 var(--dark-3);
}

.cta-mega:active {
    transform: translate(4px, 4px);
}

.cta-mega.primary:active {
    box-shadow: 4px 4px 0 var(--red-darker);
}

.cta-mega.secondary:active {
    box-shadow: 4px 4px 0 var(--dark-3);
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.2s forwards;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--red-primary), transparent);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0.5; }
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--white-50);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================
   NAVIGATION (inherited from brutal)
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-harsh);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(2px 2px 0 var(--red-dark));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    color: var(--white-70);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    padding: 1rem 1.5rem;
    transition: all 0.1s ease;
    border-left: var(--border-dark);
}

.nav-link:first-child {
    border-left: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: var(--red-primary);
}

.wallet-connect-btn {
    background: var(--red-primary);
    border: none;
    color: white;
    font-weight: 900;
    margin-left: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--red-primary);
}

/* ==========================================
   REST OF SITE (inherited brutal styles)
   ========================================== */

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

.glass {
    background: var(--dark-2);
    border: var(--border-subtle);
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--black-pure);
}

.glass-btn {
    background: var(--dark-2);
    border: var(--border-harsh);
    border-radius: 0;
    padding: 12px 24px;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    transition: all 0.1s ease;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 var(--red-dark);
}

.glass-btn:hover {
    background: var(--red-primary);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--red-dark);
}

.gradient-text {
    color: var(--red-primary);
    text-shadow: 2px 2px 0 var(--red-dark);
}

section {
    padding: 100px 0;
    border-top: var(--border-harsh);
}

.section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features {
    background: var(--dark-1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: var(--border-harsh);
}

.feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    border-right: var(--border-subtle);
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--red-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    background: rgba(220, 38, 38, 0.1);
}

.feature-card:last-child {
    border-right: none;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Explorer */
.explorer-section {
    background: var(--black);
}

.explorer-search {
    padding: 0;
    margin-bottom: 3rem;
    display: flex;
    gap: 0;
    border: var(--border-harsh);
}

.explorer-search input {
    flex: 1;
    padding: 18px;
    background: var(--dark-2);
    border: none;
    border-right: var(--border-subtle);
    color: var(--white);
    font-family: 'Courier New', monospace;
}

.explorer-search input::placeholder {
    color: var(--white-50);
}

.search-btn {
    background: var(--red-primary);
    border: none;
    padding: 18px 30px;
    font-weight: 900;
    text-transform: uppercase;
}

.explorer-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    justify-content: center;
    border: var(--border-harsh);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: var(--dark-2);
    border: none;
    border-right: var(--border-subtle);
    padding: 14px 28px;
    color: var(--white-70);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--red-primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.block-item,
.tx-item {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: var(--border-subtle);
    border-top: none;
    background: var(--dark-2);
}

.block-item:first-child,
.tx-item:first-child {
    border-top: var(--border-subtle);
}

.block-item:hover,
.tx-item:hover {
    background: var(--dark-3);
    border-left: 4px solid var(--red-primary);
}

.block-height {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--red-primary);
    font-family: 'Courier New', monospace;
}

.block-hash,
.tx-hash {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--white-50);
}

.block-details,
.tx-details {
    font-size: 0.8rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward-value {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--success);
    font-family: 'Courier New', monospace;
}

.tx-status {
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tx-status.confirmed {
    background: var(--success);
    color: var(--black);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border: var(--border-harsh);
}

.stat-card {
    padding: 2.5rem;
    text-align: center;
    border-right: var(--border-subtle);
    background: var(--dark-2);
}

.stat-card:last-child {
    border-right: none;
}

.stat-card h4 {
    color: var(--white-50);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.stat-value-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red-primary);
    font-family: 'Courier New', monospace;
}

/* Wallet */
.wallet-section {
    background: var(--dark-1);
}

.wallet-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    margin-bottom: 3rem;
    border: var(--border-harsh);
}

.wallet-card {
    padding: 3rem;
    text-align: left;
    border-right: var(--border-subtle);
    background: var(--dark-2);
}

.wallet-card:last-child {
    border-right: none;
}

.wallet-card:hover {
    background: var(--dark-3);
}

.wallet-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 900;
}

.wallet-card p {
    color: var(--white-70);
    margin-bottom: 1.5rem;
}

.wallet-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--red-dark);
    padding: 6px 14px;
    font-size: 0.75rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
}

.wallet-interface {
    padding: 3rem;
    margin-top: 3rem;
    text-align: center;
    border: var(--border-harsh);
    background: var(--dark-2);
}

.wallet-address {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--white-70);
    background: var(--black);
    padding: 12px 20px;
    display: inline-block;
    border: var(--border-subtle);
}

.wallet-balance {
    margin: 3rem 0;
}

.balance-display {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Courier New', monospace;
}

.balance-currency {
    color: var(--red-primary);
}

.balance-usd {
    font-size: 1.2rem;
    color: var(--white-50);
    font-family: 'Courier New', monospace;
}

.wallet-actions {
    display: flex;
    gap: 0;
    justify-content: center;
    margin: 2rem 0;
    border: var(--border-harsh);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.action-btn {
    min-width: 140px;
    border-right: var(--border-subtle);
}

.action-btn:last-child {
    border-right: none;
}

.transaction-form {
    padding: 2.5rem;
    margin-top: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    border: var(--border-harsh);
    background: var(--dark-2);
}

.transaction-form h4 {
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.transaction-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 1rem;
    background: var(--black);
    border: var(--border-subtle);
    color: var(--white);
    font-family: 'Courier New', monospace;
}

.send-tx-btn {
    width: 100%;
    background: var(--red-primary);
    border: none;
    padding: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

/* Transaction History */
.transaction-history {
    padding: 2rem;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: var(--border-harsh);
    background: var(--dark-2);
}

.transaction-history h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.history-list {
    max-height: 350px;
    overflow-y: auto;
}

.history-loading,
.history-empty,
.history-error {
    text-align: center;
    padding: 2rem;
    color: var(--white-50);
}

.history-error {
    color: var(--error);
}

.history-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--dark-1);
    border-left: 3px solid var(--white-20);
    transition: background 0.2s;
}

.history-item:hover {
    background: var(--dark-3);
}

.history-item.received {
    border-left-color: var(--success);
}

.history-item.sent {
    border-left-color: var(--error);
}

.tx-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dark-3);
}

.history-item.received .tx-icon {
    color: var(--success);
}

.history-item.sent .tx-icon {
    color: var(--error);
}

.tx-details {
    flex: 1;
}

.tx-type {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.tx-id {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--white-50);
    cursor: pointer;
}

.tx-date {
    font-size: 0.75rem;
    color: var(--white-50);
}

.tx-amount {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    text-align: right;
}

.tx-amount.positive {
    color: var(--success);
}

.tx-amount.negative {
    color: var(--error);
}

/* Mining */
.mining-section {
    background: var(--black);
}

.mining-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    border: var(--border-harsh);
}

.mining-info {
    padding: 3rem;
    border-right: var(--border-subtle);
    background: var(--dark-2);
}

.mining-stats {
    margin: 2rem 0;
}

.mining-stat {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: var(--border-subtle);
    font-family: 'Courier New', monospace;
}

.mining-calculator {
    padding: 2rem;
    margin-top: 2rem;
    border: var(--border-harsh);
    background: var(--black);
}

.mining-calculator h4 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.mining-calculator input {
    width: 100%;
    padding: 14px;
    margin-bottom: 1rem;
    background: var(--dark-2);
    border: var(--border-subtle);
    color: var(--white);
    font-family: 'Courier New', monospace;
}

.calculate-btn {
    width: 100%;
    background: var(--red-primary);
    border: none;
    color: white;
    font-weight: 900;
    text-transform: uppercase;
}

.mining-results {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-2);
    border: var(--border-subtle);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-family: 'Courier New', monospace;
    border-bottom: var(--border-dark);
}

.result-item:last-child {
    border-bottom: none;
}

.mining-pools {
    padding: 3rem;
    background: var(--dark-2);
}

.mining-pools h3 {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.pool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--black);
    border: var(--border-subtle);
    border-top: none;
    border-left: 4px solid transparent;
}

.pool-item:first-child {
    border-top: var(--border-subtle);
}

.pool-item:hover {
    background: var(--dark-3);
    border-left: 4px solid var(--red-primary);
}

.pool-name {
    font-weight: 900;
    text-transform: uppercase;
}

.pool-details {
    font-size: 0.75rem;
    color: var(--white-50);
    text-transform: uppercase;
}

.pool-hashrate {
    font-weight: 900;
    color: var(--red-primary);
    font-family: 'Courier New', monospace;
}

/* Mining Education Section */
.mining-education {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: var(--border-harsh);
}

.education-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.education-card {
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--dark-2);
    border: var(--border-subtle);
    border-left: 4px solid var(--red-primary);
}

.education-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.education-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-dark);
    border-radius: 8px;
}

.education-header h4 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
}

.education-content {
    color: var(--white-70);
    line-height: 1.8;
}

.education-content p {
    margin-bottom: 1rem;
}

.education-content strong {
    color: var(--white);
}

.education-content a {
    color: var(--red-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--red-dark);
    transition: all 0.2s ease;
}

.education-content a:hover {
    color: var(--red-bright);
    border-bottom-color: var(--red-bright);
}

.education-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.education-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.education-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--red-primary);
    font-weight: bold;
}

.info-box {
    background: var(--dark-3);
    border: var(--border-subtle);
    border-left: 4px solid var(--red-primary);
    padding: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.info-box.warning {
    border-left-color: var(--warning);
}

.info-box.tip {
    border-left-color: var(--success);
}

.info-box strong {
    color: var(--red-primary);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.info-box.warning strong {
    color: var(--warning);
}

.info-box.tip strong {
    color: var(--success);
}

/* Technical Breakdown */
.technical-breakdown {
    background: var(--black);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: var(--border-subtle);
}

.technical-breakdown h5 {
    color: var(--red-primary);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.numbered-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.numbered-list li {
    counter-increment: step-counter;
    padding: 0.75rem 0 0.75rem 3rem;
    position: relative;
    border-bottom: var(--border-subtle);
}

.numbered-list li:last-child {
    border-bottom: none;
}

.numbered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--red-dark);
    color: var(--white);
    text-align: center;
    line-height: 24px;
    font-size: 0.8rem;
    font-weight: 900;
}

/* Code Examples */
.code-example {
    margin: 1.5rem 0;
    border: var(--border-subtle);
    background: var(--black);
    overflow: hidden;
}

.code-header {
    background: var(--red-dark);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.code-example code {
    display: block;
    padding: 1.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--white-70);
    overflow-x: auto;
}

/* Hardware Comparison */
.hardware-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.hardware-option {
    background: var(--black);
    border: var(--border-subtle);
    padding: 1.5rem;
}

.hardware-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-subtle);
}

.hardware-header h5 {
    flex: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.hardware-icon {
    font-size: 1.5rem;
}

.viability-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    text-transform: uppercase;
    font-weight: 900;
    background: var(--dark-3);
    color: var(--white-50);
}

.hardware-header.bad .viability-badge {
    background: var(--error);
    color: var(--white);
}

.hardware-header.okay .viability-badge {
    background: var(--warning);
    color: var(--black);
}

.hardware-header.good .viability-badge {
    background: var(--success);
    color: var(--white);
}

.hardware-option ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.hardware-option ul li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: var(--white-50);
    padding-left: 1rem;
    position: relative;
}

.hardware-option ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--red-primary);
}

/* Comparison Cards (Solo vs Pool) */
.comparison-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.compare-card {
    background: var(--black);
    border: var(--border-subtle);
    padding: 1.5rem;
}

.compare-card h5 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--red-primary);
    margin-bottom: 0.75rem;
}

.compare-card > p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-subtle);
}

.pros-cons {
    display: grid;
    gap: 1rem;
}

.pros strong,
.cons strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.pros strong {
    color: var(--success);
}

.cons strong {
    color: var(--error);
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros ul li,
.cons ul li {
    padding: 0.3rem 0 0.3rem 1rem;
    font-size: 0.85rem;
    position: relative;
}

.pros ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.cons ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--error);
    font-weight: bold;
}

/* Concept Grid (Hashrate/Difficulty) */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.concept {
    background: var(--black);
    border: var(--border-subtle);
    padding: 1.5rem;
}

.concept h5 {
    color: var(--red-primary);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.scale-visual {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.scale-visual span {
    padding: 0.5rem;
    background: var(--dark-3);
    border-left: 3px solid var(--red-primary);
}

/* Formula Box */
.formula-box {
    background: var(--dark-3);
    border: var(--border-subtle);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.formula-box h5 {
    color: var(--red-primary);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.formula-box code {
    display: block;
    font-size: 1.1rem;
    padding: 1rem;
    background: var(--black);
    border: var(--border-subtle);
    font-family: 'Courier New', monospace;
    color: var(--white);
}

.formula-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--white-50);
}

/* Setup Steps */
.setup-steps {
    margin: 1.5rem 0;
}

.setup-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: var(--border-subtle);
}

.setup-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--red-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
}

.step-content ul li {
    padding: 0.3rem 0 0.3rem 1rem;
    position: relative;
}

.step-content ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--red-primary);
}

.step-content code {
    background: var(--dark-3);
    padding: 2px 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.config-example {
    margin-top: 1rem;
    background: var(--black);
    border: var(--border-subtle);
}

.config-example code {
    display: block;
    padding: 1rem;
    line-height: 1.8;
    background: transparent;
}

/* Halving Table */
.halving-schedule {
    margin: 1.5rem 0;
}

.halving-schedule h5 {
    color: var(--red-primary);
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 1rem;
}

.halving-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
}

.halving-table th,
.halving-table td {
    padding: 12px;
    text-align: left;
    border: var(--border-subtle);
}

.halving-table th {
    background: var(--red-dark);
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.halving-table td {
    background: var(--black);
    color: var(--white-70);
}

.halving-table .current-era td {
    background: var(--dark-3);
    color: var(--white);
    border-left: 4px solid var(--success);
}

.halving-table .final-era td {
    color: var(--white-50);
    font-style: italic;
}

/* Responsive Mining Education */
@media (max-width: 768px) {
    .education-card {
        padding: 1.5rem;
    }

    .education-header {
        flex-direction: column;
        text-align: center;
    }

    .hardware-comparison,
    .comparison-cards,
    .concept-grid {
        grid-template-columns: 1fr;
    }

    .setup-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .halving-table {
        font-size: 0.8rem;
    }

    .halving-table th,
    .halving-table td {
        padding: 8px 6px;
    }
}

/* About */
.about-section {
    background: var(--dark-1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: var(--border-harsh);
}

.about-text {
    padding: 3rem;
    border-bottom: var(--border-subtle);
    background: var(--dark-2);
}

.about-text h3 {
    margin-bottom: 1.5rem;
    color: var(--red-primary);
    text-transform: uppercase;
    font-weight: 900;
}

.about-text p {
    color: var(--white-70);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.comparison-table h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 14px;
    text-align: left;
    border: var(--border-subtle);
    font-family: 'Courier New', monospace;
}

.comparison-table th {
    background: var(--red-dark);
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
}

.comparison-table td {
    color: var(--white-70);
    background: var(--black);
}

.roadmap {
    padding: 3rem;
    background: var(--dark-2);
}

.roadmap h3 {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2rem;
}

.roadmap-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: var(--border-subtle);
}

.roadmap-item:last-child {
    border-bottom: none;
}

.roadmap-phase {
    background: var(--dark-3);
    color: white;
    padding: 10px 18px;
    font-size: 0.75rem;
    font-weight: 900;
    margin-right: 1.5rem;
    min-width: 80px;
    text-align: center;
    text-transform: uppercase;
    border: var(--border-subtle);
}

.roadmap-title {
    flex: 1;
    font-weight: 700;
}

.roadmap-status {
    font-size: 0.8rem;
    color: var(--white-50);
    text-transform: uppercase;
}

.roadmap-item.completed .roadmap-phase {
    background: var(--success);
    color: var(--black);
    border-color: var(--success);
}

.roadmap-item.current .roadmap-phase {
    background: var(--red-primary);
    border-color: var(--red-primary);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: var(--border-harsh);
    background: var(--black);
}

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

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

.footer-logo .logo-img {
    height: 48px;
}

.footer-logo .logo-text {
    font-weight: 900;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--red-primary);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 0.9rem;
}

.footer-section a {
    display: block;
    color: var(--white-70);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: all 0.1s ease;
}

.footer-section a:hover {
    color: var(--red-primary);
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border-harsh);
    color: var(--white-50);
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .mining-content,
    .about-content {
        grid-template-columns: 1fr;
    }

    .mining-info,
    .about-text {
        border-right: none;
        border-bottom: var(--border-subtle);
    }

    .hero-stats-mega {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-stat {
        border-bottom: var(--border-subtle);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-logo-container {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 6rem);
    }

    .hero-tagline {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tagline-decoration {
        width: 40px;
    }

    .hero-stats-mega {
        grid-template-columns: 1fr;
    }

    .mega-stat {
        border-right: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-mega {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .geo-shape {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card:nth-child(2n) {
        border-right: none;
    }

    .feature-card {
        border-bottom: var(--border-subtle);
    }

    .wallet-options {
        grid-template-columns: 1fr;
    }

    .wallet-card {
        border-right: none;
        border-bottom: var(--border-subtle);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        border-right: none;
        border-bottom: var(--border-subtle);
    }

    .roadmap-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .block-item,
    .tx-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .explorer-search {
        flex-direction: column;
    }

    .explorer-search input {
        border-right: none;
        border-bottom: var(--border-subtle);
    }

    .explorer-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .wallet-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        border-right: none;
        border-bottom: var(--border-subtle);
    }

    section {
        padding: 60px 0;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-line {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-logo-container {
        width: 120px;
        height: 120px;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .char {
        text-shadow:
            2px 2px 0 var(--black),
            4px 4px 0 var(--red-dark);
    }

    .hero-title .char.accent {
        text-shadow:
            2px 2px 0 var(--black),
            4px 4px 0 var(--red-darker),
            0 0 30px var(--red-glow);
    }

    .mega-stat-value {
        font-size: 1.5rem;
    }

    .cta-mega {
        padding: 16px 30px;
        font-size: 0.9rem;
    }

    .balance-display {
        font-size: 2.5rem;
    }

    .feature-card,
    .wallet-card,
    .mining-info,
    .mining-pools,
    .about-text,
    .roadmap {
        padding: 2rem;
    }
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--red-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-primary);
}

/* Selection */
::selection {
    background: var(--red-primary);
    color: var(--white);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   LEARNING RESOURCES SECTION
   ========================================== */

.learning-resources {
    padding: 3rem;
}

.learning-resources h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.resources-intro {
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.resource-card {
    background: rgba(0, 0, 0, 0.4);
    border: var(--border-brutal);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.resource-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--red-primary);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h4 {
    font-size: 1.3rem;
    color: var(--red-primary);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resource-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.resource-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--red-light);
    background: rgba(220, 38, 38, 0.1);
    padding: 0.4rem 0.6rem;
    border-left: 2px solid var(--red-primary);
}

@media (max-width: 768px) {
    .resource-cards {
        grid-template-columns: 1fr;
    }

    .learning-resources {
        padding: 2rem;
    }
}

/* Wallet Backup Modal */
.wallet-backup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.wallet-backup-modal {
    background: var(--dark-2);
    border: 2px solid var(--red-primary);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.wallet-backup-modal h2 {
    color: var(--red-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.wallet-backup-modal .warning-text {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid var(--red-primary);
    padding: 1rem;
    border-radius: 4px;
    color: #fca5a5;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
}

.wallet-info-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.wallet-info-box .info-row {
    margin-bottom: 1rem;
}

.wallet-info-box .info-row:last-child {
    margin-bottom: 0;
}

.wallet-info-box label {
    display: block;
    color: var(--white-70);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.wallet-info-box code {
    display: block;
    background: var(--black);
    padding: 0.75rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--white);
    word-break: break-all;
    user-select: all;
}

.wallet-backup-modal .download-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--red-primary);
    color: white;
    border: none;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.wallet-backup-modal .download-btn:hover {
    background: var(--red-bright);
}

.wallet-backup-modal .confirm-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.wallet-backup-modal .confirm-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--white-90);
    line-height: 1.4;
}

.wallet-backup-modal .confirm-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.wallet-backup-modal .continue-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--dark-3);
    color: var(--white-50);
    border: 1px solid var(--white-30);
    cursor: not-allowed;
    transition: all 0.2s;
}

.wallet-backup-modal .continue-btn:not(:disabled) {
    background: var(--red-primary);
    color: white;
    border-color: var(--red-primary);
    cursor: pointer;
}

.wallet-backup-modal .continue-btn:not(:disabled):hover {
    background: var(--red-bright);
}
