:root {
  color-scheme: light;
  --ink: #161b24;
  --muted: #777f8b;
  --line: #edf0f5;
  --page: #f6f7f9;
  --gold: #c69b55;
  --red: #ff4d6d;
  --blue: #3688ff;
  --green: #44c878;
  --purple: #9b72ff;
  --orange: #ffa83d;
  --shadow: 0 12px 34px rgba(20, 29, 43, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0;
}

body {
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

.mobile-app {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0, #f7f8fa 28%, #f4f5f8 100%);
}

.mobile-top {
  height: 62px;
  padding: 8px 14px;
  display: grid;
  grid-template-columns: 86px 1fr 90px;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-logo strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.mobile-logo span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 5px;
}

.mobile-top h1 {
  margin: 0;
  text-align: center;
  font-size: 19px;
}

.mini-menu {
  height: 42px;
  border: 1px solid #e9edf3;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
}

.mini-menu span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

.mini-menu i {
  width: 22px;
  height: 22px;
  margin-left: 8px;
  border: 5px solid #111;
  border-radius: 50%;
}

.hero-card {
  min-height: 272px;
  position: relative;
  color: #f5d38c;
  padding: 38px 28px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 4, 10, 0.96), rgba(2, 4, 10, 0.78) 48%, rgba(2, 4, 10, 0.22)),
    var(--hero-image, radial-gradient(circle at 75% 45%, #693a61, #05070d 54%));
  background-size: cover;
  background-position: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 250px;
}

.hero-copy p {
  margin: 0 0 6px;
  font-size: 31px;
  font-family: Georgia, serif;
}

.hero-copy h2 {
  margin: 0;
  font-size: clamp(24px, 7.2vw, 32px);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-copy span {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  letter-spacing: 3px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  color: #f4dca8;
  font-size: 13px;
}

.hero-copy button {
  margin-top: 24px;
  width: 132px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #4d3510;
  background: linear-gradient(135deg, #fff0bd, #d7a74e);
  font-size: 15px;
  font-weight: 700;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-dots i,
.pager i {
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-dots i:first-child,
.pager i:first-child {
  background: var(--gold);
  width: 28px;
}

.feature-card,
.section-card,
.about-card,
.notice-bar {
  margin: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-card {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding: 22px 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 8px;
}

.feature {
  text-align: center;
}

.feature i,
.quick i {
  width: 56px;
  height: 56px;
  margin: 0 auto 9px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  background: var(--red);
}

.feature strong,
.quick strong {
  display: block;
  font-size: 14px;
}

.feature span,
.quick span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.notice-bar {
  min-height: 54px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 14px;
}

.notice-bar strong {
  font-size: 16px;
}

.notice-bar span {
  padding: 2px 7px;
  border-radius: 5px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
}

.notice-bar p {
  margin: 0;
  color: #4a5160;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.section-card,
.about-card {
  padding: 20px 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

h2 {
  margin: 0;
  font-size: 20px;
}

.section-head a {
  color: #89909d;
  text-decoration: none;
  font-size: 14px;
}

.event-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
}

.event-poster {
  border-radius: 8px;
  min-height: 118px;
  background: #080910;
  color: #f4cc83;
  padding: 16px;
  display: grid;
  align-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  position: relative;
}

.event-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.event-poster strong {
  position: relative;
  font-family: Georgia, serif;
  line-height: 1.3;
}

.event-info h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-info p {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 8px;
  margin: 6px 0;
  color: #555e6c;
  font-size: 13px;
}

.event-info span {
  color: #969da8;
}

.event-info button {
  width: 120px;
  height: 40px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6380, #ff315c);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.pager {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.pager i {
  background: #d6dae0;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.quick {
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px 4px;
}

.quick i {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.data-item strong {
  display: block;
  font-size: 24px;
  color: var(--blue);
}

.data-item:nth-child(2) strong { color: #b58a4c; }
.data-item:nth-child(3) strong { color: #43b7ad; }
.data-item:nth-child(4) strong { color: var(--red); }

.data-item span {
  display: block;
  margin-top: 4px;
  color: #555e6c;
  font-size: 12px;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.about-card p {
  margin: 10px 0 0;
  color: #555e6c;
  line-height: 1.7;
}

.about-card > strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 22px;
}

.bottom-tab {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(430px, 100vw);
  transform: translateX(-50%);
  height: calc(68px + env(safe-area-inset-bottom));
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 24px rgba(20, 29, 43, 0.08);
}

.bottom-tab a {
  color: #5f6671;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.bottom-tab i {
  display: block;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
}

.bottom-tab .active,
.bottom-tab .plus {
  color: var(--red);
}

.bottom-tab .plus i {
  width: 52px;
  height: 52px;
  margin: -28px auto 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff6380, #ff315c);
  color: #fff;
  font-size: 36px;
  box-shadow: 0 9px 22px rgba(255, 49, 92, 0.32);
}

@media (max-width: 360px) {
  .mobile-top {
    grid-template-columns: 76px 1fr 76px;
  }

  .mobile-top h1 {
    font-size: 16px;
  }

  .hero-copy h2 {
    font-size: 27px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
