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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6741 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

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

.nav-list a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #7ed321;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #7ed321;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #7ed321;
    color: white;
}

.btn-primary:hover {
    background: #6bc210;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(126, 211, 33, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.btn-download {
    background: #ff6b35;
    color: white;
    font-size: 1.2rem;
    padding: 15px 30px;
}

.btn-download:hover {
    background: #e55a2e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* 3D Minecraft Cube Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.minecraft-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 10s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(45deg, #8B4513 25%, transparent 25%),
        linear-gradient(-45deg, #8B4513 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #8B4513 75%),
        linear-gradient(-45deg, transparent 75%, #8B4513 75%);
}

.cube-front { 
    background-color: #90EE90;
    transform: rotateY(0deg) translateZ(100px); 
}
.cube-back { 
    background-color: #90EE90;
    transform: rotateY(180deg) translateZ(100px); 
}
.cube-right { 
    background-color: #32CD32;
    transform: rotateY(90deg) translateZ(100px); 
}
.cube-left { 
    background-color: #32CD32;
    transform: rotateY(-90deg) translateZ(100px); 
}
.cube-top { 
    background-color: #228B22;
    transform: rotateX(90deg) translateZ(100px); 
}
.cube-bottom { 
    background-color: #8B4513;
    transform: rotateX(-90deg) translateZ(100px); 
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

/* App Info Table */
.app-info {
    padding: 4rem 0;
    background: white;
}

.app-info-table {
    max-width: 800px;
    margin: 0 auto;
}

.app-info-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.app-info-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.app-info-table tr:last-child td {
    border-bottom: none;
}

.app-info-table td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    width: 30%;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.what-is-minecraft {
    background: white;
}

.what-is-minecraft h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

.what-is-minecraft h3 {
    font-size: 2rem;
    margin: 3rem 0 1rem;
    color: #4a6741;
}

.what-is-minecraft p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Features Section */
.features {
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: #7ed321;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Modded Features */
.modded-features {
    background: white;
}

.modded-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.modded-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #7ed321;
}

.modded-item i {
    font-size: 2rem;
    color: #7ed321;
    margin-top: 0.5rem;
}

.modded-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.modded-item p {
    color: #666;
    line-height: 1.6;
}

/* Game Modes */
.game-modes {
    background: #f8f9fa;
}

.game-modes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

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

.mode-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-5px);
}

.mode-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mode-card:nth-child(1) .mode-icon { color: #e74c3c; }
.mode-card:nth-child(2) .mode-icon { color: #f39c12; }
.mode-card:nth-child(3) .mode-icon { color: #27ae60; }
.mode-card:nth-child(4) .mode-icon { color: #3498db; }
.mode-card:nth-child(5) .mode-icon { color: #9b59b6; }

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.mode-card p {
    color: #666;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.download-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
}

.download-item {
    font-size: 1.1rem;
}

/* Installation Guide */
.installation {
    background: white;
}

.installation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.installation-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.step-number {
    background: #7ed321;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Requirements Table */
.requirements {
    background: #f8f9fa;
}

.requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.requirements-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.requirements-table th {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
}

.requirements-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.requirements-table tr:last-child td {
    border-bottom: none;
}

.requirements-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Pros and Cons */
.pros-cons {
    background: white;
}

.pros-cons h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pros, .cons {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.pros h3 {
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cons h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pros ul, .cons ul {
    list-style: none;
}

.pros li, .cons li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.cons li:before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: white;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2c3e50;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #7ed321;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #7ed321;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7ed321;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #7ed321;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .minecraft-cube {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
    }

    .cube-front, .cube-back { transform: rotateY(0deg) translateZ(75px); }
    .cube-back { transform: rotateY(180deg) translateZ(75px); }
    .cube-right { transform: rotateY(90deg) translateZ(75px); }
    .cube-left { transform: rotateY(-90deg) translateZ(75px); }
    .cube-top { transform: rotateX(90deg) translateZ(75px); }
    .cube-bottom { transform: rotateX(-90deg) translateZ(75px); }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modes-grid {
        grid-template-columns: 1fr;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section {
        padding: 3rem 0;
    }

    .features h2,
    .game-modes h2,
    .requirements h2,
    .pros-cons h2,
    .faq h2 {
        font-size: 2rem;
    }
}