/* =========================================================
   Love paradiz — style.css
   ========================================================= */

:root {
  --pink: #ff5c9e;
  --pink-dark: #d63384;
  --purple: #6a3fa0;
  --purple-light: #eee7fb;
  --purple-soft: #f3edfd;
  --green-bg: #eef7e3;
  --green-border: #cfe8b0;
  --cream: #fffaf1;
  --text: #4a3f4d;
  --text-light: #7a6f7d;
  --gold: #f4c542;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 18px rgba(106, 63, 160, 0.12);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Quicksand', 'Poppins', 'Comic Sans MS', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: var(--pink-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: 'Baloo 2', 'Quicksand', sans-serif; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #ff77af, var(--pink));
  color: #fff;
  box-shadow: 0 6px 0 var(--pink-dark), 0 10px 18px rgba(214, 51, 132, .25);
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-full { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(180deg, #d8f0f8, #eaf7ec);
  padding: 28px 0 10px;
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 46px; height: 46px; }
.logo-text {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: 1px;
}
.logo-text span { color: var(--purple); }
.tagline {
  margin: 2px 0 0 56px;
  color: var(--text-light);
  font-size: 1rem;
}

.currency-box {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px 22px;
  text-align: center;
  min-width: 230px;
}
.currency-box .label { font-size: .8rem; color: var(--text-light); }
.currency-box .brand {
  color: var(--purple);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2px 0;
}
.currency-box .brand img { width: 28px; height: 28px; }
.currency-box a { font-size: .85rem; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 30px 0 50px;
}
.hero-text h1 {
  font-size: 2rem;
  line-height: 1.25;
  color: var(--text);
}
.hero-text h1 .star { color: var(--pink); }
.hero-text p {
  margin: 18px 0 26px;
  color: var(--text-light);
  font-size: 1.02rem;
}
.hero-text .login-hint {
  margin-top: 14px;
  font-size: .95rem;
  color: var(--text-light);
}
.hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Signup card ---------- */
.signup-card {
  background: var(--purple-soft);
  border: 2px solid var(--purple-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.signup-card h2 {
  background: var(--purple);
  color: #fff;
  font-size: 1.15rem;
  padding: 16px 20px;
}
.signup-form { padding: 20px 22px 26px; }
.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.field input, .field select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #d8cdec;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .92rem;
  background: #fff;
}
.dob-row { display: flex; gap: 8px; }
.dob-row select { flex: 1; }
.gender-row { display: flex; gap: 20px; margin: 10px 0 18px; font-size: .92rem; }
.gender-row label { display: flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }
.form-note {
  text-align: center;
  font-size: .82rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* ---------- Section shells ---------- */
.section-band {
  background: var(--green-bg);
  border: 2px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 30px 34px 34px;
  margin: 34px 0;
}
.section-title {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--purple-light);
  border-radius: 999px;
  padding: 8px 30px;
  font-size: 1.1rem;
  color: var(--purple);
  font-weight: 800;
  margin: 0 auto 26px;
  display: block;
  width: fit-content;
  box-shadow: 0 3px 0 var(--purple-light);
}

/* points grid */
.points-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  text-align: center;
}
.points-grid.faux-pas { grid-template-columns: repeat(3, 1fr); max-width: 620px; margin: 0 auto; }
.point-item img { width: 78px; height: 78px; margin: 0 auto 10px; }
.point-item .label { font-weight: 700; font-size: .95rem; }
.point-item .pts { font-weight: 800; margin-top: 2px; }
.pts.plus { color: #4f9d4f; }
.pts.minus { color: #d9534f; }

.faux-pas-wrapper { margin-top: 34px; }
.faux-pas-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 26px;
  align-items: center;
}
.mascot-note {
  background: var(--purple-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}
.mascot-note img { width: 70px; flex-shrink: 0; }
.mascot-note p { margin: 0; font-size: .92rem; color: var(--text); }
.mascot-note .journal-link { font-weight: 800; color: var(--pink-dark); }

/* ---------- Two column layout (main + sidebar) ---------- */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 26px;
  align-items: start;
}

/* ---------- Journal ---------- */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  background: var(--purple);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.card-header a { color: #fff; font-size: .82rem; font-weight: 600; opacity: .9; }
.journal-list { list-style: none; margin: 0; padding: 10px 18px; }
.journal-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1e9f7;
  font-size: .88rem;
}
.journal-list li:last-child { border-bottom: none; }
.journal-list img { width: 34px; height: 34px; flex-shrink: 0; }
.journal-time { color: var(--text-light); font-weight: 700; display: block; font-size: .78rem; }
.journal-list strong { color: var(--pink-dark); }
.journal-footer { text-align: center; padding: 12px; font-size: .85rem; border-top: 1px solid #f1e9f7; }

/* ---------- Ranking ---------- */
.ranking-band { background: #fdeef5; border: 2px solid #f6cfe0; }
.ranking-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr;
  gap: 26px;
  align-items: center;
}
.ranking-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ranking-table td { padding: 8px 6px; border-bottom: 1px solid #f6d9e6; }
.ranking-table .rank { font-weight: 800; color: var(--purple); width: 24px; }
.ranking-table .pts { text-align: right; font-weight: 700; color: var(--pink-dark); }
.ranking-more { display: block; text-align: center; margin-top: 14px; font-weight: 700; }

.podium { display: flex; align-items: flex-end; justify-content: center; gap: 12px; }
.podium-item { text-align: center; width: 100px; }
.podium-item img.avatar {
  width: 78px; height: 78px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: var(--shadow); margin-bottom: 6px;
}
.podium-item .name { font-weight: 800; font-size: .85rem; }
.podium-item .score { font-size: .78rem; color: var(--text-light); margin-bottom: 6px; }
.podium-step {
  border-radius: 10px 10px 0 0;
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.podium-item.rank1 .podium-step { height: 100px; background: linear-gradient(180deg,#ffd766,#f4c542); }
.podium-item.rank2 .podium-step { height: 70px; background: linear-gradient(180deg,#c9d4e6,#a8b8d6); }
.podium-item.rank3 .podium-step { height: 50px; background: linear-gradient(180deg,#e8c9a8,#d1a878); }

.bonus-checklist { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.bonus-checklist li { padding: 7px 0; display: flex; gap: 8px; align-items: flex-start; }
.bonus-checklist li.warn { color: #c0392b; font-weight: 700; }
.bonus-checklist .icon-ok { color: #4f9d4f; font-weight: 900; }
.bonus-title { font-weight: 800; margin-bottom: 10px; color: var(--purple); }
.bonus-link { display: block; text-align: right; margin-top: 12px; font-weight: 700; }

/* ---------- Progression band ---------- */
.progress-band { background: var(--green-bg); border: 2px solid var(--green-border); }
.progress-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.progress-item { display: flex; gap: 14px; align-items: flex-start; }
.progress-item img { width: 56px; height: 56px; flex-shrink: 0; }
.progress-item h3 { font-size: 1rem; color: var(--purple); margin-bottom: 4px; }
.progress-item p { margin: 0; font-size: .86rem; color: var(--text-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple);
  color: #fff;
  padding: 30px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-tagline { font-size: 1.15rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social span { font-size: .85rem; margin-right: 4px; opacity: .85; }
.footer-social img { width: 32px; height: 32px; }
.footer-couple img { width: 110px; }
.footer-links {
  text-align: center;
  font-size: .85rem;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.footer-links a { color: #fff; opacity: .9; margin: 0 6px; }
.footer-copy { text-align: center; font-size: .78rem; opacity: .7; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .layout-two-col { grid-template-columns: 1fr; }
  .ranking-layout { grid-template-columns: 1fr; }
  .progress-grid { grid-template-columns: repeat(2, 1fr); }
  .points-grid { grid-template-columns: repeat(3, 1fr); }
  .faux-pas-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo-text { font-size: 2rem; }
  .tagline { margin-left: 0; }
  .points-grid { grid-template-columns: repeat(2, 1fr); }
  .points-grid.faux-pas { grid-template-columns: repeat(1, 1fr); }
  .progress-grid { grid-template-columns: 1fr; }
  .header-top { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}
