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

html {
  scroll-behavior: smooth;
}

/* ─── Base ───────────────────────────────────────────────── */
body {
  background-color: #000;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, 'PingFang TC', 'Noto Sans TC', sans-serif;
  font-size: 0;
  line-height: 1.8;
}

/* ─── Fixed Background ───────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/bg-desktop.png');
  background-size: auto 100vh;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1;
}

/* ─── Header ─────────────────────────────────────────────── */
@keyframes header-fill {
  from { background-color: transparent; }
  to   { background-color: #000; }
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  padding: 3px 40px;
  background-color: #000;
}

@supports (animation-timeline: scroll()) {
  #site-header {
    background-color: transparent;
    animation: header-fill linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 80px;
  }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-fanpokka {
  height: 40px;
  width: auto;
}

.logo-rappers-m {
  height: 40px;
  width: auto;
  display: none;
}

.logo-symbol-d {
  height: 26px;
  width: auto;
}

.hamburger-btn {
  display: none;
  line-height: 0;
}

.hamburger-btn img {
  width: 40px;
  height: 40px;
}

.hamburger-btn-close {
  display: none;
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 400;
  line-height: 0;
}

.hamburger-btn-close img {
  width: 40px;
  height: 40px;
}

/* ─── Desktop Bottom Nav ─────────────────────────────────── */
.desktop-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 28px 40px;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.desktop-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.06em;
  opacity: 0.85;
  transition: opacity 0.2s;
  position: relative;
}

.desktop-nav a:hover {
  opacity: 1;
}

.nav-zh-d,
.nav-en-d {
  display: block;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.nav-en-d {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #A5A5A5;
}

.desktop-nav a:hover .nav-zh-d {
  opacity: 0;
}

.desktop-nav a:hover .nav-en-d {
  opacity: 1;
}

/* ─── Mobile Nav Drawer ──────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 250;
  padding: 110px 40px 60px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav:target {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav ul li {
  margin-bottom: 20px;
  line-height: 1.3;
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  line-height: 1;
}

.mobile-nav a {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.nav-zh {
  font-size: 22px;
  color: #A6A6A6;
  letter-spacing: 0.04em;
}

.nav-en {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #A6A6A6;
}

/* ─── Hero Section ───────────────────────────────────────── */
#hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Desktop hero */
.hero-d {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  max-width: 600px;
  cursor: pointer;
}

.hero-img-default {
  display: block;
  width: 100%;
  opacity: 1;
  transition: opacity 0.45s ease;
}

.hero-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease;
}

.hero-img-hover img {
  display: block;
  width: 100%;
}

.hero-trigger:hover .hero-img-default {
  opacity: 0;
}

.hero-trigger:hover .hero-img-hover {
  opacity: 1;
}

/* Mobile hero */
.hero-m {
  display: none;
  position: absolute;
  bottom: 100px;
  right: 0;
  width: 100%;
  padding: 0;
}

.hero-m-t1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-m-middle {
  position: relative;
}

.hero-m-graffiti {
  width: 59vw;
  margin:0 0 20vw 8vw;
}

.hero-m-overlay {
  position: absolute;
  right: 0;
  bottom: 38%;
  text-align: right;
}

.hero-m-t2 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-m-t3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Shared subtitle */
.hero-subtitle {
  font-size: 12px;
  line-height: 1.65;
  color: #aaa;
  margin-top: 14px;
}

/* ─── Content Sections ───────────────────────────────────── */
section:not(#hero) {
  padding: 40px 60px;
}

.section-inner {
  max-width: 1280px;
  padding: 0 110px 0 110px;
  margin: 0 auto;
}

.section-title-img {
  display: block;
  height: auto;
  margin-bottom: 36px;
  max-height: 60px;
  width: auto;
}

.section-body {
  max-width: 960px;
}

.section-body p {
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.85;
}

.section-body ul,
.section-body ol {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.section-body ul li,
.section-body ol li {
  font-size: 16px;
  line-height: 1.85;
  padding-left: 1.6em;
  position: relative;
}

.section-body ul li::before {
  content: '•';
  position: absolute;
  left: 0.2em;
}

.section-body ol {
  counter-reset: ol-counter;
}

.section-body ol li {
  counter-increment: ol-counter;
  padding-left: 2.2em;
}

.section-body ol li::before {
  content: counter(ol-counter, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
}

.section-body strong {
  font-weight: 700;
  color: #fff;
}

.section-body a {
  color: #7799ff;
  text-decoration: none;
}

.section-body a:hover {
  text-decoration: underline;
}

.highlight-line {
  font-weight: 700;
  font-style: italic;
  font-size: 15px !important;
  margin-top:-7px;
}

/* ─── 預熱影片 ───────────────────────────────────────────── */
#rollin {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

.rollin-inner {
  width: 100%;
}

.rollin-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.rollin-item {
  flex: 0 0 28%;
  opacity: 0.45;
}

.rollin-item--active {
  flex: 0 0 46%;
  opacity: 1;
}

.rollin-label {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.rollin-item--active .rollin-label {
  color: #ccc;
}

.rollin-video-frame {
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rollin-item--active .rollin-video-frame {
  border: 2px solid #fff;
}

.rollin-dots {
  text-align: center;
  margin-top: 28px;
}

.rollin-dots img {
  height: 8px;
  width: auto;
}

/* ─── 入棚名單 ───────────────────────────────────────────── */
.young-blood-table-wrap {
  margin-top: 8px;
  overflow-x: auto;
}

.young-blood-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.young-blood-table thead th {
  color: #888;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.06em;
  padding: 8px 16px 12px;
  text-align: left;
}

.young-blood-table tbody tr {
  background: rgba(0, 0, 220, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.young-blood-table tbody td {
  padding: 14px 16px;
  color: #fff;
  line-height: 1.5;
}

.young-blood-table tbody td:first-child {
  color: #aaa;
  font-size: 13px;
  width: 60px;
}

.young-blood-table tbody td small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 6px;
}

/* ─── RWD: 640–1279px (Tablet/Fluid) ────────────────────── */
@media (min-width: 640px) and (max-width: 1279px) {
  section:not(#hero) {
    padding: 40px 60px;
  }

  .hero-trigger {
    width: 92%;
  }
}

/* ─── RWD: < 640px (Mobile) ──────────────────────────────── */
@media (max-width: 639px) {
  body::before {
    background-image: url('images/bg-mobile.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  /* Header */
  #site-header {
    padding: 14px 20px;
  }

  .logo-rappers-m {
    display: block;
  }

  .logo-symbol-d {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  /* Nav */
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  #mobile-nav:target ~ .hamburger-btn-close {
    display: block;
  }

  /* Hero */
  .hero-d {
    display: none;
  }

  .hero-m {
    display: block !important;
  }

  /* Sections */
  section:not(#hero) {
    padding: 80px 24px 60px;
  }

  .section-inner {
    padding: 0;
  }

  .section-title-img {
    max-width: 220px;
    margin-bottom: 24px;
  }

  .section-body {
    max-width: 100%;
  }

  .section-body p {
    font-size: 16px;
  }
}
