/* ScatterLinks.ph - Design DNA: npz4 */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --npz4-bg: #182F1F;
  --npz4-bg-gradient: radial-gradient(circle at 15% 15%, #23462e 0%, #182F1F 55%, #102115 100%);
  --npz4-surface: #22422C;
  --npz4-surface-card: rgba(34, 66, 44, 0.82);
  --npz4-surface-glass: rgba(24, 47, 31, 0.88);
  --npz4-border: rgba(122, 142, 230, 0.22);
  --npz4-border-glow: rgba(23, 232, 89, 0.45);
  --npz4-ink: #E9F2EC;
  --npz4-ink-muted: #9AB3A1;
  --npz4-accent: #7A8EE6;
  --npz4-accent2: #17E859;
  --npz4-on-accent: #0D180F;
  --npz4-card-radius: 14px;
  --npz4-pill-radius: 9999px;
  --npz4-font-head: 'Sora', sans-serif;
  --npz4-font-body: 'Nunito Sans', sans-serif;
  --npz4-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --npz4-glow: 0 0 20px rgba(23, 232, 89, 0.35);
}

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

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

body {
  background: var(--npz4-bg);
  background-image: var(--npz4-bg-gradient);
  background-attachment: fixed;
  color: var(--npz4-ink);
  font-family: var(--npz4-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--npz4-font-head);
  color: var(--npz4-ink);
  line-height: 1.25;
  text-transform: capitalize;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(23, 232, 89, 0.25);
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  margin-top: 1.5rem;
  color: var(--npz4-accent);
}

p {
  margin-bottom: 1.15rem;
  font-size: 1.025rem;
}

a {
  color: var(--npz4-accent2);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover, a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* Header & Navigation */
.npz4-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--npz4-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--npz4-border);
  padding: 0.75rem 1.5rem;
}

.npz4-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.npz4-logo-container {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--npz4-font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--npz4-ink);
}

.npz4-logo-badge {
  background: linear-gradient(135deg, var(--npz4-accent2), var(--npz4-accent));
  color: var(--npz4-on-accent);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.npz4-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.npz4-nav-links a {
  color: var(--npz4-ink);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.npz4-nav-links a:hover {
  color: var(--npz4-accent2);
  background: rgba(23, 232, 89, 0.08);
  text-decoration: none;
}

.npz4-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.npz4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--npz4-font-head);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--npz4-pill-radius);
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.npz4-btn-primary {
  background: linear-gradient(135deg, #17E859 0%, #10B944 100%);
  color: #0D180F;
  box-shadow: 0 4px 15px rgba(23, 232, 89, 0.4);
}

.npz4-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(23, 232, 89, 0.6);
  color: #000;
}

.npz4-btn-secondary {
  background: rgba(122, 142, 230, 0.15);
  color: var(--npz4-ink);
  border: 1px solid var(--npz4-accent);
}

.npz4-btn-secondary:hover {
  background: rgba(122, 142, 230, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.npz4-btn-large {
  padding: 0.95rem 2.2rem;
  font-size: 1.15rem;
}

/* Layout Container */
.npz4-main {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Split-Screen Hero */
.npz4-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
  background: var(--npz4-surface-card);
  border: 1px solid var(--npz4-border);
  border-radius: var(--npz4-card-radius);
  padding: 2.25rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--npz4-shadow);
}

.npz4-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(23, 232, 89, 0.15);
  border: 1px solid var(--npz4-accent2);
  color: var(--npz4-accent2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--npz4-pill-radius);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.npz4-hero-visual {
  position: relative;
  border-radius: var(--npz4-card-radius);
  overflow: hidden;
  box-shadow: var(--npz4-shadow);
  border: 1px solid var(--npz4-border);
}

.npz4-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Step-By-Step Start Here Panel */
.npz4-start-panel {
  background: rgba(24, 47, 31, 0.95);
  border: 1px solid var(--npz4-border-glow);
  border-radius: var(--npz4-card-radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--npz4-glow);
}

.npz4-start-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.npz4-step-card {
  background: var(--npz4-surface);
  border: 1px solid var(--npz4-border);
  border-radius: 10px;
  padding: 1.15rem;
  position: relative;
}

.npz4-step-num {
  font-family: var(--npz4-font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--npz4-accent2);
  margin-bottom: 0.4rem;
}

/* Callout Boxes (Google Spam Update Pillar 1 & 2) */
.npz4-callout {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  position: relative;
}

.npz4-expert-capsule {
  background: rgba(122, 142, 230, 0.12);
  border-left: 4px solid var(--npz4-accent);
}

.npz4-answer-capsule {
  background: rgba(23, 232, 89, 0.12);
  border-left: 4px solid var(--npz4-accent2);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  margin: 1.25rem 0;
}

.npz4-answer-capsule strong {
  color: var(--npz4-accent2);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.npz4-protip-box {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #FFC107;
}

.npz4-warning-box {
  background: rgba(244, 67, 54, 0.12);
  border-left: 4px solid #F44336;
}

/* Data Tables */
.npz4-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  border: 1px solid var(--npz4-border);
  background: var(--npz4-surface-card);
}

.npz4-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.npz4-table th {
  background: rgba(24, 47, 31, 0.95);
  color: var(--npz4-accent2);
  font-family: var(--npz4-font-head);
  padding: 0.85rem 1.15rem;
  border-bottom: 2px solid var(--npz4-border);
}

.npz4-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(122, 142, 230, 0.12);
}

.npz4-table tr:hover td {
  background: rgba(23, 232, 89, 0.05);
}

/* Glass Cards Grid */
.npz4-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.75rem 0;
}

.npz4-card {
  background: var(--npz4-surface-card);
  border: 1px solid var(--npz4-border);
  border-radius: var(--npz4-card-radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
}

.npz4-card:hover {
  transform: translateY(-3px);
  border-color: var(--npz4-accent2);
}

.npz4-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--npz4-accent2);
  background: rgba(23, 232, 89, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* FAQ Accordion Section */
.npz4-faq-item {
  background: var(--npz4-surface-card);
  border: 1px solid var(--npz4-border);
  border-radius: 10px;
  margin-bottom: 1rem;
  padding: 1.15rem 1.35rem;
}

.npz4-faq-q {
  font-family: var(--npz4-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--npz4-ink);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.npz4-faq-q::before {
  content: "Q:";
  color: var(--npz4-accent2);
}

/* Responsible Gaming Advisory */
.npz4-responsible-box {
  background: rgba(16, 33, 21, 0.95);
  border: 1px solid rgba(244, 67, 54, 0.35);
  border-radius: var(--npz4-card-radius);
  padding: 1.5rem 1.85rem;
  margin: 2.5rem 0;
}

.npz4-responsible-badge {
  display: inline-block;
  background: #F44336;
  color: #fff;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Mobile Bottom Navigation Bar */
.npz4-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 39, 25, 0.98);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--npz4-border);
  z-index: 1000;
  padding: 0.5rem 1rem;
}

.npz4-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.npz4-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--npz4-ink-muted);
  gap: 0.2rem;
  font-weight: 600;
}

.npz4-bottom-tab.active, .npz4-bottom-tab:hover {
  color: var(--npz4-accent2);
  text-decoration: none;
}

/* Footer (Centered-Stack DNA) */
.npz4-footer {
  background: #102115;
  border-top: 1px solid var(--npz4-border);
  padding: 3rem 1.5rem 6rem;
  margin-top: 4rem;
  text-align: center;
}

.npz4-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.npz4-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
}

.npz4-footer-links a {
  color: var(--npz4-ink-muted);
  font-size: 0.9rem;
}

.npz4-footer-disclaimer {
  font-size: 0.85rem;
  color: var(--npz4-ink-muted);
  line-height: 1.6;
}

/* Breadcrumbs */
.npz4-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--npz4-ink-muted);
  margin-bottom: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.npz4-breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: rgba(122, 142, 230, 0.4);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .npz4-hero-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .npz4-nav-links {
    display: none;
  }
  .npz4-bottom-nav {
    display: block;
  }
}

@media (max-width: 600px) {
  .npz4-main {
    padding: 1rem;
  }
  .npz4-start-steps {
    grid-template-columns: 1fr;
  }
}
