/*
Theme Name: DebtReset Dark
Author: Assistant
Description: Radical Dark Mode Acid Design
Version: 2.1
*/

:root {
  /* Colors */
  --bg-deep: #050505;
  --bg-card: #0f0f11;
  --text-main: #ffffff;
  --text-muted: #888888;
  --accent-acid: #CCFF00; /* Acid Green */
  --accent-purple: #7000FF;
  --border-dim: rgba(255,255,255,0.1);
  
  /* Fonts */
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Mulish', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --pad-container: max(1.5rem, 4vw);
  --radius-lg: 24px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* BACKGROUND BLOBS */
.bg-gradients {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.15;
  border-radius: 50%;
}

.blob-1 {
  width: 60vw;
  height: 60vw;
  background: var(--accent-purple);
  top: -20%;
  left: -20%;
}

.blob-2 {
  width: 50vw;
  height: 50vw;
  background: var(--accent-acid);
  bottom: -20%;
  right: -20%;
}

/* HEADER - FLOATING PILL */
.site-header {
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none; /* Let clicks pass through around the pill */
}

.floating-pill {
  pointer-events: auto;
  background: rgba(15, 15, 17, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-logo .dot {
  color: var(--accent-acid);
}

.header-divider {
  width: 1px;
  height: 16px;
  background: var(--border-dim);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
}

.toggle-line {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle:hover .toggle-line {
  background: var(--accent-acid);
}

/* MENU OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 900;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay.active {
  transform: translateY(0);
}

.menu-container {
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.menu-list-huge {
  list-style: none;
  margin-bottom: 4rem;
}

.menu-list-huge li {
  margin: 1rem 0;
  overflow: hidden;
}

.menu-list-huge a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  transition: 0.3s;
  display: block;
}

.menu-list-huge a:hover {
  color: var(--accent-acid);
  -webkit-text-stroke: 1px var(--accent-acid);
  transform: scale(1.05);
}

.menu-info {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-dim);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* HERO SECTION */
.hero-wrapper {
  min-height: 100vh;
  padding: 8rem var(--pad-container) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.hero-tag {
  font-family: var(--font-mono);
  color: var(--accent-acid);
  margin-bottom: 1rem;
  display: block;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.hero-headline span {
  display: block;
}

.hero-headline .highlight {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-main);
}

.hero-description {
  max-width: 500px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  border-left: 1px solid var(--accent-purple);
  padding-left: 1.5rem;
}

/* CARDS GRID */
.grid-container {
  padding: 4rem var(--pad-container);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-acid);
  transform: translateY(-5px);
}

.card-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  margin-top: auto; /* Push to bottom if needed */
}

.card-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-acid);
  margin-top: 1.5rem;
}

.card-img-wrap {
  margin: -2rem -2rem 1.5rem -2rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 0;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  border-radius: 0;
}

.glass-card:hover .card-img-wrap img {
  transform: scale(1.1);
  filter: contrast(1.2);
}

/* ABOUT SECTION */
.about-section {
  padding: 6rem var(--pad-container);
  background: var(--bg-card);
  margin: 4rem 0;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent-acid);
  margin-bottom: 2rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #ccc;
}

/* FOOTER */
.site-footer {
  padding: 6rem var(--pad-container);
  border-top: 1px solid var(--border-dim);
  background: #000;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--accent-acid);
}

.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* PAGE / SINGLE */
.page-container {
  padding: 4rem var(--pad-container) 6rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Entry Content Styles */
.entry-content {
  font-size: 1.15rem;
  line-height: 1.7;
}

.entry-content h2, .entry-content h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  margin: 3rem 0 1.5rem;
  font-weight: 600;
}

.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; color: var(--accent-acid); }

.entry-content p {
  margin-bottom: 1.5rem;
  color: #ddd;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.entry-content blockquote {
  border-left: 4px solid var(--accent-acid);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: #fff;
  background: rgba(204, 255, 0, 0.05);
}

/* PAGINATION */
.pagination-wrapper {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}

.pagination-wrapper ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.pagination-wrapper .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dim);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s;
}

.pagination-wrapper .page-numbers.current {
  background: var(--accent-acid);
  color: #000;
  border-color: var(--accent-acid);
  font-weight: 700;
}

.pagination-wrapper .page-numbers:not(.current):hover {
  border-color: var(--accent-acid);
  color: var(--accent-acid);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .menu-info { flex-direction: column; gap: 1rem; }
  .hero-headline { font-size: 3rem; }
  .entry-content { padding: 1.5rem !important; }
}
