/* ===== Common Components ===== */

.section {
  padding: 48px 0;
}

.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  opacity: 0.95;
}

/* Card */
.card {
  background: #12121a;
  border: 1px solid #1a1a22;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  overflow: hidden;
}

.card-hover {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  border-color: rgba(145, 70, 255, 0.45);
}

/* clickable affordance */
.card.is-link{
  position: relative;
  cursor: pointer;
}

/* 右下に控えめな矢印（常時表示） */
.card.is-link::after{
  content: ">";
  position: absolute;
  right: 16px;
  bottom: 14px;
  opacity: 0.55;
  transition: transform .18s ease, opacity .18s ease;
}

/* hoverで“浮く” + 矢印が少し進む */
.card.is-link:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(0,0,0,0.35);
}

.card.is-link:hover::after{
  opacity: 0.9;
  transform: translateX(3px);
}

/* キーボード操作にも対応（重要） */
.card.is-link:focus-visible{
  outline: 2px solid rgba(51,209,255,0.55);
  outline-offset: 3px;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: #9146ff;
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: #2a2a36;
  color: #e9e9f1;
  opacity: 0.95;
}

.btn-ghost:hover {
  border-color: rgba(175, 100, 255, 0.45);
}

.btn-icon{
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}


/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.badge-live {
  background: rgba(255, 69, 69, 0.12);
  border: 1px solid rgba(255, 69, 69, 0.55);
  color: #ffb3b3;
}

/* ========= Play overlay (reusable) ========= */
.thumb-playable{
  position: relative;
  overflow: hidden;
}

/* スタイリッシュな「パネル型」再生オーバーレイ */
.thumb-playable::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  padding: 24px 28px;
  border-radius: 14px;
  background: rgba(11,11,15,0.38);
  border: 1px solid rgba(233,233,241,0.12);
  backdrop-filter: blur(6px);

  pointer-events: none;
  z-index: 1;
}

/* 再生アイコン（三角）をパネル内に添える */
.thumb-playable::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);

  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #e9e9f1;

  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.55));
  pointer-events: none;
  z-index: 2;
}

.thumb-playable:hover::after{
  background: rgba(11,11,15,0.46);
}

.thumb-playable:hover::before{
  border-color: transparent transparent transparent #ffffff;
}

/* ===== Focus styles ===== */
a:focus-visible,
button:focus-visible{
  outline: 2px solid rgba(51, 209, 255, 0.85);
  outline-offset: 3px;
  border-radius: 12px;
}
