/* ===== Base / Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 11.8671px;
  height: 100%;
}

html, body {
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  position: relative;
  background-color: #fff;
  -webkit-tap-highlight-color: transparent;
  max-width: 32rem;
  margin: 0 auto;
  padding-bottom: 8.5rem;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
}

button {
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

div, i {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
}

/* ===== Header (top bar) ===== */
.header-top {
  width: 100%;
  height: 4.5rem;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #CA16CD;
  margin-bottom: 1.25rem;
}

.header-top .logo {
  width: 3.5rem;
  height: 3.5rem;
  margin-left: 1.17rem;
  border-radius: 0.83rem;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.header-top .bg-title {
  width: 20.17rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2.17rem;
  font-weight: 800;
  letter-spacing: 0.17rem;
  text-align: center;
  text-transform: uppercase;
}

/* ===== Ad placeholder ===== */
.ads-box {
  width: 29.5rem;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  min-height: 7.5rem;
  background: repeating-linear-gradient(45deg, #f3f3f3, #f3f3f3 10px, #ededed 10px, #ededed 20px);
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b0b0;
  font-size: 1.17rem;
  letter-spacing: 0.1rem;
}

/* ===== Footer nav (4 icons) — FIXED at bottom ===== */
.ft-list {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  background-color: #fafafa;
  border-top: 1px solid #eee;
  padding: 0.83rem 0;
  box-shadow: 0 -0.17rem 0.83rem rgba(0, 0, 0, 0.08);
}

.ft-con {
  width: 29.5rem;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.ft-con a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
}

.ft-con .img {
  width: 3.33rem;
  height: 3.33rem;
  border-radius: 50%;
  background-color: #CA16CD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.83rem;
  margin-bottom: 0.67rem;
}

.ft-con .txt {
  color: #555;
  font-size: 1.17rem;
  text-align: center;
  line-height: 1.4;
}

/* ===== Bottom copyright footer ===== */
.footer {
  width: 100%;
  text-align: center;
  padding: 2rem 1.25rem;
  background-color: #1f1f1f;
}

.footer .txts {
  color: #9a9a9a;
  font-size: 1.17rem;
  line-height: 1.8;
}
