* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 10% 30%, rgba(130, 190, 255, 0.18), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 210, 120, 0.18), transparent 24%),
    linear-gradient(180deg, #eaf5ff 0%, #ffffff 48%, #eef7ff 100%);
  color: #1f2f45;
  line-height: 1.6;
  padding-bottom: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.app {
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(73, 159, 255, 0.16), transparent 240px),
    transparent;
}

/* 顶部栏：海纹导航居中 */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  padding: 0 14px;
  background: linear-gradient(90deg, #3d95ff 0%, #55b5ff 50%, #2f82f6 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 16px rgba(45, 128, 230, 0.25);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 顶部只显示标题，不显示 LOGO 和副标题 */
.brand-logo {
  display: none;
}

.brand-subtitle {
  display: none;
}

.brand-title {
  font-size: 29px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(0, 93, 180, 0.25),
    0 3px 8px rgba(0, 80, 180, 0.35);
}

/* 页面区域 */
.page-section {
  min-height: auto;
  padding: 12px 12px 28px;
  scroll-margin-top: 64px;
}

.hero-section {
  padding-top: 82px;
}

/* 首页大横幅 */
.hero-card {
  position: relative;
  overflow: hidden;
  padding: 26px 18px;
  min-height: 210px;
  border-radius: 16px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 240, 255, 0.96) 48%, rgba(186, 222, 255, 0.94) 100%);
  border: 1px solid rgba(75, 151, 238, 0.28);
  box-shadow: 0 10px 26px rgba(73, 144, 226, 0.22);
}

.hero-card::before {
  content: "";
  position: absolute;
  right: -48px;
  top: -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 207, 76, 0.32);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.85), rgba(65, 157, 255, 0.18));
  transform: rotate(10deg);
}

.hero-badge {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f7c743, #ffe9a3);
  color: #895b00;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 3px 10px rgba(205, 145, 0, 0.18);
}

h1 {
  position: relative;
  z-index: 1;
  font-size: 31px;
  line-height: 1.18;
  color: #2184f3;
  margin-bottom: 12px;
  text-shadow:
    0 2px 0 #ffffff,
    0 4px 12px rgba(44, 137, 241, 0.22);
}

.hero-card p {
  position: relative;
  z-index: 1;
  color: #4e6681;
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 78%;
}

.hero-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 39px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #47b6ff 0%, #217ff0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(38, 127, 239, 0.32);
}

.btn-outline {
  color: #247fe9;
  background: #ffffff;
  border: 1px solid rgba(51, 134, 230, 0.35);
}

/* 公告条 */
.notice-card {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(72, 145, 226, 0.18);
  box-shadow: 0 4px 16px rgba(68, 126, 190, 0.12);
}

.notice-card span {
  display: inline-block;
  color: #2184f3;
  font-size: 12px;
  font-weight: 900;
  margin-right: 6px;
}

.notice-card p {
  display: inline;
  color: #61748c;
  font-size: 12px;
}

/* 区块标题 */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 12px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: #398fff;
}

.section-title span {
  display: none;
}

.section-title h2 {
  font-size: 20px;
  color: #1e2f45;
  font-weight: 900;
}

/* 快捷入口 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.quick-item {
  position: relative;
  overflow: hidden;
  min-height: 106px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf5ff 100%);
  border: 1px solid rgba(68, 146, 235, 0.18);
  box-shadow: 0 5px 14px rgba(65, 126, 190, 0.12);
}

.quick-item:nth-child(1) {
  background: linear-gradient(135deg, #fff4e1, #ffd3b7);
}

.quick-item:nth-child(2) {
  background: linear-gradient(135deg, #ffe2f3, #ffc2df);
}

.quick-item:nth-child(3) {
  background: linear-gradient(135deg, #dff0ff, #91ccff);
}

.quick-item:nth-child(4) {
  background: linear-gradient(135deg, #e5e8ff, #b7c0ff);
}

.quick-icon,
.quick-icon1 {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.quick-icon {
  margin-bottom: 9px;
  color: #2585ef;
}

.quick-icon1 {
  margin-bottom: 0;
  color: #e09b00;
}

.quick-item strong {
  display: block;
  color: #1e2f45;
  font-size: 15px;
  margin-bottom: 2px;
}

.quick-item small {
  color: #59728f;
  font-size: 12px;
}

/* 工具合集：分类四宫格 */
.tools-section {
  background: #f4f7fb;
  padding-top: 12px;
}

.tools-section .section-title {
  margin-bottom: 4px;
}

.tools-section .section-title h2 {
  color: #435a8c;
}

.tool-category {
  margin-bottom: 8px;
}

.tool-category h3 {
  font-size: 18px;
  line-height: 1.2;
  color: #435a8c;
  font-weight: 900;
  margin: 8px 0 10px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 14px;
  column-gap: 6px;
  margin-bottom: 10px;
}

.tool-app {
  min-width: 0;
  text-align: center;
  color: #3e5480;
}

.tool-logo {
  width: 42px;
  height: 42px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-app span {
  display: block;
  font-size: 14px;
  color: #3e5480;
  line-height: 1.25;
  white-space: nowrap;
}

/* 半透明浅色区域 */
.dark-section {
  background: rgba(255, 255, 255, 0.42);
}

/* 推荐游戏 / 列表卡片 */
.list-card {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(68, 146, 235, 0.16);
  box-shadow: 0 5px 16px rgba(65, 126, 190, 0.12);
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 13px;
  border-bottom: 1px solid #eef4fb;
}

.list-item:last-child {
  border-bottom: none;
}

.list-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  background: #eef7ff;
  border: 1px solid rgba(68, 146, 235, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.list-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.list-content {
  flex: 1;
  min-width: 0;
}

.list-content strong,
.list-item strong {
  display: block;
  font-size: 15px;
  color: #1f2f45;
}

.list-content p,
.list-item p {
  margin-top: 2px;
  color: #6c7f96;
  font-size: 12px;
}

.list-item em {
  flex: 0 0 auto;
  font-style: normal;
  color: #ffffff;
  background: linear-gradient(180deg, #4ab6ff, #2485ee);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* 会员卡 */
.member-card {
  position: relative;
  padding: 17px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(68, 146, 235, 0.16);
  box-shadow: 0 5px 16px rgba(65, 126, 190, 0.12);
}

.main-member {
  background:
    linear-gradient(135deg, #fff8df 0%, #ffffff 45%, #e6f4ff 100%);
  border-color: rgba(232, 177, 43, 0.36);
}

.member-card h3 {
  font-size: 18px;
  color: #1f2f45;
  margin-bottom: 4px;
}

.member-price {
  color: #e09b00;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 10px;
}

.member-card ul {
  list-style: none;
}

.member-card li {
  color: #5d718b;
  font-size: 14px;
  margin-bottom: 7px;
}

.member-card li::before {
  content: "✓";
  color: #2389f3;
  margin-right: 7px;
  font-weight: 900;
}

.member-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4c23d, #ffe8a2);
  color: #835900;
  font-size: 12px;
  font-weight: 900;
}

.full-btn {
  width: 100%;
  margin-top: 12px;
}

/* 内容卡 */
.content-card {
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(68, 146, 235, 0.16);
  box-shadow: 0 5px 16px rgba(65, 126, 190, 0.12);
}

.content-card p {
  color: #5d718b;
  font-size: 14px;
  margin-bottom: 10px;
}

/* 联系方式 */
.contact-card {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(68, 146, 235, 0.16);
  box-shadow: 0 5px 16px rgba(65, 126, 190, 0.12);
}

.contact-row {
  padding: 14px;
  border-bottom: 1px solid #eef4fb;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row span {
  display: block;
  color: #7d8fa5;
  font-size: 12px;
  margin-bottom: 4px;
}

.contact-row strong {
  display: block;
  color: #1f2f45;
  font-size: 15px;
  word-break: break-word;
}

/* 底部版权 */
.footer {
  padding: 22px 12px 34px;
  text-align: center;
  color: #7e91a8;
  font-size: 12px;
}

/* 底部导航：三个按钮平均分布 */
.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  height: 64px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  background: linear-gradient(180deg, #ffffff 0%, #edf6ff 100%);
  border: 1px solid rgba(51, 134, 230, 0.24);
  border-radius: 22px;
  overflow: hidden;

  z-index: 99999;
  box-shadow: 0 10px 28px rgba(58, 128, 205, 0.25);
}

.bottom-nav .nav-link {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 17px;
  font-weight: 800;
  color: #61748c;
  background: transparent;
}

.bottom-nav .nav-link:not(:last-child) {
  border-right: 1px solid rgba(51, 134, 230, 0.12);
}

.bottom-nav .nav-link.active {
  color: #ffffff;
  background: linear-gradient(180deg, #50b8ff 0%, #2587ef 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* 小屏优化 */
@media (max-width: 360px) {
  .brand-title {
    font-size: 26px;
  }

  h1 {
    font-size: 28px;
  }

  .hero-card p {
    max-width: 100%;
  }

  .bottom-nav .nav-link {
    font-size: 15px;
  }

  .quick-grid {
    gap: 8px;
  }

  .tool-app span {
    font-size: 13px;
  }
}