:root {
  --ink: #f4f7ff;
  --muted: #a9b4ca;
  --paper: #08101d;
  --panel: rgba(16, 25, 43, .78);
  --line: rgba(255, 255, 255, .12);
  --cyan: #5de4ff;
  --rose: #ff8ab7;
  --gold: #f0c56d;
  --shadow: 0 28px 90px rgba(0, 0, 0, .36);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(93, 228, 255, .18), transparent 34%),
    linear-gradient(225deg, rgba(255, 138, 183, .14), transparent 38%),
    linear-gradient(180deg, #07101d 0%, #0c1424 48%, #11101d 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(7, 13, 25, .74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: grid; gap: 1px; }
.brand span { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.brand strong { font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif; font-size: 25px; }
.site-header nav { display: flex; gap: 6px; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.site-header nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: all .2s ease;
}
.site-header nav a:hover, .site-header nav a.active, .site-header nav a:focus-visible {
  color: var(--ink);
  border-color: rgba(241, 194, 107, .45);
  background: rgba(241, 194, 107, .12);
}
.site-main { width: min(1220px, 92vw); margin: 0 auto; padding: 34px 0 90px; }

/* Hero Mobile-Only Action Button (Hidden on PC/Desktop, visible on Mobile <= 980px) */
.page-hero-action {
  display: none !important;
}

@media (max-width: 980px) {
  .page-hero-action {
    display: flex !important;
    width: 100% !important;
    margin-top: 8px !important;
  }
}
.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}
.video-home-hero {
  min-height: min(620px, calc(100svh - 86px));
  padding-top: clamp(18px, 4vw, 46px);
  padding-bottom: clamp(24px, 5vw, 54px);
}
.hero-copy, .detail-copy { display: grid; gap: 18px; }
.kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(93, 228, 255, .35);
  border-radius: 999px;
  background: rgba(93, 228, 255, .11);
  color: #aef5ff;
  font-size: 13px;
  font-weight: 900;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-title h1, .detail-copy h1 {
  margin-bottom: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  font-size: 88px;
  line-height: .92;
  letter-spacing: 0;
}
.lead, .page-title p, .section-head p, .video-card p, .detail-copy p { color: var(--muted); line-height: 1.85; overflow-wrap: anywhere; }
.hero-actions, .meta-row, .tag-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(93, 228, 255, .6);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
}
.button.primary {
  background: #fff;
  color: #07101d;
  border-radius: 8px;
}
.button.primary:hover, .button.primary:focus-visible {
  background: #e2ebff;
  color: #07101d;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(93, 228, 255, .35);
}
.button.accent {
  background: rgba(93, 228, 255, .18);
  border-color: rgba(93, 228, 255, .6);
  color: #aef5ff;
  border-radius: 8px;
}
.button.accent:hover, .button.accent:focus-visible {
  background: rgba(93, 228, 255, .32);
  border-color: #5de4ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(93, 228, 255, .4);
}
.stage {
  min-height: 520px;
  display: grid;
  align-content: end;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 10, 22, .88) 76%),
    url("../images/cards/videos.png") 66% 50% / cover;
  box-shadow: var(--shadow);
}
.video-home-hero .stage {
  min-height: 420px;
}
.stage strong { font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif; font-size: 54px; line-height: 1; }
.stage span { color: var(--muted); line-height: 1.8; max-width: 420px; }
.section { margin-top: 46px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.section-head h2 { font-size: 48px; }
.page-title {
  display: grid;
  gap: 10px;
  margin: 6px 0 28px;
}
.page-title .kicker { margin-bottom: 2px; }
.page-title h1 {
  font-size: 36px;
  line-height: 1.22;
}
.page-title p {
  margin: 0;
  max-width: 720px;
}
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.video-card:hover, .video-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(93, 228, 255, .65);
  background: rgba(20, 32, 54, .92);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .45);
}
.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(93,228,255,.24), rgba(255,138,183,.22));
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.video-card:hover .thumb img {
  transform: scale(1.04);
}
.thumb span { color: rgba(255,255,255,.7); font-weight: 900; }
.video-card h3 { margin-bottom: 0; line-height: 1.45; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #d9e4ff;
  font-size: 12px;
  font-weight: 900;
}
.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0 12px;
}
.filters input, .filters select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 14px;
  box-sizing: border-box;
}
.filters select {
  cursor: pointer;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
  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='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.filters select option {
  background: #0f172a;
  color: #f1f5f9;
}
.list-status {
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .filters {
    grid-template-columns: 1fr;
  }
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.detail-layout .detail-copy h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}
.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}
.note-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.empty {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: var(--muted);
}

/* Pagination Bar for Videos */
.page-status {
  text-align: center;
  margin: 28px 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.page-status strong {
  color: var(--ink);
  font-weight: 800;
}
.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 36px 0 24px;
  flex-wrap: wrap;
}
.page-numbers {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.page-btn:hover:not([disabled]) {
  border-color: var(--cyan);
  background: rgba(93, 228, 255, .2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 228, 255, .25);
}
.page-btn.active {
  border-color: var(--cyan);
  background: var(--cyan);
  color: #07101d;
  font-weight: 900;
  cursor: default;
  box-shadow: 0 4px 14px rgba(93, 228, 255, .4);
}
.page-btn[disabled] {
  opacity: .32;
  cursor: not-allowed;
}
.page-btn.nav-btn {
  padding: 0 16px;
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero, .detail-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 24px; }
  .video-home-hero { padding-top: 18px; padding-bottom: 32px; }
  .stage { min-height: 360px; }
  .video-home-hero .stage { min-height: 320px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1, .detail-copy h1 { font-size: 64px; }
  .section-head h2 { font-size: 40px; }
  .page-title h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .site-main { width: min(92vw, 560px); }
  .video-grid, .filters { grid-template-columns: 1fr; }
  .hero h1, .detail-copy h1 { font-size: 46px; }
  .section-head h2 { font-size: 34px; }
  .page-title h1 { font-size: 28px; line-height: 1.28; }
  .stage strong { font-size: 36px; }
  .button { width: 100%; }
}
@media (max-width: 420px) {
  .page-title h1 { font-size: 27px; line-height: 1.3; }
}


/* ==========================================================================
   Universal Mobile Header & Hamburger Navigation System
   ========================================================================== */
.menu-toggle {
  display: none !important;
}

@media (min-width: 981px) and (max-width: 1150px) {
  .site-header {
    padding: 12px clamp(12px, 2vw, 24px) !important;
  }
  .site-header nav {
    gap: 4px !important;
  }
  .site-header nav a {
    padding: 6px 7px !important;
    font-size: 12px !important;
    min-height: 32px !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 18px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
  }
  
  .site-header .brand {
    margin-right: auto !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid var(--line, rgba(255, 255, 255, .2)) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    color: #ffffff !important;
    transition: background .2s ease, border-color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:hover, .menu-toggle:focus-visible {
    background: rgba(255, 255, 255, .15) !important;
  }
  .menu-toggle svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
  }
  .menu-toggle .icon-menu {
    display: block !important;
  }
  .menu-toggle .icon-close {
    display: none !important;
  }
  .menu-toggle.is-active .icon-menu {
    display: none !important;
  }
  .menu-toggle.is-active .icon-close {
    display: block !important;
  }

  /* Mobile / Tablet Dropdown Nav (Luxury List & Adaptive Grid) */
  .site-header > nav:not(.stamp-subnav) {
    display: none !important;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(8, 14, 26, 0.97) !important;
    border-bottom: 1px solid rgba(240, 197, 109, 0.3) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(93, 228, 255, 0.06) !important;
    padding: 16px 18px 24px !important;
    gap: 10px !important;
    z-index: 200 !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    animation: slideDownNav .22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes slideDownNav {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 52px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: #f1f5f9 !important;
    text-align: left !important;
    position: relative !important;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Category Icons for Mobile Nav */
  .site-header.nav-open > nav:not(.stamp-subnav) a:first-child::before { content: "🏠\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="summon"]::before { content: "🔮\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="stamps"]::before { content: "🐾\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="talk"]::before { content: "💬\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="news"]::before { content: "📰\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="members"]::before { content: "👥\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a[href*="videos"]::before { content: "🎬\00a0\00a0"; }
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note::before { content: "📝\00a0\00a0"; }

  /* Right Arrow on Menu Items */
  .site-header.nav-open > nav:not(.stamp-subnav) a::after {
    content: "→";
    display: inline-block;
    margin-left: auto;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    padding-left: 12px;
    transition: transform .2s ease, color .2s ease, opacity .2s ease;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a:hover,
  .site-header.nav-open > nav:not(.stamp-subnav) a:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(240, 197, 109, 0.35) !important;
    color: #ffffff !important;
    transform: translateX(4px) !important;
  }

  .site-header.nav-open > nav:not(.stamp-subnav) a:hover::after,
  .site-header.nav-open > nav:not(.stamp-subnav) a:focus-visible::after {
    color: var(--gold, #f0c56d) !important;
    opacity: 0.95 !important;
    transform: translateX(3px);
  }

  /* Active Menu Item */
  .site-header.nav-open > nav:not(.stamp-subnav) a.active {
    background: linear-gradient(90deg, rgba(93, 228, 255, 0.16), rgba(93, 228, 255, 0.04)) !important;
    border-color: rgba(93, 228, 255, 0.45) !important;
    color: var(--cyan, #5de4ff) !important;
    box-shadow: inset 4px 0 0 #5de4ff, 0 0 16px rgba(93, 228, 255, 0.12) !important;
  }
  .site-header.nav-open > nav:not(.stamp-subnav) a.active::after {
    content: "●";
    color: var(--cyan, #5de4ff) !important;
    opacity: 1 !important;
    font-size: 10px !important;
  }

  /* Note Magazine Special Accent */
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note {
    background: linear-gradient(90deg, rgba(240, 197, 109, 0.12), rgba(245, 158, 11, 0.04)) !important;
    border-color: rgba(240, 197, 109, 0.3) !important;
    color: #f0c56d !important;
  }
  .site-header.nav-open > nav:not(.stamp-subnav) a.nav-link-note::after {
    content: "↗" !important;
    color: #f0c56d !important;
    opacity: 0.8 !important;
  }

  /* Tablet & Mobile Landscape Multi-Column Smart Grid (580px ~ 980px or Landscape with low height) */
  @media (min-width: 580px) and (max-width: 980px), (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
    .site-header.nav-open > nav:not(.stamp-subnav) {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 10px 14px !important;
      padding: 20px 24px 28px !important;
    }
  }
}

/* ==========================================================================
   ✨ ENHANCED WORLD & PORTAL STYLES (Antigravity Pro Version)
   ========================================================================== */

.ambient-particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Glass Panels & Atmosphere */
.glass-box {
  background: rgba(14, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  position: relative;
  z-index: 1;
}

.glass-box-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-box-hover:hover {
  background: rgba(22, 36, 66, 0.88);
  border-color: rgba(93, 228, 255, 0.38);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(93, 228, 255, 0.12);
}

/* Hero Banner & Glowing Orbs */
.portal-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(12, 20, 39, 0.92) 0%, rgba(9, 14, 29, 0.95) 100%);
  border: 1px solid rgba(93, 228, 255, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.portal-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(93, 228, 255, 0.15) 0%, rgba(129, 140, 248, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.portal-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 197, 109, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.portal-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.portal-hero-grid .hero-copy {
  order: 1;
}

.portal-hero-grid .stage-slider-container {
  order: 2;
  margin: 6px auto 12px;
}

.portal-hero-grid .article-notifications {
  order: 3;
}

@media (min-width: 1160px) {
  .portal-hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    grid-template-areas:
      "copy  stage"
      "notes stage";
    gap: 0 40px;
    align-items: center;
  }
  .portal-hero-grid .hero-copy {
    grid-area: copy;
    order: unset;
  }
  .portal-hero-grid .stage-slider-container {
    grid-area: stage;
    order: unset;
    margin: 0 auto;
  }
  .portal-hero-grid .article-notifications {
    grid-area: notes;
    order: unset;
    margin-top: 10px;
  }
}

.portal-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif !important;
  font-size: clamp(34px, 5vw, 54px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin: 12px 0 20px !important;
}

.portal-title .dot {
  color: var(--cyan);
}

/* ==========================================================================
   ✨ 3D Coverflow Slider / Interactive Stage (Antigravity Pro Version)
   ========================================================================== */
.stage-slider-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stage-cards-track {
  position: relative;
  width: 100%;
  height: 305px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.stage-card {
  position: absolute;
  width: 255px;
  height: 295px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.stage-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
}

.stage-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.stage-card:hover .stage-card-thumb img {
  transform: scale(1.05);
}

.stage-card-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(10, 16, 30, 0.95) 100%);
}

.stage-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.stage-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stage-card-desc {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stage-card-action {
  font-size: 11px;
  font-weight: 800;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Position States: Left, Center, Right */
.stage-card.is-center {
  transform: translateX(0) translateZ(50px) scale(1);
  z-index: 10;
  border-color: rgba(240, 197, 109, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(240, 197, 109, 0.28);
  opacity: 1;
}

.stage-card.is-left {
  transform: translateX(-90px) translateZ(0) scale(0.85) rotateY(12deg);
  z-index: 5;
  border-color: rgba(93, 228, 255, 0.4);
  opacity: 0.82;
  filter: brightness(0.8);
}

.stage-card.is-left:hover {
  opacity: 1;
  filter: brightness(1);
  transform: translateX(-95px) translateZ(20px) scale(0.88) rotateY(6deg);
  border-color: var(--cyan);
}

.stage-card.is-right {
  transform: translateX(90px) translateZ(0) scale(0.85) rotateY(-12deg);
  z-index: 5;
  border-color: rgba(177, 140, 255, 0.4);
  opacity: 0.82;
  filter: brightness(0.8);
}

.stage-card.is-right:hover {
  opacity: 1;
  filter: brightness(1);
  transform: translateX(95px) translateZ(20px) scale(0.88) rotateY(-6deg);
  border-color: #b48cff;
}

.stage-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateZ(-150px) scale(0.6);
  z-index: 0;
}

@media (max-width: 560px) {
  .stage-slider-container {
    max-width: 320px;
    height: 310px;
  }
  .stage-cards-track {
    height: 250px;
  }
  .stage-card {
    width: 215px;
    height: 245px;
    border-radius: 14px;
  }
  .stage-card-title {
    font-size: 13px;
    margin: 0 0 2px;
  }
  .stage-card-desc {
    display: none;
  }
  .stage-card.is-left {
    transform: translateX(-55px) translateZ(0) scale(0.82) rotateY(10deg);
  }
  .stage-card.is-right {
    transform: translateX(55px) translateZ(0) scale(0.82) rotateY(-10deg);
  }
}

/* Slider Controls & Dots */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  z-index: 15;
}

.slider-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.slider-btn:hover {
  background: var(--cyan);
  color: #07101d;
  border-color: var(--cyan);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.is-active {
  background: var(--cyan);
  width: 20px;
  border-radius: 999px;
}


/* Roadmap Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.roadmap-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.roadmap-icon {
  font-size: 32px;
  line-height: 1;
}

.roadmap-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
  transition: color 0.2s ease;
}
.roadmap-card:hover h3 {
  color: var(--cyan);
}

.roadmap-sub {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.roadmap-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}

.room-update {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 16px;
}

.roadmap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Character Cards & Speech Bubbles */
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.char-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: visible;
}

.char-avatar-box {
  position: relative;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-bottom: 14px;
}

.char-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.char-card:hover .char-avatar-box img {
  transform: scale(1.08);
}

.char-speech-bubble {
  position: absolute;
  top: -12px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(93, 228, 255, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.45;
  color: #e0f2fe;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}

.char-card:hover .char-speech-bubble {
  opacity: 1;
  transform: translateY(0);
}

.char-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 24px;
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(15, 23, 42, 0.96) transparent;
  display: block;
  width: 0;
}

.char-info h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  transition: color 0.2s ease;
}

.char-card:hover .char-info h3 {
  color: var(--cyan);
}

.char-role {
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 8px;
}

.char-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}


/* Character Card Dual Actions */
.char-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.char-actions .button {
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 700;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
  border-radius: 8px;
}

.char-actions .char-btn-profile {
  background: rgba(93, 228, 255, 0.12);
  border: 1px solid rgba(93, 228, 255, 0.38);
  color: var(--cyan);
}

.char-actions .char-btn-profile:hover {
  background: var(--cyan);
  color: #030712;
  border-color: var(--cyan);
  box-shadow: 0 4px 14px rgba(93, 228, 255, 0.35);
}

.char-actions .char-btn-video {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
}

.char-actions .char-btn-video:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.char-avatar-box a {
  display: block;
  width: 100%;
  height: 100%;
}

.char-info h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.char-info h3 a:hover {
  color: var(--cyan);
}

/* Category Tabs */
.portal-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 6px;
  background: rgba(10, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
  box-sizing: border-box;
  touch-action: pan-x;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.portal-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.portal-tab-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.portal-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.portal-tab-btn.is-active {
  background: var(--cyan);
  color: #07101d;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(93, 228, 255, 0.3);
}

@media (max-width: 640px) {
  .portal-tabs {
    width: 100%;
    padding: 6px 8px;
    gap: 8px;
  }
  .portal-tab-btn {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* Story Grid & Entry Card Responsive Layout */
#story-grid, .story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

#story-grid .entry-card, .story-grid .entry-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  grid-column: auto;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

#story-grid .entry-card.is-hidden, .story-grid .entry-card.is-hidden {
  display: none !important;
}

#story-grid .entry-card:hover, .story-grid .entry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 228, 255, 0.5);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

#story-grid .entry-card img, .story-grid .entry-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

#story-grid .entry-card h2, .story-grid .entry-card h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0 6px;
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: #ffffff;
}

#story-grid .entry-card p:not(.card-kicker), .story-grid .entry-card p:not(.card-kicker) {
  font-size: 13.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0;
}

/* Story Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 36px 0 20px;
}

.pagination button {
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: #94a3b8;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.8);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.pagination button:hover:not(.current):not([disabled]) {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(93, 228, 255, 0.15);
}

.pagination .current {
  color: #07101d !important;
  background: var(--cyan) !important;
  border-color: var(--cyan) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(93, 228, 255, 0.3);
}

.pagination .disabled,
.pagination button[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 640px) {
  #story-grid, .story-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #story-grid .entry-card, .story-grid .entry-card {
    padding: 14px;
  }
  #story-grid .entry-card h2, .story-grid .entry-card h2 {
    font-size: 16px;
  }
  .pagination button {
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }
}

/* Story Theater Layout */
.theater-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.theater-card {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theater-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.theater-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.theater-card:hover .theater-thumb img {
  transform: scale(1.06);
}

.theater-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.theater-card:hover .theater-play-btn {
  opacity: 1;
}

.play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--cyan);
  color: #07101d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(93, 228, 255, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theater-card:hover .play-circle {
  transform: scale(1);
}

.theater-body {
  padding: 20px;
}

.theater-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 8px 0;
  color: #fff;
  line-height: 1.4;
  cursor: pointer;
}
.theater-body h3:hover {
  color: var(--cyan);
}

.theater-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.theater-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.button-note {
  background: rgba(177, 140, 255, 0.12) !important;
  border: 1px solid rgba(177, 140, 255, 0.35) !important;
  color: #d8b4fe !important;
  justify-content: center;
  width: 100%;
}
.button-note:hover {
  background: rgba(177, 140, 255, 0.25) !important;
  color: #fff !important;
}

/* Notification Article Banner list with Hover Background Reveal */
.article-notify-card {
  position: relative;
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.article-notify-card .notify-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.article-notify-card .notify-bg img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.08) translateX(12px);
  filter: blur(6px);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,1) 80%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,1) 80%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.article-notify-card.is-stamp .notify-bg img {
  width: 110px;
  height: auto;
  max-height: 90%;
  left: auto;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) scale(1.15) translateX(10px);
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
}

.article-notify-card:hover .notify-bg img {
  opacity: 0.85;
  transform: scale(1) translateX(0);
  filter: blur(0px);
}

.article-notify-card.is-stamp:hover .notify-bg img {
  opacity: 0.95;
  transform: translateY(-50%) scale(1) translateX(0);
  filter: blur(0px);
}

.article-notify-card .notify-body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.article-notify-card .link-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.article-notify-card:hover .link-arrow {
  transform: translateX(4px);
}

/* Category-specific borders and glows on hover */
.article-notify-card.is-summon {
  border-color: rgba(93, 228, 255, 0.35);
}
@media (hover: hover) and (pointer: fine) {
  .article-notify-card.is-summon:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(93, 228, 255, 0.75);
    box-shadow: 0 10px 30px rgba(93, 228, 255, 0.3);
    transform: translateY(-3px);
  }

  .article-notify-card.is-stamp:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(240, 197, 109, 0.8);
    box-shadow: 0 10px 30px rgba(240, 197, 109, 0.3);
    transform: translateY(-3px);
  }

  .article-notify-card.is-talk:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(245, 158, 11, 0.8);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    transform: translateY(-3px);
  }

  .article-notify-card.is-news:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
    transform: translateY(-3px);
  }

  /* Hero Center Hover Cinema Large Floating Preview Overlay (Desktop Only) */
  .hero-hover-cinema {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    width: min(720px, 92%);
    max-width: 720px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .hero-hover-cinema.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .hero-hover-cinema .cinema-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at center, #1e293b 0%, #0a0f1d 100%);
    border: 2px solid var(--cinema-accent, rgba(93, 228, 255, 0.7));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95),
                0 10px 40px rgba(0, 0, 0, 0.8),
                0 0 40px var(--cinema-glow, rgba(93, 228, 255, 0.35));
  }

  .hero-hover-cinema .cinema-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
  }

  .hero-hover-cinema .cinema-img.is-contain {
    object-fit: contain;
    padding: 30px;
  }

  .hero-hover-cinema.is-active .cinema-img {
    transform: scale(1.02);
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .hero-hover-cinema {
    display: none !important;
  }
}

.badge-new {
  padding: 2px 7px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  display: inline-block;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   🎨 LINE STAMP SHOWCASE & GALLERY (Major Headline Feature)
   ========================================================================== */
.stamp-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stamp-showcase-card {
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(240, 197, 109, 0.25);
  background: linear-gradient(180deg, rgba(20, 27, 45, 0.85) 0%, rgba(12, 18, 32, 0.95) 100%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stamp-showcase-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(240, 197, 109, 0.18);
}

.stamp-showcase-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080d18;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.stamp-showcase-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stamp-showcase-card:hover .stamp-showcase-thumb-wrap img {
  transform: scale(1.06);
}

.stamp-badge-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.stamp-showcase-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stamp-showcase-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stamp-showcase-actions {
  display: flex;
  gap: 8px;
}

.stamp-showcase-actions .button {
  flex: 1;
  font-size: 12px;
  min-height: 38px;
  padding: 6px 10px;
}

.stamp-banner-cta {
  background: linear-gradient(135deg, rgba(240, 197, 109, 0.15) 0%, rgba(93, 228, 255, 0.12) 100%);
  border: 1px solid rgba(240, 197, 109, 0.35);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}

/* ==========================================================================
   🎬 Dedicated Cinema Theater & Video Library UI
   ========================================================================== */

/* 1. Theater Spotlight Hero */
.theater-spotlight {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(93, 228, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(93, 228, 255, 0.08);
  margin-bottom: 36px;
  backdrop-filter: blur(16px);
}

.theater-spotlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
}

@media (max-width: 860px) {
  .theater-spotlight-inner {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.spotlight-media-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  background: #000;
}

.spotlight-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-media-wrap:hover img {
  transform: scale(1.03);
}

.spotlight-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease;
}

.spotlight-media-wrap:hover .spotlight-play-overlay {
  background: rgba(0, 0, 0, 0.15);
}

.play-circle-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(93, 228, 255, 0.9);
  color: #07101d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(93, 228, 255, 0.6);
  transition: transform 0.25s ease, background 0.25s ease;
}

.play-circle-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
  fill: currentColor;
}

.spotlight-media-wrap:hover .play-circle-btn {
  transform: scale(1.12);
  background: #5de4ff;
}

.spotlight-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-spotlight {
  background: linear-gradient(135deg, #f0c56d, #ff8ab7);
  color: #07101d;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.spotlight-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}

.spotlight-quote {
  font-size: 13.5px;
  line-height: 1.7;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #5de4ff;
  padding: 10px 14px;
  border-radius: 0 10px 10px 0;
  margin: 0;
}

.spotlight-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* 2. Category Tab Navigation */
.cinema-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 28px;
}

.cinema-tabs-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
}

@media (max-width: 680px) {
  .cinema-tabs-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding-bottom: 14px !important;
  }
}

.cinema-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 680px) {
  .cinema-tab-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }
}

.cinema-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(93, 228, 255, 0.4);
}

.cinema-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(93, 228, 255, 0.2), rgba(129, 140, 248, 0.25));
  border-color: #5de4ff;
  color: #5de4ff;
  box-shadow: 0 4px 16px rgba(93, 228, 255, 0.15);
}

.cinema-tab-count {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.cinema-tab-btn.is-active .cinema-tab-count {
  background: #5de4ff;
  color: #07101d;
  font-weight: 900;
}

/* 3. Character Quick Avatar Ribbon */
.character-avatar-ribbon {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
}

.character-avatar-ribbon::-webkit-scrollbar {
  height: 4px;
}
.character-avatar-ribbon::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.avatar-filter-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.avatar-filter-pill img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.avatar-filter-pill:hover {
  border-color: #f0c56d;
  color: #fff;
}

.avatar-filter-pill.is-active {
  background: rgba(240, 197, 109, 0.15);
  border-color: #f0c56d;
  color: #f0c56d;
}

/* 4. Enhanced Cinema Card Layout */
.video-card .thumb {
  position: relative;
}

.video-card .thumb .duration-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  letter-spacing: 0.05em;
  z-index: 2;
}

.video-card .thumb .play-hover-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 16, 29, 0.4);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 1;
}

.video-card:hover .thumb .play-hover-icon {
  opacity: 1;
}

.play-mini-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5de4ff;
  color: #07101d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(93, 228, 255, 0.6);
  transform: scale(0.9);
  transition: transform 0.2s ease;
}

.play-mini-btn svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
}

.video-card:hover .play-mini-btn {
  transform: scale(1);
}

.cinema-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  color: var(--muted);
  font-size: 14.5px;
}

.cinema-bottom-links {
  margin-top: 48px;
  padding: 24px 28px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}




/* Header nav standard additions */
.site-header nav a.nav-link-note {
  color: var(--gold, #f0c56d) !important;
}
.site-header nav a.nav-link-note:hover {
  color: #ffffff !important;
}
.site-header nav .stamp-nav-badge {
  font-size: 10px;
  background: rgba(240, 197, 109, 0.2);
  color: var(--gold, #f0c56d);
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(240, 197, 109, 0.4);
}

/* ==========================================================================
   ⬆️ Floating Back To Top Button
   ========================================================================== */
 .floating-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(93, 228, 255, 0.35);
  color: #5de4ff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(93, 228, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-back-to-top:hover,
.floating-back-to-top:focus-visible {
  background: rgba(30, 41, 59, 0.95);
  border-color: #5de4ff;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7), 0 0 24px rgba(93, 228, 255, 0.35);
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .floating-back-to-top {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 16px rgba(93, 228, 255, 0.25);
  }
}
