@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
}

body {
    font-family: "Pixelify Sans", sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    background-color: black;
    background-size: 20px 20px;
}

/* Pixel Art Styling */
.pixel-border {
    border: 4px solid #333;
    position: relative;
}

.pixel-border.rounded {
    border-radius: 8px 8px 0 0;
}

.pixel-border::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ff8c42;
    z-index: -1;
}

.pixel-border.rounded::after {
    border-radius: 8px 8px 0 0;
}

.pixel-button {
    background-color: #ff8c42;
    color: white;
    border: none;
    padding: 6px 12px;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.1s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
}

.pixel-button img {
    height: 30px;
    padding-right: 6px;
}

.pixel-button:hover {
    background-color: #ff6b21;
    transform: translate(2px, 2px);
}

.pixel-button:active {
    transform: translate(4px, 4px);
}

.pixel-button.secondary {
    background-color: #3a9efd;
}

.pixel-button.secondary:hover {
    background-color: #1d8af5;
}

/* Layout Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-small {
    width: 50px;
    height: 50px;
    background-color: #50AEF9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    border-radius: 6px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #ff8c42;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff8c42;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

.download-buttons {
    display: flex;
    gap: 15px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-button {
    background: none;
    border: none;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
}

.language-button:hover {
    color: #ff8c42;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 2px solid #333;
    display: none;
    z-index: 101;
    min-width: 120px;
}

.language-dropdown a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
    color: #ff8c42;
}

.language-switcher:hover .language-dropdown {
    display: block;
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
}

.mobile-language-switcher {
    margin-top: 20px;
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3a9efd 0%, #6ec3f4 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-color: black;
    background-size: 100px 100px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-image {
    flex: 1;
    position: relative;
}

.game-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.tagline {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.other-buttons {
    justify-content: center;
}

/* Info Section */
.info-section {
    padding: 50px 0;
    background-color: white;
    position: relative;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature {
    background-color: #f9f9f9;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-color: #333;
}

.feature::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    height: 8px;
    background-color: #ff8c42;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: #ff8c42;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.feature p {
    color: #666;
    font-size: 14px;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.screenshot {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 8px 8px 0 0;
    position: relative;
    overflow: hidden;
}

.screenshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background-color: #333;
}

.screenshot::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    height: 8px;
    background-color: #ff8c42;
}

.screenshot:hover {
    transform: scale(1.05);
}

/* Development Section */
.dev-section {
    padding: 60px 0;
    background-color: #3a9efd;
    color: white;
    text-align: center;
}

.dev-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.social-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ed3e66;
    opacity: 0.9;
}

.dev-section p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-icon img {
    width: 30px;
    height: 30px;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: black;
    background-size: 100px 30px;
}

.footer-logo {
    width: 80px;
    height: 80px;
    background-color: #ff8c42;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 14px;
    text-align: center;
    border-radius: 6px 6px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
}

.footer-logo::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    height: 8px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff8c42;
}

.copyright {
    font-size: 12px;
    color: #aaa;
    margin-top: 30px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
        order: 2;
    }
    
    .download-buttons {
        order: 1;
        margin-left: auto;
        margin-right: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        display: block;
    }

    .hero-image {
        margin-top: 50px;
    }

    .game-logo {
        margin-top: -26px;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .pixel-button {
        font-size: 16px;
    }
    
    h1 {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .language-switcher {
        display: none;
    }
    
    .mobile-language-switcher {
        display: block;
        text-align: center;
    }
    
    .mobile-language-switcher a {
        display: inline-block;
        margin: 0 10px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
    }
    
    .mobile-language-switcher a.active {
        color: #ff8c42;
        font-weight: bold;
    }
}

@media (max-width: 480px) {
    .download-buttons {
        gap: 10px;
    }
    
    .pixel-button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .pixel-button img {
        height: 15px !important;
    }
    
    .social-icons {
        gap: 10px;
    }
}