/* Global Styles & Variables */
:root {
  --color-bg: #ffffff;
  --color-text: #0f172a; /* Slate 900 */
  --color-text-muted: #475569; /* Slate 600 */
  --color-accent: #facc15; /* Yellow 400 */
  --color-accent-hover: #eab308; /* Yellow 500 */
  --color-border: #000000;
  --shadow-hard: 4px 4px 0px 0px #000000;
  --shadow-hard-sm: 2px 2px 0px 0px #000000;
  --shadow-hard-hover: 6px 6px 0px 0px #000000;
  --radius-card: 12px;
  --radius-btn: 8px;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Outfit:wght@500;700;800&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  color: var(--color-text);
}

/* Comic / Superhuman Inspired Components */

/* Buttons */
.comic-btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-border);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-hard);
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.comic-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-hover);
  background-color: var(--color-accent-hover);
}

.comic-btn:active {
  transform: translate(0px, 0px);
  box-shadow: var(--shadow-hard-sm);
}

.comic-btn-secondary {
  background-color: #ffffff;
}

.comic-btn-secondary:hover {
  background-color: #f8fafc;
}

/* Cards */
.comic-card {
  background-color: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hard);
  transition: all 0.3s ease;
  overflow: hidden;
}

.comic-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-hard-hover);
}

/* Navbar */
.comic-nav {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-border);
}

.nav-link {
  font-weight: 600;
  color: var(--color-text);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Typography Utilities */
.text-highlight {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.text-highlight::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 12px;
  background-color: var(--color-accent);
  z-index: -1;
  opacity: 0.6;
  transform: rotate(-1deg);
}

/* Prose / Content Overrides */
.prose {
  color: var(--color-text-muted);
}
.prose strong {
  color: var(--color-text);
}
.prose h1, .prose h2, .prose h3 {
  color: var(--color-text);
}
.prose a {
  color: var(--color-text);
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 3px;
}
.prose a:hover {
  background-color: var(--color-accent);
  color: black;
}
.prose blockquote {
  border-left-color: var(--color-accent);
  background-color: #fefce8; /* Yellow 50 */
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}
