* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --grass: #7CB342;
    --dirt: #8D6E63;
    --stone: #78909C;
    --dark: #1a1a1a;
    --light: #f5f5f5;
}

body {
    font-family: 'Courier New', monospace;
    color: var(--light);
    background: var(--dark);
}

.pixel-text {
    image-rendering: pixelated;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 4px solid var(--grass);
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--grass);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--grass);
}

.lang-switcher {
    background: var(--grass);
    color: var(--dark);
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
}

.lang-switcher:hover {
    background: #9CCC65;
    transform: scale(1.05);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('home1.png');
    transition: opacity 3s ease-in-out;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--grass);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.server-ip {
    background: rgba(0,0,0,0.8);
    padding: 20px;
    border: 3px solid var(--grass);
    border-radius: 15px;
    margin: 30px auto;
    max-width: 400px;
    font-size: 1.2rem;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.3);
}

.server-ip:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(124, 179, 66, 0.5);
    border-color: #9CCC65;
}

.server-ip code {
    color: var(--grass);
    font-size: 1.5rem;
    display: block;
    margin-top: 10px;
    cursor: pointer;
    transition: color 0.3s;
}

.server-ip code:hover {
    color: #9CCC65;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--grass), #9CCC65);
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border: 4px solid var(--dark);
    border-radius: 10px;
    transition: all 0.4s;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.cta-btn::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;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, #9CCC65, var(--grass));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

section {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--grass);
}

.features {
    background: var(--stone);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--dark);
    padding: 40px;
    border: 4px solid var(--grass);
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(124, 179, 66, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.4);
    border-color: #9CCC65;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(124, 179, 66, 0.5));
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--grass);
    margin-bottom: 10px;
}

.stats {
    background: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-box {
    background: var(--dirt);
    padding: 40px;
    border: 4px solid var(--grass);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: var(--grass);
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
}

.join {
    background: var(--stone);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    background: var(--dark);
    padding: 30px;
    border: 4px solid var(--grass);
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    transition: all 0.4s;
    position: relative;
}

.step:hover {
    transform: translateY(-5px);
    border-color: #9CCC65;
    box-shadow: 0 10px 25px rgba(124, 179, 66, 0.3);
}

.step-number {
    font-size: 3rem;
    color: var(--grass);
    font-weight: bold;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.step:hover .step-number {
    transform: scale(1.2);
}

footer {
    background: var(--dark);
    border-top: 4px solid var(--grass);
    text-align: center;
    padding: 30px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
}
