*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0b0b0b;
  --surface: #141414;
  --surface2: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8cc80;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --text: #f0ede6;
  --muted: #8a8578;
  --border: rgba(201, 168, 76, 0.18);
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.5rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.logo span {
  color: var(--text);
  font-weight: 400;
}
.nav-date {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 98vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  position: relative;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 55% at 50% 0%,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.section-tag {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}
.section-tag::before,
.section-tag::after {
  content: "";
  display: block;
  width: 28px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.45;
}

.wisdom-card {
  max-width: 760px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.quote-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: -2rem;
  display: block;
  text-align: left;
  font-weight: 700;
}
.quote-marks {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-top: -4.2rem;
  display: block;
  text-align: right;
  font-weight: 700;
}

.wisdom-text {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.38;
  color: var(--text);
  margin-bottom: 1.8rem;
  min-height: 130px;
  transition: opacity 0.4s ease;
}
.wisdom-text.fading {
  opacity: 0;
}

.wisdom-author {
  font-family: "DM Sans", sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  transition: opacity 0.4s ease;
}
.wisdom-author.fading {
  opacity: 0;
}

.wisdom-divider {
  width: 50px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.35;
  margin: 0 auto 2.5rem;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #0b0b0b;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 2.2rem;
  cursor: pointer;
  border-radius: 2px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-hint .arr {
  font-size: 0.9rem;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

/* MIRROR SECTION */
.mirror-section {
  min-height: 100vh;
  padding: 5rem 2rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mirror-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.mirror-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.mirror-title em {
  color: var(--gold);
  font-style: italic;
}
.mirror-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
  font-family: "DM Sans", sans-serif;
}

.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
  max-width: 980px;
  width: 100%;
  margin-bottom: 2.8rem;
}

.q-card {
  background: var(--surface2);
  border: 0.5px solid rgba(201, 168, 76, 0.14);
  border-radius: 4px;
  padding: 1.7rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    transform 0.18s;
  position: relative;
  overflow: hidden;
}
.q-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5px;
  height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.q-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-2px);
}
.q-card:hover::before,
.q-card.answered::before {
  opacity: 0.7;
}
.q-card.answered {
  border-color: rgba(201, 168, 76, 0.28);
}

.q-number {
  font-family: "DM Sans", sans-serif;
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  opacity: 0.65;
}
.q-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.1rem;
  color: var(--text);
}
.q-choices {
  flex-direction: column;
  gap: 0.45rem;
  display: none;
}
.q-card.open .q-choices {
  display: flex;
}

/* OPTION BUTTONS */
.q-choice {
  background: rgba(201, 168, 76, 0.05);
  border: 0.5px solid rgba(201, 168, 76, 0.22);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  padding: 0.58rem 0.9rem;
  text-align: left;
  cursor: pointer;
  border-radius: 2px;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  letter-spacing: 0.02em;
}
.q-choice:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold-light);
}
.q-choice.selected {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold-light);
  font-weight: 400;
}

.q-toggle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.q-toggle .chev {
  transition: transform 0.2s;
  font-size: 0.75rem;
  display: inline-block;
}
.q-card.open .q-toggle .chev {
  transform: rotate(180deg);
}

/* RESULT PANEL */
.result-panel {
  max-width: 620px;
  width: 100%;
  background: var(--surface2);
  border: 0.5px solid var(--gold);
  border-radius: 4px;
  padding: 2.2rem 2.5rem;
  display: none;
  animation: fadeUp 0.45s ease;
}
.result-panel.visible {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.result-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}
.result-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.25;
}
.result-body {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
  font-weight: 300;
  font-family: "DM Sans", sans-serif;
}
.result-body strong {
  color: var(--gold-light);
  font-weight: 500;
}

footer {
  background: var(--bg);
  border-top: 0.5px solid var(--border);
  text-align: center;
  padding: 2rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-family: "DM Sans", sans-serif;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wisdom-card {
  animation: fadeIn 0.8s ease both;
}
.mirror-header {
  animation: fadeIn 0.6s ease 0.1s both;
}
.q-card {
  animation: fadeIn 0.5s ease both;
}
.q-card:nth-child(1) {
  animation-delay: 0.1s;
}
.q-card:nth-child(2) {
  animation-delay: 0.2s;
}
.q-card:nth-child(3) {
  animation-delay: 0.3s;
}
.q-card:nth-child(4) {
  animation-delay: 0.4s;
}
.q-card:nth-child(5) {
  animation-delay: 0.5s;
}
.q-card:nth-child(6) {
  animation-delay: 0.6s;
}
/* Developer Card */
.dev-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-image: url("Me.png");
  background-color: white;
  background-size: cover;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  z-index: 999;
}

/* CARD */
.dev-card {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 260px;
  background: white;
  color: black;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.dev-card img {
  width: 70px;
  border-radius: 50%;
}

.dev-card h3 {
  margin-top: 10px;
}

.mini {
  font-size: 13px;
  margin-top: 10px;
  color: #444;
}

.whatsapp {
  display: block;
  margin-top: 15px;
  padding: 10px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.close {
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
  font-size: 18px;
}
/* Developer Card */
