/* pk3pattipearl.com - Mobile First, SEO & Google Friendly */
:root {
  --primary: #0d5a2b;
  --primary-dark: #084020;
  --accent: #e8b923;
  --accent-hover: #f5c93a;
  --text: #1a1a1a;
  --text-muted: #444;
  --bg: #f8f9fa;
  --white: #fff;
  --card-bg: #fff;
  --border: #e0e0e0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.nav a {
  color: rgba(255,255,255,0.95);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.nav a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  text-decoration: none;
}

/* Hero / CTA */
.hero {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 50%, #0a4725 100%);
  color: var(--white);
  padding: 32px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero p {
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
}

.download-btn {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-decoration: none;
  color: #1a1a1a;
}

/* Content */
.main-content {
  padding: 32px 0 48px;
}

.article-body h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 28px 0 14px;
  padding-bottom: 6px;
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text);
}

.article-body ul, .article-body ol {
  margin: 0 0 16px 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.figure-block {
  margin: 24px 0;
  text-align: center;
}

.figure-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.figure-block figcaption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.card h2 {
  margin-top: 0;
}

/* Referral / Withdraw boxes */
.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  margin: 28px 0;
  text-align: center;
}

.cta-box h3 {
  color: var(--white);
  margin-top: 0;
}

.cta-box .download-btn {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  padding: 28px 0 20px;
  margin-top: 48px;
}

.site-footer a {
  color: var(--accent);
}

.site-footer a:hover {
  color: var(--accent-hover);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255,255,255,0.9);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--primary);
}

/* Mobile menu - no JS needed, just flexible nav */
@media (max-width: 640px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    width: 100%;
  }
  .hero {
    padding: 24px 0 32px;
  }
  .article-body h2 {
    font-size: 1.35rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-btn:hover { transform: none; }
}
