:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #131b2e;
  --bg-card: rgba(19, 27, 46, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(236, 72, 153, 0.5);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #ec4899;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  --badge-bg: rgba(236, 72, 153, 0.15);
  --badge-border: rgba(236, 72, 153, 0.3);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #faf5ff;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(219, 39, 119, 0.4);
    --text-primary: #1e1b4b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #db2777;
    --accent-secondary: #7c3aed;
    --badge-bg: rgba(219, 39, 119, 0.1);
    --badge-border: rgba(219, 39, 119, 0.25);
  }
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.glow-bg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 500px;
  background: radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 25, 0.8);
}

@media (prefers-color-scheme: light) {
  header {
    background: rgba(250, 245, 255, 0.85);
  }
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.4));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

main {
  flex: 1;
  position: relative;
  z-index: 10;
  padding: 3rem 0;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #a855f7;
  box-shadow: 0 0 10px #a855f7;
}

h1 {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Quote Generator Box */
.fun-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 3.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  backdrop-filter: blur(10px);
}

.fun-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
  min-height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.btn-meow {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-meow:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.55);
}

.btn-meow:active {
  transform: translateY(0);
}

/* Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (max-width: 600px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.story-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.25);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #000;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.story-card:hover .card-img {
  transform: scale(1.04);
}

.card-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--badge-bg);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-quote {
  border-left: 3px solid var(--accent);
  padding-left: 0.85rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: auto;
}

footer {
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
