/* 3pattigo.net.pk — Felt Table Design System */
:root {
  --felt-deep: #061a14;
  --felt: #0c2f24;
  --felt-mid: #154a38;
  --felt-light: #1e5f48;
  --gold: #e6b422;
  --gold-bright: #f5d76e;
  --gold-dim: #b8891a;
  --lime: #8dff3a;
  --lime-dark: #5fc41a;
  --cream: #f3efe4;
  --cream-dim: #c8c2b4;
  --ink: #071410;
  --line: rgba(230, 180, 34, 0.22);
  --glass: rgba(12, 47, 36, 0.72);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(230, 180, 34, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(141, 255, 58, 0.06), transparent 50%),
    linear-gradient(180deg, var(--felt-deep) 0%, var(--felt) 40%, #0a241c 100%);
  background-attachment: fixed;
  color: var(--cream);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--lime); }
ul { list-style: none; }
button, .btn { font-family: inherit; cursor: pointer; border: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(14px);
  background: rgba(6, 26, 20, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(230, 180, 34, 0.35);
}

.brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-links a {
  color: var(--cream-dim);
  font-size: .92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.3rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-dark) 100%);
  color: #062010 !important;
  box-shadow: 0 8px 28px rgba(141, 255, 58, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(141, 255, 58, 0.4);
  color: #062010 !important;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a1200 !important;
  box-shadow: 0 8px 28px rgba(230, 180, 34, 0.28);
}

.btn-gold:hover {
  transform: translateY(-2px);
  color: #1a1200 !important;
}

.btn-ghost {
  background: transparent;
  color: var(--cream) !important;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright) !important;
}

.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 20, 0.25) 0%, rgba(6, 26, 20, 0.55) 45%, rgba(6, 26, 20, 0.96) 100%),
    url("../img/s1.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.06) translateY(-1.5%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 4rem;
  max-width: 720px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.1rem;
  animation: rise .7s ease both;
}

.brand-mark img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.brand-mark .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.brand-mark .name em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: .85rem;
  color: var(--cream);
  animation: rise .7s .1s ease both;
}

.hero p.lead {
  color: var(--cream-dim);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
  animation: rise .7s .18s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: rise .7s .26s ease both;
}

.pulse {
  animation: pulseGlow 2.4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 28px rgba(141, 255, 58, 0.28); }
  50% { box-shadow: 0 8px 40px rgba(141, 255, 58, 0.5); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(21, 74, 56, 0.25), transparent);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .55rem;
}

.section-head h2,
.page-hero h1,
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
}

.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--cream-dim); margin-top: .65rem; }

/* ===== INFO TABLE ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.info-item .label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  font-weight: 600;
}

.info-item .value {
  font-weight: 600;
  color: var(--cream);
  font-size: .98rem;
}

/* ===== FEATURES / GAMES ===== */
.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: none; }

.feature-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  min-width: 2rem;
}

.feature-row h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .3rem;
}

.feature-row p { color: var(--cream-dim); font-size: .97rem; }

.shot-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .7rem;
  margin-top: 1.5rem;
}

.shot-strip figure {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16/10;
}

.shot-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.shot-strip figure:hover img { transform: scale(1.06); }

.games-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.game-tile {
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(230, 180, 34, 0.08), transparent 55%),
    rgba(0, 0, 0, 0.25);
  transition: border-color .2s ease, transform .2s ease;
}

.game-tile:hover {
  border-color: rgba(230, 180, 34, 0.55);
  transform: translateY(-3px);
}

.game-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: var(--gold-bright);
}

.game-tile p { color: var(--cream-dim); font-size: .93rem; }

/* ===== STEPS ===== */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  color: #1a1200;
}

.step h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.step p { color: var(--cream-dim); font-size: .95rem; }

/* ===== CTA BAND ===== */
.cta-band {
  margin: 2rem 0;
  padding: 2.4rem 1.6rem;
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(141, 255, 58, 0.12), rgba(230, 180, 34, 0.1)),
    rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(141, 255, 58, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .5rem;
}

.cta-band p {
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  max-width: 34rem;
  margin-inline: auto;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: .6rem;
}

.page-hero p {
  color: var(--cream-dim);
  max-width: 40rem;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .85rem;
  color: var(--cream-dim);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--gold); }
.breadcrumb span { opacity: .5; }

/* ===== CONTENT ===== */
.prose {
  max-width: 720px;
}

.prose p,
.prose li {
  color: var(--cream-dim);
  margin-bottom: 1rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 2rem 0 .8rem;
  color: var(--cream);
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 .55rem;
  color: var(--gold-bright);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem 1.2rem;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45rem; }
.prose strong { color: var(--cream); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.side-panel h3 {
  font-family: var(--font-display);
  margin-bottom: .75rem;
  font-size: 1.1rem;
}

.side-panel .meta {
  display: grid;
  gap: .55rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.side-panel .meta div {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.side-panel .meta span:first-child { color: var(--cream-dim); }
.side-panel .meta span:last-child { color: var(--gold-bright); font-weight: 600; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: .7rem; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item .faq-a {
  padding: 0 1.15rem 1.1rem;
  color: var(--cream-dim);
  font-size: .96rem;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.blog-card {
  display: block;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}

.blog-card:hover {
  border-color: rgba(230, 180, 34, 0.5);
  transform: translateY(-3px);
  color: inherit;
}

.blog-card .tag {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .45rem;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: .45rem;
  color: var(--cream);
}

.blog-card p {
  color: var(--cream-dim);
  font-size: .92rem;
}

.article-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
}

.article-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .8rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cream);
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-footer p { color: var(--cream-dim); font-size: .92rem; }
.site-footer h4 {
  font-family: var(--font-display);
  margin-bottom: .8rem;
  color: var(--gold-bright);
  font-size: .95rem;
}

.site-footer ul { display: grid; gap: .45rem; }
.site-footer a { color: var(--cream-dim); font-size: .9rem; }
.site-footer a:hover { color: var(--gold-bright); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem;
  font-size: .82rem;
  color: var(--cream-dim);
}

.disclaimer {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(230, 180, 34, 0.2);
  background: rgba(230, 180, 34, 0.06);
  font-size: .85rem;
  color: var(--cream-dim);
}

/* ===== COMPARE ===== */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.compare th,
.compare td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare th {
  background: rgba(230, 180, 34, 0.12);
  color: var(--gold-bright);
  font-family: var(--font-display);
}

.compare td { color: var(--cream-dim); }
.compare tr:hover td { background: rgba(255, 255, 255, 0.03); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* ===== UTIL ===== */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .games-board { grid-template-columns: 1fr 1fr; }
  .shot-strip { grid-template-columns: repeat(3, 1fr); }
  .shot-strip figure:nth-child(4),
  .shot-strip figure:nth-child(5) { display: none; }
}

@media (max-width: 768px) {
  .nav-toggle { display: grid; place-items: center; }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(6, 26, 20, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: .85rem .6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links .btn { margin-top: .6rem; border-radius: 12px; }

  .hero { min-height: 78vh; align-items: flex-end; }
  .brand-mark img { width: 58px; height: 58px; }
  .info-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .games-board { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .shot-strip { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-bg { transform: none; }
}
