/* ═══════════════════════════════════════
   styles.css — The Inner Circle Fan Portal
   ═══════════════════════════════════════ */

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

:root {
  --navy:       #0A0E1A;
  --deep:       #060810;
  --gold:       #C9A84C;
  --gold-light: #F0E0A8;
  --gold-dim:   #8B6A20;
  --white:      #F7F5F0;
  --muted:      #9A9BA5;
  --glass:      rgba(201, 168, 76, 0.08);
  --border:     rgba(201, 168, 76, 0.25);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--deep);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ══ HERO ══════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(201,168,76,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%,  rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0A0E1A 0%, #060810 100%);
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.star-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--delay, 0s);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0;            transform: scale(0.8); }
  50%       { opacity: var(--op, 0.7); transform: scale(1.2); }
}

.hero-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--glass);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1;   box-shadow: 0 0 8px var(--gold); }
  50%       { opacity: 0.4; box-shadow: 0 0 2px var(--gold); }
}

.hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  position: relative;
  z-index: 1;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 420px;
}

.hero-divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 480px;
}

.hero-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-divider small {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  white-space: nowrap;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}

.scroll-cue:hover { color: var(--gold); }

.scroll-cue .arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}

@keyframes scroll-drop {
  0%   { opacity: 0; transform: scaleY(0);    transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1) translateY(20px); }
}

/* ══ FORM SECTION ══════════════════════ */

.section {
  max-width: 580px;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

.section-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.section-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.form-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, rgba(10,14,26,0.8) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(201,168,76,0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.field input,
.field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.field select { cursor: pointer; }
.field select option { background: var(--navy); color: var(--white); }
.field input::placeholder { color: rgba(154,155,165,0.5); }

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.btn-submit {
  width: 100%;
  margin-top: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold) 0%, #A87830 100%);
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--deep);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-submit:hover              { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(201,168,76,0.4); }
.btn-submit:hover::after       { opacity: 1; }
.btn-submit:active             { transform: translateY(0); }
.btn-submit:disabled           { opacity: 0.5; cursor: not-allowed; transform: none; }

.status-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  display: none;
  line-height: 1.5;
}

.status-msg.error   { background: rgba(220,53,69,0.1);   border: 1px solid rgba(220,53,69,0.3);   color: #ff8a8a; display: block; }
.status-msg.loading { background: rgba(201,168,76,0.08); border: 1px solid var(--border);          color: var(--gold);   display: block; }
.status-msg.success { background: rgba(76,175,80,0.1);   border: 1px solid rgba(76,175,80,0.3);   color: #a8e6ab; display: block; }

/* ══ INVITE REVEAL ══════════════════════ */

.invite-wrap {
  text-align: center;
  animation: fade-up 0.6s ease forwards;
}

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

.invite-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.seal-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(201,168,76,0.3), inset 0 0 20px rgba(201,168,76,0.05);
  animation: seal-spin 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes seal-spin {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);    opacity: 1; }
}

.seal-icon {
  font-size: 2.5rem;
  animation: seal-bounce 0.5s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes seal-bounce {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.code-card {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 0 auto 1.5rem;
  max-width: 420px;
  box-shadow: 0 0 40px rgba(201,168,76,0.15), inset 0 1px 0 rgba(201,168,76,0.3);
  position: relative;
  overflow: hidden;
}

.code-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(201,168,76,0.02) 20px,
    rgba(201,168,76,0.02) 40px
  );
  pointer-events: none;
}

.code-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
}

.code-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(201,168,76,0.4);
  word-break: break-all;
}

.code-stamp {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%) rotate(15deg);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.25);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  pointer-events: none;
}

.invite-message {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.invite-message strong { color: var(--gold); }

.invite-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--gold) 0%, #A87830 100%);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-copy:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(201,168,76,0.4); }

.btn-copy.copied {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: #fff;
  box-shadow: 0 6px 20px rgba(76,175,80,0.3);
}

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-email:hover {
  background: var(--glass);
  border-color: var(--gold);
}

/* ══ TOAST ══════════════════════════════ */

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(10,14,26,0.95);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.7rem 1.5rem;
  font-size: 0.82rem;
  color: var(--gold-light);
  backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ══ FOOTER ══════════════════════════════ */

footer {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.1);
  color: rgba(154,155,165,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* ══ RESPONSIVE ══════════════════════════ */

@media (max-width: 520px) {
  .form-row                   { grid-template-columns: 1fr; }
  .form-card                  { padding: 1.75rem 1.25rem; }
  .code-value                 { font-size: 1.1rem; letter-spacing: 0.08em; }
  .invite-actions             { flex-direction: column; align-items: center; }
  .btn-copy, .btn-email       { width: 100%; justify-content: center; }
}

/* ══ STEP INDICATOR ════════════════════ */

.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
}

.step-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(201,168,76,0.2);
  background: transparent;
  transition: all 0.3s;
}

.step-pill.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

.step-pill.done {
  border-color: rgba(76,175,80,0.4);
  background: rgba(76,175,80,0.08);
}

.pill-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold-dim);
  transition: all 0.3s;
}

.step-pill.active .pill-num {
  background: var(--gold);
  color: var(--deep);
}

.step-pill.done .pill-num {
  background: #4CAF50;
  color: #fff;
  font-size: 0.7rem;
}

.pill-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s;
}

.step-pill.active .pill-label { color: var(--gold); }
.step-pill.done .pill-label   { color: #4CAF50; }

.step-line {
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: rgba(201,168,76,0.2);
}

/* ══ CARD INNER HEADINGS ════════════════ */

.card-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

/* ══ ID UPLOAD ZONE ═════════════════════ */

.id-upload-zone {
  border: 2px dashed rgba(201,168,76,0.35);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 1.25rem;
  background: rgba(201,168,76,0.03);
}

.id-upload-zone:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
}

.id-upload-zone.drag-over {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  transform: scale(1.01);
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.upload-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.upload-hint {
  font-size: 0.78rem;
  color: var(--gold-dim);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.upload-formats {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ══ ID PREVIEW ═════════════════════════ */

.id-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 1px solid var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.15);
  max-height: 220px;
}

.id-preview img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(6,8,16,0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-filename {
  font-size: 0.75rem;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.btn-change {
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: var(--gold);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-change:hover { background: rgba(201,168,76,0.3); }

/* ══ SECURITY NOTE ══════════════════════ */

.id-security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(201,168,76,0.05);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.lock-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* ══ RESPONSIVE ═════════════════════════ */

@media (max-width: 480px) {
  .steps-indicator { gap: 0; }
  .step-line       { max-width: 20px; }
  .pill-label      { display: none; }
  .step-pill       { padding: 0.4rem 0.6rem; }
}

/* ══ WAITING STATE ══════════════════════ */

.waiting-state {
  margin-top: 2rem;
  text-align: center;
  animation: fade-up 0.5s ease forwards;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.waiting-spinner {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.15);
  border-top-color: var(--gold);
  border-right-color: var(--gold-dim);
  animation: spin 1.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-crown {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: crown-pulse 2.5s ease-in-out infinite;
}

@keyframes crown-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.waiting-msg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  min-height: 2.5rem;
  margin-bottom: 1.25rem;
  transition: opacity 0.4s ease;
}

.waiting-msg.fade {
  opacity: 0;
}

.waiting-reminder {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.btn-remind {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}

.btn-remind:hover {
  background: rgba(201,168,76,0.08);
  border-color: var(--gold);
}

/* ══ UPLOAD SECTION LABELS ══════════════════════ */
.upload-section { margin-bottom: 1.5rem; }
.upload-section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.upload-required { color: var(--muted); font-weight: 400; letter-spacing: 0.05em; text-transform: none; font-size: 0.68rem; }

/* ══ FAN CARD ═══════════════════════════════════ */
.fan-card {
  width: 100%; max-width: 480px; margin: 0 auto;
  background: linear-gradient(135deg, #0f1628 0%, #0a0e1a 60%, #1a1000 100%);
  border: 1px solid var(--gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(201,168,76,0.2), 0 20px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(201,168,76,0.3);
  animation: card-appear 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards;
  position: relative;
}

.fan-card::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(201,168,76,0.015) 30px, rgba(201,168,76,0.015) 60px);
  pointer-events: none;
}

@keyframes card-appear {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.fan-card-header {
  background: linear-gradient(135deg, rgba(201,168,76,0.2), rgba(201,168,76,0.05));
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.fan-card-club {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 900; letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.fan-card-title-badge {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dim); border: 1px solid rgba(201,168,76,0.3);
  padding: 0.2rem 0.6rem; border-radius: 100px;
}

.fan-card-body {
  padding: 1.25rem 1.5rem;
  display: flex; gap: 1.25rem; align-items: flex-start;
}

.fan-card-photo-wrap {
  position: relative; flex-shrink: 0;
  width: 90px; height: 90px;
}

.fan-card-photo {
  width: 90px; height: 90px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold);
  display: block;
}

.fan-card-photo-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  animation: ring-spin 8s linear infinite;
  background: conic-gradient(from 0deg, transparent 70%, rgba(201,168,76,0.4) 100%);
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

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

.fan-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 0.2rem; line-height: 1.2;
}

.fan-card-tier {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}

.fan-card-details { display: flex; flex-direction: column; gap: 0.3rem; }

.fan-card-detail {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; gap: 0.5rem;
}

.detail-label { color: var(--muted); flex-shrink: 0; }
.detail-value { color: var(--white); font-weight: 500; text-align: right; }

.fan-card-quote {
  padding: 0.75rem 1.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 0.82rem;
  color: rgba(240,224,168,0.6);
  border-top: 1px solid rgba(201,168,76,0.15);
  text-align: center; line-height: 1.6;
}

.fan-card-footer {
  background: rgba(201,168,76,0.06);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 0.6rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.fan-card-hologram {
  font-size: 1.2rem; color: var(--gold);
  animation: holo-pulse 3s ease-in-out infinite;
}

@keyframes holo-pulse {
  0%,100% { opacity:0.4; transform:scale(0.9); }
  50%      { opacity:1;   transform:scale(1.1); }
}

.fan-card-serial {
  font-size: 0.6rem; letter-spacing: 0.15em;
  color: var(--gold-dim); font-family: 'Inter', monospace;
}

.card-actions { margin-top: 1.5rem; text-align: center; }

/* ══ FLOATING CTA BUTTON ════════════════ */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 888;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 1;
}

.floating-cta.hidden {
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.floating-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--gold) 0%, #A87830 100%);
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  cursor: pointer;
  box-shadow:
    0 8px 32px rgba(201,168,76,0.5),
    0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 40px rgba(201,168,76,0.6), 0 4px 12px rgba(0,0,0,0.5);
}

.floating-btn:active {
  transform: translateY(0) scale(0.98);
}

.floating-btn-icon {
  font-size: 0.9rem;
  animation: icon-spin 4s linear infinite;
}

@keyframes icon-spin {
  0%, 90%, 100% { transform: rotate(0deg); }
  95%            { transform: rotate(180deg); }
}

.floating-btn-pulse {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent);
  animation: btn-shimmer 2.5s ease-in-out infinite;
}

@keyframes btn-shimmer {
  0%   { opacity: 0; transform: translateX(-100%); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* ══ DANDELION FIELD ════════════════════ */

.dandelion-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.dan-wrap {
  position: absolute;
  pointer-events: none;
  filter: blur(0.3px);
  animation: dan-sway 7s ease-in-out infinite;
}

.dan-wrap:nth-child(2) { animation-duration: 8.5s; animation-direction: alternate-reverse; }
.dan-wrap:nth-child(3) { animation-duration: 6.2s; }
.dan-wrap:nth-child(4) { animation-duration: 9s;   animation-direction: reverse; }
.dan-wrap:nth-child(5) { animation-duration: 7.8s; }
.dan-wrap:nth-child(6) { animation-duration: 6.8s; animation-direction: alternate-reverse; }

@keyframes dan-sway {
  0%,100% { transform: rotate(-2deg) translateY(0px);  }
  50%      { transform: rotate(2.5deg) translateY(-8px); }
}

.dan-wrap svg { width: 100%; height: auto; display: block; }

@media (max-width: 520px) {
  .dan-wrap { opacity: 0.15 !important; }
  .dan-wrap:nth-child(5),
  .dan-wrap:nth-child(6) { display: none; }
}

/* ══ SIMPLIFIED UPLOAD BOXES ════════════ */

.up-box {
  border: 1.5px dashed rgba(201,168,76,0.35);
  border-radius: 10px;
  padding: 1.75rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(201,168,76,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.up-box:hover, .up-box.drag-over {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
}

.up-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white);
}

.up-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

.up-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gold);
  max-height: 180px;
  margin-top: 0.5rem;
}

.up-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.up-preview .btn-change {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
