/* page-dynamic.component.scss */
:host {
  --primary-blue: #2a5daa;   /* 青花蓝 */
  --gold-yellow: #e8c34d;    /* 稻穗金 */
  --porcelain-white: #f8f9fa; /* 瓷白 */
  --dark-charcoal: #333;     /* 墨黑 */
  --mountain-green: #4a6b3d; /* 山林绿 */
  --river-blue: #4a86e8;     /* 赣江蓝 */
  --ceramic-red: #c73e3a;    /* 陶瓷红 */
}

/* Banner区域 */
.banner-section {
  padding: 1.5rem 5%;
  margin-top: 1rem;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1579033462043-0f11a7862f7d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  z-index: -1;
}

.banner-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: fadeInDown 1s ease;
}

.banner-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
}

/* 会员门户区域 */
.section-header {
  text-align: center;
  padding: 3rem 5% 2rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold-yellow);
  border-radius: 2px;
}

.section-desc {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  padding: 0 5% 5rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-header {
  padding: 1.8rem;
  background: linear-gradient(90deg, var(--primary-blue), var(--river-blue));
  color: white;
  text-align: center;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.8rem;
  font-weight: bold;
}

.service-body {
  padding: 2rem;
}

/* OCR注册区域 */
.ocr-gate {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, #e9e5d8, #f8f6f0);
  border: 3px solid var(--gold-yellow);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.gate-arch {
  position: absolute;
  top: 0;
  width: 100%;
  height: 30px;
  background: var(--ceramic-red);
  border-radius: 50% 50% 0 0;
}

.gate-pillar {
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 180px;
  background: var(--ceramic-red);
}

.gate-pillar.left {
  left: 20%;
}

.gate-pillar.right {
  right: 20%;
}

.lantern {
  position: absolute;
  top: 25px;
  width: 25px;
  height: 35px;
  background: var(--gold-yellow);
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.lantern.left {
  left: 20%;
}

.lantern.right {
  right: 20%;
}

.lantern.active {
  opacity: 1;
  background: #ff6b6b;
  box-shadow: 0 0 20px #ff6b6b;
}

.ocr-content {
  z-index: 2;
  text-align: center;
}

.ocr-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  font-weight: bold;
}

.ocr-btn:hover {
  background: var(--river-blue);
  transform: scale(1.05);
}

.ceramic-shard {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 1s ease;
}

/* VR展示区 */
.vr-showcase {
  width: 100%;
  height: 300px;
  background: url('https://images.unsplash.com/photo-1551649001-7a2482d98d09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.drying-rack {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 180px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="10" viewBox="0 0 200 10"><rect width="200" height="3" fill="%23d4a017" rx="1.5"/></svg>') repeat;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.achievement-item {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gold-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.achievement-item:hover {
  transform: translateY(-10px);
}

/* 单位对接 */
.migration-map {
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, #e6f7ff, #f0f8ff);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.crane {
  position: absolute;
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  color: var(--dark-charcoal);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.5s ease;
  cursor: pointer;
}

.crane:hover {
  transform: scale(1.2);
  z-index: 10;
}

.crane.hovered {
  transform: scale(1.3);
  z-index: 10;
}

.crane.main-crane {
  background: var(--gold-yellow);
  color: white;
  transform: scale(1.3);
}

/* 共创空间 */
.creative-space {
  background: linear-gradient(135deg, #f8f9fa 0%, #e6f7ff 100%);
  padding: 5rem 5%;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.space-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.space-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.space-header {
  padding: 1.5rem;
  background: linear-gradient(90deg, var(--mountain-green), #5d8c5a);
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.space-icon {
  font-size: 2rem;
}

.space-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.space-body {
  padding: 2rem;
}

.ceramic-items {
  display: flex;
  justify-content: space-around;
  margin: 1.5rem 0;
}

.ceramic-item {
  width: 80px;
  height: 100px;
  background: #f8f6f0;
  border: 2px solid var(--gold-yellow);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ceramic-item.vase {
  height: 120px;
  border-radius: 40% 40% 10px 10px;
}

.ceramic-item.bowl {
  border-radius: 50% 50% 10px 10px;
}

.ceramic-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 奖励体系 */
.reward-system {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #fff9f0 0%, #fff 100%);
}

.terrace-form {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
  padding: 1.2rem;
  background: var(--porcelain-white);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.form-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary-blue);
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--river-blue);
  box-shadow: 0 0 0 3px rgba(74, 134, 232, 0.1);
  outline: none;
}

.ripple {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--river-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.form-input:focus ~ .ripple {
  transform: scaleX(1);
}

/* 滕王阁荣誉墙 */
.pavilion-honor {
  width: 100%;
  height: 400px;
  background: linear-gradient(to bottom, #e6f7ff, #d1e8ff);
  border-radius: 15px;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pavilion-model {
  width: 300px;
  height: 300px;
  background: url('https://images.unsplash.com/photo-1600857062241-98c0a9e0f6f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/contain no-repeat;
  position: relative;
  transition: transform 0.1s ease;
}

.honor-item {
  position: absolute;
  width: 80px;
  height: 50px;
  background: white;
  border: 2px solid var(--gold-yellow);
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--primary-blue);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.honor-item:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* 页脚 */
.footer {
  background: var(--dark-charcoal);
  color: white;
  padding: 3rem 5% 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  color: var(--gold-yellow);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-yellow);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--gold-yellow);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}

/* 动画效果 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .banner-title {
    font-size: 2.5rem;
  }
  
  .banner-subtitle {
    font-size: 1.2rem;
  }
  
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  
  .space-grid {
    grid-template-columns: 1fr;
  }
}