/* ==========================================
   Watchix Stable - Dark Theme Stylesheet
   Zero dependencies, pure vanilla CSS
   ========================================== */

/* --- CSS Variables --- */
:root {
  --primary: #30bdfd;
  --primary-hover: #0aa8e5;
  --bg: #0a0a0a;
  --bg-elevated: #14141f;
  --text: #f8f9fa;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --header-h: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 18px rgba(48, 189, 253, 0.3);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
input,
select {
  font-family: inherit;
}
ul {
  list-style: none;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}
@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden {
  display: none !important;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--primary);
}
.logo span {
  color: var(--text);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Mobile Menu --- */
.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 24px;
  padding-top: 80px;
}
.mobile-menu .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 700;
  transition: color var(--transition);
}
.mobile-menu a:hover {
  color: var(--primary);
}

/* --- Main Content --- */
main {
  flex: 1;
  padding-top: var(--header-h);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #000;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--glass-bg);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(48, 189, 253, 0.1);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

/* --- Cards --- */
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: block;
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(48, 189, 253, 0.3);
}
.card-img {
  aspect-ratio: 2/3;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img {
  transform: scale(1.06);
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.card:hover .card-overlay {
  opacity: 1;
}
.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 4px;
}
.card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* --- Section --- */
.section {
  padding: 48px 0;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title svg {
  color: var(--primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* --- Hero Carousel --- */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero {
    height: 85vh;
  }
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content .container {
  width: 100%;
}

.hero-content-inner {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 999px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 480px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero-dot.active {
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* --- Content Row Carousel --- */
.row-carousel {
  position: relative;
}

.row-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
}

.row-track::-webkit-scrollbar {
  display: none;
}

.row-track > * {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 160px;
}

@media (min-width: 640px) {
  .row-track > * {
    width: 180px;
  }
}

@media (min-width: 768px) {
  .row-track > * {
    width: 200px;
  }
}

.row-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition);
  opacity: 0;
}

.row-carousel:hover .row-scroll-btn {
  opacity: 1;
}

.row-scroll-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.row-scroll-btn.prev {
  left: 0;
}
.row-scroll-btn.next {
  right: 0;
}

/* --- History Card (horizontal) --- */
.row-track .history-card-wrap {
  position: relative;
}
.history-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2/3;
  display: block;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.history-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.history-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.history-card:hover img {
  transform: scale(1.06);
}
.history-card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.history-badge {
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 4px;
  margin-bottom: 6px;
  width: fit-content;
}
.history-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.history-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.history-card:hover .history-play {
  opacity: 1;
}
.history-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(48, 189, 253, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.history-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 10;
  padding: 5px;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.history-card-wrap:hover .history-remove-btn {
  opacity: 1;
}
.history-remove-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* --- Browse Page --- */
.browse-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .browse-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.browse-title {
  font-size: 2rem;
  font-weight: 900;
}

.browse-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  .browse-filters {
    width: auto;
  }
}

.filter-select,
.filter-input {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.filter-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.filter-input {
  padding-left: 42px;
  width: 100%;
}

.filter-input-wrap {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .filter-input-wrap {
    width: 240px;
  }
}

.filter-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-select:hover,
.filter-input:hover {
  border-color: var(--border-hover);
}
.filter-select:focus,
.filter-input:focus {
  border-color: var(--primary);
}

/* --- Load More --- */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* --- Empty / Loading State --- */
.state-msg {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-muted);
  text-align: center;
}

/* --- Spinner --- */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Player / Iframe --- */
.player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  margin-bottom: 24px;
}

/* Tailwind-equivalent utilities used by injected iframes */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.absolute {
  position: absolute;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.player-wrap iframe {
  border: none;
}

.player-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  height: 100%;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* --- TV Episode Controls --- */
.episode-panel {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.episode-panel-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .episode-panel-header {
    flex-direction: row;
    align-items: center;
  }
}

.episode-panel-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

@media (min-width: 640px) {
  .episode-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1024px) {
  .episode-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.episode-btn {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.episode-btn:hover {
  background: rgba(48, 189, 253, 0.2);
  border-color: var(--primary);
  color: #fff;
}

.episode-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
  font-weight: 700;
}

/* --- Metadata Panel --- */
.meta-panel {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .meta-panel {
    flex-direction: row;
    padding: 28px;
  }
}

.meta-poster {
  display: none;
  width: 200px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 2/3;
}

.meta-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .meta-poster {
    display: block;
    width: 160px;
  }
}

@media (min-width: 768px) {
  .meta-poster {
    width: 200px;
  }
}

.meta-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.meta-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.meta-title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .meta-title {
    font-size: 2.5rem;
  }
}

.meta-fav-btn {
  padding: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-fav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.meta-fav-btn.active svg {
  fill: var(--primary);
  color: var(--primary);
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-tag {
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.meta-tag-year {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.meta-tag-rating {
  background: rgba(48, 189, 253, 0.15);
  color: var(--primary);
  border: 1px solid rgba(48, 189, 253, 0.25);
  display: flex;
  align-items: center;
  gap: 4px;
}
.meta-tag-misc {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.meta-overview-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.meta-overview {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

.meta-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* --- Favorites Page --- */
.fav-section {
  margin-bottom: 40px;
}

.fav-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.fav-card-wrap {
  position: relative;
}

.remove-fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  padding: 6px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  color: #fff;
  opacity: 0;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fav-card-wrap:hover .remove-fav-btn {
  opacity: 1;
}
.remove-fav-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* --- Share Button --- */
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.share-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  background: rgba(10, 10, 10, 0.5);
  margin-top: auto;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--primary);
}

/* --- 404 Page --- */
.not-found-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h) - 100px);
  text-align: center;
  padding: 40px 20px;
}

.not-found-code {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.not-found-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

@media (min-width: 640px) {
  .not-found-title {
    font-size: 4rem;
  }
}

.not-found-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 32px;
  max-width: 400px;
}

.not-found-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* --- Privacy Page --- */
.privacy-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

.privacy-page h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 32px;
  text-align: center;
}

.privacy-page h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--primary);
}

.privacy-page p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* --- Pulse Animation --- */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* --- Fade in --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}
