* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: linear-gradient(135deg, #1a472a 0%, #2d5016 50%, #1a472a 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px);
    background-size: 20px 20px;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 4px solid #1a1a1a;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 8px rgba(0,0,0,0.5);
    padding: 28px 30px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}


.logo-block {
    position: relative;
}

.title {
    font-size: 1.75rem;
    color: #4caf50;
    text-shadow: 
        2px 2px 0px #1a1a1a;
    margin: 0;
    letter-spacing: 1.5px;
    line-height: 1.4;
    font-weight: normal;
}

.title-subtitle {
    display: inline;
    font-size: 0.7rem;
    color: #8bc34a;
    text-shadow: 
        1px 1px 0px #1a1a1a;
    margin-left: 12px;
    letter-spacing: 1.2px;
    font-weight: normal;
    opacity: 0.85;
    vertical-align: baseline;
}

.subtitle {
    font-size: 0.9rem;
    color: #8bc34a;
    text-shadow: 2px 2px 0px #1a1a1a;
    opacity: 0.9;
    font-weight: normal;
    margin: 0;
}

/* Navigation */
.nav-block {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    padding: 12px 20px;
    background: linear-gradient(145deg, #4a5f4a, #3a4f3a);
    border: 3px solid #1a1a1a;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover {
    background: linear-gradient(145deg, #5a7f5a, #4a6f4a);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.6);
}

.nav-btn.active {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    color: #ffffff;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 4px 8px rgba(76, 175, 80, 0.4),
        0 0 15px rgba(76, 175, 80, 0.3);
}

.nav-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

/* Content */
.content {
    position: relative;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-block {
    background: linear-gradient(145deg, #2d4a2d, #1f3a1f);
    border: 4px solid #1a1a1a;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 8px rgba(0,0,0,0.5);
}

.block-title {
    font-size: 1.5rem;
    color: #4caf50;
    text-shadow: 2px 2px 0px #1a1a1a;
    margin-bottom: 15px;
}

.block-text {
    font-size: 0.7rem;
    line-height: 1.8;
    color: #c8e6c9;
    text-shadow: 1px 1px 0px #1a1a1a;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.feature-card {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 20px rgba(76, 175, 80, 0.3);
    border-color: #4caf50;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 0.9rem;
    color: #4caf50;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px #1a1a1a;
}

.feature-card p {
    font-size: 0.6rem;
    color: #c8e6c9;
    line-height: 1.6;
    text-shadow: 1px 1px 0px #1a1a1a;
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

.feature-item:hover {
    transform: translateX(5px);
    border-color: #4caf50;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.6);
}

.feature-name {
    font-size: 0.8rem;
    color: #4caf50;
    text-shadow: 1px 1px 0px #1a1a1a;
}

.feature-desc {
    font-size: 0.6rem;
    color: #c8e6c9;
    text-shadow: 1px 1px 0px #1a1a1a;
}

/* Download Steps */
.download-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
}

.step-number {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    border: 3px solid #1a1a1a;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1rem;
    color: #4caf50;
    margin-bottom: 8px;
    text-shadow: 1px 1px 0px #1a1a1a;
}

.step-content p {
    font-size: 0.7rem;
    color: #c8e6c9;
    line-height: 1.6;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px #1a1a1a;
}

.download-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    padding: 12px 24px;
    background: linear-gradient(145deg, #4caf50, #388e3c);
    border: 3px solid #1a1a1a;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    display: inline-block;
    text-decoration: none;
}

.download-btn:hover {
    background: linear-gradient(145deg, #66bb6a, #4caf50);
    transform: translateY(-2px);
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 4px 8px rgba(0,0,0,0.6),
        0 0 15px rgba(76, 175, 80, 0.4);
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

/* Download Hero Block */
.download-hero-block {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    border: 4px solid #1a1a1a;
    padding: 40px 30px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 8px 16px rgba(0,0,0,0.6),
        0 0 30px rgba(76, 175, 80, 0.5),
        0 0 50px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            inset 0 2px 0 rgba(255,255,255,0.3),
            0 8px 16px rgba(0,0,0,0.6),
            0 0 30px rgba(76, 175, 80, 0.5),
            0 0 50px rgba(76, 175, 80, 0.3);
    }
    50% {
        box-shadow: 
            inset 0 2px 0 rgba(255,255,255,0.4),
            0 10px 20px rgba(0,0,0,0.7),
            0 0 40px rgba(76, 175, 80, 0.7),
            0 0 60px rgba(76, 175, 80, 0.5);
    }
}

.download-hero-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: slide 10s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(20px) translateY(20px);
    }
}

.download-hero-content {
    position: relative;
    z-index: 1;
}

.download-hero-title {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 
        3px 3px 0px #1a1a1a,
        0 0 20px rgba(255,255,255,0.5);
    margin-bottom: 15px;
    animation: glow-title 2s ease-in-out infinite alternate;
}

@keyframes glow-title {
    from {
        text-shadow: 
            3px 3px 0px #1a1a1a,
            0 0 20px rgba(255,255,255,0.5);
    }
    to {
        text-shadow: 
            3px 3px 0px #1a1a1a,
            0 0 30px rgba(255,255,255,0.8),
            0 0 40px rgba(255,255,255,0.6);
    }
}

.download-hero-text {
    font-size: 0.9rem;
    color: #c8e6c9;
    text-shadow: 2px 2px 0px #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-hero-btn {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.2rem;
    padding: 20px 40px;
    background: linear-gradient(145deg, #ffffff, #e0e0e0);
    border: 4px solid #1a1a1a;
    color: #4caf50;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 
        inset 0 3px 0 rgba(255,255,255,0.8),
        inset 0 -3px 0 rgba(0,0,0,0.2),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 20px rgba(255,255,255,0.3);
    text-transform: uppercase;
    text-shadow: 2px 2px 0px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.download-hero-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-hero-btn:hover {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        inset 0 3px 0 rgba(255,255,255,0.9),
        inset 0 -3px 0 rgba(0,0,0,0.2),
        0 10px 20px rgba(0,0,0,0.7),
        0 0 30px rgba(255,255,255,0.5),
        0 0 50px rgba(76, 175, 80, 0.4);
    color: #388e3c;
}

.download-hero-btn:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        inset 0 3px 0 rgba(0,0,0,0.2),
        inset 0 -3px 0 rgba(255,255,255,0.3),
        0 4px 8px rgba(0,0,0,0.6);
}

.download-hero-note {
    font-size: 0.7rem;
    color: #ffffff;
    text-shadow: 1px 1px 0px #1a1a1a;
    margin-top: 20px;
    opacity: 0.9;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.info-card {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 20px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
}

.info-card h3 {
    font-size: 0.9rem;
    color: #4caf50;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0px #1a1a1a;
}

.info-card p {
    font-size: 0.7rem;
    color: #c8e6c9;
    line-height: 1.6;
    text-shadow: 1px 1px 0px #1a1a1a;
}

/* Footer */
.footer {
    margin-top: 30px;
    background: linear-gradient(145deg, #1f3a1f, #1a2a1a);
    border: 4px solid #1a1a1a;
    padding: 20px;
    text-align: center;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 8px rgba(0,0,0,0.5);
}

.footer-content p {
    font-size: 0.7rem;
    color: #8bc34a;
    text-shadow: 1px 1px 0px #1a1a1a;
    margin-bottom: 5px;
}

.footer-sub {
    font-size: 0.6rem !important;
    opacity: 0.7;
}

/* Stats Block */
.stats-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    border: 3px solid #1a1a1a;
    padding: 20px;
    text-align: center;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 20px rgba(76, 175, 80, 0.4);
}

.stat-number {
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 2px 2px 0px #1a1a1a;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.7rem;
    color: #c8e6c9;
    text-shadow: 1px 1px 0px #1a1a1a;
}

/* Highlight Block */
.highlight-block {
    background: linear-gradient(145deg, #4a6f4a, #3a5f3a) !important;
    border-color: #4caf50 !important;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 4px 8px rgba(0,0,0,0.5),
        0 0 15px rgba(76, 175, 80, 0.3) !important;
}

.highlight-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 1rem;
    color: #4caf50;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #1a1a1a;
}

/* Module Categories */
.module-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.module-category {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 20px;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 8px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.module-category:hover {
    transform: translateY(-5px);
    border-color: #4caf50;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 15px rgba(76, 175, 80, 0.3);
}

.category-title {
    font-size: 1rem;
    color: #4caf50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a1a1a;
}

.module-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.module-item {
    background: linear-gradient(145deg, #2d4a2d, #1f3a1f);
    border: 2px solid #1a1a1a;
    padding: 8px 12px;
    text-align: center;
    font-size: 0.6rem;
    color: #8bc34a;
    text-shadow: 1px 1px 0px #1a1a1a;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 1px 2px rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.module-item:hover {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border-color: #4caf50;
    transform: scale(1.05);
    color: #4caf50;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 2px 4px rgba(0,0,0,0.4),
        0 0 8px rgba(76, 175, 80, 0.2);
}

/* Versions Grid */
.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.version-card {
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    border: 3px solid #1a1a1a;
    padding: 20px;
    text-align: center;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.3s;
}

.version-card:hover {
    transform: translateY(-5px) rotate(1deg);
    border-color: #4caf50;
    box-shadow: 
        inset 0 2px 0 rgba(255,255,255,0.2),
        0 6px 12px rgba(0,0,0,0.6),
        0 0 15px rgba(76, 175, 80, 0.3);
}

.version-number {
    font-size: 1.5rem;
    color: #4caf50;
    text-shadow: 2px 2px 0px #1a1a1a;
    margin-bottom: 10px;
    font-weight: bold;
}

.version-status {
    font-size: 0.7rem;
    color: #8bc34a;
    text-shadow: 1px 1px 0px #1a1a1a;
    margin-bottom: 8px;
}

.version-desc {
    font-size: 0.6rem;
    color: #c8e6c9;
    text-shadow: 1px 1px 0px #1a1a1a;
    opacity: 0.8;
}

/* Keybind List */
.keybind-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.keybind-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(145deg, #2d4a2d, #1f3a1f);
    border: 2px solid #1a1a1a;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 1px 2px rgba(0,0,0,0.3);
}

.keybind-key {
    font-size: 0.8rem;
    color: #4caf50;
    text-shadow: 1px 1px 0px #1a1a1a;
    background: linear-gradient(145deg, #3a5f3a, #2d4a2d);
    padding: 6px 12px;
    border: 2px solid #1a1a1a;
    border-radius: 4px;
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 1px 2px rgba(0,0,0,0.3);
}

.keybind-desc {
    font-size: 0.7rem;
    color: #c8e6c9;
    text-shadow: 1px 1px 0px #1a1a1a;
    flex: 1;
    text-align: right;
    margin-left: 15px;
}

/* Step Note */
.step-note {
    font-size: 0.6rem;
    color: #8bc34a;
    text-shadow: 1px 1px 0px #1a1a1a;
    margin-top: 8px;
    font-style: italic;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 1.3rem;
    }
    
    .title-subtitle {
        font-size: 0.6rem;
        margin-left: 8px;
        display: inline;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-block {
        grid-template-columns: 1fr;
    }
    
    .module-categories {
        grid-template-columns: 1fr;
    }
    
    .module-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .versions-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .highlight-block {
        flex-direction: column;
        text-align: center;
    }
    
    .keybind-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .keybind-desc {
        text-align: left;
        margin-left: 0;
    }
    
    .download-hero-title {
        font-size: 1.3rem;
    }
    
    .download-hero-btn {
        font-size: 0.9rem;
        padding: 15px 25px;
    }
    
    .download-hero-text {
        font-size: 0.7rem;
    }
}

