:root {
  --bg: #050816;
  --bg-alt: #0c1022;
  --accent: #ff5c8a;
  --accent-soft: rgba(255, 92, 138, 0.1);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2933;
  --card-radius: 16px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.4);
  --max-width: 960px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #050816 40%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header / Nav */

.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  backdrop-filter: blur(12px);
  background: radial-gradient(
    circle at top left,
    rgba(148, 163, 184, 0.05),
    transparent 55%
  );
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative; /* for dropdown positioning */
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.08),
    transparent 70%
  );
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
}

/* Hover pill style */
.nav a:hover {
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.1),
    transparent 65%
  );
}

/* Active nav item: brighter text, no always-on pill */
.nav a.nav-active {
  color: var(--text);
  font-weight: 600;
  border-color: transparent;
  background: none;
}

/* Layout */

.main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 840px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* BIG HERO VIDEO */

.hero-video-section {
  margin-bottom: 1.75rem;
}

.hero-video-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-video-card {
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-video-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.hero-video-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Generic card */

.card {
  background: radial-gradient(
    circle at top,
    rgba(148, 163, 184, 0.09),
    rgba(15, 23, 42, 0.95)
  );
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 1.25rem 1.35rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 92, 138, 0.12),
    transparent 55%
  );
  pointer-events: none;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
}

/* Buttons */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.83rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff9776);
  color: #111827;
  font-weight: 600;
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.85);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

/* Tip jar outline buttons */

.btn.outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--muted);
  font-weight: 500;
}

.btn.outline:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

/* (Legacy) generic video wrapper if you use it elsewhere */

.video-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-soft);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Status card bits */

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.status-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  color: var(--muted);
}

.status-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 92, 138, 0.6);
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  font-size: 0.75rem;
  margin: 0.8rem 0 1.1rem;
}

.status-metric {
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-metric-label {
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.status-metric-value {
  font-weight: 600;
}

.status-footnote {
  font-size: 0.68rem;
  color: var(--muted);
}

/* Sections */

.section {
  margin-top: 2rem;
}

.section h2 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.section p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.link-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Prose / content styling */

.prose h1 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.prose h2 {
  font-size: 1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
}

.prose p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0.5rem 0;
}

.prose ul,
.prose ol {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0.8rem;
}

.prose li {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.2rem 0;
}

.prose .lead {
  font-size: 0.98rem;
  color: var(--text);
}

/* FAQ */

.faq-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.75rem 0.85rem;
  background: rgba(15, 23, 42, 0.9);
}

.faq-q {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.faq-a {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Form */

.form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.form-row {
  display: grid;
  gap: 0.3rem;
}

.form-row label {
  font-size: 0.8rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 0.86rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

.form-helper {
  font-size: 0.74rem;
  color: var(--muted);
}

.form-actions {
  margin-top: 0.2rem;
}

/* Generator output (if reused) */

.generator-result h2 {
  font-size: 1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.3rem;
}

.generator-output {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.generator-output-input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: monospace;
  font-size: 0.82rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
}

.generator-copy-btn {
  white-space: nowrap;
}

/* Ad containers */

.ads-container {
  margin-top: 0.75rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.9rem 1.25rem 1.2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

/* Nav dropdown for prank link generator */

.nav-dropdown {
  position: absolute;
  right: 1.25rem;
  top: 100%;
  margin-top: 0.45rem;
  width: min(320px, 90vw);
  padding: 0.8rem 0.9rem 0.9rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.nav-dropdown-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.nav-dropdown-helper {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.nav-dropdown-input {
  width: 100%;
  font-family: monospace;
  font-size: 0.8rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  margin-bottom: 0.4rem;
}

.nav-dropdown-copy {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.nav-dropdown-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.nav-dropdown-meta div + div {
  margin-top: 0.15rem;
}

.nav-dropdown-status {
  font-size: 0.75rem;
  color: #bbf7d0;
}

