/* sora.day — frosted, bedazzled, aurora-lit */

:root {
  --frost-cool: #e8eef4;
  --frost-warm: #f0e8e4;
  --gold-pale: #d4b870;
  --lavender: #b8b4c8;
  --plum: #4a2a6a;
  --pink-aurora: #e87aa8;
  --teal-aurora: #7ae8d8;
  --violet-aurora: #8a6ab8;
  --ink: #2a2238;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--frost-cool);
  color: var(--ink);
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* aurora background */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 30%, rgba(232,122,168,0.55), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(122,232,216,0.45), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(138,106,184,0.35), transparent 60%),
    linear-gradient(160deg, #f7eaf0 0%, #e8eef4 100%);
  background-size: 200% 200%;
  animation: auroraDrift 18s ease-in-out infinite alternate;
  filter: blur(30px);
}
@keyframes auroraDrift {
  0%   { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 0%; }
  50%  { background-position: 60% 40%, 30% 70%, 70% 30%, 0% 0%; }
  100% { background-position: 100% 100%, 0% 0%, 30% 70%, 0% 0%; }
}

/* frost noise overlay */
.frost-noise {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* topbar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.5);
}
.bling-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--plum);
}
.logo-jewel {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--pink-aurora), var(--teal-aurora));
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(232,122,168,0.7);
  animation: jewelPulse 3s ease-in-out infinite;
}
@keyframes jewelPulse {
  0%,100% { box-shadow: 0 0 8px rgba(232,122,168,0.5); }
  50%     { box-shadow: 0 0 20px rgba(232,122,168,0.9), 0 0 30px rgba(122,232,216,0.6); }
}
.topnav { display: flex; gap: 22px; }
.topnav a {
  text-decoration: none;
  color: var(--plum);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 8px;
  transition: color 0.3s ease;
}
.topnav a:hover { color: var(--pink-aurora); }

/* split hero */
.split-hero {
  height: 100vh;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.split-pane {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sky-pane { background: var(--frost-cool); }
.shell-pane { background: var(--frost-warm); }

.frost-veil {
  position: absolute;
  inset: 0;
  background: rgba(232,238,244,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.frost-veil.warm { background: rgba(240,232,228,0.55); }

.pane-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.kana-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--plum);
  display: block;
  margin-bottom: 24px;
  opacity: 0.7;
}
.big-glyph {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 0.9;
  background: linear-gradient(135deg, var(--pink-aurora), var(--teal-aurora), var(--violet-aurora));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 14px rgba(232,122,168,0.4));
  animation: prismShift 8s ease-in-out infinite alternate;
}
.shell-glyph {
  font-size: clamp(80px, 14vw, 180px);
  background: linear-gradient(135deg, var(--gold-pale), var(--pink-aurora), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes prismShift {
  0%   { filter: hue-rotate(0deg) drop-shadow(0 4px 14px rgba(232,122,168,0.4)); }
  100% { filter: hue-rotate(40deg) drop-shadow(0 4px 14px rgba(122,232,216,0.5)); }
}
.pane-blurb {
  margin-top: 22px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--plum);
  font-size: clamp(15px, 1.4vw, 19px);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 12px 28px;
  border-radius: 999px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--plum);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,0.8);
}
.sparkle-mark {
  width: 10px; height: 10px;
  background: var(--pink-aurora);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  animation: starSpin 4s linear infinite;
}
@keyframes starSpin {
  to { transform: rotate(360deg); }
}

/* sections common */
section {
  padding: 100px 6vw;
  position: relative;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--plum);
  margin-bottom: 48px;
}
.section-title em {
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(135deg, var(--pink-aurora), var(--violet-aurora));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--pink-aurora);
  margin-bottom: 18px;
  font-weight: 600;
}
.card-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--violet-aurora);
  margin-bottom: 18px;
  font-weight: 600;
}

/* frosted card */
.frosted-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 24px;
  padding: 56px clamp(24px, 4vw, 64px);
  box-shadow: 0 12px 40px rgba(74,42,106,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  max-width: 1100px;
  margin: 0 auto;
}
.frosted-card.warm-card {
  background: rgba(255,235,240,0.5);
}
.frosted-card.glow {
  box-shadow: 0 12px 40px rgba(232,122,168,0.25), 0 0 80px rgba(122,232,216,0.18), inset 0 1px 0 rgba(255,255,255,0.8);
  text-align: center;
}

/* duality grid */
.duality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 32px;
}
.duality-block {
  position: relative;
  padding: 32px 28px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
}
.block-mark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
}
.sky-mark {
  background: linear-gradient(135deg, var(--teal-aurora), var(--violet-aurora));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shell-mark {
  background: linear-gradient(135deg, var(--pink-aurora), var(--gold-pale));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.duality-block h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--plum);
}
.duality-block p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

/* facets */
.facet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.facet-card {
  position: relative;
  padding: 36px 28px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 22px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: default;
  overflow: hidden;
}
.facet-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(232,122,168,0.25), transparent, rgba(122,232,216,0.25), transparent);
  opacity: 0;
  animation: facetSpin 8s linear infinite;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.facet-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(232,122,168,0.25); }
.facet-card:hover::before { opacity: 1; }
@keyframes facetSpin {
  to { transform: rotate(360deg); }
}
.facet-card > * { position: relative; z-index: 1; }
.facet-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--pink-aurora);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.facet-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--plum);
  margin-bottom: 12px;
}
.facet-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.bling-row {
  display: block;
  letter-spacing: 0.4em;
  color: var(--gold-pale);
  font-size: 14px;
}

/* sparkle section */
.sparkle-lede {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--plum);
  margin-bottom: 36px;
  font-size: 17px;
}
.gem-button {
  position: relative;
  width: 140px; height: 140px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 0 auto 40px;
  display: block;
}
.gem-core {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink-aurora), var(--violet-aurora), var(--teal-aurora));
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  box-shadow: 0 0 40px rgba(232,122,168,0.6), inset 0 6px 14px rgba(255,255,255,0.4);
  transition: transform 0.2s ease;
}
.gem-button:hover .gem-core { transform: scale(1.05); }
.gem-button:active .gem-core { transform: scale(0.92); }
.gem-flash {
  position: absolute;
  inset: 0;
  background: white;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  opacity: 0;
  pointer-events: none;
}
.gem-button.is-flashing .gem-flash {
  animation: gemFlash 0.4s ease;
}
@keyframes gemFlash {
  0%   { opacity: 0; }
  30%  { opacity: 0.85; }
  100% { opacity: 0; }
}
.sparkle-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.sparkle-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  color: var(--plum);
  background: linear-gradient(135deg, var(--pink-aurora), var(--violet-aurora));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
  opacity: 0.7;
}

/* guestbook */
.guest-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}
.g-field { display: flex; flex-direction: column; gap: 6px; }
.g-field.full { grid-column: 1 / -1; }
.g-field span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
}
.g-field input,
.g-field select,
.g-field textarea {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(232,122,168,0.4);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  color: var(--plum);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.g-field input:focus,
.g-field select:focus,
.g-field textarea:focus {
  border-color: var(--pink-aurora);
  box-shadow: 0 0 0 4px rgba(232,122,168,0.15);
}
.g-submit {
  grid-column: 1 / -1;
  justify-self: start;
  background: linear-gradient(135deg, var(--pink-aurora), var(--violet-aurora));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(232,122,168,0.3);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.g-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(232,122,168,0.45);
}
.guest-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guest-entry {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: baseline;
}
.g-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--plum);
  font-size: 15px;
}
.g-mood {
  font-family: 'Playfair Display', serif;
  color: var(--pink-aurora);
  font-size: 18px;
}
.g-msg {
  font-size: 14px;
  font-style: italic;
  color: var(--ink);
}

/* footer */
.site-footer {
  padding: 50px 6vw 30px;
  text-align: center;
}
.footer-bling {
  letter-spacing: 0.4em;
  color: var(--gold-pale);
  margin-bottom: 18px;
  font-size: 14px;
}
.footer-cols {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--plum);
  text-transform: uppercase;
}

/* dynamic sparkles (JS-injected) */
.bling-spark {
  position: fixed;
  width: 12px; height: 12px;
  pointer-events: none;
  z-index: 200;
  background: linear-gradient(135deg, var(--pink-aurora), var(--teal-aurora));
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}

/* responsive */
@media (max-width: 720px) {
  .topbar { padding: 14px 18px; }
  .topnav { gap: 12px; }
  .topnav a { font-size: 11px; padding: 4px; }
  .split-hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .split-pane { padding: 80px 0; min-height: 60vh; }
  .duality-grid { grid-template-columns: 1fr; }
  .guest-form { grid-template-columns: 1fr; }
  .guest-entry { grid-template-columns: 1fr; gap: 4px; }
  .frosted-card { padding: 32px 18px; }
  section { padding: 60px 4vw; }
}
