/* Game Strategy & Tips Portal - Static CSS */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --bg: #f5f5f3;
  --fg: #151a23;
  --card: #ffffff;
  --card-fg: #151a23;
  --primary: #1a9e52;
  --primary-fg: #ffffff;
  --secondary: #e8ecf0;
  --secondary-fg: #1e2633;
  --muted: #eef0f3;
  --muted-fg: #6b7280;
  --accent: #e69b1a;
  --accent-fg: #ffffff;
  --border: #dde2e8;
  --radius: 0.75rem;
  --shadow: 0 4px 20px -4px rgba(21,26,35,0.08);
  --shadow-hover: 0 8px 30px -4px rgba(21,26,35,0.15);
  --hero-bg: linear-gradient(135deg, #161c2b, #1e2a38, #153328);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--fg); }
.logo-icon { width: 28px; height: 28px; color: var(--primary); }
nav { display: flex; gap: 1.5rem; }
nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
nav a:hover { color: var(--fg); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--fg); }
.mobile-nav { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem 2rem; border-top: 1px solid var(--border); background: var(--card); }
.mobile-nav.active { display: flex; }

/* Hero */
.hero { background: var(--hero-bg); padding: 5rem 0; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 700; color: var(--primary-fg); }
.hero h1 .highlight { background: linear-gradient(135deg, #2dd36f, #e69b1a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { margin-top: 1rem; font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-buttons { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.5rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--primary-fg); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Cards Grid */
.section { padding: 4rem 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* Article Card */
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: all 0.3s; overflow: hidden; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.25rem; }
.badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px; font-size: 0.75rem; font-weight: 500; background: rgba(26,158,82,0.1); color: var(--primary); }
.card-body h3 { margin-top: 0.5rem; font-size: 1.1rem; font-weight: 600; color: var(--fg); }
.card-body p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-fg); }

/* Featured */
.featured { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; transition: all 0.3s; }
.featured:hover { box-shadow: var(--shadow-hover); }
.featured-img { overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.featured:hover .featured-img img { transform: scale(1.05); }
.featured-body { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.featured-body h3 { margin-top: 0.75rem; font-size: 1.5rem; font-weight: 700; }

/* Article Page */
.article-content { max-width: 768px; margin: 0 auto; padding: 3rem 2rem; }
.article-content .back { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.article-content .back:hover { color: var(--fg); }
.article-content h1 { font-size: 2rem; font-weight: 700; margin-top: 0.75rem; }
.article-content .meta { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); }
.article-content .hero-img { margin-top: 2rem; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-body { margin-top: 2rem; }
.article-body h2 { font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--fg); }
.article-body p { color: var(--muted-fg); margin-bottom: 1rem; line-height: 1.7; }
.article-body strong { color: var(--fg); }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { color: var(--muted-fg); margin-bottom: 0.5rem; }

/* Legal pages */
.legal { max-width: 768px; margin: 0 auto; padding: 3rem 2rem; }
.legal h1 { font-size: 1.875rem; font-weight: 700; }
.legal .updated { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.legal-content { margin-top: 2rem; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--fg); }
.legal-content p { color: var(--muted-fg); margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { color: var(--muted-fg); margin-bottom: 0.5rem; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--fg); }

/* About / Contact */
.page-content { max-width: 768px; margin: 0 auto; padding: 3rem 2rem; }
.page-content h1 { font-size: 1.875rem; font-weight: 700; }
.page-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; color: var(--fg); }
.page-content p { color: var(--muted-fg); margin-bottom: 1rem; line-height: 1.7; }
.page-content strong { color: var(--fg); }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { color: var(--muted-fg); margin-bottom: 0.5rem; }
.page-content a { color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.contact-info h3 { font-family: var(--font-display); font-weight: 600; color: var(--fg); font-size: 0.875rem; }
.contact-info p, .contact-info a { font-size: 0.875rem; color: var(--muted-fg); }
.contact-info > div { margin-bottom: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { font-size: 0.875rem; font-weight: 500; color: var(--fg); }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); font-size: 0.875rem; font-family: var(--font-body); background: var(--bg); color: var(--fg); }
.contact-form .btn { width: 100%; justify-content: center; }

/* Categories filter */
.categories { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }
.cat-btn { padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.2s; background: var(--secondary); color: var(--secondary-fg); }
.cat-btn:hover { opacity: 0.8; }
.cat-btn.active { background: var(--primary); color: var(--primary-fg); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--card); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.75rem; }
.footer-col p, .footer-col li, .footer-col a { font-size: 0.875rem; color: var(--muted-fg); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: var(--fg); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; font-size: 0.75rem; color: var(--muted-fg); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.75rem; }
  nav { display: none; }
  .menu-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
