* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --minecraft-green: #7CB342;
    --minecraft-dark-green: #558B2F;
    --minecraft-light-green: #AED581;
    --minecraft-grass: #9CCC65;
    --minecraft-dirt: #8D6E63;
    --minecraft-stone: #78909C;
    --minecraft-sky: #87CEEB;
    --dark: #0A0E27;
    --darker: #060919;
    --light: #F8F9FA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.minecraft-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, #87CEEB 0%, #7CB342 40%, #558B2F 60%, #8D6E63 100%);
    opacity: 0.3;
    z-index: 0;
}

.minecraft-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 32px, rgba(0, 0, 0, 0.03) 32px, rgba(0, 0, 0, 0.03) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 32px, rgba(0, 0, 0, 0.03) 32px, rgba(0, 0, 0, 0.03) 64px);
    z-index: 1;
}

/* Navbar */
.navbar {
    background: rgba(85, 139, 47, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--minecraft-dark-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.logo svg {
    filter: drop-shadow(0 0 10px rgba(124, 179, 66, 0.7));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.nav-menu a:hover {
    background: rgba(124, 179, 66, 0.3);
    color: var(--minecraft-light-green);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero-visual {
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--minecraft-green);
    box-shadow: 0 10px 40px rgba(124, 179, 66, 0.4);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--minecraft-green);
    text-shadow: 
        3px 3px 0px var(--minecraft-dark-green),
        0 0 20px rgba(124, 179, 66, 0.5);
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.badge {
    background: rgba(124, 179, 66, 0.2);
    border: 2px solid var(--minecraft-green);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(124, 179, 66, 0.2);
}

.badge-icon {
    font-size: 1.25rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--minecraft-green);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    border: 3px solid var(--minecraft-dark-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.4);
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 179, 66, 0.6);
    background: var(--minecraft-light-green);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--minecraft-green);
    text-shadow: 2px 2px 0px var(--minecraft-dark-green);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ddd;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #ccc;
    border-bottom: 1px solid rgba(124, 179, 66, 0.2);
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 3px solid var(--minecraft-green);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(85, 139, 47, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(124, 179, 66, 0.3);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--minecraft-green);
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid var(--minecraft-green);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 179, 66, 0.5);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: rgba(85, 139, 47, 0.1);
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.download-tile {
    max-width: 500px;
    margin: 0 auto;
}

.download-card {
    background: rgba(10, 14, 39, 0.9);
    border: 3px solid var(--minecraft-green);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(124, 179, 66, 0.4);
}

.download-card.featured {
    border-width: 4px;
}

.platform-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--minecraft-green);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--minecraft-dark-green);
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.platform-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 15px rgba(124, 179, 66, 0.5));
}

.download-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--minecraft-green);
}

.version-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--darker);
    border: 2px solid rgba(124, 179, 66, 0.3);
    border-radius: 8px;
}

.version-info span {
    font-size: 0.95rem;
    color: #ccc;
    padding: 0.5rem;
}

.download-btn {
    display: block;
    background: var(--minecraft-green);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    border: 3px solid var(--minecraft-dark-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.4);
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.6);
    background: var(--minecraft-light-green);
}

/* FAQ Section */
.faq-section { padding: 80px 0; }

/* Плиточная сетка FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.faq-item {
    background: rgba(10, 14, 39, 0.9);
    border: 3px solid var(--minecraft-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.25);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 179, 66, 0.35);
    border-color: var(--minecraft-light-green);
}

.faq-item.active {
    border-color: var(--minecraft-light-green);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.25rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--minecraft-light-green);
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--minecraft-green);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--minecraft-green);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    color: #d7e6d7;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: rgba(85, 139, 47, 0.2);
    border-top: 3px solid var(--minecraft-green);
    padding: 2rem;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .features-grid,
    .faq-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .faq-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

