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

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', 'Courier New', monospace;
    line-height: 1.6;
    color: #00ff00;
    background: #000000;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow-x: hidden;
}

/* Import Pixel Font */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000080;
    border-bottom: 4px solid #00ff00;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 0 #00ff00;
    min-height: 70px;
}

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

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border: 2px solid #00ff00;
    background: #000000;
    padding: 4px;
    filter: drop-shadow(2px 2px 0 #000000);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 2px 2px 0 #000000, 4px 4px 0 #00ff00;
    letter-spacing: 2px;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #00ff00;
    filter: blur(4px);
    opacity: 0.3;
    z-index: -1;
}

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

.nav-link {
    text-decoration: none;
    color: #00ff00;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 2px 2px 0 #00ff00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 4px;
    background: #00ff00;
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 4px;
    background: #00ff00;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #000000;
    overflow: hidden;
    border: 8px solid #00ff00;
    margin: 8px;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: 
        radial-gradient(2px 2px at 20px 30px, #00ff00, transparent),
        radial-gradient(2px 2px at 40px 70px, #00ff00, transparent),
        radial-gradient(1px 1px at 90px 40px, #00ff00, transparent),
        radial-gradient(1px 1px at 130px 80px, #00ff00, transparent),
        radial-gradient(2px 2px at 160px 30px, #00ff00, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: starfield 20s linear infinite;
}

@keyframes starfield {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: #00ff00;
    animation: float 6s ease-in-out infinite;
    image-rendering: pixelated;
}

.shape-1 {
    width: 16px;
    height: 16px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.shape-2 {
    width: 24px;
    height: 24px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.shape-3 {
    width: 12px;
    height: 12px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-4 {
    width: 20px;
    height: 20px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 3rem;
    line-height: 1.3;
    text-shadow: 4px 4px 0 #000000, 8px 8px 0 #00ff00;
    letter-spacing: 2px;
    text-align: center;
}

.gradient-text {
    color: #00ff00 !important;
    text-shadow: 4px 4px 0 #000000, 8px 8px 0 #00ff00 !important;
    transition: color 1s ease, text-shadow 1s ease, filter 1s ease;
}

.hero-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-logo-image {
    width: 200px;
    height: 200px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    border: 6px solid #00ff00;
    background: #000000;
    padding: 12px;
    filter: drop-shadow(6px 6px 0 #000000);
    animation: logoGlow 3s ease-in-out infinite alternate;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    object-fit: cover;
}

@keyframes logoGlow {
    0% { 
        filter: drop-shadow(8px 8px 0 #000000) drop-shadow(0 0 10px #00ff00);
    }
    100% { 
        filter: drop-shadow(8px 8px 0 #000000) drop-shadow(0 0 20px #00ff00) drop-shadow(0 0 30px #00ff00);
    }
}

.hero-tagline {
    font-size: 1.4rem;
    color: #00ffff;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-family: 'Press Start 2P', monospace;
    text-shadow: 3px 3px 0 #000000, 6px 6px 0 #00ffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: taglineGlow 4s ease-in-out infinite alternate;
    text-align: center;
}

@keyframes taglineGlow {
    0% { 
        text-shadow: 3px 3px 0 #000000, 6px 6px 0 #00ffff, 0 0 10px #00ffff;
    }
    100% { 
        text-shadow: 3px 3px 0 #000000, 6px 6px 0 #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #00ff00;
    margin-bottom: 3rem;
    line-height: 1.7;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 0 #000000;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 16px 32px;
    border: 4px solid #00ff00;
    border-radius: 0;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #00ff00;
    color: #000000;
    box-shadow: 4px 4px 0 #000000;
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000000;
}

.btn-secondary {
    background: transparent;
    color: #00ff00;
    border: 4px solid #00ff00;
    box-shadow: 4px 4px 0 #000000;
}

.btn-secondary:hover {
    background: #00ff00;
    color: #000000;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000000;
}

/* Tetris Game Animation */
.tetris-game {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    image-rendering: pixelated;
}

.tetris-block {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    image-rendering: pixelated;
}

/* Tetris blocks with proper layer accumulation and colorful blocks */
/* Layer 1 - Bottom row (stays at bottom) */
.block-1 { top: -20px; left: 40px; background: #00ff00; box-shadow: inset 2px 2px 0 #00ff00, inset -2px -2px 0 #008000; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 0s; }
.block-2 { top: -20px; left: 60px; background: #ff0000; box-shadow: inset 2px 2px 0 #ff0000, inset -2px -2px 0 #800000; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 0.2s; }
.block-3 { top: -20px; left: 80px; background: #0000ff; box-shadow: inset 2px 2px 0 #0000ff, inset -2px -2px 0 #000080; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 0.4s; }
.block-4 { top: -20px; left: 100px; background: #ffff00; box-shadow: inset 2px 2px 0 #ffff00, inset -2px -2px 0 #808000; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 0.6s; }
.block-5 { top: -20px; left: 120px; background: #ff00ff; box-shadow: inset 2px 2px 0 #ff00ff, inset -2px -2px 0 #800080; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 0.8s; }
.block-6 { top: -20px; left: 140px; background: #00ffff; box-shadow: inset 2px 2px 0 #00ffff, inset -2px -2px 0 #008080; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 1.0s; }
.block-7 { top: -20px; left: 160px; background: #ff8000; box-shadow: inset 2px 2px 0 #ff8000, inset -2px -2px 0 #804000; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 1.2s; }
.block-8 { top: -20px; left: 180px; background: #8000ff; box-shadow: inset 2px 2px 0 #8000ff, inset -2px -2px 0 #400080; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 1.4s; }
.block-9 { top: -20px; left: 200px; background: #00ff80; box-shadow: inset 2px 2px 0 #00ff80, inset -2px -2px 0 #008040; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 1.6s; }
.block-10 { top: -20px; left: 220px; background: #ff0080; box-shadow: inset 2px 2px 0 #ff0080, inset -2px -2px 0 #800040; animation: tetrisFallLayer1 12s linear infinite; animation-delay: 1.8s; }

/* Layer 2 - Second row (stays above bottom) */
.block-11 { top: -20px; left: 50px; background: #80ff00; box-shadow: inset 2px 2px 0 #80ff00, inset -2px -2px 0 #408000; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 2s; }
.block-12 { top: -20px; left: 70px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 2.2s; }
.block-13 { top: -20px; left: 90px; background: #4080ff; box-shadow: inset 2px 2px 0 #4080ff, inset -2px -2px 0 #204080; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 2.4s; }
.block-14 { top: -20px; left: 110px; background: #ffff80; box-shadow: inset 2px 2px 0 #ffff80, inset -2px -2px 0 #808040; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 2.6s; }
.block-15 { top: -20px; left: 130px; background: #ff80ff; box-shadow: inset 2px 2px 0 #ff80ff, inset -2px -2px 0 #804080; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 2.8s; }
.block-16 { top: -20px; left: 150px; background: #80ffff; box-shadow: inset 2px 2px 0 #80ffff, inset -2px -2px 0 #408080; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 3.0s; }
.block-17 { top: -20px; left: 170px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 3.2s; }
.block-18 { top: -20px; left: 190px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 3.4s; }
.block-19 { top: -20px; left: 210px; background: #40ff80; box-shadow: inset 2px 2px 0 #40ff80, inset -2px -2px 0 #208040; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 3.6s; }
.block-20 { top: -20px; left: 230px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer2 12s linear infinite; animation-delay: 3.8s; }

/* Layer 3 - Third row (stays above second) */
.block-21 { top: -20px; left: 60px; background: #00ff40; box-shadow: inset 2px 2px 0 #00ff40, inset -2px -2px 0 #008020; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 4s; }
.block-22 { top: -20px; left: 80px; background: #ff4000; box-shadow: inset 2px 2px 0 #ff4000, inset -2px -2px 0 #802000; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 4.2s; }
.block-23 { top: -20px; left: 100px; background: #4000ff; box-shadow: inset 2px 2px 0 #4000ff, inset -2px -2px 0 #200080; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 4.4s; }
.block-24 { top: -20px; left: 120px; background: #ffff40; box-shadow: inset 2px 2px 0 #ffff40, inset -2px -2px 0 #808020; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 4.6s; }
.block-25 { top: -20px; left: 140px; background: #ff40ff; box-shadow: inset 2px 2px 0 #ff40ff, inset -2px -2px 0 #802080; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 4.8s; }
.block-26 { top: -20px; left: 160px; background: #40ffff; box-shadow: inset 2px 2px 0 #40ffff, inset -2px -2px 0 #208080; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 5.0s; }
.block-27 { top: -20px; left: 180px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 5.2s; }
.block-28 { top: -20px; left: 200px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 5.4s; }
.block-29 { top: -20px; left: 220px; background: #40ff40; box-shadow: inset 2px 2px 0 #40ff40, inset -2px -2px 0 #208020; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 5.6s; }
.block-30 { top: -20px; left: 240px; background: #ff4040; box-shadow: inset 2px 2px 0 #ff4040, inset -2px -2px 0 #802020; animation: tetrisFallLayer3 12s linear infinite; animation-delay: 5.8s; }

/* Layer 4 - Fourth row (randomized assignments) */
.block-31 { top: -20px; left: 50px; background: #80ff40; box-shadow: inset 2px 2px 0 #80ff40, inset -2px -2px 0 #408020; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 6s; }
.block-32 { top: -20px; left: 70px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 6.2s; }
.block-33 { top: -20px; left: 90px; background: #4080ff; box-shadow: inset 2px 2px 0 #4080ff, inset -2px -2px 0 #204080; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 6.4s; }
.block-34 { top: -20px; left: 110px; background: #ffff80; box-shadow: inset 2px 2px 0 #ffff80, inset -2px -2px 0 #808040; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 6.6s; }
.block-35 { top: -20px; left: 130px; background: #ff80ff; box-shadow: inset 2px 2px 0 #ff80ff, inset -2px -2px 0 #804080; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 6.8s; }
.block-36 { top: -20px; left: 150px; background: #80ffff; box-shadow: inset 2px 2px 0 #80ffff, inset -2px -2px 0 #408080; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 7.0s; }
.block-37 { top: -20px; left: 170px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 7.2s; }
.block-38 { top: -20px; left: 190px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 7.4s; }
.block-39 { top: -20px; left: 210px; background: #40ff80; box-shadow: inset 2px 2px 0 #40ff80, inset -2px -2px 0 #208040; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 7.6s; }
.block-40 { top: -20px; left: 230px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer4 12s linear infinite; animation-delay: 7.8s; }

/* Layer 5 - Fifth row (randomized assignments) */
.block-41 { top: -20px; left: 60px; background: #00ff40; box-shadow: inset 2px 2px 0 #00ff40, inset -2px -2px 0 #008020; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 8s; }
.block-42 { top: -20px; left: 80px; background: #ff4000; box-shadow: inset 2px 2px 0 #ff4000, inset -2px -2px 0 #802000; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 8.2s; }
.block-43 { top: -20px; left: 100px; background: #4000ff; box-shadow: inset 2px 2px 0 #4000ff, inset -2px -2px 0 #200080; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 8.4s; }
.block-44 { top: -20px; left: 120px; background: #ffff40; box-shadow: inset 2px 2px 0 #ffff40, inset -2px -2px 0 #808020; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 8.6s; }
.block-45 { top: -20px; left: 140px; background: #ff40ff; box-shadow: inset 2px 2px 0 #ff40ff, inset -2px -2px 0 #802080; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 8.8s; }
.block-46 { top: -20px; left: 160px; background: #40ffff; box-shadow: inset 2px 2px 0 #40ffff, inset -2px -2px 0 #208080; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 9.0s; }
.block-47 { top: -20px; left: 180px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 9.2s; }
.block-48 { top: -20px; left: 200px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 9.4s; }
.block-49 { top: -20px; left: 220px; background: #40ff40; box-shadow: inset 2px 2px 0 #40ff40, inset -2px -2px 0 #208020; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 9.6s; }
.block-50 { top: -20px; left: 240px; background: #ff4040; box-shadow: inset 2px 2px 0 #ff4040, inset -2px -2px 0 #802020; animation: tetrisFallLayer5 12s linear infinite; animation-delay: 9.8s; }

/* Layer 6 - Sixth row (randomized assignments) */
.block-51 { top: -20px; left: 50px; background: #80ff00; box-shadow: inset 2px 2px 0 #80ff00, inset -2px -2px 0 #408000; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 10s; }
.block-52 { top: -20px; left: 70px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 10.2s; }
.block-53 { top: -20px; left: 90px; background: #4080ff; box-shadow: inset 2px 2px 0 #4080ff, inset -2px -2px 0 #204080; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 10.4s; }
.block-54 { top: -20px; left: 110px; background: #ffff80; box-shadow: inset 2px 2px 0 #ffff80, inset -2px -2px 0 #808040; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 10.6s; }
.block-55 { top: -20px; left: 130px; background: #ff80ff; box-shadow: inset 2px 2px 0 #ff80ff, inset -2px -2px 0 #804080; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 10.8s; }
.block-56 { top: -20px; left: 150px; background: #80ffff; box-shadow: inset 2px 2px 0 #80ffff, inset -2px -2px 0 #408080; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 11.0s; }
.block-57 { top: -20px; left: 170px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 11.2s; }
.block-58 { top: -20px; left: 190px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 11.4s; }
.block-59 { top: -20px; left: 210px; background: #40ff80; box-shadow: inset 2px 2px 0 #40ff80, inset -2px -2px 0 #208040; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 11.6s; }
.block-60 { top: -20px; left: 230px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer6 12s linear infinite; animation-delay: 11.8s; }

/* Layer 7 - Seventh row (randomized assignments) */
.block-61 { top: -20px; left: 60px; background: #00ff40; box-shadow: inset 2px 2px 0 #00ff40, inset -2px -2px 0 #008020; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 12s; }
.block-62 { top: -20px; left: 80px; background: #ff4000; box-shadow: inset 2px 2px 0 #ff4000, inset -2px -2px 0 #802000; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 12.2s; }
.block-63 { top: -20px; left: 100px; background: #4000ff; box-shadow: inset 2px 2px 0 #4000ff, inset -2px -2px 0 #200080; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 12.4s; }
.block-64 { top: -20px; left: 120px; background: #ffff40; box-shadow: inset 2px 2px 0 #ffff40, inset -2px -2px 0 #808020; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 12.6s; }
.block-65 { top: -20px; left: 140px; background: #ff40ff; box-shadow: inset 2px 2px 0 #ff40ff, inset -2px -2px 0 #802080; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 12.8s; }
.block-66 { top: -20px; left: 160px; background: #40ffff; box-shadow: inset 2px 2px 0 #40ffff, inset -2px -2px 0 #208080; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 13.0s; }
.block-67 { top: -20px; left: 180px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 13.2s; }
.block-68 { top: -20px; left: 200px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 13.4s; }
.block-69 { top: -20px; left: 220px; background: #40ff40; box-shadow: inset 2px 2px 0 #40ff40, inset -2px -2px 0 #208020; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 13.6s; }
.block-70 { top: -20px; left: 240px; background: #ff4040; box-shadow: inset 2px 2px 0 #ff4040, inset -2px -2px 0 #802020; animation: tetrisFallLayer7 12s linear infinite; animation-delay: 13.8s; }

/* Layer 8 - Eighth row (randomized assignments) */
.block-71 { top: -20px; left: 50px; background: #80ff00; box-shadow: inset 2px 2px 0 #80ff00, inset -2px -2px 0 #408000; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 14s; }
.block-72 { top: -20px; left: 70px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 14.2s; }
.block-73 { top: -20px; left: 90px; background: #4080ff; box-shadow: inset 2px 2px 0 #4080ff, inset -2px -2px 0 #204080; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 14.4s; }
.block-74 { top: -20px; left: 110px; background: #ffff80; box-shadow: inset 2px 2px 0 #ffff80, inset -2px -2px 0 #808040; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 14.6s; }
.block-75 { top: -20px; left: 130px; background: #ff80ff; box-shadow: inset 2px 2px 0 #ff80ff, inset -2px -2px 0 #804080; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 14.8s; }
.block-76 { top: -20px; left: 150px; background: #80ffff; box-shadow: inset 2px 2px 0 #80ffff, inset -2px -2px 0 #408080; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 15.0s; }
.block-77 { top: -20px; left: 170px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 15.2s; }
.block-78 { top: -20px; left: 190px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 15.4s; }
.block-79 { top: -20px; left: 210px; background: #40ff80; box-shadow: inset 2px 2px 0 #40ff80, inset -2px -2px 0 #208040; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 15.6s; }
.block-80 { top: -20px; left: 230px; background: #ff4080; box-shadow: inset 2px 2px 0 #ff4080, inset -2px -2px 0 #802040; animation: tetrisFallLayer8 12s linear infinite; animation-delay: 15.8s; }

/* Layer 9 - Ninth row (randomized assignments) */
.block-81 { top: -20px; left: 60px; background: #00ff40; box-shadow: inset 2px 2px 0 #00ff40, inset -2px -2px 0 #008020; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 16s; }
.block-82 { top: -20px; left: 80px; background: #ff4000; box-shadow: inset 2px 2px 0 #ff4000, inset -2px -2px 0 #802000; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 16.2s; }
.block-83 { top: -20px; left: 100px; background: #4000ff; box-shadow: inset 2px 2px 0 #4000ff, inset -2px -2px 0 #200080; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 16.4s; }
.block-84 { top: -20px; left: 120px; background: #ffff40; box-shadow: inset 2px 2px 0 #ffff40, inset -2px -2px 0 #808020; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 16.6s; }
.block-85 { top: -20px; left: 140px; background: #ff40ff; box-shadow: inset 2px 2px 0 #ff40ff, inset -2px -2px 0 #802080; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 16.8s; }
.block-86 { top: -20px; left: 160px; background: #40ffff; box-shadow: inset 2px 2px 0 #40ffff, inset -2px -2px 0 #208080; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 17.0s; }
.block-87 { top: -20px; left: 180px; background: #ff8040; box-shadow: inset 2px 2px 0 #ff8040, inset -2px -2px 0 #804020; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 17.2s; }
.block-88 { top: -20px; left: 200px; background: #8040ff; box-shadow: inset 2px 2px 0 #8040ff, inset -2px -2px 0 #402080; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 17.4s; }
.block-89 { top: -20px; left: 220px; background: #40ff40; box-shadow: inset 2px 2px 0 #40ff40, inset -2px -2px 0 #208020; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 17.6s; }
.block-90 { top: -20px; left: 240px; background: #ff4040; box-shadow: inset 2px 2px 0 #ff4040, inset -2px -2px 0 #802020; animation: tetrisFallLayer9 12s linear infinite; animation-delay: 17.8s; }

@keyframes tetrisFallLayer1 {
    0% { top: -20px; opacity: 1; }
    20% { top: 360px; opacity: 1; }
    80% { top: 360px; opacity: 1; }
    100% { top: 360px; opacity: 0; }
}

@keyframes tetrisFallLayer2 {
    0% { top: -20px; opacity: 1; }
    20% { top: 340px; opacity: 1; }
    80% { top: 340px; opacity: 1; }
    100% { top: 340px; opacity: 0; }
}

@keyframes tetrisFallLayer3 {
    0% { top: -20px; opacity: 1; }
    20% { top: 320px; opacity: 1; }
    80% { top: 320px; opacity: 1; }
    100% { top: 320px; opacity: 0; }
}

@keyframes tetrisFallLayer4 {
    0% { top: -20px; opacity: 1; }
    20% { top: 300px; opacity: 1; }
    80% { top: 300px; opacity: 1; }
    100% { top: 300px; opacity: 0; }
}

@keyframes tetrisFallLayer5 {
    0% { top: -20px; opacity: 1; }
    20% { top: 280px; opacity: 1; }
    80% { top: 280px; opacity: 1; }
    100% { top: 280px; opacity: 0; }
}

@keyframes tetrisFallLayer6 {
    0% { top: -20px; opacity: 1; }
    20% { top: 260px; opacity: 1; }
    80% { top: 260px; opacity: 1; }
    100% { top: 260px; opacity: 0; }
}

@keyframes tetrisFallLayer7 {
    0% { top: -20px; opacity: 1; }
    20% { top: 240px; opacity: 1; }
    80% { top: 240px; opacity: 1; }
    100% { top: 240px; opacity: 0; }
}

@keyframes tetrisFallLayer8 {
    0% { top: -20px; opacity: 1; }
    20% { top: 220px; opacity: 1; }
    80% { top: 220px; opacity: 1; }
    100% { top: 220px; opacity: 0; }
}

@keyframes tetrisFallLayer9 {
    0% { top: -20px; opacity: 1; }
    20% { top: 200px; opacity: 1; }
    80% { top: 200px; opacity: 1; }
    100% { top: 200px; opacity: 0; }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #111111;
    border: 8px solid #00ff00;
    margin: 8px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #00ff00;
    text-shadow: 4px 4px 0 #000000, 8px 8px 0 #00ff00;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #000000;
    padding: 2.5rem;
    border: 4px solid #00ff00;
    text-align: center;
    box-shadow: 8px 8px 0 #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #00ff00;
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0 #000000;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: #00ff00;
    border: 4px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000000;
    image-rendering: pixelated;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00ff00;
    text-shadow: 2px 2px 0 #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: #00ff00;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #000000;
    border: 8px solid #00ff00;
    margin: 8px;
    overflow-x: hidden;
    width: calc(100% - 16px);
    max-width: 100vw;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about-text p {
    font-size: 1rem;
    color: #00ff00;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: 'Courier New', monospace;
    text-shadow: 1px 1px 0 #000000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    hyphens: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
}

.stat {
    text-align: center;
    border: 4px solid #00ff00;
    padding: 1rem;
    background: #111111;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #ffff00;
    text-shadow: 2px 2px 0 #000000;
    font-family: 'Press Start 2P', monospace;
}

.stat-label {
    font-size: 0.7rem;
    color: #00ff00;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Code Block */
/* Code Block */
.code-block {
    background: #000000;
    border: 4px solid #00ff00;
    overflow: hidden;
    box-shadow: 8px 8px 0 #000000;
    max-width: 100%;
}

.code-header {
    background: #111111;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 4px solid #00ff00;
}

.code-dot {
    width: 12px;
    height: 12px;
    border: 2px solid #000000;
}

.code-dot.red { background: #ff0000; }
.code-dot.yellow { background: #ffff00; }
.code-dot.green { background: #00ff00; }

.code-content {
    padding: 2rem;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: #000000;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.keyword { color: #ff00ff; }
.module { color: #00ffff; }
.variable { color: #00ff00; }
.class { color: #ffff00; }
.function { color: #00ffff; }
.string { color: #ff8000; }

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #111111;
    color: #00ff00;
    border: 8px solid #00ff00;
    margin: 8px;
    overflow-x: hidden;
}

.contact .section-title {
    color: #00ff00;
    -webkit-text-fill-color: #00ff00;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    border: 2px solid #00ff00;
    padding: 1rem;
    background: #000000;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.contact-item i {
    width: 32px;
    height: 32px;
    background: #00ff00;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 4px solid #00ff00;
    border-radius: 0;
    background: #000000;
    color: #00ff00;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #00ff00;
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffff00;
    box-shadow: 4px 4px 0 #000000;
}

/* Footer */
.footer {
    background: #000000;
    color: #00ff00;
    padding: 3rem 0 1rem;
    border: 8px solid #00ff00;
    margin: 8px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 2px 2px 0 #000000;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #00ff00;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #ffff00;
    text-shadow: 2px 2px 0 #000000;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: #00ff00;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #ffff00;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 #000000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 4px solid #00ff00;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        min-height: 60px;
    }
    
    .nav-container {
        padding: 0 10px;
        min-height: 60px;
    }
    
    .logo-image {
        width: 32px;
        height: 32px;
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
        flex-shrink: 0;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-logo-image {
        width: 150px;
        height: 150px;
        padding: 12px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #000000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 255, 0, 0.2);
        padding: 2rem 0;
        border: 4px solid #00ff00;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .neural-network {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .stat {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
        width: 100vw;
    }
    
    .container {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .navbar {
        min-height: 50px;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 8px;
        min-height: 50px;
        overflow-x: hidden;
    }
    
    .logo-image {
        width: 28px;
        height: 28px;
        margin-right: 6px;
        flex-shrink: 0;
    }
    
    .logo-text {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }
    
    .hero {
        padding-top: 50px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero-logo-image {
        width: 120px;
        height: 120px;
        padding: 8px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .about {
        margin: 0;
        padding: 40px 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .about-text {
        max-width: 100%;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .about-visual {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .about-text p {
        font-size: 0.7rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
        padding: 0;
        width: 100%;
    }
    
    .contact {
        margin: 4px;
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
        padding: 0.6rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .contact-item span {
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: calc(100% - 40px);
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .footer {
        margin: 4px;
    }
    
    .footer-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links a {
        font-size: 0.7rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
