*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg: #0a0610;
  --bg-soft: #120a1b;
  --card: #1a1028;
  --text: #eee7f5;
  --text-dim: #b9a8cf;
  --primary: #ff69b4;
  --primary-dark: #e0559e;
  --accent: #f472b6;
  --line: #00c300;
  --muted: #1e1430;
  --border: #2e2242;
  --shadow-pink: 0 0 20px rgba(255,105,180,0.3);
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(50% 50% at 30% 20%, rgba(255,105,180,.15), transparent 60%),
    radial-gradient(40% 40% at 80% 10%, rgba(244,114,182,.1), transparent 70%);
  filter: blur(30px);
  animation: floatGlow 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes floatGlow {
  0% { transform: translate3d(-2%,-1%,0) scale(1); opacity: .8; }
  100% { transform: translate3d(2%,1%,0) scale(1.02); opacity: 1; }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(420px, 92%);
  margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
  padding: 40px 0 10px;
  text-align: center;
}

.hero__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.hero__title {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #ff69b4, #ff1493, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(255,105,180,0.4));
}

.badge-official {
  background: linear-gradient(135deg, #2dd4a8, #10b981);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.hero__subtitle {
  font-size: 26px;
  font-weight: 700;
  margin: 8px 0 16px;
  color: #fff;
}

.hero__checks {
  margin-bottom: 24px;
}

.hero__checks p {
  margin: 4px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ===== Feature Icons ===== */
.feature-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,105,180,0.2), rgba(255,105,180,0.1));
  border: 2px solid rgba(255,105,180,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255,105,180,0.2);
  transition: transform 0.2s;
}

.feature-icon-circle:hover {
  transform: scale(1.05);
}

.feature-icon-item span {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(255,105,180,0.15), rgba(255,20,147,0.1));
  border: 1px solid rgba(255,105,180,0.3);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 8px;
  text-align: center;
}

.cta-banner span {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* ===== Filters Section ===== */
.filters-section {
  padding: 16px 0 8px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--muted);
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.chip:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, #e11d48, #be123c);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225,29,72,0.35);
}

/* ===== LINE Button ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn--line-big {
  width: 100%;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #00c300, #00a000);
  color: #fff;
  border-radius: 14px;
  margin: 20px 0 16px;
  box-shadow: 0 6px 20px rgba(0,195,0,0.3);
  letter-spacing: 1px;
}

.btn--line-big:hover {
  box-shadow: 0 8px 28px rgba(0,195,0,0.4);
  filter: brightness(1.05);
}

.btn--line-big .line-icon {
  flex-shrink: 0;
}

.btn--pulse {
  animation: pulseBig 1.8s ease-in-out infinite, breathe 3s ease-in-out infinite;
}

@keyframes pulseBig {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

.stat-icon {
  font-size: 14px;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(239,68,68,0); }
  50% { opacity: 0.6; box-shadow: 0 0 8px rgba(239,68,68,0.5); }
}

/* ===== Gallery Carousel ===== */
.gallery {
  padding: 16px 0 12px;
}

.gallery .section-title {
  margin-bottom: 12px;
}

.gallery__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 4px;
  scrollbar-width: none;
  will-change: scroll-position;
}

.gallery__track::-webkit-scrollbar { display: none; }

.gallery-card {
  position: relative;
  flex: 0 0 calc(50% - 5px);
  margin: 0;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-card:active {
  transform: scale(0.97);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,105,180,0.25);
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.gallery-card figcaption {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
  padding: 0 4px;
}

.gallery-hint {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 10px 0 0;
  opacity: 0.8;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
}

.lightbox__body {
  position: relative;
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
}

.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pinch-zoom;
}

.lightbox__img {
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.3s ease;
  transform-origin: center center;
}

.lightbox__img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

.lightbox__img:not(.zoomed) {
  cursor: zoom-in;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20002;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20002;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  background: rgba(0,0,0,0.4);
  padding: 4px 14px;
  border-radius: 999px;
}

/* ===== Encounters Section ===== */
.encounters {
  padding: 24px 0 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.avatar-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.avatar-slider::-webkit-scrollbar { display: none; }

.avatar-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
}

.avatar-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a1a3e, #1a1028);
  border: 2px solid rgba(255,105,180,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 15px rgba(255,105,180,0.25),
    inset 0 0 20px rgba(255,105,180,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: avatarGlow 3s ease-in-out infinite;
}

.avatar-circle:hover {
  transform: scale(1.08);
  box-shadow:
    0 0 25px rgba(255,105,180,0.4),
    inset 0 0 20px rgba(255,105,180,0.15);
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255,105,180,0.25), inset 0 0 20px rgba(255,105,180,0.1); }
  50% { box-shadow: 0 0 22px rgba(255,105,180,0.35), inset 0 0 20px rgba(255,105,180,0.15); }
}

.avatar-circle span {
  font-size: 28px;
}

.avatar-name {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== Service Cards (Category Grid) ===== */
.service-cards {
  padding: 20px 0;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.svc-card {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fdf8f0;
}

.svc-card--red { border-color: #e74c3c; }
.svc-card--blue { border-color: #5b9bd5; }
.svc-card--green { border-color: #4caf50; }
.svc-card--pink { border-color: #e91e90; }
.svc-card--orange { border-color: #f39c12; }
.svc-card--purple { border-color: #9b59b6; }

.svc-card__header {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  padding: 6px 8px;
  letter-spacing: 0.5px;
}

.svc-card__header--red { background: #e74c3c; }
.svc-card__header--blue { background: #5b9bd5; }
.svc-card__header--green { background: #4caf50; }
.svc-card__header--pink { background: #e91e90; }
.svc-card__header--orange { background: #f39c12; }
.svc-card__header--purple { background: #9b59b6; }

.svc-card__body {
  padding: 6px;
}

.svc-card__carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
}

.svc-card__carousel img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  will-change: transform, opacity;
}

/* Fade effect */
.svc-card__carousel[data-effect="fade"] img {
  transition: opacity 0.8s ease;
}
.svc-card__carousel[data-effect="fade"] img.is-out {
  opacity: 0;
}

/* Slide effect */
.svc-card__carousel[data-effect="slide"] img {
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s ease;
}
.svc-card__carousel[data-effect="slide"] img.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}
.svc-card__carousel[data-effect="slide"] img.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Zoom effect */
.svc-card__carousel[data-effect="zoom"] img {
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.svc-card__carousel[data-effect="zoom"] img.zoom-out {
  transform: scale(1.15);
  opacity: 0;
}
.svc-card__carousel[data-effect="zoom"] img.zoom-in {
  transform: scale(0.85);
  opacity: 0;
}

.svc-card__body > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  display: block;
}

.svc-card__stars {
  text-align: center;
  font-size: 14px;
  color: #e74c3c;
  margin-top: 4px;
  letter-spacing: 2px;
}

.star-dim {
  color: #ccc;
}

/* ===== Floating CTA Button ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(10,6,16,0.85) 30%, rgba(10,6,16,0.95));
  pointer-events: none;
}

.btn--float-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, #00c300, #00a000);
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,195,0,0.4);
  letter-spacing: 1px;
  pointer-events: auto;
  animation: floatPulse 2s ease-in-out infinite;
  transition: transform 0.12s ease;
}

.btn--float-line:active {
  transform: scale(0.97);
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,195,0,0.4); }
  50% { box-shadow: 0 6px 30px rgba(0,195,0,0.6); }
}

.btn--float-line .line-icon {
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  padding: 20px 0 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  margin: 0 0 4px;
  opacity: 0.7;
}

.footer-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin: 0;
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }
  .hero__subtitle {
    font-size: 22px;
  }
  .feature-icons {
    gap: 20px;
  }
  .feature-icon-circle {
    width: 54px;
    height: 54px;
  }
  .feature-icon-circle svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 480px) {
  .container {
    width: min(480px, 92%);
  }
}
