* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}
body {
  background: linear-gradient(180deg, #FFF7F2 0%, #FFE8EC 45%, #FFD6E0 100%);
  color: #333;
  min-height: 100vh;
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}
h1 {
  font-size: 26px;
  text-align: center;
  font-weight: 800;
  color: #2b2b2b;
  margin-bottom: 10px;
  line-height: 1.35;
}
.sub-title-kr {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 28px;
}
.section {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(255, 182, 193, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.mini-card {
  background: linear-gradient(135deg, #FFEEF2, #FFF5F7);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  font-size: 14px;
  color: #444;
  border: 1px solid #FFE1EA;
}
.mini-card .label {
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.mini-card .value {
  font-size: 13px;
  color: #666;
}
p {
  line-height: 1.72;
  font-size: 14.5px;
  color: #444;
  margin-bottom: 10px;
}
.btn {
  width: 100%;
  background: linear-gradient(135deg, #FF5F8C, #FF3B7F);
  color: #fff;
  text-align: center;
  padding: 16px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  margin-top: 24px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 59, 127, 0.35);
  transition: transform 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-light {
  background: #fff;
  color: #FF3B7F;
  border: 1px solid #FFB7CE;
  box-shadow: none;
}
.item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #222;
}
.small-text { font-size: 13px; color: #777; }
.center-emoji {
  text-align: center;
  font-size: 72px;
  margin: 10px 0 18px;
}
.turntable-wrap {
  width: 320px;
  height: 320px;
  margin: 24px auto 18px;
  position: relative;
}
.turntable {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  transition: transform 4.2s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  border: 8px solid #ffffff;
  box-shadow: 0 10px 30px rgba(255, 105, 135, 0.35);
  background: #eee;
}
.turntable-text {
  position: absolute;
  width: 150px;
  height: 22px;
  left: 50%;
  top: 50%;
  transform-origin: 0 0;
  font-size: 11px;
  font-weight: 700;
  color: #222;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pointer {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 45px solid #FF2D55;
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.center-btn {
  width: 76px;
  height: 76px;
  background: linear-gradient(180deg, #cfcfcf, #9e9e9e);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: not-allowed;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 3px solid #fff;
}
.center-btn.active {
  background: linear-gradient(180deg, #FF4B6E, #E01E5A);
  cursor: pointer;
}
.result-pop {
  display: none;
  background: #fff;
  color: #222;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  margin-top: 18px;
  box-shadow: 0 10px 24px rgba(255, 105, 135, 0.25);
  border: 2px solid #FFD1E0;
}
.result-pop h3 {
  color: #FF3B7F;
  margin-bottom: 12px;
  font-size: 20px;
}
.mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mask.show { display: flex; }
.phone-popup {
  background: #fff;
  color: #222;
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  padding: 30px 24px;
}
.phone-popup h3 {
  text-align: center;
  margin-bottom: 22px;
  font-size: 18px;
}
.phone-popup input {
  width: 100%;
  border: 1px solid #FFB7CE;
  background: #FFF7F9;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 12px;
  outline: none;
  color: #333;
}
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; margin-bottom: 0; }
.code-btn {
  white-space: nowrap;
  padding: 0 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #FF5F8C, #FF3B7F);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.code-btn:disabled {
  background: #ffc1d4;
  cursor: not-allowed;
}
.tip-text {
  font-size: 12px;
  color: #777;
  margin: 16px 0 20px;
  line-height: 1.65;
}
.popup-btn {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #FF5F8C, #FF3B7F);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.faq-q {
  font-weight: 700;
  color: #222;
  margin-top: 16px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tag {
  background: #FFF0F5;
  color: #FF3B7F;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #FFD1E0;
}
.footer-info {
  text-align: center;
  padding: 18px 10px 10px;
  font-size: 12px;
  color: #999;
  line-height: 1.7;
}
.chance-box {
  background: #fff0f5;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  margin: 12px 0;
}
.chance-text {
  font-size: 16px;
  font-weight: bold;
  color: #FF3B7F;
}
.mask-pipa { z-index: 199; }
.pipa-popup {
  background: #fff;
  width: 100%;
  max-width: 440px;
  border-radius: 22px;
  padding: 26px 22px;
  max-height: 80vh;
  overflow-y: auto;
}
.pipa-popup h3 {
  text-align: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.pipa-content {
  font-size: 13px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}
.pipa-btn-group { display: flex; gap: 10px; }
.pipa-btn-accept {
  flex: 1;
  padding: 13px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #FF5F8C, #FF3B7F);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}
.pipa-btn-reject {
  flex: 1;
  padding: 13px;
  border-radius: 50px;
  border: 1px solid #ccc;
  background: #f7f7f7;
  color: #444;
  font-weight: bold;
  font-size: 16px;
}
.customer-float {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 88;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF5F8C, #FF3B7F);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 14px rgba(255, 59, 127, 0.35);
  cursor: pointer;
}
.cs-popup {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: 22px;
  padding: 26px 22px;
}
.cs-popup h3 {
  text-align: center;
  margin-bottom: 18px;
}
.cs-item {
  padding: 14px 12px;
  border: 1px solid #FFE1EA;
  border-radius: 14px;
  margin-bottom: 12px;
  text-align: center;
}
.cs-item-title {
  font-weight: bold;
  margin-bottom: 4px;
}
.records { margin-top: 16px; font-size: 13px; color: #555; }
.records li {
  margin: 6px 0;
  list-style: none;
  padding: 8px 10px;
  background: #fff7f9;
  border-radius: 10px;
}
