/* --------------------------------------------------
   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(200px, 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;
}

/* --------------------------------------------------
   SONG PAGE — LYRICS BOX & LOCAL ELEMENTS
-------------------------------------------------- */

/* Song page h2 (kept separate so it doesn't override global h2) */
.song-page h2 {
  color: #008c9e;
  border-left: 5px solid #39c5bb;
  padding-left: 10px;
  margin-top: 40px;
  margin-bottom: 5px; /* fixes spacing */
}

/* Links inside .links container */
.song-page .links a {
  display: inline-block;
  margin: 8px;
  padding: 10px 15px;
  background: #39c5bb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 150, 180, 0.2);
}

.song-page .links a:hover {
  background: #2ea89f;
}

/* Song page images */
.song-page img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.3);
  margin-top: 20px;
}

/* Lyrics box */
.lyrics {
  background: #ffffff;
  border-left: 4px solid #39c5bb;
  margin: 40px auto;
  padding: 20px 25px;
  max-width: 800px;
  line-height: 1.8;
  font-size: 18px;
  color: #003b46;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  border-radius: 8px;
  white-space: pre-wrap;
}

/* Lyrics title */
.lyrics h2 {
  margin-top: 0;
  color: #39c5bb;
  font-weight: 600;
}

/* --------------------------------------------------
   SHORT VIDEO PAGE — LOCAL STYLES
-------------------------------------------------- */

.short-page h2 {
  color: #008c9e;
  border-left: 5px solid #39c5bb;
  padding-left: 10px;
  margin-top: 40px;
  margin-bottom: 5px;
}

.short-page .links a {
  display: inline-block;
  margin: 8px;
  padding: 10px 15px;
  background: #39c5bb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 150, 180, 0.2);
}

.short-page .links a:hover {
  background: #2ea89f;
}

.short-page img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.3);
  margin-top: 20px;
}

/* --------------------------------------------------
   VIDEO PAGE — LOCAL STYLES
-------------------------------------------------- */

.video-page h2 {
  color: #008c9e;
  border-left: 5px solid #39c5bb;
  padding-left: 10px;
  margin-top: 40px;
  margin-bottom: 5px;
}

.video-page .links a {
  display: inline-block;
  margin: 8px;
  padding: 10px 15px;
  background: #39c5bb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0, 150, 180, 0.2);
}

.video-page .links a:hover {
  background: #2ea89f;
}

.video-page img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.3);
  margin-top: 20px;
}

/* Remove green border-left from Illustration title */
.video-page h2.illustration-title {
  border-left: none;
}

.video-page img,
.song-page img,
.short-page img {
  width: 90%;
  max-width: 450px;
  height: auto;
  display: block;
  margin: 20px auto;
}

.miku-footer-extra {
    margin-top: 30px;
    padding: 25px 20px;
    background: #f7fafa;
    border-top: 1px solid #dfeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-family: "Inter", sans-serif;
}

.miku-footer-extra h3 {
    margin: 0 0 10px 0;
    color: #39c5bb;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;              /* puts items next to each other */
    gap: 12px;                  /* space between links */
    flex-wrap: wrap;            /* allows wrapping on small screens */
}

.footer-links li {
    margin: 0;                  /* remove vertical spacing */
}

.footer-links a {
    color: #39c5bb;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-right {
    text-align: center;
}

.qr-title {
    margin-bottom: 10px;
    color: #39c5bb;
    font-weight: 500;
}

.qr-image {
    width: 140px;
    height: 140px;
    border-radius: 8px;
    border: 1px solid #dfeeee;
}

.download-note {
    margin-top: 6px;
    font-size: 13px;
    color: #7aa5a3;
}

/* Album sections */
.album-section {
  margin-top: 40px;
}

/* Album link */
.album-link {
  color: #003b46;
  text-decoration: none;
}

/* Album card layout */
.album-card {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
}

/* Album thumbnail */
.album-thumb {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 20px;
}

/* Album title */
.album-title {
  margin: 0;
  color: #003b46;
}

/* Album description */
.album-desc {
  margin-top: 8px;
  color: #005b63;
}

/* Special section */
.special-section {
  margin-top: 60px;
  border-top: 3px solid #0096b4;
  padding-top: 30px;
}

/* Special card */
.special-card {
  display: flex;
  align-items: center;
  margin-top: 20px;
  background: #e8f9fb;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 150, 180, 0.18);
}

/* Special thumbnail */
.special-thumb {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 22px;
}

/* Special description */
.special-desc {
  margin-top: 8px;
  color: #007a8a;
}

/* Special title */
.special-title {
  color: #007a8a;
}

.anniversary-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.anniversary-text {
  flex: 1;
}

.voicebank-list {
  width: 260px;
  background: #e8f9fb;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  line-height: 1.6;
  color: #003b46;
}


.miku-dedication {
  margin-top: 60px;
  text-align: center;
  font-size: 1.6rem;
  color: #003b46;
  font-weight: 500;
  line-height: 1.8;
}

/* Grid container */
.video-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card container */
.video-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 15px;
  margin-top: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
}

/* Inner item layout */
.video-item {
  display: flex;
  align-items: center;
}

/* Info wrapper */
.video-info {
  display: flex;
  flex-direction: column;
}

/* Title */
.video-title {
  margin: 0;
}

/* Link */
.video-link {
  color: #003b46;
  text-decoration: none;
}

/* Description */
.video-description {
  margin-top: 8px;
  color: #005b63;
}

/* Hide element */
.hidden {
  display: none;
}

/* Page layout */
.video-page-container {
  display: flex;
  gap: 30px;
}

/* Categories */
.video-categories ul {
  list-style: none;
  padding: 0;
}

.video-categories li {
  cursor: pointer;
  padding: 8px 0;
  color: #003b46;
}

.video-categories li.active {
  font-weight: bold;
  color: #007a87;
}

.subcategory-list {
  margin-left: 15px;
}

/* Video grid */
.video-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Video card */
.video-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
}

/* Video item */
.video-item {
  display: flex;
  align-items: center;
}

/* Info */
.video-info {
  display: flex;
  flex-direction: column;
}

.video-title {
  margin: 0;
}

.video-link {
  color: #003b46;
  text-decoration: none;
}

.video-description {
  margin-top: 8px;
  color: #005b63;
}

.video-outer-box {
  display: flex;
  align-items: center;
  margin-top: 25px;
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  margin-bottom: 20px;
}

.video-thumb {
  width: 160px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 20px;
}

.subcategory-box.hidden {
  display: none;
}

.video-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 150, 180, 0.15);
  margin-bottom: 20px;
}

.video-item {
  display: flex;
  align-items: center;
}

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

.illustration-card {
  margin-top: 24px;
  padding: 20px;
  background: #f7f7fb;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.illustration-card h3 {
  margin-top: 0;
  font-weight: 600;
  color: #6a7fa6;
}

.illustration-frame {
  margin: 16px 0;
  text-align: center;
}

.illustration-frame img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.illustration-note {
  font-size: 0.9rem;
  color: #777;
  text-align: center;
  margin-top: 12px;
}
