* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --minecraft-green: #7CB342;
    --minecraft-dark-green: #558B2F;
    --minecraft-light-green: #AED581;
    --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 */
.crystal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(124, 179, 66, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(85, 139, 47, 0.1) 0%, transparent 50%);
    z-index: 0;
}

#crystalCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

/* Navbar */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 179, 66, 0.3);
}

.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;
}

.logo svg {
    filter: drop-shadow(0 0 15px rgba(124, 179, 66, 0.7));
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--minecraft-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-icon {
    margin-bottom: 2rem;
    animation: floatCrystal 4s ease-in-out infinite;
}

@keyframes floatCrystal {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--minecraft-green) 0%, var(--minecraft-dark-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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.1);
    border: 1px solid var(--minecraft-green);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    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: linear-gradient(135deg, var(--minecraft-green), var(--minecraft-dark-green));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    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);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 179, 66, 0.6);
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--minecraft-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.1);
}

/* Game Preview */
.game-preview {
    background: linear-gradient(135deg, #0A0E27 0%, #1a1f3a 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(124, 179, 66, 0.3);
    border: 2px solid var(--minecraft-green);
}

.game-screen {
    background: #060919;
    border-radius: 10px;
    padding: 1.5rem;
}

.game-hud {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hud-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(124, 179, 66, 0.1);
    border: 1px solid var(--minecraft-green);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.hud-item span:first-child {
    font-size: 1.2rem;
}

.game-mode-display {
    text-align: center;
    padding: 2rem;
    background: rgba(124, 179, 66, 0.05);
    border: 2px solid var(--minecraft-green);
    border-radius: 10px;
}

.mode-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--minecraft-green);
    margin-bottom: 0.5rem;
}

.mode-players {
    color: #aaa;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(10, 14, 39, 0.5);
}

.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: 1px solid rgba(124, 179, 66, 0.2);
    border-radius: 15px;
    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;
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.download-card {
    background: rgba(10, 14, 39, 0.8);
    border: 2px solid rgba(124, 179, 66, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.download-card:hover {
    border-color: var(--minecraft-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 179, 66, 0.3);
}

.download-card.featured {
    border-color: var(--minecraft-green);
    border-width: 3px;
}

.platform-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--minecraft-green), var(--minecraft-dark-green));
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 10px rgba(124, 179, 66, 0.3));
}

.download-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.version-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #888;
}

.download-btn {
    display: block;
    background: linear-gradient(135deg, var(--minecraft-green), var(--minecraft-dark-green));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(124, 179, 66, 0.4);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.6);
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--minecraft-green);
    color: var(--minecraft-green);
}

.download-btn.secondary:hover {
    background: var(--minecraft-green);
    color: white;
}

.download-link {
    display: inline-block;
    color: var(--minecraft-green);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.download-link:hover {
    color: var(--minecraft-light-green);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: rgba(10, 14, 39, 0.3);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: rgba(10, 14, 39, 0.8);
    border-left: 4px solid var(--minecraft-green);
    padding: 1.5rem;
    border-radius: 10px;
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--minecraft-green);
}

.faq-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(124, 179, 66, 0.2);
    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: 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,
    .download-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
