/* SlotPK Game - Main Stylesheet | slotpkgame.pk */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #d4af37;
  --gold-light: #ffd700;
  --gold-dark: #b8960c;
  --green: #00c853;
  --green-dark: #009624;
  --red: #e53935;
  --bg: #080812;
  --bg2: #0f0f22;
  --bg3: #16163a;
  --bg4: #1e1e45;
  --card: #12122e;
  --card2: #1a1a3d;
  --border: #2a2a55;
  --text: #e8e8f0;
  --text2: #a0a0c0;
  --text3: #6a6a90;
  --urdu: 'Noto Nastaliq Urdu', serif;
  --en: 'Inter', -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(212,175,55,0.12);
  --shadow2: 0 8px 40px rgba(212,175,55,0.2);
  --radius: 14px;
  --radius2: 8px;
}

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

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

body {
  font-family: var(--en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ========= TYPOGRAPHY ========= */
.urdu {
  font-family: var(--urdu);
  direction: rtl;
  text-align: right;
  line-height: 2.2;
  font-size: 1.05em;
}
.urdu-inline { font-family: var(--urdu); direction: rtl; }

h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
ul li, ol li { margin-bottom: .4rem; }

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

/* ========= TOP BAR ========= */
.topbar {
  background: var(--gold);
  color: #000;
  text-align: center;
  padding: 8px 20px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3px;
}
.topbar a { color: #000; font-weight: 700; }

/* ========= HEADER ========= */
header {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; border: 2px solid var(--gold); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 1.3rem; font-weight: 800; color: var(--gold); letter-spacing: -0.5px; }
.logo-tagline { font-size: .7rem; color: var(--text2); font-family: var(--urdu); }

/* ========= NAV ========= */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius2);
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
}
nav a:hover, nav a.active {
  background: var(--gold);
  color: #000;
}
.btn-dl {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000 !important;
  padding: 10px 20px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  box-shadow: 0 4px 15px rgba(212,175,55,.4);
  transition: all .3s !important;
}
.btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,175,55,.6) !important;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
}

/* Mobile menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ========= HERO ========= */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 50%, var(--bg) 100%);
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  color: var(--gold);
  padding: 6px 18px;
  border-radius: 25px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 10px; }
.hero h1 span { color: var(--gold); }
.hero .urdu-h {
  font-family: var(--urdu);
  color: var(--text2);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  direction: rtl;
  margin-bottom: 20px;
  display: block;
}
.hero p { color: var(--text2); max-width: 680px; margin: 0 auto 30px; font-size: 1.05rem; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(212,175,55,.4);
  transition: all .3s;
}
.btn-primary:hover { color: #000; transform: translateY(-3px); box-shadow: 0 8px 30px rgba(212,175,55,.6); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ========= STATS BAR ========= */
.stats-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-item .lbl { font-size: .8rem; color: var(--text2); margin-top: 4px; }

/* ========= SECTIONS ========= */
section { padding: 60px 20px; }
.section-dark { background: var(--bg2); }
.section-alt { background: var(--bg3); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { color: #fff; margin-bottom: 8px; }
.section-header h2 span { color: var(--gold); }
.section-header .urdu-sub { font-family: var(--urdu); color: var(--text2); display: block; font-size: 1.1rem; direction: rtl; margin-top: 6px; }
.section-header p { color: var(--text2); max-width: 600px; margin: 12px auto 0; }

/* ========= CARDS ========= */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 28px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: transform .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow2); }
.card:hover::before { transform: scaleX(1); }
.card-icon { font-size: 2.5rem; margin-bottom: 16px; }
.card h3 { color: #fff; margin-bottom: 10px; }
.card p { color: var(--text2); font-size: .92rem; margin-bottom: 0; }

.feature-card { background: var(--card2); }
.feature-card .card-num {
  position: absolute; top: 20px; right: 20px;
  font-size: 3rem; font-weight: 900;
  color: rgba(212,175,55,.08);
  line-height: 1;
}

/* ========= DOWNLOAD SECTION ========= */
.download-hero {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.download-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,175,55,.1) 0%, transparent 60%);
  pointer-events: none;
}
.download-hero h2 { color: #fff; margin-bottom: 8px; }
.download-hero p { color: var(--text2); margin-bottom: 28px; }
.dl-features { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.dl-feature { display: flex; align-items: center; gap: 8px; color: var(--text2); font-size: .9rem; }
.dl-feature::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ========= SCREENSHOTS ========= */
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.screenshot-item {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all .3s;
  aspect-ratio: 9/16;
  position: relative;
}
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-item:hover { border-color: var(--gold); transform: scale(1.02); box-shadow: var(--shadow2); }

/* ========= STEPS ========= */
.steps { display: flex; flex-direction: column; gap: 20px; max-width: 700px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s;
}
.step:hover { border-color: var(--gold); }
.step-num {
  min-width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h4 { color: #fff; margin-bottom: 6px; }
.step-content p { color: var(--text2); font-size: .92rem; margin-bottom: 0; }

/* ========= TABLE ========= */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg4);
  color: var(--gold);
  padding: 14px 18px;
  text-align: left;
  font-size: .9rem;
  white-space: nowrap;
}
td {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  color: var(--text2);
  font-size: .92rem;
}
tr:hover td { background: rgba(212,175,55,.04); }
td:first-child { color: #fff; font-weight: 500; }

/* ========= FAQ ========= */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
}
.faq-q {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}
.faq-q:hover { color: var(--gold); }
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; }
.faq-a {
  padding: 0 24px 18px;
  color: var(--text2);
  font-size: .92rem;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ========= ARTICLES LIST ========= */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow2); }
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  display: inline-block;
  background: rgba(212,175,55,.15);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.article-card h3 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.article-card p { color: var(--text2); font-size: .87rem; margin-bottom: 0; flex: 1; }
.article-card-footer { padding: 12px 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.article-date { color: var(--text3); font-size: .8rem; }
.read-more { color: var(--gold); font-size: .85rem; font-weight: 600; }

/* ========= CONTENT PAGE ========= */
.content-wrap { max-width: 900px; margin: 0 auto; }
.content-hero {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  padding: 60px 40px 50px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  border: 1px solid var(--border);
}
.content-hero .tag { display: inline-block; background: rgba(212,175,55,.15); color: var(--gold); padding: 5px 14px; border-radius: 5px; font-size: .8rem; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.content-hero h1 { color: #fff; margin-bottom: 10px; }
.content-hero .meta { color: var(--text2); font-size: .9rem; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; }
.content-hero .meta span::before { margin-right: 5px; }
.article-body { font-size: 1.02rem; }
.article-body h2 { color: #fff; margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.article-body h2 span { color: var(--gold); }
.article-body h3 { color: var(--gold-light); margin: 1.8rem 0 .8rem; }
.article-body p { color: var(--text2); margin-bottom: 1.1rem; }
.article-body ul li { color: var(--text2); }
.article-body ol li { color: var(--text2); }
.article-body strong { color: #fff; }
.article-body a { color: var(--gold); }
.article-body .urdu { background: var(--card); border-right: 4px solid var(--gold); padding: 16px 20px; border-radius: var(--radius2); margin: 20px 0; color: var(--text); }
.img-full { width: 100%; border-radius: var(--radius2); border: 2px solid var(--border); margin: 24px 0; }
.img-cap { text-align: center; color: var(--text3); font-size: .85rem; margin-top: -16px; margin-bottom: 24px; }

.cta-box {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg4) 100%);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-box h3 { color: #fff; margin-bottom: 8px; }
.cta-box p { color: var(--text2); margin-bottom: 20px; }

.tip-box {
  background: rgba(0,200,83,.08);
  border: 1px solid rgba(0,200,83,.25);
  border-radius: var(--radius2);
  padding: 16px 20px;
  margin: 20px 0;
}
.tip-box strong { color: var(--green); }
.tip-box p { color: var(--text2); margin-bottom: 0; }

.warn-box {
  background: rgba(229,57,53,.08);
  border: 1px solid rgba(229,57,53,.25);
  border-radius: var(--radius2);
  padding: 16px 20px;
  margin: 20px 0;
}
.warn-box strong { color: var(--red); }
.warn-box p { color: var(--text2); margin-bottom: 0; }

/* ========= BREADCRUMB ========= */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 16px 0;
  color: var(--text3);
  font-size: .85rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text3); }
.breadcrumb .current { color: var(--text); }

/* ========= SIDEBAR ========= */
.layout-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; max-width: 1200px; margin: 0 auto; }
.sidebar { position: sticky; top: 90px; }
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.widget h4 { color: var(--gold); margin-bottom: 16px; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; }
.widget ul { list-style: none; padding: 0; }
.widget ul li { border-bottom: 1px solid var(--border); padding: 8px 0; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text2); font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.widget ul li a:hover { color: var(--gold); }
.widget ul li a::before { content: '→'; font-size: .75rem; color: var(--gold); }

/* ========= FOOTER ========= */
footer {
  background: var(--bg2);
  border-top: 2px solid var(--border);
  padding: 60px 20px 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; max-width: 1200px; margin: 0 auto; margin-bottom: 40px; }
.footer-brand .logo-name { font-size: 1.4rem; margin-bottom: 12px; display: block; }
.footer-brand p { color: var(--text2); font-size: .88rem; margin-bottom: 16px; }
.footer-brand .urdu { font-size: .95rem; color: var(--text2); border: none; padding: 0; background: none; }
.footer-col h5 { color: #fff; margin-bottom: 16px; font-size: .95rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: gap;
  gap: 12px;
}
.footer-bottom p { color: var(--text3); font-size: .82rem; }
.footer-bottom .urdu { font-size: .85rem; color: var(--text3); direction: rtl; }

/* ========= CONTACT FORM ========= */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text2); font-size: .9rem; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  color: var(--text);
  padding: 12px 16px;
  font-size: .95rem;
  font-family: var(--en);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(212,175,55,.5); }

/* ========= UTILITY ========= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.badge-new { background: var(--red); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; vertical-align: middle; margin-left: 6px; }
.badge-hot { background: var(--gold); color: #000; padding: 2px 8px; border-radius: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; vertical-align: middle; margin-left: 6px; }

/* ========= RESPONSIVE ========= */
@media (max-width: 900px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav a:not(.btn-dl) { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  .header-inner { padding: 10px 16px; }
  .hero { padding: 50px 16px 40px; }
  .download-hero { padding: 32px 20px; }
  .content-hero { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 40px 16px; }
  .card { padding: 20px 18px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .btn-primary, .btn-secondary { padding: 12px 24px; font-size: .92rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ========= MOBILE NAV ========= */
.mobile-nav {
  display: none;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text); padding: 10px 16px; border-radius: var(--radius2); font-size: .95rem; font-weight: 500; }
.mobile-nav a:hover { background: var(--bg3); color: var(--gold); }
.mobile-nav .btn-dl { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important; color: #000 !important; text-align: center; border-radius: 25px !important; }

/* ========= SCROLL INDICATOR ========= */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  z-index: 9999;
  width: 0%;
  transition: width .1s;
}

/* Pulse animation for CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(212,175,55,.4); }
  50% { box-shadow: 0 4px 40px rgba(212,175,55,.8); }
}
.pulse { animation: pulse 2s infinite; }
