:root {
  --canvas: #fdfbf9;
  --surface: #ffffff;
  --surface-soft: #f5ede6;
  --sticky-bg: #f3e5d8;
  --ink: #2c1d14;
  --ink-muted: #6e5544;
  --violet: #7c4a2d;
  --violet-bright: #8b5a2b;
  --magenta: #b86b43;
  --teal: #c89b6e;
  --mint: #2f855a;
  --gold: #d97706;
  --danger: #dc2626;
  --border: rgba(44, 29, 20, 0.1);
  --shadow-card: 0 22px 54px rgba(44, 29, 20, 0.1);
  --shadow-soft: 0 12px 30px rgba(44, 29, 20, 0.06);
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(139, 90, 43, 0.08), transparent 38%),
    radial-gradient(circle at 92% 10%, rgba(184, 107, 67, 0.08), transparent 36%),
    radial-gradient(circle at 86% 88%, rgba(200, 155, 110, 0.09), transparent 40%),
    var(--canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font-family: inherit;
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 90, 43, 0.08), rgba(184, 107, 67, 0.04) 45%, transparent 72%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* =========================================================
   Floating Pill Topbar
   ========================================================= */
.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  transform: rotate(-1.5deg);
  transition: transform 0.25s ease;
}

.brand-pill--alt {
  background: #f5ede6;
  color: #7c4a2d;
  font-weight: 700;
  font-size: 0.82rem;
  transform: rotate(2deg);
}

.brand:hover .brand-pill {
  transform: rotate(0deg) scale(1.03);
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: var(--border);
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: rotate(0deg) scale(1.04);
}

.topbar-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(124, 74, 45, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(124, 74, 45, 0.36);
}

/* =========================================================
   Hero Stage
   ========================================================= */
.hero-stage {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(19, 17, 38, 0.12) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.72) 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.72) 20%, transparent 75%);
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.blob--violet {
  width: 340px;
  height: 340px;
  background: rgba(139, 90, 43, 0.16);
  top: 12%;
  left: 14%;
}

.blob--pink {
  width: 300px;
  height: 300px;
  background: rgba(184, 107, 67, 0.16);
  top: 18%;
  right: 12%;
  animation-delay: -5s;
}

.blob--teal {
  width: 280px;
  height: 280px;
  background: rgba(200, 155, 110, 0.18);
  bottom: 10%;
  left: 42%;
  animation-delay: -9s;
}

@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

.hero-inner {
  position: relative;
  width: min(1220px, 100%);
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-center {
  position: relative;
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.hero-emblem {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  animation: emblemFloat 4.5s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-7px) rotate(2deg); }
}

.hero-title {
  margin: 0;
  font-size: clamp(2.9rem, 6.2vw, 4.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-title-accent {
  display: block;
  background: linear-gradient(105deg, #6f3e22 10%, #a55b33 60%, #c88a55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 18px 0 28px;
  max-width: 40ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-muted);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(124, 74, 45, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(124, 74, 45, 0.36);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

/* =========================================================
   4 Tilted Corner Floating Clusters
   ========================================================= */
.float-cluster {
  position: absolute;
  z-index: 3;
  transition: transform 0.2s ease-out;
}

.float-cluster--tl {
  top: 12px;
  left: 10px;
}

.float-cluster--tr {
  top: 8px;
  right: 8px;
}

.float-cluster--bl {
  bottom: 14px;
  left: 12px;
}

.float-cluster--br {
  bottom: 14px;
  right: 10px;
}

/* Top-left Sticky Note */
.sticky-note {
  position: relative;
  width: 236px;
  padding: 24px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(155deg, #f7efe7, #efe1d3);
  border: 1px solid rgba(124, 74, 45, 0.16);
  box-shadow: var(--shadow-card);
  transform: rotate(-4deg);
  animation: gentleBobA 6.4s ease-in-out infinite;
}

.paperclip {
  position: absolute;
  top: -12px;
  left: 22px;
  width: 18px;
  height: 32px;
  border: 2.5px solid var(--violet);
  border-radius: 10px;
  background: transparent;
}

.paperclip::after {
  content: '';
  position: absolute;
  inset: 4px 3px;
  border: 2px solid var(--magenta);
  border-radius: 6px;
}

.sticky-text {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
}

.sticky-bar {
  margin-top: 10px;
  width: 72%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta));
}

.squircle-tile--clay {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  transform: rotate(9deg);
}

.dashed-arrow {
  position: absolute;
  right: -84px;
  bottom: -44px;
  width: 90px;
  height: 60px;
  pointer-events: none;
  opacity: 0.6;
}

/* Clay Photo Floating Cards (TR & BL) */
.clay-photo-card {
  width: 248px;
  padding: 12px 12px 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.clay-photo-card--tr {
  transform: rotate(3.5deg);
  animation: gentleBobB 6.8s ease-in-out infinite;
}

.clay-photo-card--bl {
  transform: rotate(-3.5deg);
  animation: gentleBobC 7.1s ease-in-out infinite;
}

.clay-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
}

.clay-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clay-photo-meta {
  margin-top: 10px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.clay-photo-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
}
.upload-status-card {
  position: relative;
  width: 296px;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transform: rotate(3deg);
  animation: gentleBobB 6.8s ease-in-out infinite;
}

.cloud-badge {
  position: absolute;
  top: -16px;
  right: -12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-bright), var(--magenta));
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.32);
}

.status-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
}

.status-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-thumb {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  overflow: hidden;
  flex-shrink: 0;
}

.status-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.status-meta {
  flex: 1;
  min-width: 0;
}

.status-name {
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-sub {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.status-pct {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--mint);
}

.progress-track {
  margin-top: 12px;
  height: 7px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 84%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-bright), var(--magenta), var(--teal));
  animation: shimmerSlide 2.6s ease-in-out infinite alternate;
}

@keyframes shimmerSlide {
  from { width: 72%; }
  to { width: 96%; }
}

.status-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -7px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 800;
  color: #ffffff;
}

.avatar-dot:first-child {
  margin-left: 0;
}

.avatar-count {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--violet);
}

.mini-pill {
  padding: 6px 11px;
  border-radius: 999px;
  background: #f5ede6;
  color: #7c4a2d;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Bottom-left Recent Duos Card */
.recent-card {
  width: 288px;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transform: rotate(-3.5deg);
  animation: gentleBobC 7.1s ease-in-out infinite;
}

.recent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.recent-title {
  font-size: 0.86rem;
  font-weight: 800;
}

.recent-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--violet);
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 14px;
  background: var(--canvas);
}

.recent-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ede9fe, #e0f2fe);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-info {
  flex: 1;
  min-width: 0;
}

.recent-names {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-time {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.recent-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5ede6;
  color: var(--violet);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Bottom-right Prize Tiles Card */
.prize-tiles-card {
  width: 274px;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transform: rotate(3.5deg);
  animation: gentleBobD 6.2s ease-in-out infinite;
}

.prize-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.prize-title {
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.25;
}

.trophy-pill {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.74rem;
  font-weight: 800;
  flex-shrink: 0;
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.tile-box {
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--surface-soft);
  overflow: hidden;
  position: relative;
}

.tile-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-box--gold {
  background: #fffbeb;
  border: 2px solid rgba(245, 158, 11, 0.7);
}

.tile-box--gold::after {
  content: '🏆';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 251, 235, 0.45);
  font-size: 1.1rem;
}

@keyframes gentleBobA {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-7px); }
}

@keyframes gentleBobB {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}

@keyframes gentleBobC {
  0%, 100% { transform: rotate(-3.5deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-6px); }
}

@keyframes gentleBobD {
  0%, 100% { transform: rotate(3.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-7px); }
}

/* =========================================================
   Competition Overview Section (bestpic Moments Rhythm)
   ========================================================= */
.moments-section {
  padding: 56px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head-stack {
  text-align: center;
  max-width: 680px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--magenta);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.moments-pill-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.stat-pill--accent {
  background: var(--surface-soft);
  color: var(--violet);
}

.steps-grid {
  width: min(1140px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5ede6, #ead7c5);
  color: var(--violet);
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* =========================================================
   Single Registration Form Studio (.share-shell)
   ========================================================= */
.share-section {
  padding: 40px 24px 96px;
  display: flex;
  justify-content: center;
}

.share-shell {
  position: relative;
  width: min(1140px, 100%);
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 34px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
}

.share-blob {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 107, 67, 0.12), transparent 70%);
  pointer-events: none;
}

/* Left Live Duo Pass Preview (mirrors dropzone styling) */
.duo-preview-zone {
  min-height: 390px;
  border-radius: 24px;
  border: 2px dashed rgba(124, 74, 45, 0.28);
  background: linear-gradient(155deg, #fbf7f3, #f5ebe1);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-icon-tile {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
}

.preview-badge {
  padding: 7px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--violet);
}

.preview-pass-card {
  margin: 22px 0;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.pass-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.pass-members {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pass-member-chip {
  flex: 1;
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--canvas);
  border: 1px solid var(--border);
}

.pass-member-role {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--violet);
  letter-spacing: 0.05em;
}

.pass-member-name {
  margin-top: 3px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  word-break: break-word;
}

.pass-phone-row {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pass-phone-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.pass-phone-val {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--violet);
}

.preview-foot {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Right Form */
.share-form {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.share-form h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.one-pic-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--violet);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.field-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field-group input:focus {
  background: #ffffff;
  border-color: var(--violet-bright);
  box-shadow: 0 0 0 4px rgba(139, 90, 43, 0.14);
}

.form-msg {
  margin: 0;
  min-height: 20px;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-msg.is-error {
  color: var(--danger);
}

.form-msg.is-success {
  color: var(--mint);
}

.send-btn {
  width: 100%;
  padding: 15px 22px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(125deg, var(--violet-bright), var(--magenta));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(124, 74, 45, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(124, 74, 45, 0.36);
}

.send-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* =========================================================
   Admin Dashboard Styles
   ========================================================= */
.admin-main {
  padding: 112px 24px 80px;
  display: flex;
  justify-content: center;
}

.admin-shell {
  width: min(1120px, 100%);
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 34px;
}

.admin-login-box {
  max-width: 420px;
  margin: 24px auto;
  text-align: center;
}

.admin-login-box h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-login-box p {
  margin: 0 0 22px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 4px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-soft {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-soft:hover {
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.admin-stat-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--canvas);
  border: 1px solid var(--border);
}

.admin-stat-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.admin-stat-val {
  margin-top: 6px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-search {
  flex: 1;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--canvas);
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
}

.admin-search:focus {
  background: #ffffff;
  border-color: var(--violet-bright);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.duos-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.duos-table th {
  padding: 12px 12px;
  background: var(--canvas);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.duos-table td {
  padding: 12px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.duos-table tr:last-child td {
  border-bottom: 0;
}

.group-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 800;
}

.phone-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link {
  color: var(--violet);
  font-weight: 700;
}

.copy-btn {
  padding: 4px 9px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--canvas);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--surface-soft);
}

.delete-btn {
  padding: 6px 11px;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: #fef2f2;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.delete-btn:hover {
  background: #fee2e2;
}

.empty-state {
  padding: 46px 20px;
  text-align: center;
  color: var(--ink-muted);
  font-weight: 600;
}

/* =========================================================
   Responsive Breakpoints (Matches bestpic.pages.dev)
   ========================================================= */
@media (max-width: 1180px) {
  .sticky-note {
    width: 210px;
  }
  .clay-photo-card {
    width: 220px;
  }
  .prize-tiles-card {
    width: 248px;
  }
  .dashed-arrow {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    flex-direction: column;
    gap: 24px;
    min-height: auto;
  }
  .hero-center {
    order: 1;
  }
  .float-cluster {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
  .float-cluster--tl,
  .float-cluster--br {
    display: none;
  }
  .float-cluster--tr {
    order: 2;
  }
  .float-cluster--bl {
    order: 3;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .share-shell {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .admin-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 8px 10px 8px 14px;
  }
  .brand-pill--alt,
  .brand-divider,
  .nav-link {
    display: none;
  }
  .brand-logo {
    height: 30px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .clay-photo-card {
    width: 100%;
    max-width: 340px;
    transform: none;
    animation: none;
  }
  .duo-preview-zone {
    min-height: auto;
    padding: 20px;
  }
  .admin-shell {
    padding: 20px;
  }
}
