/* ═══════════════════════════════════════════
   MODEL Harin — Warm Luxury Design System
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg0: #0d0907;
  --bg1: #1a110d;
  --bg2: #231710;
  --surface: rgba(255, 220, 180, 0.06);
  --surface2: rgba(255, 220, 180, 0.10);
  --glass: rgba(20, 14, 10, 0.70);
  --glass2: rgba(30, 20, 14, 0.65);
  --stroke: rgba(255, 190, 130, 0.15);
  --stroke2: rgba(255, 190, 130, 0.22);
  --text: #FFF5EB;
  --text2: #F5E6D3;
  --muted: rgba(255, 245, 235, 0.68);
  --muted2: rgba(255, 245, 235, 0.45);
  --accent: #D4845A;
  --accent2: #E8A87C;
  --accent3: #C17040;
  --gold: #D4A574;
  --gold2: #B8926A;
  --rose: #C47D7D;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.50);
  --shadow2: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(212, 132, 90, 0.12);
  --radius: 16px;
  --radius2: 22px;
  --radius3: 28px;
  --maxw: 680px;
  --gap: 16px;
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', system-ui, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
  border-radius: 12px;
}

button {
  font: inherit;
}

/* ── BACKGROUND ── */
.background {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 20% 10%, rgba(212, 132, 90, 0.25), transparent 60%),
    radial-gradient(ellipse 700px 500px at 80% 20%, rgba(196, 125, 125, 0.18), transparent 55%),
    radial-gradient(ellipse 800px 500px at 50% 90%, rgba(180, 140, 100, 0.10), transparent 60%),
    linear-gradient(175deg, var(--bg0) 0%, var(--bg1) 40%, var(--bg2) 100%);
  z-index: -2;
}

.background::after {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
  transform: translateZ(0);
}

/* ── SCROLLABLE CONTAINER ── */
.page-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
}

.page-container::-webkit-scrollbar {
  width: 8px;
}

.page-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--gold2));
  border-radius: 999px;
}

.page-container::-webkit-scrollbar-track {
  background: transparent;
}

.content-wrapper {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 18px 100px;
}

/* ── HEADER (dev link) ── */
.header-container {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.back-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 220, 180, 0.08);
  border-color: var(--stroke2);
}

.header-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted2);
}

/* ── REVEAL ANIMATION ── */
#heroSection,
#socialIcons,
#actionButtons,
#sliderSection,
#footer,
#header,
.faq-item {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(5px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
  filter: blur(0) !important;
}

/* ── HERO SECTION ── */
.hero-section {
  margin-bottom: 32px;
}

.hero-cover {
  height: 380px;
  border-radius: var(--radius3);
  background: url("../harin4/img/2.png") center/cover;
  border: 1px solid rgba(255, 190, 130, 0.12);
  box-shadow: var(--shadow), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(13, 9, 7, 0.05) 0%,
      rgba(13, 9, 7, 0.15) 40%,
      rgba(13, 9, 7, 0.70) 85%,
      rgba(13, 9, 7, 0.90) 100%);
  pointer-events: none;
}

.hero-cover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(212, 132, 90, 0.08), transparent);
  pointer-events: none;
}

/* Profile Card — below hero */
.profile-card {
  position: relative;
  margin: 16px 16px 0;
  border-radius: var(--radius3);
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 28px 24px 24px;
  text-align: left;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  opacity: 0.5;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: url("../harin4/img/1.png") center/cover;
  border: 2px solid var(--stroke2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(212, 132, 90, 0.08);
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
}

.profile-title {
  grid-column: 2;
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  align-self: end;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-desc {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
  font-weight: 400;
  max-width: 40ch;
  align-self: start;
}

.profile-handle {
  grid-column: 2;
  margin: 6px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(212, 132, 90, 0.08);
  color: var(--accent2);
  font-weight: 600;
  font-size: 12px;
  width: fit-content;
  letter-spacing: 0.02em;
}

/* ── SOCIAL ICONS ── */
.social-icons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--muted);
}

.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(212, 132, 90, 0.12);
  border-color: var(--stroke2);
  color: var(--accent2);
  box-shadow: 0 8px 24px rgba(212, 132, 90, 0.15);
}

/* ── ACTION BUTTONS ── */
.action-buttons {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: var(--glass2);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-align: center;
  overflow: hidden;
}

.action-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(212, 132, 90, 0.12), rgba(196, 125, 125, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  border-color: var(--stroke2);
  box-shadow: var(--shadow), 0 0 40px rgba(212, 132, 90, 0.08);
}

.action-btn:hover::before {
  opacity: 1;
}

.action-btn:active {
  transform: translateY(0) scale(0.99);
}

/* ── 💛 미공개 컨텐츠 — special animated button ── */
@keyframes luxeShimmer {
  0%   { background-position: -300% center; }
  100% { background-position: 300% center; }
}

@keyframes luxePulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(212, 165, 116, 0.30), 0 0 0 0 rgba(212, 165, 116, 0.0); }
  50%       { box-shadow: 0 8px 48px rgba(212, 165, 116, 0.50), 0 0 0 6px rgba(212, 165, 116, 0.0); }
}

.action-btn:first-child {
  background-size: 300% auto;
  background-image: linear-gradient(
    105deg,
    #6b3e1e 0%,
    #c17040 12%,
    #d4a574 26%,
    #f0d49a 38%,
    #fff8ee 48%,
    #f5e0b0 54%,
    #d4a574 66%,
    #c17040 80%,
    #6b3e1e 100%
  );
  border-color: rgba(212, 165, 116, 0.40);
  color: #2a1500;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.25);
  animation: luxeShimmer 4s linear infinite, luxePulse 3s ease-in-out infinite;
  letter-spacing: 0.03em;
}

.action-btn:first-child::before {
  display: none;
}

.action-btn:first-child:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(212, 165, 116, 0.65);
  animation: luxeShimmer 2.5s linear infinite, luxePulse 6s ease-in-out infinite;
}

.action-btn-subtitle {
  font-size: 11px;
  color: var(--muted2);
  font-weight: 500;
  margin-top: 2px;
  position: relative;
}

/* ── SLIDER / CAROUSEL ── */
.slider-section {
  margin-top: 36px;
}

.slider-header {
  margin: 0 4px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slider-subtitle {
  color: var(--muted2);
  font-size: 12px;
  font-weight: 500;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius3);
  border: 1px solid var(--stroke);
  background: var(--glass);
  box-shadow: var(--shadow);
  touch-action: pan-y;
  cursor: grab;
}

.slider-container:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
}

.slide-card {
  display: block;
  padding: 12px;
}

.slide-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 190, 130, 0.10);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.30);
  transform: translateZ(0);
  transition: transform 0.4s ease;
}

.slide-card:hover .slide-image {
  transform: scale(1.01);
}

/* Slider Nav Arrows — hidden */
.slider-nav { display: none; }

/* Slider Dots */
.slider-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 190, 130, 0.18);
  border: 1px solid rgba(255, 190, 130, 0.10);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent2);
  width: 28px;
  box-shadow: 0 0 12px rgba(212, 132, 90, 0.35);
}

.dot:hover:not(.active) {
  background: rgba(255, 190, 130, 0.30);
  transform: scale(1.2);
}

/* ── FOOTER ── */
.footer {
  margin-top: 48px;
  padding: 20px 4px 0;
  color: var(--muted2);
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border-top: 1px solid rgba(255, 190, 130, 0.06);
}

/* ════════════════════════════════
   FAQ PAGE STYLES
   ════════════════════════════════ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: var(--radius3);
  border: 1px solid var(--stroke);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  margin-bottom: 22px;
}

.header h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(212, 132, 90, 0.08);
  border: 1px solid var(--stroke);
  color: var(--accent2);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(212, 132, 90, 0.14);
  border-color: var(--stroke2);
  transform: translateX(-2px);
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: var(--glass2);
  box-shadow: var(--shadow2);
  overflow: hidden;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease,
    border-color 0.25s ease;
}

.faq-item:hover {
  border-color: var(--stroke2);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent2);
}

.faq-question span {
  line-height: 1.4;
}

.faq-arrow {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, padding 0.35s ease;
  padding: 0 20px 0;
}

.faq-answer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  padding-top: 0;
  font-weight: 400;
}

.faq-answer.open {
  max-height: 520px;
  opacity: 1;
  padding: 0 20px 18px;
}

.faq-answer.open p {
  padding-top: 4px;
}

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */

/* Mobile */
@media (max-width: 520px) {
  .content-wrapper {
    padding: 70px 14px 90px;
  }

  .hero-cover {
    height: 300px;
    border-radius: var(--radius2);
  }

  .profile-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-items: center;
    text-align: center;
    margin: 14px 10px 0;
    padding: 24px 18px 20px;
    border-radius: var(--radius2);
    column-gap: 0;
  }

  .profile-card::before {
    left: 20px;
    right: 20px;
  }

  .avatar {
    grid-column: 1;
    grid-row: auto;
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }

  .profile-title,
  .profile-desc,
  .profile-handle {
    grid-column: 1;
  }

  .profile-title {
    font-size: 22px;
  }

  .profile-desc {
    max-width: 32ch;
    font-size: 12px;
  }

  .slide-image {
    height: 320px;
  }

  .slider-nav {
    display: none !important;
  }

  .faq-question {
    padding: 16px 16px;
    font-size: 13px;
  }

  .faq-answer {
    padding: 0 16px 0;
  }

  .faq-answer.open {
    padding: 0 16px 16px;
  }
}

/* Tablet+ */
@media (min-width: 720px) {
  .content-wrapper {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-cover {
    height: 420px;
  }

  .profile-card {
    margin: 18px 20px 0;
    grid-template-columns: 90px 1fr;
    padding: 30px 28px 26px;
  }

  .avatar {
    width: 90px;
    height: 90px;
  }

  .profile-title {
    font-size: 28px;
  }

  .slide-image {
    height: 480px;
  }

  .action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .action-btn {
    min-height: 68px;
  }

  .slider-nav {
    width: 48px;
    height: 48px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}