* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B4513;
    --primary-dark: #654321;
    --secondary: #228B22;
    --accent: #CD853F;
    --bg: #3C2F2F;
    --bg-light: #4A3F3F;
    --bg-card: #5C4033;
    --text: #FFFFFF;
    --text-muted: #D4C4B0;
    --border: #654321;
    --grass: #7CFC00;
    --dirt: #8B4513;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3C2F2F;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.1) 2px, rgba(0,0,0,.1) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.1) 2px, rgba(0,0,0,.1) 4px),
        linear-gradient(180deg, #5C4033 0%, #4A3F3F 50%, #3C2F2F 100%);
    background-size: 16px 16px, 16px 16px, 100% 100%;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    image-rendering: pixelated;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
header {
    background: rgba(92, 64, 51, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 4px solid var(--primary);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: #FFFFFF;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3), rgba(34, 139, 34, 0.2));
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

#hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.hero-text {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 0 var(--primary-dark), 0 8px 15px rgba(0, 0, 0, 0.3);
    border-radius: 0;
}

.btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 4px solid var(--primary);
    border-radius: 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 4rem 3rem;
    margin: 2rem 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* About Section */
#about {
    background: rgba(92, 64, 51, 0.6);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Screenshots */
#screenshots {
    background: rgba(92, 64, 51, 0.4);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.screenshot-item:hover {
    transform: translateY(2px);
    border-color: var(--accent);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.screenshot-svg {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-item p {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
}

/* Pros and Cons */
#pros-cons {
    margin: 2rem 3rem;
    background: rgba(92, 64, 51, 0.4);
    padding: 4rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pros-box, .cons-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 0;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.pros-box {
    border-top: 6px solid var(--secondary);
}

.cons-box {
    border-top: 6px solid var(--accent);
}

.pros-box h3, .cons-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.pros-box ul, .cons-box ul {
    list-style: none;
}

.pros-box li, .cons-box li {
    padding: 0.7rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.pros-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.cons-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Versions */
#versions {
    background: rgba(92, 64, 51, 0.6);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.java-warning {
    background: rgba(255, 152, 0, 0.2);
    border: 4px solid #FF9800;
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.warning-icon {
    flex-shrink: 0;
}

.java-warning strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #FFB74D;
}

.java-warning p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.java-link {
    color: #FFB74D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.java-link:hover {
    color: #FF9800;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.version-card {
    background: var(--bg-card);
    border: 4px solid var(--border);
    border-radius: 0;
    padding: 2rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}

.version-card:hover {
    transform: translateY(3px);
    border-color: var(--accent);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.version-card h3 {
    font-size: 1.8rem;
    color: #FFFFFF;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.badge-latest {
    background: #FFD700;
    color: #000;
}

.badge-recommended {
    background: #4CAF50;
    color: #FFF;
}

.version-info {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.versions-list {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid var(--border);
}

.versions-list p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.versions-list strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.java-req {
    color: #FFB74D;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.btn-download {
    width: 100%;
    padding: 0.8rem;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 0 #1a6b1a, 0 6px 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-download:hover {
    background: #2aa32a;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1a6b1a, 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Reviews */
#reviews {
    background: rgba(92, 64, 51, 0.4);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--bg-card);
    border: 4px solid var(--border);
    border-radius: 0;
    padding: 2rem;
    transition: all 0.2s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.review-card:hover {
    border-color: var(--accent);
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.review-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.stars {
    color: #FFD700;
    font-size: 1.1rem;
}

.review-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ */
#faq {
    background: rgba(92, 64, 51, 0.4);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 3px solid var(--border);
    margin-bottom: 1rem;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: bold;
    transition: transform 0.3s;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Contact */
#contact {
    background: rgba(92, 64, 51, 0.6);
    border-radius: 0;
    margin: 2rem 3rem;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feedback-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 0;
    border: 4px solid var(--border);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-light);
    border: 3px solid var(--border);
    border-radius: 0;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 0 var(--primary-dark), 0 6px 10px rgba(0, 0, 0, 0.3);
}

.btn-submit:hover {
    background: var(--accent);
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0;
    border: 4px solid var(--border);
    transition: all 0.2s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.contact-method:hover {
    border-color: var(--accent);
    transform: translateX(5px) translateY(2px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.contact-method strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-method p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: rgba(60, 47, 47, 0.9);
    border-top: 4px solid var(--primary);
    padding: 3rem 3rem 1rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 0 rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-content .footer-section {
    flex: 0 0 auto;
    min-width: 200px;
}

.footer-characters {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-characters svg {
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
    image-rendering: pixelated;
    width: 70px;
    height: 70px;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    section {
        padding: 3rem 1.5rem;
        margin: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .pros-cons-grid,
    .screenshot-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .version-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .java-warning {
        flex-direction: column;
        text-align: center;
    }

    footer {
        padding: 2rem 1.5rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-characters {
        justify-content: center;
        margin-top: 2rem;
        gap: 0.5rem;
        width: 100%;
        overflow-x: auto;
    }
    
    .footer-characters svg {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    #hero h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}