/* --------------------------------------------------
   GLOBAL
-------------------------------------------------- */
body {
  background: #e8faff;
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  color: #003b46;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */
nav {
  background: #39c5bb;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.3);
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-size: 18px;
  font-weight: bold;
}

nav a:hover {
  text-shadow: 0 0 8px white;
}

/* --------------------------------------------------
   HEADER
-------------------------------------------------- */
header {
  background: linear-gradient(135deg, #39c5bb, #7de3ff);
  padding: 60px;
  text-align: center;
  color: white;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.4);
}

header h1 {
  margin: 0;
  font-size: 45px;
}

header p {
  margin-top: 10px;
  font-size: 20px;
  opacity: 0.9;
}

/* --------------------------------------------------
   MAIN CONTENT
-------------------------------------------------- */
section {
  padding: 30px;
  max-width: 900px;
  margin: auto;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background: #c7f7ff;
  color: #005b63;
}

/* --------------------------------------------------
   SIDEBAR
-------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #39c5bb;
  padding-top: 120px;
  box-shadow: 4px 0 15px rgba(0, 150, 180, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 999;
}

.sidebar-button {
  width: 80%;
  background: white;
  color: #39c5bb;
  border: none;
  padding: 14px 20px;
  margin: 10px 0;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 10px rgba(255,255,255,0.4);
  transition: 0.3s ease;
}

.sidebar-button:hover,
.sidebar-button.active {
  background: #e8ffff;
  box-shadow: 0 0 15px rgba(255,255,255,0.7);
}

/* --------------------------------------------------
   LIGHTBOX (IMAGE POPUP)
-------------------------------------------------- */
/* Lightbox container */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox:target {
  display: flex;
}

/* Click-outside area */
.lightbox-bg {
  position: absolute;
  inset: 0;
  display: block;
}

/* Big image */
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  z-index: 2;
  border-radius: 8px;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  text-decoration: none;
  z-index: 3;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-close:hover {
  color: #39c5bb;
}

/* --------------------------------------------------
   CONTENT GRID
-------------------------------------------------- */
.content-area {
  margin-left: 260px;
  padding: 40px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.content-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 150, 180, 0.15);
  transition: 0.3s ease;
  animation: fadeIn 0.8s ease forwards;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px rgba(0, 150, 180, 0.3);
}

.content-card h2 a {
  color: #39c5bb;
  text-decoration: none;
}

.content-card h2 a:hover {
  text-shadow: 0 0 6px #39c5bb;
}

/* --------------------------------------------------
   DIVIDERS
-------------------------------------------------- */
.glow-divider {
  width: 80%;
  height: 2px;
  margin: 20px auto 40px;
  background: linear-gradient(90deg, transparent, #39c5bb, transparent);
  box-shadow: 0 0 12px rgba(57, 197, 187, 0.6);
  border-radius: 2px;
}

/* --------------------------------------------------
   PRIVACY POLICY PAGE
-------------------------------------------------- */
.content h1 {
  color: #39c5bb;
  text-align: center;
  margin-bottom: 20px;
  font-size: 36px;
}

.content h2 {
  color: #39c5bb;
  margin-top: 30px;
  font-size: 26px;
}

.content h3 {
  color: #39c5bb;
  margin-top: 20px;
  font-size: 22px;
}

.content p,
.content ul {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 18px;
}

.content a {
  color: #39c5bb;
  text-decoration: none;
  font-weight: bold;
}

.content a:hover {
  text-decoration: underline;
}

.category {
    margin-bottom: 30px;
}

.category h3 {
    margin-bottom: 5px;
}

.category p {
    margin-bottom: 10px;
}

.platform-list {
    list-style: none;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: fit-content;
}

.platform-list li {
    margin-bottom: 8px;
}

.platform-list li a {
    text-decoration: none;
    color: #0073e6;
    font-weight: 600;
}

.platform-list li a:hover {
    text-decoration: underline;
}

.platform-list {
    list-style: none;
    padding: 25px 40px; /* top/bottom = 25px, left/right = 40px */
    background: white;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 480px; 
    margin-left: 10px;
}

.platform-list li {
    margin-bottom: 12px; /* more spacing between items */
}

.platform-list li a {
    text-decoration: none;
    color: #0073e6;
    font-weight: 600;
}

.platform-list li a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
   VIDEO CATEGORY FILTER
-------------------------------------------------- */

.video-page-container {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.video-categories {
  width: 200px;
  padding: 10px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  height: fit-content;
}

.video-categories h3 {
  margin-top: 0;
  color: #39c5bb;
}

.video-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.video-categories li {
  padding: 8px 10px;
  margin-bottom: 6px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  color: #003b46;
  font-weight: 600;
}

.video-categories li:hover {
  background: #e8faff;
}

.video-categories li.active {
  background: #c7f7ff;
  font-weight: bold;
}

/* Subcategory styling */
.video-categories .subcategory {
  margin-left: 15px;
  font-size: 0.95em;
  opacity: 0.85;
}

.video-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.video-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  display: flex;
  align-items: center;
  gap: 20px;
}

.video-item img {
  width: 160px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================
   🎉 Hatsune Miku Birthday Theme
   Only activates when JS adds .miku-birthday to <body>
   ============================ */

body.miku-birthday {
    background-image: url("images/miku-birthday-bg.png"); /* optional */
    background-size: cover;
    background-repeat: no-repeat;
    animation: mikuGlow 3s infinite alternate;
}

@keyframes mikuGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.25); }
}

/* --------------------------------------------------
   FEATURED TRACK — MATCHED GREEN COLUMN
-------------------------------------------------- */

.highlight-track {
  background: #c7f7ff; /* matched green */
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  color: white; /* white text */
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

/* Make the link white too */
.highlight-track a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.highlight-track a:hover {
  text-decoration: underline;
}
