* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  background: #0d0208;
  color: #fff;
  -webkit-tap-highlight-color: transparent;
}

.page {
  position: relative;
  max-width: 7.5rem;
  width: 100%;
  margin: 0 auto;
  background-color: rgb(55, 22, 39);
  padding-bottom: calc(1.7rem + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

/* 椤堕儴 */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.16rem 0.24rem 0.1rem;
  background-color: rgb(0, 0, 0);
}

.header-logo img {
  height: 0.8rem;
  display: block;
}

.header-actions {
  display: flex;
  gap: 0.28rem;
  flex-shrink: 0;
}

.header-actions a {
  display: block;
}

.header-actions img {
  width: 0.7rem;
  height: auto;
  display: block;
}

/* Hero */
.hero {
  position: relative;
  padding: 0 0.1rem;
}

.hero-bg {
  position: relative;
  width: 100%;
  padding: 20PX 0;
}

.hero-bg-wall {
    opacity:0;
  width: 100%;
  aspect-ratio: 750 / 500;
  display: block;
  object-fit: cover;
}

.hero-girl {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 4.6rem;
  padding-bottom: 133.33%;
  z-index: 4;
  pointer-events: none;
}

.hero-girl img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-girl img.active {
  opacity: 1;
}

.hero-tag-top {
  position: absolute;
  top: 0.3rem;
  right: 0.2rem;
  width: 2.2rem;
  z-index: 3;
}

.hero-tags {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-title {
  width: 100%;
  display: block;
  margin-top: -0.1rem;
  position: absolute;
  z-index: 999;
  bottom: 0;
  transform: translateY(30%);
}

.hero-line {
  width: 100%;
  display: block;
  margin: 0.06rem 0;
}

/* 瑙嗛鍖哄潡 */
.video-section {
  position: relative;
  margin: 0.2rem 0.2rem 0;
  padding: 0.24rem 0.2rem 0.2rem;
  background: linear-gradient(180deg, rgba(45, 10, 35, 0.95) 0%, rgba(20, 5, 18, 0.98) 100%);
  border: 1px solid rgba(255, 77, 141, 0.35);
  border-radius: 0.2rem;
}

.section-hd {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  margin-bottom: 0.2rem;
  padding-right: 1.6rem;
}

.section-icon {
  flex-shrink: 0;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 0.12rem;
  background: linear-gradient(135deg, #ff9ecf 0%, #ff4d8d 50%, #c44dff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0.12rem rgba(255, 77, 141, 0.6);
}

.section-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.1rem 0 0.1rem 0.16rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.04rem;
}

.section-hd span {
  font-size: 0.34rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02rem;
}

/* 瑙嗛鍖哄潡瀹瑰櫒 */
.video-wrap {
  position: relative;
  margin: 0.24rem 0.2rem 0;
  z-index: 1;
}

.video-wrap > img {
  width: 100%;
  display: block;
  margin-top: 0.7rem;
}

/* 涓栫晫鏉诞鏍囷細杩涚悆 gif + 杩涚悆鍚庨矞鑺?*/
.world-cup {
  display: none;
  position: absolute;
  top: -0.7rem;
  right: -0.2rem;
  width: 1.6rem;
  height: 1.6rem;
  z-index: 10;
}

.world-cup-gif {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
}

.world-cup-flower {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 2.2rem;
  height: 2.2rem;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  /* 榛戣壊搴曢€忔槑锛屽彧淇濈暀褰╁甫椴滆姳 */
  mix-blend-mode: screen;
}

.world-cup-flower.show {
  animation: goalFlower 0.9s ease-out forwards;
}

@keyframes goalFlower {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.16rem;
}

.video-card {
  background: linear-gradient(180deg, #ff80bf 0%, #ff4d8d 100%);
  border-radius: 0.2rem;
  padding: 0.1rem;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.14rem;
  display: block;
}

.video-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  padding: 0.12rem 0;
}

.play-dot {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffb347 0%, #ff6b00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.play-dot::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.06rem 0 0.06rem 0.1rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.02rem;
}

.video-card-btn span {
  font-size: 0.24rem;
  font-weight: 600;
  color: #fff;
}

.video-tip {
  text-align: center;
  font-size: 0.22rem;
  color: rgba(255, 160, 200, 0.85);
  font-style: italic;
  margin-top: 0.2rem;
  padding: 0 0.1rem;
}

/* 1V1 鍖哄潡 */
.chat-section {
  margin: 0.24rem 0.2rem 0;
  position: relative;
  z-index: 1;
}

.chat-section img {
  width: 100%;
  display: block;
  border-radius: 0.2rem;
}

/* 搴曢儴瀹ｄ紶 */
.promo {
  padding: 0.3rem 0.2rem 0.2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.promo img {
  width: 100%;
  max-width: 6.5rem;
  display: block;
  margin: 0 auto;
}

/* 搴曢儴鍏夋晥鑳屾櫙 */
.bottom-glow {
  width: 100%;
  display: block;
  margin-top: 0.1rem;
  opacity: 0.7;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

/* 鍥哄畾搴曟爮 */
.footer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 7.5rem;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.footer img {
  width: 100%;
  display: block;
}

.footer a {
  display: block;
}
