/* Pro3Patti.com - SEO Optimized, Local Icons, Fast Loading */
:root {
    --primary: #1a472a;
    --primary-light: #2d5a3d;
    --accent: #c9a227;
    --text: #222;
    --text-light: #555;
    --bg: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
}

.header h1 {
    font-size: 1.75rem;
    font-weight: 700;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 5px;
}

.back-link {
    color: var(--accent);
    display: inline-block;
    margin-bottom: 10px;
}

.back-link:hover {
    text-decoration: underline;
}

.game-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-header-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
}

/* Main */
.main {
    padding: 40px 0;
    min-height: 60vh;
}

/* Intro Article - Bigger */
.intro-article {
    background: var(--white);
    padding: 40px 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-article h2,
.seo-article h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.intro-article h3,
.seo-article h3 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.intro-article p,
.seo-article p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.intro-article ul,
.seo-article ul {
    margin: 15px 0 15px 25px;
}

/* Games Grid - Icons Small */
.games-grid h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

.games-grid-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.game-card a:first-child {
    display: block;
}

.game-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 12px;
    background: linear-gradient(to bottom, #f0f5f1 0%, var(--white) 100%);
}

.game-card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.game-card-content {
    padding: 16px 20px 24px;
}

.game-card-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.game-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--primary-light);
    text-decoration: none;
}

.btn-download {
    display: block;
    text-align: center;
    background: var(--accent);
    color: var(--text);
    padding: 12px;
    font-weight: 700;
}

.btn-download:hover {
    background: #d4ad2e;
    text-decoration: none;
}

/* Game Article Page - Bigger Article Area */
.game-article {
    background: var(--white);
    padding: 40px 35px 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-hero-icon {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.game-hero-icon img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.btn-download-large {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-download-large:hover {
    background: #d4ad2e;
    text-decoration: none;
}

.download-box {
    margin: 30px 0;
    padding: 25px;
    background: #f0f5f1;
    border-radius: var(--radius);
}

/* Article Body - Bigger typography for SEO content */
.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
}

.game-article h1 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.game-article h2 {
    color: var(--primary);
    font-size: 1.35rem;
    margin: 28px 0 14px;
}

.game-article p, .game-article li {
    color: var(--text-light);
    margin-bottom: 14px;
}

.game-article ul {
    margin-left: 25px;
}

/* Related Games - Small icons */
.related-games {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #eee;
}

.related-games h3 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
}

.related-card:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

.related-card-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.related-card:hover .related-card-icon {
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 25px 0;
    text-align: center;
    margin-top: 50px;
}

.footer a {
    color: var(--accent);
}

.footer p {
    margin: 5px 0;
}

/* Schema / SEO - Content visibility */
.seo-article {
    margin-top: 40px;
    background: var(--white);
    padding: 40px 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
