/* 官方团购首页 - 未来科技风格改造 */
:root {
  --primary-color: #00a2ff;
  --secondary-color: #7e42ff;
  --accent-color: #00e5ff;
  --neon-blue: #00f3ff;
  --neon-purple: #bd00ff;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --text-primary: #1a1a1a;
  --text-secondary: #4d4d4d;
  --glow-effect: 0 0 15px rgba(0, 243, 255, 0.5), 0 0 30px rgba(0, 162, 255, 0.3);
  --neon-border: 1px solid rgba(0, 243, 255, 0.5);
  --cyber-gradient: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8);
  --card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* 团购广告区域 */
.shoptgad {
  height: auto;
  margin-top:60px;
  min-height: 140px;
  margin-bottom: 30px;
}

.shoptgad .ad1,
.shoptgad .ad2,
.shoptgad .ad3 {
  background: var(--glass-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  flex: 1;
  min-width: 250px;
  position: relative;
  overflow: hidden;
}

.shoptgad .ad1::before,
.shoptgad .ad2::before,
.shoptgad .ad3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.shoptgad .ad1:hover,
.shoptgad .ad2:hover,
.shoptgad .ad3:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-5px) rotateX(2deg);
}

.shoptgad .ad2 {
  padding: 20px;
}

.MainContainer {
  clear: both;
  margin-top: 25px;
}

.MainContainer .Main {
}

.MainContainer .Side {
}

/* 热门团购样式 */
.hotshoptg {
  background: var(--glass-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  margin-bottom: 25px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
}

.hotshoptg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  animation: scanLine 4s linear infinite;
}

.hotshoptg:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-5px) rotateX(2deg);
}

.hotshoptg .list1,
.hotshoptg .list2,
.hotshoptg .list3 {
  height: auto;
  min-height: 70px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.hotshoptg .list1:hover,
.hotshoptg .list2:hover,
.hotshoptg .list3:hover {
  background: rgba(0, 162, 255, 0.05);
  padding-left: 25px;
}

.hotshoptg .list1 span,
.hotshoptg .list2 span,
.hotshoptg .list3 span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.hotshoptg .list1::before,
.hotshoptg .list2::before,
.hotshoptg .list3::before {
  display: none;
}

.hotshoptg .about {
  font-family: "Exo 2", "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  height: auto;
  min-height: 280px;
  padding: 30px 40px;
  overflow: hidden;
  line-height: 1.5;
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.05), rgba(126, 66, 255, 0.05));
  position: relative;
}

.hotshoptg .about::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
}

.hotshoptg .about a {
  font-size: 1.8rem;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.hotshoptg .about a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-gradient);
  transition: width 0.4s ease;
}

.hotshoptg .about a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(126, 66, 255, 0.3);
}

.hotshoptg .about a:hover::after {
  width: 100%;
}

.hotshoptg .about span {
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 162, 255, 0.3);
}

.hotshoptg .moreinfo {
  margin-top: 20px;
  position: relative;
  background: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.hotshoptg .moreinfo .left {
  width: 100%;
  max-width: 300px;
  flex: 1;
  min-width: 250px;
}

.hotshoptg .moreinfo .actionspace {
  height: auto;
  min-height: 180px;
}

.hotshoptg .moreinfo .action {
  width: 100%;
  height: auto;
  min-height: 180px;
  position: relative;
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.1), rgba(126, 66, 255, 0.1));
  margin-left: 0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.hotshoptg .moreinfo .action:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.hotshoptg .moreinfo .action .butter {
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.hotshoptg .moreinfo .action .butter span {
  display: block;
  float: none;
}

.hotshoptg .moreinfo .action .butter span.price {
  width: auto;
  height: auto;
  overflow: hidden;
  padding: 0;
  line-height: 1.5;
  font-family: "Orbitron", "Exo 2", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-right: 15px;
  text-shadow: 0 0 5px rgba(0, 162, 255, 0.3);
}

.hotshoptg .moreinfo .action .butter span.cg {
  padding: 0;
}

.hotshoptg .moreinfo .action .Offer {
  height: auto;
  min-height: 80px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  background: rgba(207, 246, 218, 0.5);
  margin-left: 0;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}

.hotshoptg .moreinfo .action .Offer div {
  height: auto;
  padding-top: 0;
  width: auto;
  overflow: hidden;
  float: none;
  flex: 1;
  min-width: 80px;
  text-align: center;
  margin: 5px;
}

.hotshoptg .moreinfo .action .Offer div span {
  display: block;
  text-align: center;
  line-height: 1.5;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  font-family: "Exo 2", sans-serif;
}

.hotshoptg .moreinfo .action .Offer div.red span {
  color: var(--primary-color);
}

.hotshoptg .moreinfo .timeover {
  width: 100%;
  height: auto;
  min-height: 90px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: 15px 0;
  background: rgba(255, 248, 232, 0.7);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.hotshoptg .moreinfo .timeover:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hotshoptg .moreinfo .timeover div {
  float: none;
}

.hotshoptg .moreinfo .timeover div.word {
  width: 100%;
  height: auto;
  padding-top: 0;
  text-align: center;
  line-height: 1.5;
  overflow: hidden;
  font-size: 1rem;
  flex: 1;
}

.hotshoptg .moreinfo .timeover div.pic {
  padding-top: 0;
  margin-left: 15px;
}

.hotshoptg .moreinfo .Status {
  width: 100%;
  height: auto;

  min-height: 150px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: 15px 0;
  background: rgba(255, 248, 232, 0.7);
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
}

.hotshoptg .moreinfo .Status:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hotshoptg .moreinfo .Status .now {
  padding: 0 0 10px 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Exo 2", sans-serif;
  color: var(--text-primary);
}

.hotshoptg .moreinfo .Status .now span {
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 162, 255, 0.3);
}

.hotshoptg .moreinfo .Status .red {
  height: auto;
  line-height: 1.5;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  padding: 10px;
  overflow: hidden;
  font-family: "Exo 2", sans-serif;
}

.hotshoptg .moreinfo .Status .red img {
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 3px rgba(0, 162, 255, 0.5));
}

.hotshoptg .moreinfo .Status .m {
  padding: 10px;
  height: auto;
  line-height: 1.5;
  color: var(--text-secondary);
  overflow: hidden;
  text-align: center;
}

.hotshoptg .right {
  flex: 1;
  min-width: 250px;
}

.hotshoptg .right .img {
  height: auto;
  min-height: 320px;
  overflow: hidden;
  padding-left: 0;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.hotshoptg .right .img:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.hotshoptg .right .title {
  height: auto;
  min-height: 45px;
  overflow: hidden;
  padding: 10px 15px 10px 50px;
  line-height: 1.5;
  background: linear-gradient(90deg, rgba(0, 162, 255, 0.1), rgba(126, 66, 255, 0.1));
  margin-top: 15px;
  border-radius: 8px;
  position: relative;
  font-weight: 700;
  font-size: 1.1rem;
}

.hotshoptg .right .title::before {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
}

.hotshoptg .right .Address {
  height: auto;
  min-height: 35px;
  overflow: hidden;
  padding: 10px;
  line-height: 1.5;
  background: rgba(239, 239, 239, 0.7);
  margin: 15px 0;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.hotshoptg .right .Address span {
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 8px;
}

.shoptgsoft {
  padding-bottom: 25px;
}

.shoptgsoft,
.notecontainer {
  background: var(--glass-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  margin-bottom: 25px;
}

.shoptgsoft:hover,
.notecontainer:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-5px) rotateX(2deg);
}

.shoptgsoft .head,
.notecontainer .head {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  height: auto;
  min-height: 50px;
  line-height: 1.5;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.shoptgsoft .head::before,
.notecontainer .head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-purple), transparent);
  animation: scanLine 3s linear infinite;
}

.shoptgsoft .head .fl,
.notecontainer .head .fl {
  float: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.notecontainer .head .fr {
  float: none;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.notecontainer .head .fr:hover {
  color: white;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.shoptgsoft .cont,
.notecontainer .cont {
  background: rgba(248, 248, 248, 0.7);
  padding: 20px;
  border-radius: 0 0 16px 16px;
}

.shoptgsoft dl dt {
  height: auto;
  min-height: 35px;
  background: rgba(255, 248, 232, 0.7);
  line-height: 1.5;
  padding: 10px 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

.shoptgsoft dl dt::before {
  margin-right: 10px;
  color: var(--primary-color);
}

.shoptgsoft dl dd {
  padding: 10px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 15px;
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 8px 8px 0;
}

.shoptgsoft .foot,
.notecontainer .foot {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  height: 5px;
  border-radius: 0 0 16px 16px;
}

.notecontainer .list {
  height: auto;
  min-height: 35px;
  line-height: 1.5;
  background: none;
  padding: 10px 10px 10px 35px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.notecontainer .list:last-child {
  border-bottom: none;
}

.notecontainer .list::before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1.2rem;
}

.notecontainer .list:hover {
  background: rgba(0, 162, 255, 0.05);
  padding-left: 40px;
  border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .shoptgad {
    flex-direction: column;
  }
  
  .shoptgad .ad1,
  .shoptgad .ad2,
  .shoptgad .ad3 {
    width: 100%;
  }
  
  .MainContainer {
    flex-direction: column;
  }
  
  .hotshoptg .moreinfo {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hotshoptg .about {
    font-size: 1.4rem;
    padding: 20px;
  }
  
  .hotshoptg .about a {
    font-size: 1.4rem;
  }
  
  .hotshoptg .moreinfo .action .butter {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hotshoptg .moreinfo .action .butter span.price {
    margin-bottom: 10px;
  }
  
  .hotshoptg .moreinfo .action .Offer {
    flex-direction: column;
  }
  
  .hotshoptg .moreinfo .action .Offer div {
    width: 100%;
    margin: 5px 0;
  }
  
  .hotshoptg .moreinfo .timeover {
    flex-direction: column;
    text-align: center;
  }
  
  .hotshoptg .moreinfo .timeover div.pic {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .shoptgad .ad1,
  .shoptgad .ad2,
  .shoptgad .ad3 {
    min-width: 100%;
  }
  
  .hotshoptg .list1,
  .hotshoptg .list2,
  .hotshoptg .list3 {
    padding: 10px 15px;
  }
  
  .hotshoptg .about {
    font-size: 1.2rem;
    padding: 15px;
  }
  
  .hotshoptg .about a {
    font-size: 1.2rem;
  }
  
  .shoptgsoft .head,
  .notecontainer .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .notecontainer .head .fr {
    align-self: flex-end;
  }
}