/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #EEF0E6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========== Home Page ========== */
.page {
  min-height: 100vh;
  background: #EEF0E6;
  padding-bottom: 60px;
}

/* Music Button */
.music-btn {
  position: fixed;
  top: 60px;
  right: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.music-btn:hover {
  transform: scale(1.1);
}

.music-icon {
  font-size: 22px;
  line-height: 1;
}

.music-btn.playing .music-icon {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Greeting */
.greeting {
  padding: 30px 24px 50px;
}

.greeting-main {
  display: block;
  font-size: 36px;
  font-weight: 600;
  color: #000;
  line-height: 1.2;
}

.greeting-em {
  font-style: italic;
  font-weight: 500;
}

.greeting-sub {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 10px;
}

/* Card Swiper */
.card-swiper {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.card-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.card-item {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.card {
  width: calc(100% - 20px);
  max-width: 420px;
  height: 450px;
  border-radius: 32px;
  overflow: hidden;
  background: #EEF0E6;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-img {
  width: 100%;
  height: 75%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.card-info {
  width: 100%;
  background: #1d241e;
  padding: 12px 28px 14px;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 24px;
}

.info-top {
  margin-bottom: 8px;
}

.info-name {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.info-tags {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.left-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.msg-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.msg-btn:hover {
  background: rgba(255,255,255,0.1);
}

.msg-icon {
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

.phone-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.phone-btn:hover {
  background: rgba(255,255,255,0.1);
}

.phone-icon {
  font-size: 22px;
  color: #fff;
  line-height: 1;
}

.info-btn {
  width: 120px;
  height: 44px;
  line-height: 44px;
  border-radius: 12px;
  background: #09ab4f;
  border: none;
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: inherit;
}

.info-btn:hover {
  background: #07a048;
}

/* Dots Navigation */
.swiper-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  padding-bottom: 10px;
  position: relative;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background: #1d241e;
}

/* ========== Guide Page ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 30px;
}

.back-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.back-btn:hover {
  background: #fff;
}

.back-icon {
  font-size: 22px;
  color: #333;
  font-weight: bold;
}

.title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.placeholder {
  width: 44px;
}

.content {
  padding: 0 20px;
  padding-bottom: 40px;
}

.section {
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin-bottom: 12px;
}

.highlight-text {
  font-size: 18px;
  font-weight: 600;
  color: #09ab4f;
  line-height: 1.5;
  margin-bottom: 8px;
}

.sub-text {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.5;
}

.desc-text {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

.desc-text.margin-top {
  margin-top: 16px;
}

.template-item {
  margin-top: 20px;
  padding: 18px;
  background: #f8f9fa;
  border-radius: 16px;
}

.template-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.template-desc {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin-bottom: 8px;
}

.template-desc:last-child {
  margin-bottom: 0;
}

.rule-item {
  font-size: 15px;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.7;
  margin-bottom: 10px;
}

.rule-item.indent {
  padding-left: 18px;
}

.rule-item:last-child {
  margin-bottom: 0;
}

.bottom-space {
  height: 60px;
}

/* ========== Detail Page ========== */
.image-list {
  padding: 0 20px;
  padding-bottom: 40px;
}

.image-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.image-item {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.cat-image {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ========== Feature Grid ========== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.feature-item:hover {
  transform: scale(1.05);
}

.feature-img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #EEF0E6;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-label {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #1d241e;
  text-align: center;
}

/* ========== Navigation Bar ========== */
.nav-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 16px 20px;
  background: #EEF0E6;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 8px;
}

.nav-link {
  text-decoration: none;
  color: rgba(0,0,0,0.5);
  font-size: 14px;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #1d241e;
  font-weight: 500;
}
