:root {
  --bg-primary: #fff5f8;
  --bg-secondary: #ffe5ef;
  --bg-accent-1: rgba(255, 195, 214, 0.75);
  --bg-accent-2: rgba(255, 240, 247, 0.9);
  --glass-surface: rgba(255, 255, 255, 0.78);
  --glass-surface-strong: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 170, 201, 0.35);
  --glass-border-strong: rgba(255, 140, 188, 0.48);
  --text-primary: rgba(93, 36, 70, 0.96);
  --text-secondary: rgba(140, 81, 112, 0.72);
  --accent: #ff9cc7;
  --accent-strong: rgba(255, 156, 199, 0.9);
  --shadow-ambient: rgba(222, 155, 186, 0.55);
  --shadow-soft: rgba(241, 200, 219, 0.8);
  --shadow-strong: rgba(208, 130, 166, 0.32);
  --transition: 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 18px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

ul {
  list-style: none;
}

body::before,
body::after {
  content: none;
}

.container {
  width: min(460px, 100%);
  position: relative;
  z-index: 1;
}

.content {
  position: relative;
  background: var(--glass-surface);
  border-radius: 36px;
  padding: 38px 34px 48px;
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 32px 78px var(--shadow-ambient);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  opacity: 0.75;
  pointer-events: none;
}

.home-me-section {
  width: 100%;
  position: relative;
  z-index: 1;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  position: relative;
}

.headline {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  text-shadow: 0 12px 34px rgba(255, 180, 210, 0.6);
}

.subheadline {
  max-width: 360px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.button-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bgt {
  width: 100%;
  display: block;
  border-radius: 26px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 48px;
}

.hero-frame {
  width: 100%;
  height: 220px;
  border-radius: 32px;
  padding: 6px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 190, 214, 0.55), rgba(255, 157, 195, 0.36));
  border: 1px solid var(--glass-border-strong);
  box-shadow:
    0 30px 60px rgba(222, 155, 186, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 30px;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  opacity: 0.55;
  pointer-events: none;
}

.hero-frame .bgt {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
  margin-bottom: 0;
}

.logo-badge {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.logo-badge .ats {
  margin-top: 0;
}

.ats {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  border: 1px solid var(--glass-border-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 32px rgba(210, 135, 170, 0.35);
  margin-top: 0;
  background: var(--glass-surface-strong);
  padding: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.ats:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 26px 44px rgba(214, 124, 168, 0.42);
}

.web {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 48px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 193, 213, 0.6);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border var(--transition), background var(--transition), color var(--transition);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 34px rgba(216, 142, 176, 0.3);
}

.web::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity var(--transition);
}

.web::after {
  content: "→";
  font-size: 18px;
  opacity: 0;
  color: var(--accent);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translate(12px, -50%);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 1;
}

.web:hover {
  transform: translateY(-3px);
  border: 1px solid var(--accent-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 24px 52px rgba(216, 120, 164, 0.5);
  background: linear-gradient(160deg, rgba(255, 180, 210, 0.75), rgba(255, 156, 199, 0.55));
  color: var(--text-primary);
}

.web:hover::before {
  opacity: 0.88;
}

.web:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.tips {
  font-size: 15px;
  color: var(--text-secondary);
  border-radius: 18px;
  padding: 10px 16px;
  background: rgba(255, 190, 214, 0.32);
  border: 1px solid rgba(255, 179, 209, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.box {
  width: 100%;
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(165deg, rgba(255, 190, 214, 0.28), rgba(255, 255, 255, 0.18));
  border: 1px solid rgba(255, 179, 209, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 20px 34px rgba(222, 155, 186, 0.35);
  color: var(--text-secondary);
  text-align: left;
}

#boxs {
  max-height: 176px;
  overflow-y: auto;
  overflow-x: visible;
  padding-right: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#boxs::-webkit-scrollbar {
  display: none;
}

#boxss {
  margin-top: 6px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

#certificate-box {
  width: 100%;
  margin-top: 6px;
}

#certificate-box .box {
  padding: 10px 18px;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 24px rgba(216, 150, 180, 0.28);
}

#certificate-box #boxss {
  margin-top: 0;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

#certificate-box #boxss span,
#certificate-box #boxss .link {
  font-size: 0.98rem;
  line-height: 1.4;
}

body.install-page {
  gap: 18px;
  padding-bottom: 36px;
}

body.install-page #popup-container {
  height: 0;
  margin: -8px 0;
}

.track-list li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-left: 1px solid rgba(255, 170, 201, 0.35);
}

.track-list li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 23px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 156, 199, 0.82);
  box-shadow: 0 0 0 4px rgba(255, 156, 199, 0.25), 0 10px 16px rgba(255, 156, 199, 0.36);
}

.track-list li .time {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(150, 90, 115, 0.62);
}

.track-list li .desc {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.footer {
  width: min(440px, calc(100% - 32px));
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 28px 64px var(--shadow-ambient);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.92rem;
  position: relative;
  z-index: 1;
}

.footer .link {
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer .link:hover {
  color: var(--accent);
}

#sitetime {
  display: inline-block;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 12px;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color var(--transition);
}

nav a.active,
nav a:hover {
  color: var(--accent);
}

.navo {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.navo ul {
  display: flex;
  gap: 18px;
}

.navo ul li {
  transition: transform var(--transition), filter var(--transition);
}

.navo ul li:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 14px 18px rgba(255, 156, 199, 0.45));
}

@media (max-width: 540px) {
  body {
    padding: 40px 14px 56px;
    gap: 24px;
  }

  .content {
    padding: 30px 24px 40px;
    border-radius: 30px;
  }

  .hero-frame {
    height: 200px;
    border-radius: 28px;
    padding: 5px;
    margin-bottom: 24px;
  }

  .hero-frame::after {
    border-radius: 24px;
  }

  .hero-frame .bgt {
    border-radius: 22px;
  }

  .logo-badge {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .ats {
    width: 84px;
    height: 84px;
    border-radius: 24px;
    margin-top: 0;
  }

  .headline {
    font-size: 1.6rem;
  }

  .subheadline {
    font-size: 0.98rem;
  }
}
