/* Simple clean WordPress-inspired stylesheet - mobile first */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #222;
}

.logo-wrap img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
}

.logo-wrap span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav a {
    text-decoration: none;
    color: #444;
    padding: 8px 12px;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: background 0.2s;
}

nav a:hover {
    background: #f0f0f0;
    color: #000;
}

/* Main content */
main {
    padding: 25px 0 40px;
    background: #fff;
    min-height: 70vh;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 18px;
    color: #1a1a1a;
    line-height: 1.3;
}

h2 {
    font-size: 1.4rem;
    margin: 28px 0 14px;
    color: #222;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

h3 {
    font-size: 1.15rem;
    margin: 20px 0 10px;
    color: #333;
}

p {
    margin-bottom: 16px;
}

ul, ol {
    margin: 0 0 18px 22px;
}

li {
    margin-bottom: 8px;
}

a {
    color: #0066cc;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.game-img {
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Download button */
.btn-download {
    display: inline-block;
    background: #28a745;
    color: #fff !important;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    margin: 12px 0;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-download:hover {
    background: #218838;
}

.btn-wrap {
    text-align: center;
    margin: 20px 0;
}

/* Game cards on homepage */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.game-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 15px 10px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.game-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.game-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.game-card span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222;
    display: block;
}

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.95rem;
}

.info-table th, .info-table td {
    border: 1px solid #e0e0e0;
    padding: 10px 12px;
    text-align: left;
}

.info-table th {
    background: #f7f7f7;
    font-weight: 600;
}

/* FAQ */
.faq-item {
    margin-bottom: 18px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}

.faq-item h3 {
    background: #f9f9f9;
    padding: 12px 15px;
    margin: 0;
    font-size: 1.05rem;
    cursor: pointer;
}

.faq-item p {
    padding: 12px 15px;
    margin: 0;
    background: #fff;
}

/* Footer */
footer {
    background: #f5f5f5;
    border-top: 1px solid #e5e5e5;
    padding: 30px 0 20px;
    font-size: 0.9rem;
    color: #555;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    color: #777;
    font-size: 0.85rem;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 18px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Related games */
.related-games {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.related-games a {
    background: #f0f7ff;
    color: #0066cc;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #d0e3ff;
}

.related-games a:hover {
    background: #e0efff;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 1.2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
        width: 100%;
        margin-top: 10px;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav a {
        display: block;
        padding: 12px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    
    .btn-download {
        width: 100%;
        padding: 16px;
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    .logo-wrap span {
        font-size: 1.1rem;
    }
}