/* Simple, clean, mobile-first styles inspired by lightweight WordPress themes */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    max-width: 920px;
    margin: 0 auto;
}

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

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

.logo-text {
    font-weight: 700;
    font-size: 1.15rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 6px 10px;
    display: block;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    flex-direction: column;
    padding: 10px 0;
}

.main-nav.open {
    display: flex;
}

.main-nav a {
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.main-nav a:hover {
    background: #f5f5f5;
    color: #0a7a3e;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        border: none;
        padding: 0;
        gap: 6px;
    }
    .main-nav a {
        padding: 8px 14px;
        border: none;
        border-radius: 6px;
    }
}

/* Main */
.main-content {
    padding: 24px 0 40px;
    min-height: 60vh;
}

h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #111;
}

h2 {
    font-size: 1.35rem;
    margin: 28px 0 12px;
    color: #111;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 6px;
}

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

p {
    margin-bottom: 14px;
}

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

li {
    margin-bottom: 6px;
}

a {
    color: #0a7a3e;
}

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

/* Download button */
.btn-download {
    display: inline-block;
    background: #0a7a3e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-align: center;
    margin: 12px 0;
    box-shadow: 0 2px 6px rgba(10,122,62,0.25);
    transition: background 0.2s, transform 0.1s;
}

.btn-download:hover {
    background: #086532;
    transform: translateY(-1px);
}

.btn-download:active {
    transform: translateY(0);
}

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

.btn-wrap .btn-download {
    width: 100%;
    max-width: 320px;
}

/* Game card on homepage */
.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}

@media (min-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

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

.game-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-color: #c8e6d4;
}

.game-card img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid #f0f0f0;
}

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

/* Content image */
.content-img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    max-width: 100%;
}

.game-logo-round {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
    border: 3px solid #eee;
}

/* Tables */
.table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.95rem;
}

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

th {
    background: #f5f5f5;
    font-weight: 600;
}

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    font-weight: 600;
    padding: 14px 16px;
    cursor: pointer;
    background: #f9f9f9;
}

.faq-a {
    padding: 0 16px 14px;
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

/* Info box */
.info-box {
    background: #f0f7f3;
    border-left: 4px solid #0a7a3e;
    padding: 14px 16px;
    margin: 18px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fff8f0;
    border-left: 4px solid #e67e22;
    padding: 14px 16px;
    margin: 18px 0;
    border-radius: 0 8px 8px 0;
}

/* Related games */
.related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
}

.related-list a {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #333;
}

.related-list a:hover {
    border-color: #0a7a3e;
    color: #0a7a3e;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 36px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.footer-col h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 12px;
    border: none;
}

.footer-col ul {
    list-style: none;
    margin: 0;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

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

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

/* Misc */
.center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}
