/* ============================================================
   SlotsPKR.pk - Main Stylesheet
   Mobile-First | Fast | SEO Optimized
   ============================================================ */

:root {
  --green: #1a7a3c;
  --green-dark: #0f5229;
  --green-light: #27ae60;
  --gold: #f4c430;
  --gold-dark: #d4a017;
  --red: #e74c3c;
  --dark: #0d1117;
  --dark2: #161b22;
  --dark3: #21262d;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul, ol { padding-left: 1.5rem; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 1rem; }

/* ---- HEADER ---- */
.site-header {
  background: var(--dark2);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.site-logo img, .site-logo svg { width: 42px; height: 42px; border-radius: 8px; }
.site-logo .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.site-logo .logo-text span { color: var(--gold); }
.logo-sub { font-size: 0.65rem; color: var(--text-muted); display: block; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--text);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { background: var(--dark3); color: var(--gold); }
.main-nav .active { color: var(--gold); background: var(--dark3); }

.nav-download-btn {
  background: var(--green) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 6px !important;
}
.nav-download-btn:hover { background: var(--green-dark) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  display: block;
}
.mobile-nav a:hover { background: var(--dark3); color: var(--gold); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--dark2) 0%, #0a2e17 50%, var(--dark) 100%);
  padding: 3rem 1rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a7a3c' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 2rem; }
.hero-image { max-width: 600px; margin: 2rem auto 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,122,60,0.4); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: 10px; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-pulse { animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26,122,60,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(26,122,60,0); }
}

/* ---- DOWNLOAD BUTTONS GRID ---- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.download-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.download-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.download-card .game-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--white); }
.download-card .game-bonus { font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; }
.download-card .btn { width: 100%; justify-content: center; }

/* ---- SECTIONS ---- */
.section { padding: 3rem 1rem; }
.section-alt { background: var(--dark2); }
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title h2 { color: var(--white); }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0.5rem auto 0; }
.section-label {
  display: inline-block;
  background: rgba(26,122,60,0.15);
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- CARDS ---- */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
}
.card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.card h3 { color: var(--white); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---- STEPS ---- */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.25rem; }
.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.step-num {
  counter-increment: step;
  min-width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.step-content h4 { color: var(--white); margin-bottom: 0.25rem; }
.step-content p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---- TABLE ---- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
thead th {
  background: var(--green);
  color: var(--white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--dark3); }
tbody td { padding: 0.85rem 1rem; color: var(--text); font-size: 0.95rem; }
.check { color: #27ae60; font-weight: 700; }
.cross { color: #e74c3c; font-weight: 700; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--white);
  user-select: none;
}
.faq-q:hover { background: var(--dark3); }
.faq-arrow { flex-shrink: 0; transition: transform var(--transition); font-size: 0.8rem; color: var(--gold); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--white); }
.breadcrumb .sep { color: var(--border); }

/* ---- ARTICLE LAYOUT ---- */
.article-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .article-wrap { grid-template-columns: 1fr 300px; } }
.article-content h2 { margin-top: 2rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--green); }
.article-content h3 { margin-top: 1.5rem; color: var(--gold); }
.article-content img { margin: 1.5rem 0; width: 100%; }
.article-content ul, .article-content ol { margin-bottom: 1rem; }
.article-content li { margin-bottom: 0.4rem; }

/* TOC */
.toc {
  background: var(--dark2);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.toc h4 { color: var(--gold); margin-bottom: 0.75rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: 0.35rem; font-size: 0.9rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--gold); }

/* Sidebar */
.sidebar .widget {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.sidebar .widget h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar .widget ul { padding: 0; list-style: none; }
.sidebar .widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.sidebar .widget ul li:last-child { border-bottom: none; }

/* ---- BADGES ---- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-green { background: rgba(26,122,60,0.2); color: var(--green-light); }
.badge-gold { background: rgba(244,196,48,0.15); color: var(--gold); }
.badge-red { background: rgba(231,76,60,0.15); color: #e74c3c; }

/* ---- STATS ---- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 600px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ---- NOTICE / ALERT ---- */
.notice {
  background: rgba(26,122,60,0.1);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.notice.warning { background: rgba(244,196,48,0.1); border-color: var(--gold); }
.notice.info { background: rgba(41,128,185,0.1); border-color: #2980b9; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--dark2);
  border-top: 2px solid var(--green);
  padding: 3rem 1rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-logo img, .footer-logo svg { width: 36px; height: 36px; border-radius: 6px; }
.footer-logo .logo-text { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.footer-logo .logo-text span { color: var(--gold); }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }
.footer-disclaimer {
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: left;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 2rem 1rem 3rem; }
  .section { padding: 2rem 1rem; }
  .download-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-light); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.gap-1 { gap: 0.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ---- RATING ---- */
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ---- BACK TO TOP ---- */
#back-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  background: var(--green);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  z-index: 900;
  transition: all var(--transition);
  text-decoration: none;
}
#back-top.show { display: flex; }
#back-top:hover { background: var(--green-dark); transform: translateY(-3px); color: var(--white); }

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.announce-bar a { color: var(--gold); }
