* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

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

header {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    text-align: center;
    border-bottom: #1abc9c 5px solid;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

header p {
    font-size: 1.2rem;
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 12px 28px;
}

nav {
    background: #34495e;
    color: #fff;
    padding: 0.8rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover, nav a.active {
    background-color: #1abc9c;
    color: #fff;
}

.section {
    padding: 3rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.section:last-of-type {
    border-bottom: none;
}

.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
    font-size: 1.6rem;
    font-weight: 500;
}

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

.feature-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.feature-item h4 {
    color: #1abc9c;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.feature-item ul {
    list-style-position: inside;
    padding-left: 0;
    text-align: left;
}

.feature-item ul ul {
    margin-left: 20px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-item ul li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #444;
}

.gameplay-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.gameplay-text {
    flex: 1;
    min-width: 300px;
}

.gameplay-text h3 {
    color: #1abc9c;
    margin-bottom: 0.8rem;
}

.gameplay-visuals {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gameplay-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    margin: 0 auto;
}

#technical ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1rem;
}
#technical ul li {
    margin-bottom: 0.5rem;
}
#technical ul ul {
    list-style: circle;
    margin-top: 0.5rem;
    margin-left: 20px;
}
.technical-details {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.technical-details p:first-child {
    font-weight: bold;
    color: #34495e;
    margin-bottom: 0.8rem;
}

.cta-button {
    display: inline-block;
    background: #1abc9c;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #16a085;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cta-button.secondary {
    background: #3498db;
}
.cta-button.secondary:hover {
    background: #2980b9;
}

.button-container {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.credits {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-bottom: 0.5rem;
}
.credits strong {
    font-style: normal;
    color: #333;
}

footer {
    text-align: center;
    padding: 2.5rem 0;
    background: #2c3e50;
    color: #ecf0f1;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .gameplay-content {
        flex-direction: column;
        align-items: center;
    }
    .gameplay-text, .gameplay-visuals {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    header p {
        font-size: 1.1rem;
    }
    .section h2 {
        font-size: 1.9rem;
    }
    .section h3 {
        font-size: 1.4rem;
    }
    nav ul li {
        display: block;
        margin: 10px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 15px;
    }
    header h1 {
        font-size: 1.9rem;
    }
    header p {
        font-size: 1rem;
    }
    .section h2 {
        font-size: 1.7rem;
    }
    .section h3 {
        font-size: 1.3rem;
    }
    .cta-button, .hero-cta {
        padding: 10px 20px;
        font-size: 0.95rem;
        width: 90%;
        max-width: 300px;
    }
    .button-container .cta-button {
         width: auto;
    }
    .feature-item {
        padding: 1.5rem;
    }
}