/* =========================================
   DEBUTANTE ISA FERRARI – DESIGN SYSTEM
   Tema: Azul Escuro + Cinza Claro + Prata
   ========================================= */

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

:root {
  /* ── Paleta ── */
  --bg-deep: #060D1F;
  --bg-base: #0D1733;
  --bg-mid: #111E40;
  --surface: rgba(17, 30, 64, 0.65);
  --surface-hover: rgba(25, 42, 85, 0.85);
  --surface-light: rgba(255, 255, 255, 0.04);

  --primary: #9BB5D4;
  /* icy steel blue */
  --primary-glow: rgba(155, 181, 212, 0.25);
  --silver: #BFC9D6;
  /* light cool gray */
  --gold: #C8A96B;
  /* muted gold accent */
  --white: #EEF2F7;
  --muted: #6B7FA0;
  --danger: #e05555;

  /* ── Typography ── */
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* ── Glass ── */
  --blur: blur(18px);
  --border-glass: 1px solid rgba(255, 255, 255, 0.07);
  --shadow-glass: 0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px var(--primary-glow);

  /* ── Radii ── */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ── Transitions ── */
  --t-fast: 0.2s ease;
  --t-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

input,
textarea,
select {
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

/* ── BACKGROUND LAYERS ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.gradient-base {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(30, 60, 120, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(15, 30, 80, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, var(--bg-base) 0%, var(--bg-deep) 100%);
}

.stars-overlay {
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 65%, rgba(255, 255, 255, 0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 15%, rgba(255, 255, 255, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 40%, rgba(255, 255, 255, 0.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 80%, rgba(155, 181, 212, 0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 45%, rgba(255, 255, 255, 0.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 72% 72%, rgba(155, 181, 212, 0.4) 0%, transparent 100%);
}

/* Floating orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(30, 60, 120, 0.35);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(15, 40, 100, 0.3);
  bottom: -5%;
  right: -5%;
  animation-delay: -4s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(155, 181, 212, 0.12);
  top: 50%;
  right: 10%;
  animation-delay: -2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(6, 13, 31, 0.8);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: var(--border-glass);
}

.navbar-brand {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--silver);
  letter-spacing: 0.05em;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.875rem;
  transition: opacity var(--t-fast);
}

.nav-back:hover {
  opacity: 0.7;
}

.nav-back svg {
  width: 16px;
  height: 16px;
}

/* ── PAGE TRANSITIONS ── */
.page {
  animation: fadeSlideIn var(--t-smooth) forwards;
  padding-top: 72px;
  min-height: 100vh;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── LOADER ── */
.loader-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 1.5rem;
}

.loader-wrapper p {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(155, 181, 212, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

/* ── GLASS CARD ── */
.glass-card {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  padding: 1.75rem;
}

.glass-card-sm {
  padding: 1.25rem;
  border-radius: var(--r-md);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: rgba(155, 181, 212, 0.12);
  border: 1px solid rgba(155, 181, 212, 0.25);
  color: var(--white);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}

.btn-primary:hover {
  background: rgba(155, 181, 212, 0.22);
  border-color: rgba(155, 181, 212, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: linear-gradient(135deg, rgba(155, 181, 212, 0.3), rgba(100, 140, 190, 0.3));
  border: 1px solid rgba(155, 181, 212, 0.4);
  color: var(--white);
}

.btn-accent:hover {
  background: linear-gradient(135deg, rgba(155, 181, 212, 0.45), rgba(100, 140, 190, 0.45));
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ── SECTION HEADER ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2.2rem, 6vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 181, 212, 0.3) 50%, transparent);
  margin: 2rem 0;
}

/* ── FORM GROUP ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.5px;
}

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

/* ── TOAST ── */
#toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
  pointer-events: none;
  width: max-content;
  max-width: 90vw;
}

.toast {
  background: rgba(6, 13, 31, 0.95);
  border: 1px solid var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  text-align: center;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.toast.success {
  border-color: #4ECDC4;
}

.toast.error {
  border-color: var(--danger);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(30, 60, 120, 0.3), transparent 70%);
  pointer-events: none;
}

.hero-monogram {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(155, 181, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--primary);
  box-shadow: var(--shadow-glow), 0 0 0 4px rgba(155, 181, 212, 0.1);
  animation: pulseGlow 3s ease-in-out infinite;
  overflow: hidden;
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 20px var(--primary-glow);
  }

  50% {
    box-shadow: 0 0 50px var(--primary-glow), 0 0 80px rgba(155, 181, 212, 0.1);
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 300;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 3rem;
}

/* ── COUNTDOWN ── */
.countdown {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cd-item {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 0.85rem 1rem;
  min-width: 70px;
  text-align: center;
  box-shadow: var(--shadow-glass);
}

.cd-value {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  line-height: 1;
  text-shadow: 0 0 20px var(--primary-glow);
}

.cd-label {
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
  display: block;
}

/* ── HOME NAV GRID ── */
.home-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.home-nav-item {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 1.35rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  transition: all var(--t-smooth);
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

.home-nav-item svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
  flex-shrink: 0;
}

.home-nav-item span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.home-nav-item:hover {
  background: var(--surface-hover);
  border-color: rgba(155, 181, 212, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.home-nav-item.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  padding: 1rem 1.5rem;
}

.home-nav-item.wide span {
  font-size: 0.9rem;
}

/* ════════════════════════════════════════
   STORIA DA ISA
   ════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.timeline-year {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.timeline-text {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   RSVP
   ════════════════════════════════════════ */
.rsvp-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rsvp-guest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-light);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
}

.rsvp-guest-name {
  font-size: 0.95rem;
  font-weight: 500;
}

.rsvp-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-confirmed {
  background: rgba(78, 205, 196, 0.2);
  color: #4ECDC4;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.badge-pending {
  background: rgba(200, 169, 107, 0.2);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 107, 0.3);
}

/* ════════════════════════════════════════
   UPLOAD / GALLERY
   ════════════════════════════════════════ */
.upload-zone {
  border: 2px dashed rgba(155, 181, 212, 0.3);
  border-radius: var(--r-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  background: var(--surface-light);
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--primary);
  background: rgba(155, 181, 212, 0.06);
}

.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-zone svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 1rem;
}

.upload-zone p {
  color: var(--muted);
  font-size: 0.9rem;
}

.upload-zone strong {
  color: var(--silver);
}

.photo-grid {
  columns: 2;
  column-gap: 0.65rem;
  margin-top: 1.5rem;
}

.photo-card {
  break-inside: avoid;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: var(--border-glass);
  margin-bottom: 0.65rem;
  display: block;
}

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

.photo-card video {
  width: 100%;
  height: auto;
  display: block;
}

.photo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.photo-card:hover .photo-card-overlay {
  opacity: 1;
}

.like-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: var(--white);
  cursor: pointer;
  transition: all var(--t-fast);
}

.like-btn svg {
  width: 14px;
  height: 14px;
}

.like-btn.liked {
  color: #ff6b9d;
  border-color: rgba(255, 107, 157, 0.4);
}

.like-btn:hover {
  transform: scale(1.05);
}

/* Status badge on photo (moderação) */
.photo-status {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.5px;
}

.status-approved {
  background: rgba(78, 205, 196, 0.85);
  color: #062626;
}

.status-pending {
  background: rgba(200, 169, 107, 0.85);
  color: #3d2900;
}

.status-rejected {
  background: rgba(224, 85, 85, 0.85);
  color: #200000;
}

/* ── TELÃO / SLIDESHOW ── */
.telao-banner {
  background: linear-gradient(135deg, rgba(155, 181, 212, 0.15), rgba(100, 140, 190, 0.1));
  border: 1px solid rgba(155, 181, 212, 0.3);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.telao-banner svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ── QR CODE ── */
.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.qr-wrapper canvas,
.qr-wrapper img {
  border-radius: var(--r-md);
  padding: 1rem;
  background: white;
}

.qr-url {
  font-size: 0.8rem;
  color: var(--muted);
  word-break: break-all;
  text-align: center;
}

/* ════════════════════════════════════════
   MUSIC REQUESTS
   ════════════════════════════════════════ */
.music-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.music-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-light);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  transition: all var(--t-fast);
}

.music-item:hover {
  background: var(--surface-hover);
}

.music-rank {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 28px;
  text-align: center;
}

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

.music-title {
  font-size: 0.95rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-artist {
  font-size: 0.8rem;
  color: var(--muted);
}

.music-votes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--silver);
}

.music-votes svg {
  width: 14px;
  height: 14px;
}

.vote-btn {
  background: rgba(155, 181, 212, 0.1);
  border: 1px solid rgba(155, 181, 212, 0.2);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--t-fast);
}

.vote-btn svg {
  width: 13px;
  height: 13px;
}

.vote-btn:hover {
  background: rgba(155, 181, 212, 0.25);
  transform: scale(1.05);
}

.vote-btn.voted {
  color: #4ECDC4;
  border-color: rgba(78, 205, 196, 0.4);
}

/* ════════════════════════════════════════
   MURAL DE MENSAGENS
   ════════════════════════════════════════ */
.message-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.message-item {
  background: var(--surface-light);
  border: var(--border-glass);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  animation: fadeSlideIn var(--t-smooth) forwards;
}

.message-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.message-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), rgba(100, 140, 190, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-deep);
}

.message-name {
  font-size: 0.9rem;
  font-weight: 600;
}

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

.message-text {
  font-size: 0.92rem;
  color: var(--silver);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   RANKING
   ════════════════════════════════════════ */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-light);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  transition: all var(--t-fast);
}

.ranking-item:first-child {
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.15), rgba(155, 181, 212, 0.1));
  border-color: rgba(200, 169, 107, 0.25);
}

.rank-pos {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 30px;
  text-align: center;
}

.rank-1 {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(200, 169, 107, 0.4);
}

.rank-2 {
  color: var(--silver);
}

.rank-3 {
  color: #b07d57;
}

.rank-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: var(--border-glass);
  background: var(--surface);
}

.rank-info {
  flex: 1;
}

.rank-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.rank-likes {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.rank-likes svg {
  width: 13px;
  height: 13px;
  color: #ff6b9d;
}

/* ════════════════════════════════════════
   PLAYLIST
   ════════════════════════════════════════ */
.spotify-embed {
  border-radius: var(--r-lg) !important;
  min-height: 352px;
  width: 100%;
  border: var(--border-glass);
}

/* ════════════════════════════════════════
   PÓS-EVENTO / PASSWORD GATE
   ════════════════════════════════════════ */
.lock-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-glass);
}

.lock-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

/* ── MODERATION PANEL (DJ / Admin) ── */
.mod-panel {
  background: rgba(224, 85, 85, 0.06);
  border: 1px solid rgba(224, 85, 85, 0.2);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.mod-panel-title {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--danger);
  margin-bottom: 0.5rem;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  background: var(--surface-light);
  border: var(--border-glass);
  color: var(--muted);
  transition: all var(--t-fast);
}

.tab-btn.active {
  background: rgba(155, 181, 212, 0.2);
  border-color: rgba(155, 181, 212, 0.35);
  color: var(--white);
}

.tab-btn:hover:not(.active) {
  color: var(--silver);
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  margin: 0 auto 1rem;
}

.empty-state p {
  font-size: 0.9rem;
}

/* ── CHIP / BADGE ── */
.chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--surface);
  border: var(--border-glass);
  color: var(--silver);
}

/* ── ADMIN PHOTO GRID ── */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 480px) {
  .admin-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── ADMIN STATS ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  background: var(--surface-light);
  border: var(--border-glass);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-stat span {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.admin-stat small {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.footer span {
  color: var(--primary);
}

/* ── SHIMMER (skeleton loading) ── */
.shimmer {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 1.75rem 1.25rem;
  }

  .hero {
    padding: 5.5rem 1.25rem 2rem;
  }

  .countdown {
    gap: 0.4rem;
  }

  .cd-item {
    min-width: 62px;
    padding: 0.75rem 0.5rem;
  }

  .cd-value {
    font-size: 1.7rem;
  }

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

  .navbar {
    padding: 0.85rem 1.25rem;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .photo-grid {
    gap: 0.5rem;
  }
}