/* 全局样式：科技感配色 + 光效动画 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', 'Microsoft YaHei', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* 页眉样式 */
#main-header {
  position: fixed;
  top: 0;
  height:100px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-image: linear-gradient(180deg, #000, #00000000);
  z-index: 1000;
}

.logo {
  min-height: 40px;
  max-height:60px;
  height: 3vw;
}

.header-center img{
  min-height: 25px;
  max-height:30px;
  height: 3vw;
}
.header-title {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.logo-mobile {
  display: none;
  height: 40px;
}

/* 抽屉菜单 */
.menu-btn {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s;
}
.menu-btn:hover {
  transform: scale(1.2);
}

.drawer-menu {
  display: none;
  position: fixed;
  right: 0;
  top: 60px;
  background: rgba(0, 0, 0, 0.9);
  width: 200px;
  text-align: center;
  flex-direction: column;
  border-left: 1px solid #00eaff;
}
.drawer-menu a {
  display: block;
  color: #00eaff;
  padding: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.drawer-menu a:hover {
  background: rgba(0, 234, 255, 0.2);
}

/* 首屏：全屏背景 + 发光文字 */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: pulse 8s infinite alternate;
}

/* 背景动态光脉冲效果 */
@keyframes pulse {
  from { opacity: 0.7; }
  to { opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  background: linear-gradient(90deg, #00eaff, #0066ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0,234,255,0.4);
}

.sub-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #ffffff;
  margin-top: 10px;
  text-shadow: 0 0 10px rgba(0,234,255,0.5);
}

.event-info {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: 20px;
  color: #ffffff;
}

/* 倒计时：发光卡片 */
.countdown {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

.time-box {
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(0,234,255,0.4);
  border-radius: 12px;
  padding: 15px 25px;
  min-width: 90px;
  backdrop-filter: blur(4px);
}

.time-box span {
  font-size: clamp(3rem, 4vw, 6rem);
  display: block;
  font-weight: bold;
  color: #00eaff;
}

/* 按钮 */
.join-btn {
  display: inline-block;
  margin-top: 35px;
  padding: 15px 35px;
  background: linear-gradient(90deg, #00eaff, #0066ff);
  color: white;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.join-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(0,234,255,0.8);
}

.join-desc {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #ffffff;
  opacity: 0.9;
}

/* 合作伙伴墙 */
.partners {
  padding: 100px 20px;
  text-align: center;
  background: #050d1a;
  background-color: #0e0e12;
}

.partners h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 50px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  justify-items: center;
}

.partners-grid img {
  width: 150px;
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}

.partners-grid img:hover {
  opacity: 1;
  transform: scale(1.2);
}


/* 页脚 */
.footer {
  background: #0a0a0a;
  color: #ffffff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 10;
}

.footer hr {
  border: 0;
  border-top: 2px solid #404044;
  margin: 30px 30px;
}

/* 联系方式图标区域 */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 25px;
}

.icon {
  font-size: 48px;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
}

.icon:hover {
  color: #00eaff;
  transform: scale(1.2);
  text-shadow: 0 0 15px #00eaff;
}

/* 微信二维码弹窗 */
.wechat-popup {
  display: none; /* 初始隐藏 */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  position: relative;
  background: #111;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.6);
  animation: fadeIn 0.3s ease;
}

.popup-content img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
}

.close-popup {
  position: absolute;
  top: 5px;
  right: 10px;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-popup:hover {
  color: #fff;
}

/* 页脚Logo */
.footer-logo img {
  max-width: 80%;
  width: 350px;
  margin: 50px;
}

.copyright {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* 弹窗动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}



/* 竖屏适配 */
@media screen and (orientation: portrait) {
  .header-title { display: none; }
  .logo-mobile { display: block; }
}
