:root {
  /* Color palette - elegant wedding theme */
  --primary: #c9a87c;
  --primary-dark: #a88a5f;
  --primary-light: #0064ff;
  --accent: #5c4a3d;
  --text: #2d2d2d;
  --text-light: #666;
  --bg: #faf9f7;
  --bg-card: #ffffff;
  --bg-dark: #1a1a1a;
  --success: #4caf50;
  --error: #e53935;
  --warning: #ff9800;
  --border: rgba(0, 0, 0, 0.08);

  /* Liquid Glass Design Variables */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-solid: rgba(255, 255, 255, 0.85);
  --glass-blur: 24px;
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-border-light: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
  --glass-inset: inset 0 1px 1px rgba(255, 255, 255, 0.4);

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  /* Border radius - more rounded for Liquid Glass */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
}

/* Fixed backgrounds - stacked with z-index */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
}

.bg-fixed img,
.bg-fixed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Bottom background - sits behind everything */
.bg-bottom {
  z-index: -2;
}

/* Top background - sits above bottom, clips on scroll */
.bg-top {
  z-index: -1;
}

/* Dark overlay for text readability */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

/* Transparent section - shows through to fixed background */
.section-transparent {
  background: transparent;
  position: relative;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

#rsvp-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#rsvp-section .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==================== */
/* LIQUID GLASS BUTTONS */
/* ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(201, 168, 124, 0.4), var(--glass-inset);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(201, 168, 124, 0.5), var(--glass-inset);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

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

.btn-secondary {
  background: rgba(92, 74, 61, 0.1);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: var(--accent);
  border: 1px solid rgba(92, 74, 61, 0.2);
}

.btn-secondary:hover {
  background: rgba(92, 74, 61, 0.2);
  color: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  border: 1px solid var(--glass-border-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

/* ==================== */
/* LIQUID GLASS FORMS   */
/* ==================== */

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--glass-inset);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(201, 168, 124, 0.2), var(--glass-inset);
  background: rgba(255, 255, 255, 0.95);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ==================== */
/* LIQUID GLASS CARDS   */
/* ==================== */

.card {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  padding: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lg), var(--glass-inset);
}

.card-title {
  margin-bottom: var(--space-md);
  color: var(--accent);
}

/* Glass Card on dark/image backgrounds */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  padding: var(--space-lg);
}

/* ==================== */
/* INFO SECTION         */
/* ==================== */

.info-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.info-section-bg {
  position: absolute;
  inset: 0;
  background-image: url('/bgs/Hero_0003_bg1.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.info-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.info-section-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-md);
  width: 100%;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-lg);
}

.info-card-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card-item .card-title {
  color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
  .info-section {
    align-items: center;
    padding-bottom: 0;
  }

  .info-section-content {
    padding: var(--space-xl) var(--space-sm);
    width: 100%;
  }

  .info-cards-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 0;
  }

  .info-card-item {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: var(--space-md);
  }
}

@media (max-width: 640px) {
  .iban-container {
    flex-direction: column !important;
    text-align: center;
    gap: var(--space-xs) !important;
    padding: var(--space-sm) !important;
    font-size: 0.85rem !important;
  }
}

/* ==================== */
/* HERO SECTION         */
/* ==================== */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

/* Glass panel behind hero content */
.hero-glass {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.mobile-hero {
  display: none;
}

@media (max-width: 640px) {

  /* Disable grid stacking so video and content flow naturally on mobile */
  .top-wrapper {
    display: block !important;
  }

  /* Hide the video on mobile completely */
  #bgTop {
    display: none !important;
  }

  /* Hide the overlaid desktop hero */
  .desktop-hero {
    display: none !important;
  }

  /* Show the mobile hero full height */
  .mobile-hero {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding: var(--space-xl) var(--space-md);
    background-image: url('/bgs/Hero_0001_Remove-tool-edits.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
  }

  /* Dark overlay for text readability on the mobile hero image */
  .mobile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }

  .mobile-hero .hero-glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  /* Reduce Hero Spacing on Mobile so it fits in 100vh */
  .mobile-hero .hero-logo {
    max-height: 200px;
    margin: 0;
  }

  .mobile-hero .hero-date {
    margin: var(--space-sm) 0;
    font-size: 1.25rem;
  }

  .mobile-hero .hero-place {
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
  }

  .mobile-hero .hero-cta-buttons {
    margin-top: var(--space-sm);
  }

  /* Reduce Info Card Padding & Spacing on Mobile */
  .info-cards-grid {
    gap: var(--space-sm);
  }

  .info-card-item {
    padding: var(--space-sm) var(--space-md);
  }

  .info-card-item .card-title {
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
  }

  .info-card-item p {
    font-size: 0.85rem !important;
    margin-bottom: var(--space-xs) !important;
    line-height: 1.4 !important;
  }

  .info-card-item .info-icon {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
  }
}

.hero-pre {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-ampersand {
  font-size: clamp(1.5rem, 6vw, 3rem);
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin: var(--space-xs) 0;
}

.hero-date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin: var(--space-md) 0;
  letter-spacing: 0.1em;
}

.hero-logo {
  max-width: 100%;
  width: auto;
  max-height: 280px;
  margin: var(--space-xs) 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-place {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-place:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  color: white;
}

.place-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.place-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.place-address {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
}

.hero-cta {
  margin-top: var(--space-lg);
}

.hero-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.hero-cta-buttons .btn {
  flex: 1 1 160px;
  min-width: 160px;
  max-width: 240px;
  text-align: center;
}

@media (max-width: 480px) {
  .hero-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-buttons .btn {
    max-width: 100%;
    flex: 1 1 auto;
  }
}

.hero-btn-info {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.03em;
}

.hero-btn-info:hover {
  background: rgba(255, 255, 255, 0.22);
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-btn-rsvp {
  background: #FE423A;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(254, 66, 58, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.03em;
}

.hero-btn-rsvp:hover {
  background: #e5332b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254, 66, 58, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-btn-rsvp:active,
.hero-btn-info:active {
  transform: translateY(0) scale(0.98);
}

/* ==================== */
/* INFO SECTION         */
/* ==================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.info-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow), var(--glass-inset);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--glass-shadow-lg), var(--glass-inset);
}

.info-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.info-card h3 {
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

/* ==================== */
/* STATUS BADGES        */
/* ==================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-pending {
  background: rgba(255, 152, 0, 0.2);
  color: #e08600;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.badge-accepted {
  background: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge-declined {
  background: rgba(229, 57, 53, 0.2);
  color: #c62828;
  border: 1px solid rgba(229, 57, 53, 0.3);
}

/* ==================== */
/* GUEST CARD           */
/* ==================== */

.guest-card {
  padding: var(--space-md);
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  transition: all 0.3s ease;
  box-shadow: var(--glass-shadow);
}

.guest-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow-lg);
}

.guest-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.guest-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
}

/* ==================== */
/* STATUS SELECTOR      */
/* ==================== */

.status-selector {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.status-option {
  position: relative;
}

.status-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.status-option label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.status-option label:hover {
  background: rgba(255, 255, 255, 0.8);
}

.status-option input:checked+label {
  border-color: var(--primary);
  background: rgba(201, 168, 124, 0.15);
}

.status-option.accepted input:checked+label {
  border-color: var(--success);
  background: rgba(76, 175, 80, 0.15);
}

.status-option.declined input:checked+label {
  border-color: var(--error);
  background: rgba(229, 57, 53, 0.15);
}

/* ==================== */
/* LOADING SPINNER      */
/* ==================== */

.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(201, 168, 124, 0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ==================== */
/* MESSAGES             */
/* ==================== */

.message {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.message-error {
  background: rgba(229, 57, 53, 0.12);
  border: 1px solid rgba(229, 57, 53, 0.25);
  color: #c62828;
}

.message-success {
  background: rgba(76, 175, 80, 0.12);
  border: 1px solid rgba(76, 175, 80, 0.25);
  color: #2e7d32;
}

/* ==================== */
/* ADMIN TABLE          */
/* ==================== */

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.data-table th {
  font-weight: 600;
  color: var(--text-light);
  background: rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: rgba(201, 168, 124, 0.08);
}

/* ==================== */
/* MODAL                */
/* ==================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: var(--space-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--glass-shadow-lg);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.modal-close {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text);
}

/* ==================== */
/* FOOTER               */
/* ==================== */

.footer {
  text-align: center;
  padding: var(--space-xl);
  font-size: 0.875rem;
}

/* ==================== */
/* UTILITIES            */
/* ==================== */

.hidden {
  display: none !important;
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

/* Staggered animation for cards */
.info-card:nth-child(1) {
  animation-delay: 0.1s;
}

.info-card:nth-child(2) {
  animation-delay: 0.2s;
}

.info-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* ==================== */
/* RESPONSIVE           */
/* ==================== */

@media (max-width: 768px) {
  .hero {
    padding: var(--space-lg);
  }

  .hero-glass {
    padding: var(--space-lg);
  }

  .hero-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .hero-place {
    font-size: 0.875rem;
    padding: var(--space-xs) var(--space-sm);
  }

  .hero-logo {
    max-height: 180px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .btn-lg {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================== */
/* ADMIN LIQUID DASHBOARD */
/* ==================== */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-md);
  align-items: start;
}

.nucleo-card {
  background: var(--glass-bg-solid);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.nucleo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0.8;
}

.nucleo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-lg);
  border-color: var(--primary);
}

.nucleo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nucleo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nucleo-id {
  font-size: 0.75rem;
  opacity: 0.5;
  font-weight: 400;
  display: none;
  /* Hidden as per request */
}

.nucleo-actions {
  display: flex;
  gap: 0.5rem;
}

.member-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.member-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.member-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--primary-light);
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.member-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}

.member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-details {
  display: flex;
  flex-direction: column;
}

.member-name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  font-size: 0.95rem;
}

.member-meta {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  gap: 0.5rem;
  margin-top: 2px;
  align-items: center;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 0, 0, 0.03);
  padding: 1px 6px;
  border-radius: 4px;
}

.member-actions {
  opacity: 0;
  transition: opacity 0.2s;
}

.member-item:hover .member-actions {
  opacity: 1;
}

.admin-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
}