/* ═══════════════════════════════════════════════════════════
   WORLD CUP 2026 — New Campaign Redesign (v2)
   ═══════════════════════════════════════════════════════════ */

/* ── Screen container ── */
#screen-worldcup2026 {
  overflow: hidden;
}

/* ── Page wrapper ── */
.wc-page {
  position: relative;
  width: 100%;
  height: 932px; /* Fixed height matching AI Power Up */
  background-color: #030f06;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ticket container stretching horizontally but fixed vertically at 932px */
.wc-ticket-container {
  position: relative;
  width: 100%;
  height: 100%;
  container-type: inline-size; /* Enable container query width units */
  display: block;
  overflow: hidden;
}

.wc-ticket-img-bg {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  user-select: none;
  pointer-events: none;
}

/* Title image logo overlay */
.wc-img-title {
  position: absolute;
  top: 71px;
  left: 50%;
  transform: translateX(-50%);
  width: 412px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

/* Floating CTA Row matching other screens */
#cta-worldcup {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 409px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

#btn-wc-goal.btn-cta {
  background: linear-gradient(180deg, #ffb300 0%, #ff8f00 40%, #ff6f00 100%);
  border: 1.5px solid #ffe082;
  box-shadow:
    0 3px 12px rgba(255, 111, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: ctaPulseGold 2s ease-in-out infinite;
}

#btn-wc-goal.btn-cta::after {
  border-color: rgba(255, 179, 0, 0.5);
  animation: ctaRingPulseGold 2s ease-in-out infinite;
}

@keyframes ctaPulseGold {
  0%, 100% {
    box-shadow:
      0 3px 12px rgba(255, 111, 0, 0.45),
      0 0 0 0 rgba(255, 179, 0, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(255, 111, 0, 0.55),
      0 0 25px 6px rgba(255, 179, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
  }
}

@keyframes ctaRingPulseGold {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* Speech Bubble near the Cup */
.wc-quot-bubble {
  position: absolute;
  top: 22.0%;
  left: 50%;
  transform: translateX(45px); /* Positioned to the right of the cup */
  width: 77px;
  height: 72px;
  background-image: url('quot.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Offset text slightly up/right away from bottom-left tail */
  padding-bottom: 11px;
  padding-left: 2px;
  box-sizing: border-box;
  pointer-events: none;
  user-select: none;
}

.wc-quot-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  line-height: 1.1;
  text-align: center;
}

.wc-quot-word-gold {
  color: #ffeb3b;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.wc-quot-word-white {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ── Dynamic Text Overlay Styles ── */
.wc-txt-podium {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  z-index: 5;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* 1st Prize (Gold Tier - top) - Stacked vertically */
.wc-txt-podium--1 {
  top: 31.4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -3px;
}

.wc-txt-podium--1 .wc-txt-podium-title {
  font-size: 13px;
  font-weight: 700;
  color: #432a03; /* Dark golden brown */
  margin-bottom: -6px;
}

.wc-txt-podium--1 .wc-txt-podium-amt {
  font-size: 17px;
  font-weight: 900;
  color: #432a03; /* Dark golden brown */
}

/* 2nd Prize (Silver Tier - middle) - Single horizontal line */
.wc-txt-podium--2 {
  top: 36.5%;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.wc-txt-podium--2 .wc-txt-podium-title {
  font-size: 13px;
  font-weight: 700;
  color: #1d232a; /* Dark charcoal */
  line-height: 1;
}

.wc-txt-podium--2 .wc-txt-podium-amt {
  font-size: 17px;
  font-weight: 900;
  color: #1b1e22; /* Very dark gray/black */
  line-height: 1;
}

/* 3rd Prize (Bronze Tier - bottom) - Single horizontal line */
.wc-txt-podium--3 {
  top: 40.9%;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.wc-txt-podium--3 .wc-txt-podium-title {
  font-size: 13px;
  font-weight: 700;
  color: #2b1a0c; /* Dark bronze brown */
  line-height: 1;
}

.wc-txt-podium--3 .wc-txt-podium-amt {
  font-size: 17px;
  font-weight: 900;
  color: #251403; /* Dark coffee brown */
  line-height: 1;
}

/* Steps box overlay with gold gradient border */
.wc-steps-box {
  position: absolute;
  top: 45.5%;
  left: 5.0%;
  width: 90.0%;
  height: 10.5%;
  border: 2px solid transparent;
  border-radius: 12px;
  background-image: linear-gradient(#080e0a, #080e0a), 
                    linear-gradient(135deg, #ffe57f 0%, #ffc107 50%, #ff8f00 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 35px rgba(0,0,0,0.9);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  box-sizing: border-box;
  z-index: 5;
}

.wc-step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  gap: 16px;
}

.wc-step-item-img {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}

.wc-step-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  line-height: 1.22;
  gap: 2px;
  user-select: none;
  pointer-events: none;
}

.wc-step-text-spin {
  margin-left: -8px;
}

.wc-step-text div {
  font-size: 15px;
  font-weight: 800;
  font-style: normal;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.wc-step-txt-green {
  color: #00ff66;
}

.wc-step-txt-white {
  color: #ffffff;
}

.wc-step-txt-cyan {
  color: #00f0ff;
}

.wc-step-txt-gold {
  color: #ffeb3b;
}

@media (max-width: 500px) {
  .wc-step-item {
    gap: 10px;
  }
  .wc-step-item-img {
    height: 48px;
  }
  .wc-step-text div {
    font-size: 13px;
  }
  .wc-step-text-spin {
    margin-left: -4px;
  }
}

@media (max-width: 440px) {
  .wc-step-item {
    gap: 6px;
  }
  .wc-step-item-img {
    height: 42px;
  }
  .wc-step-text div {
    font-size: 11.5px;
  }
  .wc-step-text-spin {
    margin-left: -2px;
  }
}

.wc-color-gold {
  color: #ffeb3b;
}

.wc-step-divider {
  width: 1px;
  height: 52px;
  background-color: rgba(255, 215, 0, 0.35);
  flex-shrink: 0;
}

.wc-step-divider-first {
  transform: translateX(5px);
}

/* Gold ranking wrapper box */
.wc-ranking-box {
  position: absolute;
  top: 58.0%;
  left: 5.0%;
  width: 90.0%;
  height: 30.5%;
  border: 2px solid transparent;
  border-radius: 12px;
  background-image: linear-gradient(#080e0a, #080e0a), 
                    linear-gradient(135deg, #ffe57f 0%, #ffc107 50%, #ff8f00 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 10px 35px rgba(0,0,0,0.9);
  padding: 10px 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

/* Title inside box */
.wc-txt-rank-title {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  flex-shrink: 0;
  user-select: none;
}

/* Leaderboard ranking grid v2 */
.wc-txt-ranking-grid {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}

.wc-txt-rank-col {
  width: 48.4%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wc-txt-rank-card {
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  box-sizing: border-box;
}

.wc-rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 900;
  margin-right: 10px;
  flex-shrink: 0;
}

.wc-rank-val {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 900;
}

/* Rank 1 (Gold) */
.wc-rank-card--1 {
  background: #2b250d;
  border: 1px solid #ebd26b;
}
.wc-badge--1 {
  background: #ebd26b;
  color: #2d2000;
}
.wc-val--1 {
  color: #ebd26b;
}

/* Rank 2 (Silver/Blue) */
.wc-rank-card--2 {
  background: #16222f;
  border: 1px solid #9fcbe0;
}
.wc-badge--2 {
  background: #9fcbe0;
  color: #101e28;
}
.wc-val--2 {
  color: #9fcbe0;
}

/* Rank 3 (Bronze) */
.wc-rank-card--3 {
  background: #2c1b12;
  border: 1px solid #dba07b;
}
.wc-badge--3 {
  background: #dba07b;
  color: #2c160b;
}
.wc-val--3 {
  color: #dba07b;
}

/* Rank 4-10 (Other/Gray) */
.wc-rank-card--other {
  background: #121915;
  border: 1px solid #23342f;
}
.wc-badge--other {
  background: #425c56;
  color: #ffffff;
}
.wc-val--other {
  color: #ffffff;
}

/* ── Bottom Nav wireframe thumbnail ── */
.bottom-nav__thumb-wireframe {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0d120e !important;
  border: 1px dashed rgba(212, 175, 55, 0.3);
  box-sizing: border-box;
  gap: 2px;
}
.bottom-nav__card--active .bottom-nav__thumb-wireframe {
  border-color: #ffd700;
  background: rgba(212, 175, 55, 0.05) !important;
}
.bottom-nav__thumb-wireframe .wf-logo-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
}
.bottom-nav__thumb-wireframe .wf-logo-text {
  font-family: monospace;
  font-size: 9px;
  color: #ffd700;
  font-weight: bold;
}

/* ── Sticky Header Tab Bar V2 ── */
.wc-header-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 0 11px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.wc-header-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 8px;
  max-width: 85px;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  text-transform: uppercase;
  -webkit-tap-highlight-color: transparent;
}

.wc-header-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.wc-header-tab--active {
  color: #00ff66 !important;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.4);
}

.wc-header-tab::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, #00ff66, #00c853);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wc-header-tab--active::after {
  transform: translateX(-50%) scaleX(1);
}

@media (max-width: 430px) {
  .wc-header-tabs {
    gap: 0px;
  }
  .wc-header-tab {
    padding: 6px 1px;
    font-size: 10px;
    max-width: 78px;
  }
}

@media (max-width: 385px) {
  .wc-header-tabs {
    gap: 0px;
  }
  .wc-header-tab {
    padding: 6px 0px;
    font-size: 9.5px;
    max-width: 72px;
  }
}

@media (max-width: 340px) {
  .wc-header-tabs {
    gap: 0px;
  }
  .wc-header-tab {
    padding: 6px 0px;
    font-size: 9px;
    max-width: 66px;
    letter-spacing: 0px;
  }
}

/* ── Tab Content Panels V2 ── */
.wc-tab-content {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  animation: wcPanelFadeV2 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.wc-tab-content--active {
  display: block;
}

@keyframes wcPanelFadeV2 {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Tab 2: Leaderboard Re-styling ── */
.wc-ranking-container {
  padding: 0 16px 10px;
  margin-top: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}

.wc-ranking-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #ffd700;
  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.25);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.wc-ranking-title::before,
.wc-ranking-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.45));
}

.wc-ranking-title::after {
  transform: scaleX(-1);
}

.wc-leaderboard-wrapper {
  background: #0f1420;
  /* Dark premium navy-blue from screenshot */
  border: 1.5px solid rgba(0, 150, 255, 0.18);
  /* Blue outer border */
  border-radius: 16px;
  padding: 18px 8px 10px;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 150, 255, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
}

.wc-leaderboard-table-header {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  gap: 10px;
  padding: 0 16px 10px;
  border-bottom: 1px solid #ffd700;
  /* Thin bright yellow separator line */
  margin-bottom: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #ffd700;
  /* Yellow headers */
  text-transform: uppercase;
}

.wc-leaderboard-table-header span:last-child {
  text-align: right;
}

.wc-leaderboard-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 rgba(255, 215, 0, 0.05);
}

.wc-leaderboard-scroll::-webkit-scrollbar {
  width: 4px;
}

.wc-leaderboard-scroll::-webkit-scrollbar-track {
  background: rgba(255, 215, 0, 0.03);
  border-radius: 3px;
}

.wc-leaderboard-scroll::-webkit-scrollbar-thumb {
  background: #ffd700;
  /* Yellow scrollbar */
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.wc-leaderboard {
  display: none;
  animation: wcFadeIn 0.4s ease-out forwards;
}

.wc-leaderboard--active {
  display: block;
}

@keyframes wcFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Leaderboard Row Premium Styling ── */
.wc-lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 90px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: rgba(26, 31, 46, 0.6);
  /* Matching the dark rows */
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.wc-lb-row:hover {
  transform: translateX(2px);
  background: rgba(26, 31, 46, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.wc-lb-row__rank {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.wc-lb-row__rank-num {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.wc-lb-row__user {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-lb-row__amount {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

/* Top 3 Metallic Styling matching user screenshot exactly */
.wc-lb-row--1 {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1.2px solid #eab308 !important;
  /* Gold border */
  box-shadow:
    0 4px 15px rgba(234, 179, 8, 0.15),
    inset 0 0 10px rgba(234, 179, 8, 0.05);
}

.wc-lb-row--1 .wc-lb-row__user {
  color: #ffffff;
  font-weight: 600;
}

.wc-lb-row--1 .wc-lb-row__amount {
  color: #ffffff;
  font-weight: 600;
}

.wc-lb-row--2 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1.2px solid #cbd5e1 !important;
  /* Silver border */
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.wc-lb-row--2 .wc-lb-row__user {
  color: #ffffff;
  font-weight: 600;
}

.wc-lb-row--2 .wc-lb-row__amount {
  color: #ffffff;
  font-weight: 600;
}

.wc-lb-row--3 {
  background: linear-gradient(90deg, rgba(180, 83, 9, 0.05) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
  border: 1.2px solid #b45309 !important;
  /* Bronze border */
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.05);
}

.wc-lb-row--3 .wc-lb-row__user {
  color: #ffffff;
  font-weight: 600;
}

.wc-lb-row--3 .wc-lb-row__amount {
  color: #ffffff;
  font-weight: 600;
}

.wc-badge-svg {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/* ── Tab 2: Ranking (V2 Specific Background) ── */
#wc-panel-ranking {
  background-image: url('angbao.jpg');
  background-size: auto 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #020904;
}

#wc-panel-ranking.wc-tab-content--active {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
  padding-bottom: 95px;
}

#wc-panel-ranking .wc-ranking-container {
  margin-top: 60px;
  height: calc(100% - 60px);
}

#wc-panel-ranking .wc-leaderboard-wrapper {
  background: rgba(0, 16, 5, 0.30) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 215, 0, 0.2) !important;
}

#wc-panel-ranking .wc-leaderboard-table-header {
  grid-template-columns: 80px 1fr 90px !important;
}

#wc-panel-ranking .wc-lb-row {
  margin-bottom: 4px !important;
  padding: 6px 12px !important;
  grid-template-columns: 80px 1fr 90px !important;
}

#wc-panel-ranking .wc-lb-row--1 .wc-badge-svg,
#wc-panel-ranking .wc-lb-row--2 .wc-badge-svg,
#wc-panel-ranking .wc-lb-row--3 .wc-badge-svg {
  width: 66px !important;
  height: 52px !important;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65)) !important;
}

#wc-panel-ranking .wc-badge-svg text {
  font-size: 21px !important;
  font-weight: 400 !important;
  fill: #ffffff !important;
  transform: translateY(1px) !important;
}



/* ── Tab 3: Angbao (V2 Specific Background) ── */
#wc-panel-angbao {
  background: #020904;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

#wc-panel-angbao .wc-angbao-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
}

#wc-panel-angbao .wc-angbao-full-img {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 100%;
  user-select: none;
  pointer-events: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.wc-angbao-main-title {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  width: max-content;
}

.wc-angbao-fifa {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 88px;
  line-height: 1;
  letter-spacing: 4px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  -webkit-text-stroke: 2px #000000;
  text-shadow: 
    -3px -3px 0 #000,  
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000,
     0px 4px 10px rgba(0,0,0,0.85);
  transform: translateY(2px);
  white-space: nowrap;
}

.wc-angbao-fifa-a {
  display: inline-block;
  margin-left: -12px;
}

.wc-angbao-worldcup {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 2px;
  color: #ffdf00; /* vibrant gold */
  text-transform: uppercase;
  text-align: center;
  margin-top: -12px;
  -webkit-text-stroke: 2px #000000;
  text-shadow: 
    -3px -3px 0 #000,  
     3px -3px 0 #000,
    -3px  3px 0 #000,
     3px  3px 0 #000,
     0px 4px 10px rgba(0,0,0,0.85);
  white-space: nowrap;
}

.wc-angbao-event-title {
  position: absolute;
  top: 210px;
  left: 50%;
  transform: translateX(-50%) scaleY(1.2);
  width: 95%;
  max-width: 239px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 13.8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 10;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

.wc-angbao-event-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('fibbon.png') no-repeat center;
  background-size: 100% 100%;
  z-index: -1;
  transform: scaleY(0.7353);
}

.wc-angbao-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(14px, 4.1vw, 21px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  margin-bottom: 4px;
  transform: scaleY(1.2);
  transform-origin: center;
  text-shadow: 0 0 2.5px rgba(255, 255, 255, 0.3), 0 0 5px rgba(255, 255, 255, 0.18);
}

.wc-angbao-title {
  position: absolute;
  top: 512px;
  left: 50%;
  transform: translateX(-50%) scaleX(0.93);
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
  color: #ffffff;
  font-weight: 900;
  font-size: 26.2px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 10;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  -webkit-text-stroke: 1.5px #000000;
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0px 4px 8px rgba(0,0,0,0.8);
}

.wc-angbao-title-line-left {
  transform: scaleX(-1);
  height: 4px;
  width: auto;
}

.wc-angbao-title-line-right {
  height: 4px;
  width: auto;
}

.wc-angbao-total-prize-img {
  position: absolute;
  top: 544px;
  left: 50%;
  transform: translateX(-50%);
  width: 437px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

/* ── Schedule Table V2 ── */
.wc-angbao-schedule-table {
  position: absolute;
  top: 635px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  max-width: 512px;
  height: 185px;
  background: url('angbao_frame.png') no-repeat center;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px;
  z-index: 10;
  box-sizing: border-box;
}

.wc-angbao-schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.wc-angbao-schedule-col {
  position: relative;
  display: flex;
  flex: 1;
  height: 35px;
  border-radius: 8px;
  background: #000000; /* black background for the divider gap */
  overflow: hidden;
  box-sizing: border-box;
}

.wc-schedule-text-inner {
  display: inline-block;
  transform: scaleY(1.2);
  transform-origin: center;
}

.wc-schedule-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 62%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(9.5px, 2.54vw, 13px);
  letter-spacing: -0.1px;
  color: #000000;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 0 20px 0 14px; /* right pad covers slant area */
  border-radius: 8px 0 0 8px;
  clip-path: polygon(0 0, 87% 0, 70% 100%, 0 100%);
  z-index: 2;
}

.wc-schedule-date {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.95);
  color: #0d1627;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(9.5px, 2.54vw, 13px);
  font-weight: 800;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 0 14px 0 16px; /* left pad covers slant area */
  border-radius: 0 8px 8px 0;
  clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.wc-schedule-badge.badge-r32 {
  background: #20e9c7;
}

.wc-schedule-badge.badge-r16 {
  background: #a0e920;
}

.wc-schedule-badge.badge-qf {
  background: #ff4a00;
  color: #ffffff;
}

.wc-schedule-badge.badge-sf {
  background: #204ae9;
  color: #ffffff;
}

.wc-schedule-badge.badge-tpm {
  background: #b465ff;
  color: #ffffff;
  width: 74%;
  clip-path: polygon(0 0, 89% 0, 75% 100%, 0 100%);
}

.wc-schedule-badge.badge-tpm + .wc-schedule-date {
  width: 43%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.wc-schedule-badge.badge-final {
  background: #6b00ff;
  color: #ffffff;
}

