* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: system-ui, sans-serif;
}

/* =====================
   BACKGROUND VIDEO
===================== */

#bgVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.55) contrast(1.1) saturate(1.1);
}

.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: -1;
}

/* =====================
   CATEGORY NAV
===================== */

#category-nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: darkgoldenrod;
  z-index: 10;
}

#category-nav button {
  padding: 0.4rem 0.8rem;
  border: none;
  background: darkgoldenrod;
  cursor: pointer;
  font-weight: 600;
}

#category-nav button.active {
  color: white;
  text-decoration: underline;
}

/* =====================
   CONTENT
===================== */

#page {
  padding: 3rem 1rem;
}

#article {
  max-width: 800px;
  margin: 0 auto 3rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 6px;
}

.author {
  margin: 0.5rem 0 1.5rem;
  font-style: italic;
  color: #555;
}

#article-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* =====================
   PAYPAL BUTTON
===================== */

.support-author {
  margin-top: 2.5rem;
  text-align: center;
}

.support-author img {
  max-width: 220px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.support-author img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =====================
   NAV
===================== */

#nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

#nav input {
  width: 60px;
  text-align: center;
}

.cakxo-link {
  background-color: rgba(180, 180, 180, 0.1);
  border-radius: 5px;
  color: #F2F2F2;
  overflow-x: auto;
  white-space: nowrap;
  text-decoration: none;
  width:43px;
}

.cakxo-link:hover {
color: black;
background-color: rgba(180, 180, 180, 0.1);
}

