/* PK Teen Patti Go - Mobile First CSS */
:root {
  --primary: #c41e3a;
  --primary-dark: #9a1830;
  --gold: #d4af37;
  --dark: #1a0a0e;
  --card-bg: #2d1519;
  --text: #f5e6d3;
  --text-muted: #b8a090;
  --radius: 12px;
  --tap-min: 48px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover, a:focus {
  text-decoration: underline;
}

/* Header - mobile */
.site-header {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--dark) 100%);
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.site-header h1 a {
  color: #fff;
  text-decoration: none;
}

.site-header h1 a:hover { text-decoration: none; }

.nav-toggle {
  display: none;
}

.nav {
  margin-top: 10px;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  display: inline-block;
  padding: 10px 14px;
  min-height: var(--tap-min);
  min-width: var(--tap-min);
  line-height: 1.3;
  color: var(--text);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
}

.nav a:hover {
  background: rgba(255,255,255,0.2);
  text-decoration: none;
}

/* Main content */
.main {
  padding: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.article-list {
  list-style: none;
}

.article-list li {
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
}

.article-list a {
  display: block;
  padding: 16px;
  color: var(--text);
  text-decoration: none;
}

.article-list a:hover { text-decoration: none; }

.article-list img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.article-list h2 {
  font-size: 1.1rem;
  margin-top: 10px;
  color: var(--gold);
}

/* CTA Download Button */
.cta-download {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 20px 0;
  min-height: var(--tap-min);
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(196,30,58,0.4);
}

.cta-download:hover {
  background: linear-gradient(135deg, #e02545, var(--primary));
  text-decoration: none !important;
  transform: scale(1.02);
}

/* Article body */
.article-body {
  padding: 16px 0;
}

.article-body h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-body h2 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--gold);
}

.article-body h3 {
  font-size: 1.1rem;
  margin: 18px 0 10px;
}

.article-body p {
  margin-bottom: 14px;
}

.article-body ul, .article-body ol {
  margin: 14px 0 14px 20px;
}

.article-body li { margin-bottom: 6px; }

.article-body img {
  border-radius: var(--radius);
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
  background: var(--card-bg);
  padding: 24px 16px;
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a { color: var(--gold); }

.footer-links {
  list-style: none;
  margin-top: 12px;
}

.footer-links li { display: inline; margin: 0 8px; }

/* Hide skip for visual, keep for a11y */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Trust / SEO content blocks */
.meta-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-img {
  border-radius: var(--radius);
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .site-header h1 { font-size: 1.4rem; }
  .main { padding: 20px; }
}

@media (min-width: 768px) {
  .main { max-width: 680px; padding: 24px; }
  .article-body h1 { font-size: 1.75rem; }
}
