/* 赛博揭牌仪式样式 - 美化版 */

/* 导入现代字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 基本页面样式 */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  font-family: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  color: #fff;
}

/* 容器样式 */
.ceremony-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: background 3s ease;
  padding: 40px 20px;
}

/* 揭幕后的容器样式 */
.ceremony-container.revealed {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 50px rgba(52, 152, 219, 0.5) inset;
}

/* 数字红布样式 */
#digital-curtain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #e74c3c, #c0392b);
  z-index: 10;
  transform-origin: top;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="%23ffffff20" stroke-width="2"/></svg>');
  background-size: 50px 50px;
}

.reveal-animation {
  animation: revealCurtain 3s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes revealCurtain {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* 俱乐部标志样式 */
#club-logo {
  opacity: 0;
  transform: scale(0.5);
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  padding-top: 40px;
}

#club-logo img {
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

#club-logo h1 {
  font-size: 5rem;
  font-weight: 700;
  margin: 20px 0;
  background: linear-gradient(to right, #fff, #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

#club-logo.appear {
  animation: logoAppear 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoAppear {
  0% { opacity: 0; transform: scale(0.5); }
  70% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* 粒子效果样式 */
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,215,0,1) 100%);
  border-radius: 50%;
  animation: particleFly 3s ease-out forwards;
  box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.5);
  z-index: 15;
}

@keyframes particleFly {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate(var(--tx, -100px), var(--ty, -100px)) scale(1); opacity: 0; }
}

/* 愿景样式 */
#vision {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateY(20px);
  text-align: center;
  margin: 10px 0 20px 0;
  order: 1;
}

#vision.visible {
  opacity: 1;
  transform: translateY(0);
}

#vision h2 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 20px 0;
  position: relative;
  display: inline-block;
}

/* 为文字部分添加渐变，但排除emoji */
#vision h2 span {
  background: linear-gradient(to right, #fff, #ff9d00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 使命样式 */
#mission {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateY(20px);
  text-align: center;
  margin: 10px 0 20px 0;
  padding: 15px 20px;
  width: 100%;
  max-width: 1000px;
  order: 2;
}

#mission.slide-in {
  opacity: 1;
  transform: translateY(0);
}

#mission p {
  font-size: 2rem;
  margin: 15px 0;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

/* 为文字部分添加渐变，但排除emoji */
#mission p span {
  background: linear-gradient(to right, #fff, #64b5f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* 成立日期样式 */
#founding-date {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateY(20px);
  text-align: center;
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  order: 3;
}

#founding-date.slide-in {
  opacity: 1;
  transform: translateY(0);
}

#founding-date p {
  font-size: 1.6rem;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: 400;
}

/* 修改揭牌按钮为超级大型圆形 */
#reveal-button {
  position: absolute;
  z-index: 20;
  width: 300px;  /* 进一步增加宽度 */
  height: 300px; /* 进一步增加高度 */
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 3.5rem; /* 进一步增大字体 */
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 70px rgba(52, 152, 219, 0.8);
  transition: all 0.3s;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  letter-spacing: 3px;
  border: 8px solid rgba(255, 255, 255, 0.3);
}

#reveal-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent 30%);
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

#reveal-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(52, 152, 219, 0.8);
  background: linear-gradient(135deg, #2980b9, #3498db);
}

#reveal-button:active {
  transform: translate(-50%, -50%) scale(0.95);
}

/* 修改按钮文字样式 */
#reveal-button span {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  #club-logo h1 {
    font-size: 3.5rem;
  }
  
  #vision h2 {
    font-size: 2rem;
  }
  
  #mission p {
    white-space: normal;
    font-size: 1.5rem;
  }
  
  #founding-date p {
    font-size: 1.2rem;
  }
  
  #reveal-button {
    width: 220px;  /* 在小屏幕上适当调整 */
    height: 220px;
    font-size: 2.8rem;
    border-width: 6px;
  }
}

/* 添加网格背景效果 */
.ceremony-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: -1;
}

/* 揭幕后的网格背景效果 */
.ceremony-container.revealed::before {
  background-image: 
    linear-gradient(rgba(52, 152, 219, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 152, 219, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  animation: gridPulse 8s infinite alternate;
}

@keyframes gridPulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

/* 添加背景星星效果 */
.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 3s ease;
  pointer-events: none;
}

.stars.visible {
  opacity: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
}

/* 调整内容区域 */
.content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}

/* 音乐控制按钮样式 */
.music-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.music-control:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.5);
}

.music-control.muted .music-icon {
  position: relative;
}

.music-control.muted .music-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: red;
  transform: rotate(45deg);
  left: 50%;
}

/* 音频可视化效果 */
.audio-visualizer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  opacity: 0;
  transition: opacity 1s;
}

.audio-visualizer.visible {
  opacity: 0.7;
}

.audio-bar {
  width: 5px;
  height: 5px;
  background: linear-gradient(to top, #3498db, #64b5f6);
  margin: 0 2px;
  border-radius: 2px;
  transition: height 0.1s;
} 