/* 基础重置和全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #0c2461 0%, #1e3799 50%, #4a69bd 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
}

/* 主容器 */
.adminbuy_cn {
  max-width: 1400px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.98);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.5);
}

/* 标题区域 */
.adminbuy-body {
  padding: 30px 20px 20px;
}

.title {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #ff4757;
}

.title h2 {
  font-size: 3.2rem;
  color: #0c2461;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
}

.title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 6px;
  background: linear-gradient(to right, #ff4757, #ff6b81);
  border-radius: 3px;
}

.title p {
  font-size: 1.5rem;
  color: #555;
  margin-top: 15px;
  font-weight: bold;
}

.title b {
  background: linear-gradient(45deg, #ff4757, #ff6b81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.8rem;
}

/* 服务展示 - 简化版，让联系方式更突出 */
.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 6px solid #0c2461;
  min-width: 300px;
  flex: 1;
  max-width: 350px;
  transition: all 0.3s ease;
}

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

.service-card h3 {
  color: #0c2461;
  margin-bottom: 15px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
}

.service-card h3 i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.service-card p {
  color: #666;
  font-size: 1.1rem;
}

/* 巨幅联系方式区域 - 极致醒目 */
.mega-contact-section {
  background: linear-gradient(45deg, #ff4757, #ff6b81, #ff9f43, #ff4757);
  background-size: 400% 400%;
  animation: gradientAnimation 10s ease infinite;
  padding: 60px 40px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(255, 71, 87, 0.5);
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mega-contact-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="100" cy="100" r="3" fill="white" opacity="0.2"/></svg>');
  z-index: 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.contact-header h2 {
  font-size: 4rem;
  color: white;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.contact-header p {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* 巨型联系方式卡片 */
.mega-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.mega-contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 5px solid white;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.mega-contact-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.mega-contact-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
}

.mega-telegram:before {
  background: linear-gradient(to right, #0088cc, #34b7f1);
}

.mega-qq:before {
  background: linear-gradient(to right, #12b7f5, #4cc2ff);
}

.mega-email:before {
  background: linear-gradient(to right, #ea4335, #fbbc05);
}

.mega-icon {
  font-size: 6rem;
  margin-bottom: 25px;
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.mega-telegram .mega-icon {
  background: linear-gradient(135deg, #0088cc, #34b7f1);
  color: white;
}

.mega-qq .mega-icon {
  background: linear-gradient(135deg, #12b7f5, #4cc2ff);
  color: white;
}

.mega-email .mega-icon {
  background: linear-gradient(135deg, #ea4335, #fbbc05);
  color: white;
}

.mega-contact-card h3 {
  font-size: 2.5rem;
  color: #0c2461;
  margin-bottom: 15px;
}

.mega-contact-card .contact-id {
  font-size: 2.2rem;
  color: #ff4757;
  font-weight: bold;
  margin: 20px 0;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 3px dashed #ddd;
  word-break: break-all;
}

.mega-contact-card p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.mega-button {
  display: inline-block;
  padding: 22px 50px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  margin-top: 10px;
}

.mega-telegram .mega-button {
  background: linear-gradient(to right, #0088cc, #34b7f1);
  color: white;
}

.mega-telegram .mega-button:hover {
  background: linear-gradient(to right, #34b7f1, #0088cc);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 136, 204, 0.6);
}

.mega-qq .mega-button {
  background: linear-gradient(to right, #12b7f5, #4cc2ff);
  color: white;
}

.mega-qq .mega-button:hover {
  background: linear-gradient(to right, #4cc2ff, #12b7f5);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(18, 183, 245, 0.6);
}

.mega-email .mega-button {
  background: linear-gradient(to right, #ea4335, #fbbc05);
  color: white;
}

.mega-email .mega-button:hover {
  background: linear-gradient(to right, #fbbc05, #ea4335);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(234, 67, 53, 0.6);
}

/* 紧急联系横幅 */
.emergency-banner {
  background: linear-gradient(to right, #ff3838, #ff9f1a);
  color: white;
  padding: 30px;
  text-align: center;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(255, 56, 56, 0.5);
  animation: emergencyPulse 2s infinite;
  border: 5px solid white;
  position: relative;
  overflow: hidden;
}

@keyframes emergencyPulse {
  0% { box-shadow: 0 15px 40px rgba(255, 56, 56, 0.5); }
  50% { box-shadow: 0 15px 60px rgba(255, 56, 56, 0.8); }
  100% { box-shadow: 0 15px 40px rgba(255, 56, 56, 0.5); }
}

.emergency-banner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.2"/></svg>');
}

.emergency-banner h3 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.emergency-banner p {
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
  z-index: 1;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* 浮动联系按钮 */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.floating-button {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, #ff4757, #ff6b81);
  color: white;
  padding: 20px 30px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 10px 40px rgba(255, 71, 87, 0.7);
  transition: all 0.3s ease;
  animation: float 3s infinite ease-in-out;
}

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

.floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(255, 71, 87, 0.9);
}

.floating-button i {
  font-size: 2rem;
  margin-right: 15px;
}

/* 页脚 */
footer {
  background: #0c2461;
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-top: 60px;
}

.footer {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .title h2 {
    font-size: 2.2rem;
  }
  
  .title p {
    font-size: 1.2rem;
  }
  
  .title b {
    font-size: 1.4rem;
  }
  
  .service-card {
    min-width: 100%;
  }
  
  .mega-contact-section {
    padding: 40px 20px;
  }
  
  .contact-header h2 {
    font-size: 2.5rem;
  }
  
  .contact-header p {
    font-size: 1.5rem;
  }
  
  .mega-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mega-contact-card {
    padding: 30px 20px;
  }
  
  .mega-icon {
    font-size: 4.5rem;
    width: 100px;
    height: 100px;
  }
  
  .mega-contact-card h3 {
    font-size: 2rem;
  }
  
  .mega-contact-card .contact-id {
    font-size: 1.6rem;
  }
  
  .mega-button {
    padding: 18px 30px;
    font-size: 1.5rem;
  }
  
  .emergency-banner h3 {
    font-size: 2rem;
  }
  
  .emergency-banner p {
    font-size: 1.4rem;
  }
  
  .floating-button {
    padding: 15px 25px;
    font-size: 1.2rem;
  }
  
  .floating-button i {
    font-size: 1.5rem;
  }
}