/* PS Prestige Select - VIP raffle landing page */
:root {
  --green: #1b4d2e;
  --green-dark: #0f3320;
  --green-light: #2e7d4a;
  --gold: #e3b341;
  --gold-dark: #b8862b;
  --cream: #faf7f0;
  --ink: #1e2320;
  --muted: #5e6b63;
  --line: #e4e0d4;
  --red: #c62828;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 51, 32, 0.12);
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, [id] { scroll-margin-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-light); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding-left: 1.2em; }

.container { width: min(1120px, 100% - 32px); margin: 0 auto; }
.container.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font-family: var(--font-head); font-weight: 800; letter-spacing: 0.02em; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--gold);
  font-family: var(--font-head); font-weight: 900; font-size: 15px;
}
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--green-light); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 20% -10%, #2e6e43 0%, var(--green) 45%, var(--green-dark) 100%);
  color: var(--white);
  padding: 64px 0 80px;
}
.sparkle { position: absolute; border-radius: 50%; background: var(--gold); opacity: 0.35; filter: blur(1px); animation: twinkle 3s ease-in-out infinite; }
.sparkle-1 { width: 10px; height: 10px; top: 18%; left: 8%; }
.sparkle-2 { width: 6px; height: 6px; top: 70%; left: 30%; animation-delay: 1s; }
.sparkle-3 { width: 8px; height: 8px; top: 30%; right: 6%; animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 0.35; } 50% { transform: scale(1.6); opacity: 0.8; } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(52px, 8vw, 92px); font-weight: 900; letter-spacing: -0.01em; line-height: 0.95;
  color: var(--gold);
  text-shadow: 0 4px 0 var(--gold-dark), 0 12px 30px rgba(0,0,0,0.35);
  margin-bottom: 18px;
}
.hero-sub {
  display: inline-block; background: #d32f2f; color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 22px); padding: 8px 18px; border-radius: 6px;
  transform: skew(-6deg); margin-bottom: 22px;
}
.hero-text { font-size: 18px; max-width: 520px; color: #e9f1ea; }
.perks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 18px 0 10px; font-weight: 600; }
.perk-icon { margin-right: 6px; }
.fineprint { font-size: 13px; color: #c5d6c9; }
.fineprint a { color: var(--gold); }

/* form card */
.form-card {
  position: relative;
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 38px 32px 28px;
  border-top: 6px solid var(--gold);
}
.gift-badge {
  position: absolute; top: -28px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); font-size: 28px; box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.form-card h2 { color: var(--green); font-size: 26px; text-align: center; margin-top: 6px; }
.form-intro { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbf8; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(46,125,74,0.18); }
.field input.invalid { border-color: var(--red); }
.field small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; }
.consent .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13.5px; line-height: 1.5; color: #333; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--green-light); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 16px; letter-spacing: 0.02em;
  padding: 14px 26px; border-radius: 12px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { width: 100%; background: linear-gradient(180deg, #f1c75c, var(--gold)); color: var(--green-dark); box-shadow: 0 6px 18px rgba(227,179,65,0.45); }
.btn-gold:hover { background: linear-gradient(180deg, #f5d172, #e8bb4f); }
.btn-gold[disabled] { opacity: 0.7; cursor: wait; }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-spinner { width: 18px; height: 18px; border: 3px solid rgba(15,51,32,0.25); border-top-color: var(--green-dark); border-radius: 50%; display: none; animation: spin 0.8s linear infinite; }
.btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.form-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdecea; color: var(--red); font-size: 14px; }

.success { text-align: center; padding: 10px 0 4px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--green-light); color: var(--white); display: grid; place-items: center; font-size: 30px; }
.success h3 { color: var(--green); font-size: 26px; }
.success-small { font-weight: 600; color: var(--gold-dark); }

/* ---------- generic sections ---------- */
.section { padding: 72px 0; }
.section-title { text-align: center; color: var(--green); font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 36px; }
.sub-title { text-align: center; color: var(--green); font-size: 22px; font-weight: 800; margin: 48px 0 20px; }

.how { background: var(--white); border-bottom: 1px solid var(--line); }
.steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 28px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.step h3 { font-size: 18px; color: var(--ink); }
.step p { color: var(--muted); margin: 0; }
.step-num {
  width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 18px;
  display: grid; place-items: center;
}

/* ---------- product guide ---------- */
.guide-title { text-align: center; font-size: clamp(32px, 6vw, 56px); font-weight: 900; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 10px; }
.guide-title span { color: var(--green); }
.tagline { text-align: center; display: table; margin: 0 auto 18px; background: var(--green); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; padding: 6px 16px; border-radius: 4px; }
.guide-intro { text-align: center; max-width: 620px; margin: 0 auto 36px; font-size: 17px; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.guide-grid.three { grid-template-columns: repeat(3, 1fr); }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; }
.card p:last-child, .card ul:last-child, .card ol:last-child { margin-bottom: 0; }
.card-title { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.card-title.green { color: var(--green); }
.card-title.red { color: var(--red); }
.card.warn { border-color: #f3c3c3; background: #fff8f8; }

.list-check, .list-dot, .list-num { padding-left: 0; }
.list-check li, .list-dot li { list-style: none; position: relative; padding-left: 26px; margin-bottom: 8px; }
.list-check li::before { content: "\2714"; position: absolute; left: 0; top: 0; color: var(--green-light); font-weight: 700; }
.list-dot li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.list-dot.red-dots li::before { background: var(--red); }
.list-num { padding-left: 1.3em; }
.list-num li { margin-bottom: 8px; padding-left: 4px; }

.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.setup { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; }
.setup h4 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); }
.setup p { color: var(--muted); font-size: 14.5px; margin: 0; }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 0; }
.badges span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); }

.insert-wrap { margin-top: 56px; }
.insert-link { display: block; max-width: 760px; margin: 0 auto 20px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.insert-link img { width: 100%; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); border-top: 1px solid var(--line); }
details { border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; background: var(--cream); }
summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 16px; padding: 16px 0; color: var(--green); list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--gold-dark); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 16px; margin: 0; color: #333; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-dark); color: #d7e3da; padding: 48px 0 24px; }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--white); }
.footer-head { font-family: var(--font-head); font-weight: 700; color: var(--white); margin-bottom: 6px; }
.site-footer .muted { color: #9fb3a5; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 18px; font-size: 13px; }
.footer-legal p { margin: 0 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 60px; }
  .steps-3, .care-grid, .guide-grid.three, .footer-grid { grid-template-columns: 1fr; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .steps-4 { grid-template-columns: 1fr; }
  .form-card { padding: 34px 20px 22px; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle, .btn-spinner { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- accessibility ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--green-dark); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.nav a:focus-visible { outline-color: var(--green-light); }
