/**
 * THE LUCKY VOYAGE — CSS STYLES (PURE COMPONENT ARCHITECTURE - ZERO IMAGE OVERLAYS)
 * Gamee Studio 7th Anniversary Lucky Wheel & Grand Stage Experience
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

:root {
  --bg-dark: #07021a;
  --bg-deep-purple: #13072e;
  --bg-violet: #260c57;
  --gold-glow: #f59e0b;
  --gold-light: #fef08a;
  --gold-primary: #fbbf24;
  --gold-dark: #b45309;
  --brand-red: #dc2626;
  --purple-pill: #3b1473;
  --text-white: #ffffff;
  --text-muted: #cbd5e1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-white);
}

/* --- VIEWPORT CHUNG & NỀN VŨ TRỤ TÍM THUẦN KHIẾT (CLEAN COSMIC BACKGROUND) --- */
#app-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0d0322 url('../assets/images/cosmic_bg.jpg') no-repeat center center fixed;
  background-size: cover;
}

#fx-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

#fx-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

/* Các lớp trang trí phụ - ẩn để giữ trọn vẹn vẻ đẹp nguyên bản của ảnh nền vũ trụ */
.stage-scenery-backdrop,
.stage-clouds-layer,
.crystal-mountains-left,
.crystal-mountains-right {
  display: none !important;
}

/* --- HEADER BAR DÙNG CHUNG CẢ 4 GIAI ĐOẠN --- */
.stage-header-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 50;
  pointer-events: auto;
}

.brand-title-block {
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.brand-logo-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.65));
  animation: logoGlowGentle 4s ease-in-out infinite alternate;
}

@keyframes logoGlowGentle {
  0% { filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5)); }
  100% { filter: drop-shadow(0 0 24px rgba(253, 224, 71, 0.85)); }
}

.brand-sub {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #D8B4FE;
  text-transform: uppercase;
  margin-bottom: 2px;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
}

.brand-main-title {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.05;
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF08A 25%, #F59E0B 70%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.5));
  width: fit-content;
}

.sparkle-star-icon {
  position: absolute;
  top: -8px;
  right: -26px;
  color: #FEF08A;
  font-size: 20px;
  animation: pulseSparkle 2s infinite ease-in-out;
}
@keyframes pulseSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.85; filter: drop-shadow(0 0 4px #FDE047); }
  50% { transform: scale(1.3) rotate(45deg); opacity: 1; filter: drop-shadow(0 0 14px #F59E0B); }
}

.brand-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #E2E8F0;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.9;
}

/* Bên phải: 7th Adventure & Toolbar controls */
.brand-right-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.adventure-text-group {
  text-align: right;
  display: flex;
  flex-direction: column;
}
.adv-line-1 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #F8FAFC;
  text-transform: uppercase;
}
.adv-line-2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #CBD5E1;
  text-transform: uppercase;
}

.anniversary-num-7 {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #FEF08A 30%, #F59E0B 80%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.65));
}

.header-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.prize-quick-dropdown {
  background: rgba(30, 11, 74, 0.88);
  border: 1.5px solid rgba(245, 158, 11, 0.7);
  color: #FEF08A;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(8px);
}

.header-action-btn {
  background: rgba(46, 16, 101, 0.75);
  border: 1px solid rgba(216, 180, 254, 0.4);
  color: #FEF08A;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.header-action-btn:hover {
  background: rgba(88, 28, 135, 0.95);
  border-color: #FDE047;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
}
.header-action-btn.muted {
  color: #94A3B8;
  border-color: rgba(255, 255, 255, 0.2);
}

/* --- STAGE VIEWS CONTAINER --- */
.stage-content-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
}

.stage-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-view.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Nút bấm vàng kim mạ ánh sáng */
.btn-gold-action {
  background: linear-gradient(180deg, #FFFBEB 0%, #FDE047 30%, #F59E0B 75%, #B45309 100%);
  border: 2px solid #FFFFFF;
  padding: 14px 44px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #1E0B4A;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.85), inset 0 2px 2px rgba(255, 255, 255, 0.8);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  animation: pulseGoldGlow 2.5s infinite alternate;
}
.btn-gold-action:hover {
  transform: scale(1.06);
  box-shadow: 0 0 50px rgba(253, 224, 71, 1), inset 0 2px 2px rgba(255, 255, 255, 1);
}
@keyframes pulseGoldGlow {
  0% { box-shadow: 0 0 25px rgba(245, 158, 11, 0.7); }
  100% { box-shadow: 0 0 45px rgba(253, 224, 71, 0.95), 0 0 15px rgba(255, 255, 255, 0.5); }
}

/* ======================================================== */
/* STAGE 1: KHỞI ĐỘNG (CLEAN GOLDEN COMPASS & SHIP)        */
/* ======================================================== */
.compass-wrapper {
  position: relative;
  width: 530px;
  height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-ring-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  animation: rotateCompassSlow 120s linear infinite;
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.75));
}

@keyframes rotateCompassSlow {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.ship-center-container {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.gamee-ship-art {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(245, 158, 11, 0.45));
  animation: shipFloat 4s ease-in-out infinite alternate;
}
@keyframes shipFloat {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-12px) rotate(1.5deg); }
}

.ship-cloud-pod {
  position: absolute;
  bottom: 12px;
  width: 220px;
  height: 75px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.85) 0%, rgba(216, 180, 254, 0.6) 40%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
}

.ready-text-banner {
  margin-top: 20px;
  font-family: 'Cinzel', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #FEF08A;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.85);
  text-align: center;
}

/* ======================================================== */
/* STAGE 2: VÒNG QUAY CHỌN HÀNH KHÁCH (ĐỒNG TÂM 100% TÁCH NỀN) */
/* ======================================================== */
#stage-spin {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wheel-assembly {
  position: relative;
  width: 610px;
  height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.wheel-rim-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 610px;
  height: 610px;
  pointer-events: none;
  z-index: 15;
  animation: pulseRimGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseRimGlow {
  0% { filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5)); }
  100% { filter: drop-shadow(0 0 30px rgba(253, 224, 71, 0.95)) drop-shadow(0 0 50px rgba(245, 158, 11, 0.6)); }
}

#wheel-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 530px;
  height: 530px;
  z-index: 5;
}

.wheel-center-ship-pod {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.wheel-center-ship-img {
  width: 195px;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 15px rgba(245, 158, 11, 0.35));
  animation: shipFloat 4s ease-in-out infinite alternate;
}

.inner-hub-cloud {
  position: absolute;
  width: 180px;
  height: 60px;
  bottom: 22px;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.85) 0%, rgba(216, 180, 254, 0.55) 45%, transparent 80%);
  filter: blur(14px);
  pointer-events: none;
}

.stage2-controls-bottom {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 30;
}

.wheel-status-badge {
  background: rgba(18, 5, 45, 0.92);
  border: 1.5px solid rgba(245, 158, 11, 0.8);
  padding: 8px 24px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 800;
  color: #FEF08A;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* --- GIAI ĐOẠN 3: ĐỒNG BỘ NỀN VŨ TRỤ CÓ TÀU VÀ CHỈNH VỊ TRÍ LOGO --- */
#app-viewport.stage-3-active {
  background: #0d0322 url('../assets/images/stage3_bg.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
}

#app-viewport.stage-3-active .corner-ship-thumb {
  display: none !important;
}

#app-viewport.stage-3-active .brand-title-block {
  left: 90px;
  top: 130px;
  width: 320px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#app-viewport.stage-3-active .brand-logo-img {
  width: 320px;
  max-width: 320px;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 20px rgba(245, 158, 11, 0.4));
}

/* ======================================================== */
/* STAGE 3: CÔNG BỐ HÀNH KHÁCH (ROYAL COMPOSITE PLAQUE)     */
/* ======================================================== */
#stage-winner {
  display: none;
  position: absolute;
  inset: 0;
  padding-top: 35px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 7vw;
}

#stage-winner.active {
  display: flex;
}

.stage3-winner-assembly {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: plaquePopIn 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.2);
}

@keyframes plaquePopIn {
  0% { transform: scale(0.7) translateY(50px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.royal-plaque-composite {
  position: relative;
  width: 740px;
  height: 410px; /* 740 / 1.85 aspect ratio of V2 main frame */
}

/* 1. Dải ruy-băng vòm đỉnh: plaque_banner.png */
.plaque-banner-asset {
  position: absolute;
  top: -68px;
  left: 50%;
  transform: translateX(-50%);
  width: 530px;
  height: 155px;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.5));
}

/* 2. Khung bảng chính hoàng gia: plaque_main_frame.png */
.plaque-main-frame-asset {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(126, 34, 206, 0.4));
}

/* 3. Vùng nội dung lòng bảng */
.plaque-inner-content {
  position: absolute;
  top: 55px;
  left: 55px;
  right: 55px;
  bottom: 25px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Thẻ chứa mã trúng thưởng vát góc tròn: plaque_ticket_frame.png */
.ticket-plate-wrap {
  position: relative;
  width: 540px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.ticket-plate-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6));
}

.ticket-code-overlay-text {
  position: relative;
  z-index: 2;
  font-family: 'Cinzel', 'Outfit', serif;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 5px;
  color: #110826;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Hàng tên người trúng giải chữ serif nổi 3D kèm hai cành nguyệt quế tách rời co giãn động */
.winner-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  width: 92%;
  max-width: 620px;
}

.laurel-sprig {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 10px rgba(245, 158, 11, 0.6));
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.laurel-sprig.laurel-right {
  transform: scaleX(-1);
}

.winner-name-overlay-text {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0 16px rgba(253, 224, 71, 0.85), 0 2px 5px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

.stage3-prize-tag {
  background: rgba(18, 5, 45, 0.96) !important;
  border: 1.5px solid #F59E0B !important;
  color: #FEF08A !important;
  padding: 8px 32px !important;
  border-radius: 9999px !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 158, 11, 0.5) !important;
  margin-top: 24px;
  z-index: 20;
}

@media (max-width: 1366px), (max-height: 820px) {
  .royal-plaque-composite {
    transform: scale(0.85);
    transform-origin: top center;
  }
  #app-viewport.stage-3-active .brand-title-block {
    left: 60px;
    top: 110px;
    width: 270px;
  }
  #stage-winner {
    padding-right: 4vw;
  }
}

/* ======================================================== */
/* STAGE 4: MỞ KHO BÁU (TÁCH NỀN 3D CHEST & GOD RAYS)        */
/* ======================================================== */
#stage-treasure {
  justify-content: flex-end;
  padding-bottom: 50px;
}

.treasure-stage-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.chest-presentation-pod {
  position: relative;
  width: 440px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.chest-3d-img {
  position: relative;
  width: 370px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 45px rgba(245, 158, 11, 0.5));
  animation: chestFloatGentle 4s ease-in-out infinite alternate;
}

@keyframes chestFloatGentle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.chest-god-rays-bloom {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) scale(0.2);
  width: 520px;
  height: 520px;
  background: conic-gradient(
    from 0deg,
    rgba(253, 224, 71, 0.55) 0deg,
    transparent 15deg,
    rgba(245, 158, 11, 0.75) 30deg,
    transparent 45deg,
    rgba(253, 224, 71, 0.55) 60deg,
    transparent 75deg,
    rgba(245, 158, 11, 0.75) 90deg,
    transparent 105deg,
    rgba(253, 224, 71, 0.55) 120deg,
    transparent 135deg,
    rgba(245, 158, 11, 0.75) 150deg,
    transparent 165deg,
    rgba(253, 224, 71, 0.55) 180deg,
    transparent 195deg,
    rgba(245, 158, 11, 0.75) 210deg,
    transparent 225deg,
    rgba(253, 224, 71, 0.55) 240deg,
    transparent 255deg,
    rgba(245, 158, 11, 0.75) 270deg,
    transparent 285deg,
    rgba(253, 224, 71, 0.55) 300deg,
    transparent 315deg,
    rgba(245, 158, 11, 0.75) 330deg,
    transparent 345deg,
    rgba(253, 224, 71, 0.55) 360deg
  );
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
  animation: rotateGodRays 25s linear infinite;
  z-index: 4;
}

@keyframes rotateGodRays {
  100% { transform: translateX(-50%) rotate(360deg); }
}

.chest-presentation-pod.opened .chest-god-rays-bloom,
.chest-god-rays-bloom.active {
  opacity: 0.95;
  transform: translateX(-50%) scale(1.6);
}

/* Bảng Vương Miện Giải Thưởng Bay Lên (Tách nền Royal Shield Plaque) */
.prize-crown-banner {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%, 20px) scale(0.6);
  opacity: 0;
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 520px;
  height: 286px; /* Aspect ratio ~1.815 of 1280x705 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  pointer-events: none;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.prize-banner-plaque-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.7));
  pointer-events: none;
}

.prize-banner-text-pod {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 30px; /* Below 3D golden crown */
  padding-left: 60px; /* Inside side laurels */
  padding-right: 60px;
  max-width: 80%;
}

.prize-crown-banner.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  top: -210px;
}

.prize-name-text {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #FEF08A;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.95), 0 2px 4px rgba(0, 0, 0, 0.9);
  text-align: center;
  line-height: 1.15;
}

.prize-sub-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #E2E8F0;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}
  letter-spacing: 3px;
  color: #E2E8F0;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Thẻ người trúng vinh danh trên Stage 4 */
.chest-winner-tag-card {
  margin-top: 38px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  background: rgba(30, 11, 74, 0.94);
  border: 2px solid #F59E0B;
  padding: 12px 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  z-index: 35;
}
.chest-winner-tag-card.show {
  opacity: 1;
  transform: translateY(0);
}
.chest-winner-code {
  font-family: 'Cinzel', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #FEF08A;
}
.chest-winner-name {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}
