@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1030 50%, #0a0a1a 100%);
  font-family: 'Inter', sans-serif;
  color: #d6d0e0;
  overflow-x: hidden;
}

/* ─── Stars ─── */
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star {
  position: absolute; width: 2px; height: 2px;
  background: white; border-radius: 50%;
  animation: twinkle 3s infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0.15; } 50% { opacity: 0.6; } }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 16px 30px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 26, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: #ffd700;
  letter-spacing: 1px;
}
.nav-cta {
  padding: 9px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: none; border-radius: 30px;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(255,215,0,0.4); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 30px;
  color: #ffd700; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.6rem; line-height: 1.15;
  background: linear-gradient(135deg, #ffd700 0%, #f5c6d0 40%, #ffd700 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 650px; margin-bottom: 20px;
  animation: fadeInDown 1s ease 0.1s both;
}
.hero p {
  font-size: 1.15rem; color: #a098b0;
  max-width: 480px; line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInDown 1s ease 0.2s both;
}
.hero-cta {
  display: inline-block;
  padding: 18px 48px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700);
  border: none; border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(255,215,0,0.25);
  transition: all 0.3s; text-decoration: none;
  animation: fadeInDown 1s ease 0.3s both;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,215,0,0.4); }

/* Demo spinner preview */
.hero-demo {
  margin-top: 50px;
  animation: fadeIn 1.5s ease 0.5s both;
}
.demo-spinner {
  width: 160px; height: 160px;
  border-radius: 50%;
  position: relative;
  animation: slowSpin 20s linear infinite;
  box-shadow: 0 0 40px rgba(212,160,176,0.15);
}
.demo-segment {
  position: absolute;
  width: 50%; height: 50%;
  transform-origin: 100% 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: rotate(calc(var(--i) * 45deg));
  background: var(--c);
  top: 0; left: 0;
  opacity: 0.8;
  border-radius: 100% 0 0 0;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ─── Steps ─── */
.steps {
  position: relative; z-index: 1;
  padding: 80px 20px; text-align: center;
}
.steps h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; color: #ffd700;
  margin-bottom: 50px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 860px; margin: 0 auto;
}
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px 22px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.step-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,215,0,0.15);
  transform: translateY(-4px);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50%; color: #ffd700;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; margin-bottom: 18px;
}
.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #fff; margin-bottom: 10px;
}
.step-card p { font-size: 0.9rem; color: #8a82a0; line-height: 1.55; }

/* ─── Create section ─── */
.create-section {
  position: relative; z-index: 1;
  padding: 60px 20px 80px;
  display: flex; justify-content: center;
}
.create-card {
  width: 100%; max-width: 620px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 40px 36px;
  backdrop-filter: blur(16px);
}
.create-header {
  text-align: center; margin-bottom: 32px;
}
.create-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: #fff; margin-bottom: 8px;
}
.create-header p { color: #8a82a0; font-size: 0.95rem; }

/* Form elements */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; margin-bottom: 8px;
  font-size: 0.88rem; font-weight: 500;
  color: #c0b8d0; letter-spacing: 0.3px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="text"], textarea, select {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s;
  outline: none;
}
input[type="text"]:focus, textarea:focus, select:focus {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.08);
}
input::placeholder, textarea::placeholder { color: #5a5270; }
select { cursor: pointer; }
select option { background: #1a1030; color: #fff; }
textarea { resize: vertical; min-height: 70px; }

/* Theme grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.theme-card {
  padding: 14px 10px; text-align: center;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 14px; cursor: pointer;
  transition: all 0.3s;
}
.theme-card:hover { background: rgba(255,255,255,0.07); }
.theme-card.active {
  border-color: #ffd700;
  background: rgba(255,215,0,0.08);
  box-shadow: 0 0 0 2px rgba(255,215,0,0.15);
}
.theme-preview {
  font-size: 1.4rem; margin-bottom: 4px;
}
.theme-dots {
  display: flex; justify-content: center; gap: 3px;
  margin-bottom: 6px;
}
.theme-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.theme-name {
  font-size: 0.75rem; color: #8a82a0;
  letter-spacing: 0.5px;
}

/* Messages */
.messages-list { display: flex; flex-direction: column; gap: 10px; }
.msg-count { font-size: 0.8rem; color: #6a6280; font-weight: 400; }
.msg-row {
  display: flex; align-items: center; gap: 10px;
}
.msg-row[data-type="video"] {
  align-items: flex-start;
}
.msg-dot {
  width: 12px; height: 12px;
  border-radius: 50%; flex-shrink: 0;
}
.msg-content {
  flex: 1;
  min-width: 0;
}
.msg-content input {
  width: 100%;
}
.msg-remove {
  width: 30px; height: 30px;
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.25);
  border-radius: 8px; color: #e74c3c;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.msg-remove:hover { background: rgba(231,76,60,0.25); }
.msg-remove.hidden { visibility: hidden; pointer-events: none; }
.add-msg-btn {
  margin-top: 8px;
  padding: 10px 18px;
  background: rgba(255,215,0,0.08);
  border: 1px dashed rgba(255,215,0,0.25);
  border-radius: 10px; color: #ffd700;
  font-size: 0.88rem; cursor: pointer;
  transition: all 0.3s;
}
.add-msg-btn:hover { background: rgba(255,215,0,0.15); }
.add-msg-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Secret section */
.secret-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 20px;
}
.secret-toggle { display: flex; flex-direction: column; gap: 4px; }
.toggle-label {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; user-select: none;
}
.toggle-label input { display: none; }
.toggle-switch {
  width: 44px; height: 24px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px; position: relative;
  transition: all 0.3s; flex-shrink: 0;
}
.toggle-switch::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #777; border-radius: 50%;
  transition: all 0.3s;
}
.toggle-label input:checked + .toggle-switch {
  background: rgba(255,215,0,0.3);
}
.toggle-label input:checked + .toggle-switch::after {
  transform: translateX(20px); background: #ffd700;
}
.toggle-text {
  font-size: 0.95rem; color: #d0c8e0; font-weight: 500;
}
.secret-hint {
  font-size: 0.78rem; color: #6a6280; margin-left: 56px;
}
.secret-fields {
  margin-top: 18px; display: none;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.secret-fields.visible { display: block; }

/* Icon picker */
.icon-picker {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.icon-option {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 10px; cursor: pointer;
  transition: all 0.2s;
}
.icon-option:hover { background: rgba(255,255,255,0.08); }
.icon-option.active {
  border-color: #ffd700;
  background: rgba(255,215,0,0.1);
}

/* Submit */
.submit-btn {
  width: 100%; padding: 18px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700);
  border: none; border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(255,215,0,0.25);
  transition: all 0.3s;
  margin-top: 10px;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 35px rgba(255,215,0,0.4); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Success panel */
.success-panel { text-align: center; padding: 20px 0; }
.success-icon { font-size: 64px; margin-bottom: 15px; }
.success-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: #fff; margin-bottom: 8px;
}
.success-panel > p { color: #a098b0; margin-bottom: 16px; }
#successName { color: #ffd700; }
.link-box {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.link-box input {
  flex: 1; padding: 12px 14px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 10px; color: #ffd700;
  font-size: 0.9rem;
}
.copy-btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: none; border-radius: 10px;
  color: #0a0a1a; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
  font-size: 0.88rem;
}
.copy-btn:hover { box-shadow: 0 2px 15px rgba(255,215,0,0.3); }
.success-actions { display: flex; gap: 12px; justify-content: center; }
.preview-btn, .another-btn {
  padding: 12px 28px;
  border-radius: 10px; font-size: 0.9rem;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none;
}
.preview-btn {
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  color: #ffd700;
}
.another-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #c0b8d0;
}
.preview-btn:hover, .another-btn:hover { transform: translateY(-1px); }

/* Footer */
.footer {
  position: relative; z-index: 1;
  text-align: center; padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #4a4260; font-size: 0.85rem;
}

/* Error */
.form-error {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.3);
  border-radius: 10px; padding: 12px 16px;
  color: #e74c3c; font-size: 0.88rem;
  margin-bottom: 16px; text-align: center;
  animation: fadeIn 0.3s ease;
}

/* ─── Photo Upload ─── */
.photo-dropzone {
  border: 2px dashed rgba(255,215,0,0.2);
  border-radius: 14px; padding: 30px;
  text-align: center; cursor: pointer;
  transition: all 0.3s;
  background: rgba(255,255,255,0.02);
}
.photo-dropzone:hover, .photo-dropzone.dragover {
  border-color: rgba(255,215,0,0.5);
  background: rgba(255,215,0,0.05);
}
.photo-placeholder { color: #6a6280; font-size: 0.9rem; }
.photo-preview {
  position: relative; display: inline-block;
  border-radius: 14px; overflow: hidden;
}
.photo-preview img {
  max-width: 100%; max-height: 200px;
  border-radius: 14px; display: block;
}
.photo-remove {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(231,76,60,0.9);
  border: none; border-radius: 50%;
  color: white; font-size: 1rem;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}

/* ─── Message Suggestions ─── */
.suggest-btn {
  margin-top: 4px; margin-bottom: 8px;
  padding: 8px 16px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 20px;
  color: #ffd700; font-size: 0.82rem;
  cursor: pointer; transition: all 0.3s;
}
.suggest-btn:hover { background: rgba(255,215,0,0.15); }
.suggestions-panel {
  background: rgba(20,10,40,0.95);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 14px; padding: 16px;
  margin-bottom: 12px; max-height: 300px;
  overflow-y: auto;
}
.suggestions-panel::-webkit-scrollbar { width: 6px; }
.suggestions-panel::-webkit-scrollbar-track { background: transparent; }
.suggestions-panel::-webkit-scrollbar-thumb { background: rgba(255,215,0,0.2); border-radius: 3px; }
.suggestion-item {
  display: flex; justify-content: space-between;
  align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  transition: background 0.2s; margin-bottom: 4px;
}
.suggestion-item:hover { background: rgba(255,255,255,0.04); }
.suggestion-text {
  font-size: 0.88rem; color: #c0b8d0;
  flex: 1; line-height: 1.4;
}
.suggestion-use {
  padding: 4px 14px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 16px; color: #ffd700;
  font-size: 0.75rem; cursor: pointer;
  transition: all 0.2s; white-space: nowrap; flex-shrink: 0;
}
.suggestion-use:hover { background: rgba(255,215,0,0.2); }
.suggestion-use:disabled { opacity: 0.4; cursor: default; }
.suggestion-fill-all {
  margin-top: 8px; width: 100%;
  padding: 10px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 10px; color: #ffd700;
  font-size: 0.85rem; cursor: pointer;
  transition: all 0.3s;
}
.suggestion-fill-all:hover { background: rgba(255,215,0,0.2); }

/* ─── Gift Card Section ─── */
.giftcard-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 20px;
}
.giftcard-toggle { display: flex; flex-direction: column; gap: 4px; }
.giftcard-hint {
  font-size: 0.78rem; color: #6a6280; margin-left: 56px;
}
.giftcard-fields {
  margin-top: 18px; display: none;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.giftcard-fields.visible { display: block; }
.giftcard-search input {
  margin-bottom: 12px;
}
.giftcard-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; max-height: 240px; overflow-y: auto;
  padding-right: 4px;
}
.giftcard-grid::-webkit-scrollbar { width: 5px; }
.giftcard-grid::-webkit-scrollbar-thumb { background: rgba(255,215,0,0.2); border-radius: 3px; }
.giftcard-loading {
  grid-column: 1 / -1; text-align: center;
  color: #6a6280; font-size: 0.85rem; padding: 20px;
}
.giftcard-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding: 12px 8px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 12px; cursor: pointer;
  transition: all 0.2s; text-align: center;
}
.giftcard-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,215,0,0.2);
}
.giftcard-item.active {
  border-color: #ffd700;
  background: rgba(255,215,0,0.08);
}
.giftcard-item img {
  width: 48px; height: 48px;
  border-radius: 8px; object-fit: contain;
  background: white; padding: 4px;
}
.giftcard-item-name {
  font-size: 0.72rem; color: #c0b8d0;
  line-height: 1.2; word-break: break-word;
}
.giftcard-selected {
  margin-top: 12px;
}
.giftcard-chosen {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 12px; margin-bottom: 14px;
}
.giftcard-logo {
  width: 48px; height: 48px;
  border-radius: 8px; object-fit: contain;
  background: white; padding: 4px;
}
.giftcard-info { flex: 1; }
.giftcard-name {
  font-size: 0.95rem; color: #fff; font-weight: 500;
}
.giftcard-discount {
  font-size: 0.78rem; color: #2ecc71; margin-top: 2px;
}
.giftcard-change {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; color: #c0b8d0;
  font-size: 0.78rem; cursor: pointer;
}
.giftcard-amounts {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.giftcard-amount-btn {
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 10px; color: #c0b8d0;
  font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s;
}
.giftcard-amount-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,215,0,0.2);
}
.giftcard-amount-btn.active {
  border-color: #ffd700;
  background: rgba(255,215,0,0.08);
  color: #ffd700;
}
.giftcard-total {
  margin-top: 12px; padding: 12px;
  background: rgba(255,215,0,0.06);
  border-radius: 10px; text-align: center;
  font-size: 0.88rem; color: #ffd700;
}

/* ─── Schedule Section ─── */
.schedule-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 20px;
}
.schedule-toggle { display: flex; flex-direction: column; gap: 4px; }
.schedule-hint {
  font-size: 0.78rem; color: #6a6280; margin-left: 56px;
}
.schedule-fields {
  margin-top: 18px; display: none;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.schedule-fields.visible { display: block; }
.schedule-note {
  font-size: 0.78rem; color: #6a6280;
  font-style: italic; margin-top: 8px;
}
input[type="date"], input[type="time"] {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s; outline: none;
}
input[type="date"]:focus, input[type="time"]:focus {
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(255,215,0,0.08);
}

/* ─── Occasion landing pages ─── */
.nav-logo { text-decoration: none; color: #ffd700; }

/* ─── Video Message Toggle ─── */
.msg-row {
  position: relative;
}
.msg-content {
  flex: 1;
  min-width: 0;
}
.msg-type-toggle {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #8a82a0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.msg-type-toggle:hover {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.3);
  color: #ffd700;
}
.msg-row[data-type="video"] .msg-type-toggle {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.3);
  color: #ffd700;
}

/* ─── Video Recorder ─── */
.video-recorder {
  display: flex; flex-direction: column; gap: 10px;
}
.video-preview-container {
  position: relative;
  border-radius: 12px; overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  max-height: 200px;
}
.video-preview-container video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.video-timer {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 14px;
  color: #ff4444; font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.video-controls {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.video-start-btn, .video-record-btn, .video-stop-btn,
.video-rerecord-btn, .video-confirm-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}
.video-start-btn {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.3);
  color: #ffd700;
}
.video-start-btn:hover { background: rgba(255,215,0,0.2); }
.video-record-btn {
  background: rgba(231,76,60,0.15);
  border-color: rgba(231,76,60,0.4);
  color: #e74c3c;
}
.video-record-btn:hover { background: rgba(231,76,60,0.25); }
.video-stop-btn {
  background: rgba(231,76,60,0.3);
  border-color: rgba(231,76,60,0.5);
  color: #fff;
}
.video-rerecord-btn {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  color: #c0b8d0;
}
.video-rerecord-btn:hover { background: rgba(255,255,255,0.1); }
.video-confirm-btn {
  background: rgba(46,204,113,0.15);
  border-color: rgba(46,204,113,0.4);
  color: #2ecc71;
}
.video-confirm-btn:hover { background: rgba(46,204,113,0.25); }
.video-confirm-btn:disabled, .video-rerecord-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}
.video-label {
  font-size: 0.88rem;
}
.video-upload-status {
  font-size: 0.78rem;
  min-height: 18px;
}

/* ─── Video Uploaded State ─── */
.video-uploaded {
  display: flex; flex-direction: column; gap: 10px;
}
.video-uploaded-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 14px;
  color: #2ecc71;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.video-uploaded-preview {
  border-radius: 12px;
  max-height: 160px;
  background: #000;
}
.video-rerecord-full {
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: #c0b8d0;
  font-size: 0.78rem;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s;
}
.video-rerecord-full:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* ─── Responsive ─── */
@media (max-width: 700px) {
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1rem; }
  .steps-grid { grid-template-columns: 1fr; max-width: 340px; }
  .form-row { grid-template-columns: 1fr; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .create-card { padding: 28px 20px; }
  .nav { padding: 14px 20px; }
  .nav-logo { font-size: 1.2rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .hero-cta { padding: 15px 36px; font-size: 1.05rem; }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
}
