/* ==========================================
   BLOCKCRAFT STUDIOS LANDING PAGE
   Minecraft-Inspired Voxel Design
   Pure CSS with Advanced Animations
   ========================================== */

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

:root {
    --grass-green: #5cb85c;
    --stone-gray: #6c757d;
    --diamond-blue: #00d4ff;
    --gold-yellow: #ffc107;
    --redstone-red: #dc3545;
    --emerald-green: #17a2b8;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-text: #f5f5f5;
    --gray-text: #a8a8a8;
    --pixel-shadow: #000000;
}

body {
    font-family: 'Courier New', 'Consolas', monospace;
    background: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Smooth scrolling for better animation experience */
html {
    scroll-behavior: smooth;
}

/* Add will-change for better performance on animated elements */
.hero-header,
.logo,
.nav-item,
.title-line,
.btn-primary,
.btn-secondary,
.stat-item,
.badge,
.block,
.particle {
    will-change: transform, opacity;
}

/* Ensure buttons are interactive */
button {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-item {
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Pixelated Background Pattern */
.pixelated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(0deg, transparent 24%, rgba(92, 184, 92, 0.03) 25%, rgba(92, 184, 92, 0.03) 26%, transparent 27%, transparent 74%, rgba(92, 184, 92, 0.03) 75%, rgba(92, 184, 92, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(92, 184, 92, 0.03) 25%, rgba(92, 184, 92, 0.03) 26%, transparent 27%, transparent 74%, rgba(92, 184, 92, 0.03) 75%, rgba(92, 184, 92, 0.03) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.3;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        linear-gradient(180deg, 
            var(--darker-bg) 0%, 
            var(--dark-bg) 40%, 
            #2d4a2b 90%, 
            #3a5f38 100%
        );
    padding: 2rem;
    overflow: hidden;
}

/* Ground Layer */
.ground-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: 
        repeating-linear-gradient(
            90deg,
            #3a5f38 0px,
            #3a5f38 60px,
            #2d4a2b 60px,
            #2d4a2b 120px
        );
    box-shadow: 
        inset 0 10px 20px rgba(0, 0, 0, 0.5),
        0 -5px 15px rgba(92, 184, 92, 0.2);
    animation: groundShift 10s linear infinite;
    z-index: 1;
}

@keyframes groundShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 120px 0;
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Header/Logo */
.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    animation: slideInFromTop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--grass-green);
    animation: blockRotate 3s ease-in-out infinite;
    text-shadow: 
        3px 3px 0 rgba(0, 0, 0, 0.5),
        0 0 20px var(--grass-green);
}

.logo-text {
    color: var(--light-text);
    text-shadow: 
        3px 3px 0 var(--pixel-shadow),
        0 0 30px var(--grass-green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--gray-text);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.nav-item:hover {
    color: var(--light-text);
    text-shadow: 2px 2px 0 var(--pixel-shadow);
    transform: translateY(-2px);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--grass-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--grass-green);
}

.nav-item:hover::after {
    width: 100%;
}

@keyframes blockRotate {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(90deg) rotateX(5deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(0deg);
    }
    75% {
        transform: rotateY(270deg) rotateX(-5deg);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.title-container {
    position: relative;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pixel-text {
    color: var(--gray-text);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 2px 2px 0 var(--pixel-shadow);
    animation: pixelPulse 2s ease-in-out infinite;
}

@keyframes pixelPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* ==========================================
   ANIMATED TITLE - MINECRAFT BLOCK BUILDING EFFECT
   Using @keyframes CSS Animation
   ========================================== */
.animated-title {
    position: relative;
    background: linear-gradient(
        135deg, 
        var(--grass-green) 0%, 
        var(--diamond-blue) 25%,
        var(--emerald-green) 50%,
        var(--gold-yellow) 75%,
        var(--grass-green) 100%
    );
    background-size: 400% 400%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: 
        blockBuild 2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards,
        colorShift 8s ease infinite 2s,
        textFloat 3s ease-in-out infinite 2s;
    transform-origin: center;
    text-shadow: 
        4px 4px 0 var(--pixel-shadow),
        8px 8px 20px rgba(92, 184, 92, 0.5);
    filter: drop-shadow(0 0 30px var(--grass-green));
}

.title-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        var(--grass-green) 0%,
        transparent 70%
    );
    opacity: 0.3;
    filter: blur(40px);
    animation: shadowPulse 3s ease-in-out infinite;
    z-index: 1;
}

/* Block Building Animation - Letters appear like Minecraft blocks being placed */
@keyframes blockBuild {
    0% {
        opacity: 0;
        transform: scale(0) rotateY(180deg) rotateX(45deg);
        filter: blur(10px) brightness(0);
    }
    50% {
        transform: scale(1.2) rotateY(20deg) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg) rotateX(0deg);
        filter: blur(0) brightness(1);
    }
}

/* Shifting gradient like different block types */
@keyframes colorShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
}

/* Floating effect like suspended blocks */
@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

/* Floating Minecraft Blocks */
.floating-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
    perspective: 1000px;
}

.block {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0.9;
    transform-style: preserve-3d;
    animation: blockFloat 15s ease-in-out infinite;
}

.block::before,
.block::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
}

/* Front face */
.block::before {
    transform: translateZ(40px);
}

/* Top face */
.block::after {
    transform: rotateX(90deg) translateZ(40px);
    opacity: 0.8;
}

.block-grass {
    top: 20%;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.block-grass::before {
    background: 
        linear-gradient(135deg, var(--grass-green) 0%, #4a9d4a 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.1),
        0 10px 40px rgba(92, 184, 92, 0.4);
}

.block-grass::after {
    background: 
        linear-gradient(135deg, #6dc96d 0%, var(--grass-green) 100%);
}

.block-stone {
    top: 60%;
    right: 15%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.block-stone::before {
    background: 
        linear-gradient(135deg, var(--stone-gray) 0%, #5a6268 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.1),
        0 10px 40px rgba(108, 117, 125, 0.3);
}

.block-stone::after {
    background: 
        linear-gradient(135deg, #7d8185 0%, var(--stone-gray) 100%);
}

.block-diamond {
    top: 40%;
    left: 20%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.block-diamond::before {
    background: 
        linear-gradient(135deg, var(--diamond-blue) 0%, #00b8e6 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.3),
        0 10px 50px var(--diamond-blue);
}

.block-diamond::after {
    background: 
        linear-gradient(135deg, #33e0ff 0%, var(--diamond-blue) 100%);
}

.block-gold {
    bottom: 30%;
    right: 25%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.block-gold::before {
    background: 
        linear-gradient(135deg, var(--gold-yellow) 0%, #e0a800 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.2),
        0 10px 40px rgba(255, 193, 7, 0.4);
}

.block-gold::after {
    background: 
        linear-gradient(135deg, #ffd740 0%, var(--gold-yellow) 100%);
}

.block-redstone {
    top: 70%;
    left: 30%;
    animation-duration: 16s;
    animation-delay: 1.5s;
}

.block-redstone::before {
    background: 
        linear-gradient(135deg, var(--redstone-red) 0%, #c82333 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.2),
        0 10px 45px var(--redstone-red);
}

.block-redstone::after {
    background: 
        linear-gradient(135deg, #e65c68 0%, var(--redstone-red) 100%);
}

.block-emerald {
    top: 50%;
    right: 10%;
    animation-duration: 13s;
    animation-delay: 2.5s;
}

.block-emerald::before {
    background: 
        linear-gradient(135deg, var(--emerald-green) 0%, #138496 100%);
    box-shadow: 
        inset -8px -8px 15px rgba(0, 0, 0, 0.4),
        inset 8px 8px 15px rgba(255, 255, 255, 0.2),
        0 10px 40px rgba(23, 162, 184, 0.4);
}

.block-emerald::after {
    background: 
        linear-gradient(135deg, #20c1e6 0%, var(--emerald-green) 100%);
}

@keyframes blockFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotateX(-20deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translate3d(30px, -100px, 50px) rotateX(65deg) rotateY(90deg) rotateZ(15deg);
    }
    50% {
        transform: translate3d(-20px, -50px, -30px) rotateX(-110deg) rotateY(180deg) rotateZ(30deg);
    }
    75% {
        transform: translate3d(-40px, -80px, 40px) rotateX(155deg) rotateY(270deg) rotateZ(45deg);
    }
}

/* Hero Description */
.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-text);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeSlideUp 0.8s ease-out 0.5s backwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Call to Action Buttons - Minecraft Style */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeSlideUp 0.8s ease-out 0.7s backwards;
}

.btn-primary,
.btn-secondary {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 900;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.1),
        0 6px 0 rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background: var(--grass-green);
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.2),
        0 10px 0 rgba(0, 0, 0, 0.5),
        0 0 40px var(--grass-green);
    animation: btnBounce 0.5s ease;
}

.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.1),
        0 4px 0 rgba(0, 0, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 4px solid var(--stone-gray);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    background: var(--stone-gray);
    border-color: var(--gray-text);
    transform: translateY(-4px);
    box-shadow: 
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.1),
        0 10px 0 rgba(0, 0, 0, 0.5),
        0 0 30px var(--stone-gray);
}

.btn-secondary:active {
    transform: translateY(-2px);
    box-shadow: 
        inset -4px -4px 0 rgba(0, 0, 0, 0.3),
        inset 4px 4px 0 rgba(255, 255, 255, 0.1),
        0 4px 0 rgba(0, 0, 0, 0.5);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes btnBounce {
    0%, 100% {
        transform: translateY(-4px);
    }
    50% {
        transform: translateY(-8px);
    }
}

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

/* Hero Stats - Block Style */
.hero-stats {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
    margin-bottom: 3rem;
    animation: fadeSlideUp 0.8s ease-out 0.9s backwards;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    opacity: 1;
    visibility: visible;
}

.stat-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(92, 184, 92, 0.3);
    position: relative;
    transition: all 0.3s ease;
    min-width: 180px;
    flex: 1;
    max-width: 300px;
    opacity: 1;
    visibility: visible;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grass-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(92, 184, 92, 0.1);
    border-color: var(--grass-green);
    box-shadow: 
        0 5px 15px rgba(92, 184, 92, 0.2),
        inset 0 0 10px rgba(92, 184, 92, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-item:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-item:nth-child(4) .stat-icon {
    animation-delay: 1s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--grass-green);
    text-shadow: 
        3px 3px 0 rgba(0, 0, 0, 0.5),
        0 0 20px var(--grass-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.stat-divider {
    width: 3px;
    min-width: 3px;
    flex-shrink: 0;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--grass-green),
        transparent
    );
    position: relative;
    align-self: stretch;
}

.stat-divider::before,
.stat-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--grass-green);
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 0 0 10px var(--grass-green);
}

.stat-divider::before {
    top: 0;
}

.stat-divider::after {
    bottom: 0;
}

/* Feature Badges */
.feature-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease-out 1.1s backwards;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(92, 184, 92, 0.3);
    border-radius: 0;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(92, 184, 92, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge:hover {
    border-color: var(--grass-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(92, 184, 92, 0.3);
}

.badge-emoji {
    font-size: 1.5rem;
    animation: badgeRotate 10s linear infinite;
}

.badge:nth-child(2) .badge-emoji {
    animation-delay: 3s;
}

.badge:nth-child(3) .badge-emoji {
    animation-delay: 6s;
}

@keyframes badgeRotate {
    0%, 90% {
        transform: rotate(0deg);
    }
    95% {
        transform: rotate(20deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.badge-text {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Particle System - Sparkles */
.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 15;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    box-shadow: 
        0 0 10px var(--grass-green),
        0 0 20px var(--diamond-blue),
        0 0 30px var(--gold-yellow);
    animation: sparkleFloat 8s ease-in-out infinite;
    opacity: 0;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    top: 60%;
    left: 25%;
    animation-delay: 2s;
}

.sparkle:nth-child(4) {
    top: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

.sparkle:nth-child(5) {
    bottom: 30%;
    left: 40%;
    animation-delay: 3s;
}

.sparkle:nth-child(6) {
    top: 70%;
    right: 30%;
    animation-delay: 2.5s;
}

.sparkle:nth-child(7) {
    top: 50%;
    left: 60%;
    animation-delay: 4s;
}

.sparkle:nth-child(8) {
    bottom: 40%;
    right: 15%;
    animation-delay: 3.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    20% {
        opacity: 0.8;
        transform: translateY(-40px) scale(1.5);
    }
    30% {
        opacity: 0;
        transform: translateY(-60px) scale(0.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
    }
    
    .hero-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .title-container {
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0;
    }
    
    .stat-item {
        width: 100%;
        padding: 1.5rem;
        border-left: none;
        border-right: none;
    }
    
    .stat-item:first-child {
        border-top: 3px solid rgba(92, 184, 92, 0.3);
    }
    
    .stat-item:last-child {
        border-bottom: 3px solid rgba(92, 184, 92, 0.3);
    }
    
    .stat-divider {
        display: none;
    }
    
    .feature-badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 0.6rem 1.2rem;
    }
    
    .block {
        width: 50px;
        height: 50px;
    }
    
    .block::before,
    .block::after {
        width: 50px;
        height: 50px;
    }
    
    .block::before {
        transform: translateZ(25px);
    }
    
    .block::after {
        transform: rotateX(90deg) translateZ(25px);
    }
    
    .ground-layer {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .pixel-text {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
    }
}
