/* 页面容器 */
.page {
  background: linear-gradient(135deg, #e8f5f3 0%, #f0f9f7 30%, #f7f9f9 60%, #e0f2ef 100%);
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.page::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 160, 150, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 84, 78, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* 标题 */
.page-title {
  color: #00544e;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0, 84, 78, 0.1);
}

/* 入口容器 */
.entrance-container {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* 入口卡片 */
.entrance-card {
  width: 20rem;
  height: 25rem;
  border-radius: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.entrance-card:hover {
  transform: translateY(-5px);
}

/* 学校端卡片 */
.school-card {
  box-shadow: 0 10px 40px rgba(0, 160, 150, 0.3);
  border: 3px solid #00a096;
  background-image: url(./img/school.jpg);
  background-size: cover;
  background-position: center;
}

/* 供应商端卡片 */
.supplier-card {
  box-shadow: 0 10px 40px rgba(0, 160, 150, 0.3);
  border: 3px solid #00a096;
  background-image: url(./img/supplier.jpg);
  background-size: cover;
  background-position: center;
}

/* 入口文字 */
.entrance-text {
  color: #00a096;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  font-family: "Source Han Sans CN", "Noto Sans SC", sans-serif;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .entrance-container {
    gap: 2rem;
  }
  
  .entrance-card {
    width: 15rem;
    height: 20rem;
    padding-top: 1.5rem;
  }
  
  .entrance-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1rem;
  }
  
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .entrance-container {
    flex-direction: column;
    align-items: center;
  }
  
  .entrance-card {
    width: 90vw;
    height: 50vw;
    padding-top: 1rem;
  }
}
