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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

/* ===========================
   Body: center the 9:16 frame
   =========================== */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ===========================
   Main container: 9:16 ratio
   =========================== */
.main-container {
  position: relative;
  width: min(100vw, 56.25vh);
  height: min(177.78vw, 100vh);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background-image: url('/assets/image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ===========================
   Title area
   =========================== */
.title-area {
  position: absolute;
  top: 2%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 10;
  pointer-events: none;
}

.title-top-line {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: clamp(8px, 1.8vw, 11px);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7ef7ff;
  text-shadow:
    0 0 6px rgba(100, 240, 255, 0.9),
    0 0 14px rgba(100, 240, 255, 0.6);
  opacity: 0.85;
}

.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  line-height: 1.05;
}

.title-zh {
  display: block;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 7.5vw, 52px);
  letter-spacing: 0.08em;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow:
    1px 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.6);
  filter: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.title-zh.accent {
  font-size: clamp(32px, 9vw, 60px);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow:
    1px 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 6px rgba(0, 0, 0, 0.6);
  filter: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

/* ===========================
   CTA button area
   =========================== */
.cta-area {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 10;
}

/* ===========================
   CTA buttons base
   =========================== */
.cta-button {
  width: 68%;
  max-width: 520px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 900;
  font-size: clamp(17px, 4.5vw, 28px);
  text-decoration: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.btn-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.95;
}

/* ===========================
   LINE button (green)
   =========================== */
.line-button {
  background: linear-gradient(180deg, #9cff9c 0%, #00c853 45%, #008f32 100%);
  color: #fff;
  border: 3px solid #dfffe0;
  box-shadow:
    0 0 12px rgba(0, 255, 80, 0.9),
    0 0 28px rgba(0, 255, 80, 0.65),
    0 0 60px rgba(0, 255, 80, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.7);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65);
}

.line-button:hover {
  transform: scale(1.04);
  filter: brightness(1.12);
  box-shadow:
    0 0 20px rgba(0, 255, 80, 1),
    0 0 50px rgba(0, 255, 80, 0.8),
    0 0 90px rgba(0, 255, 80, 0.4),
    inset 0 2px 8px rgba(255, 255, 255, 0.7);
}

.line-button:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* ===========================
   Twitch button (purple)
   =========================== */
.twitch-button {
  background: linear-gradient(180deg, #ff9dff 0%, #9b22d9 45%, #571082 100%);
  color: #fff;
  border: 3px solid #ffc6ff;
  box-shadow:
    0 0 12px rgba(210, 60, 255, 0.9),
    0 0 28px rgba(210, 60, 255, 0.65),
    0 0 60px rgba(210, 60, 255, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.65);
}

.twitch-button:hover {
  transform: scale(1.04);
  filter: brightness(1.12);
  box-shadow:
    0 0 20px rgba(210, 60, 255, 1),
    0 0 50px rgba(210, 60, 255, 0.8),
    0 0 90px rgba(210, 60, 255, 0.4),
    inset 0 2px 8px rgba(255, 255, 255, 0.6);
}

.twitch-button:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

/* ===========================
   Mobile: full-bleed
   =========================== */
@media (max-width: 600px) {
  .main-container {
    width: 100vw !important;
    height: 100dvh !important;
    aspect-ratio: unset;
  }
}
