/* 首页 - 寺庙大门 */

.temple-gate {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.gate-header {
  text-align: center;
  margin-bottom: 60px;
  color: #D4AF37;
}

.title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan {
  font-size: 1.2rem;
  opacity: 0.9;
}

.gates {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
}

.gate {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.gate-frame {
  background: linear-gradient(135deg, #654321 0%, #8B4513 100%);
  border: 8px solid #D4AF37;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gate-door {
  background: linear-gradient(180deg, #2C1810 0%, #1a0f0a 100%);
  border: 4px solid #8B4513;
  border-radius: 12px 12px 0 0;
  padding: 40px 20px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gate-door::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gate-door:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.gate-door:hover::before {
  opacity: 1;
}

.gate-text {
  text-align: center;
  color: #D4AF37;
  position: relative;
  z-index: 1;
}

.gate-text h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.gate-text p {
  font-size: 1rem;
  opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1rem;
  }

  .gates {
    flex-direction: column;
    align-items: center;
  }

  .gate {
    width: 100%;
    max-width: 320px;
  }
}
