html {
  font-size: 14px;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body,
button,
input,
select,
textarea {
  font-family: "Ubuntu", sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--color-primary);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(196, 101, 85, 0.25), 0 0 0 0.25rem rgba(196, 101, 85, 0.2);
}

.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.text-muted-emphasis {
  color: var(--color-muted);
}

.bg-primary-subtle {
  background-color: rgba(196, 101, 85, 0.2) !important;
}

.text-primary-emphasis {
  color: var(--color-secondary);
}

.letter-spaced {
  letter-spacing: 0.18em;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-left: -12px;
  position: relative;
}

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

main {
  background: transparent;
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
}

section + section {
  margin-top: clamp(2rem, 6vw, 3.5rem);
}

.simple-slider-section .carousel {
  max-width: 720px;
  margin: 0 auto;
}

.simple-slide-card {
  background: var(--color-surface);
  border: 1px solid rgba(18, 19, 29, 0.08);
  border-radius: 20px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 520px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(18, 19, 29, 0.08);
}

.simple-slide-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(196, 101, 85, 0.12);
  color: var(--color-primary-strong);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin: 0 auto;
}

.simple-slide-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--color-muted);
  font-weight: 500;
}

.simple-slide-list li i {
  color: var(--color-primary);
  margin-right: 0.35rem;
}

.simple-carousel .carousel-control-prev,
.simple-carousel .carousel-control-next {
  width: 10%;
}

.simple-carousel .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.hatiragram-hero {
  position: relative;
  overflow: hidden;
}

.hatiragram-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(196, 101, 85, 0.15);
  color: var(--color-secondary);
}

.hatiragram-feedback {
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(18, 19, 29, 0.1);
}

.hatiragram-layout {
  align-items: flex-start;
}

.hatiragram-feed {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.hatiragram-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(196, 101, 85, 0.12);
  color: var(--color-primary-strong);
  font-weight: 600;
  font-size: 1rem;
}

.hatiragram-empty {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 19, 29, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hatiragram-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 19, 29, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(18, 19, 29, 0.14);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: grid;
  gap: 1.1rem;
}

.hatiragram-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hatiragram-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(196, 101, 85, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.65rem;
}

body.invite-theme .hatiragram-card,
body.invite-theme .hatiragram-form.card,
body.invite-theme .hatiragram-pending.card,
body.invite-theme .hatiragram-pending-item,
body.invite-theme .hatiragram-empty {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--invite-text-color);
}

body.invite-theme .hatiragram-card__avatar {
  background: rgba(255, 255, 255, 0.2);
}

body.invite-theme .hatiragram-pill {
  background: rgba(255, 255, 255, 0.2);
  color: var(--invite-text-color);
}

.hatiragram-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.hatiragram-card__time {
  font-size: 0.85rem;
  color: rgba(18, 19, 29, 0.55);
}

.hatiragram-card__media img,
.hatiragram-card__media video {
  width: 100%;
  display: block;
}

.hatiragram-card__caption {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.hatiragram-card__footer {
  display: flex;
  justify-content: flex-start;
}

.hatiragram-like-form {
  display: inline-flex;
}

.hatiragram-like-button {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 101, 85, 0.14);
  color: var(--color-primary-strong);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hatiragram-like-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(196, 101, 85, 0.25);
}

.hatiragram-form .hatiragram-avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.hatiragram-avatar-option {
  position: relative;
  border: 1px solid rgba(18, 19, 29, 0.08);
  border-radius: 18px;
  padding: 0.85rem;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: border 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  background: rgba(255, 255, 255, 0.95);
}

.hatiragram-avatar-option input[type="radio"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.hatiragram-avatar-option.is-active,
.hatiragram-avatar-option:hover {
  border-color: rgba(196, 101, 85, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(196, 101, 85, 0.15);
}

body.invite-theme .hatiragram-form input,
body.invite-theme .hatiragram-form textarea,
body.invite-theme .hatiragram-form select {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--invite-text-color);
}

body.invite-theme .hatiragram-form input::placeholder,
body.invite-theme .hatiragram-form textarea::placeholder {
  color: var(--invite-muted-color);
}

.hatiragram-avatar-icon {
  font-size: 1.8rem;
}

.hatiragram-avatar-label {
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

.hatiragram-pending-list {
  display: grid;
  gap: 1rem;
}

.hatiragram-pending-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  border: 1px solid rgba(18, 19, 29, 0.08);
  border-radius: 18px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
}

.hatiragram-pending-thumb img,
.hatiragram-pending-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

@media (max-width: 992px) {
  .hatiragram-pending-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hatiragram-card {
    border-radius: 20px;
  }

  .hatiragram-card__avatar {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

.gradient-surface {
  background: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.12), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-strong) 60%, #1f1835 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(30, 22, 46, 0.35);
}

.gradient-surface-light {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 237, 229, 0.95) 55%, rgba(236, 221, 210, 0.92) 100%);
  color: var(--color-secondary);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 101, 85, 0.15);
  box-shadow: 0 24px 48px rgba(25, 18, 40, 0.12);
}

.pattern-dot {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.home-hero > *:not(.pattern-dot) {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta {
  min-width: 210px;
}

.hero-trust__avatars .avatar {
  background: rgba(255, 255, 255, 0.95);
}

.badge.bg-primary-soft i,
.badge.text-bg-primary-soft i {
  color: inherit;
}

.glass-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(17, 9, 30, 0.18);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  position: relative;
}

.hero-carousel-basic {
  position: relative;
}

.hero-carousel-basic .carousel-inner img {
  object-fit: cover;
  min-height: 320px;
}

.hero-carousel-basic .carousel-indicators {
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-carousel-basic .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

.hero-carousel-basic .carousel-indicators .active {
  background-color: var(--color-white);
}

.hero-carousel-basic__caption {
  background: rgba(18, 19, 29, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 0.85rem 1.15rem;
}

.hero-carousel-basic__control {
  width: 48px;
}

.hero-carousel-basic .carousel-control-prev-icon,
.hero-carousel-basic .carousel-control-next-icon {
  filter: drop-shadow(0 10px 25px rgba(18, 19, 29, 0.35));
}

.section-heading {
  max-width: 640px;
  margin-inline: auto;
}

.feature-card {
  background: var(--color-surface);
  border-radius: 28px;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  border: 1px solid rgba(50, 50, 70, 0.08);
  box-shadow: 0 24px 45px rgba(25, 18, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px rgba(25, 18, 40, 0.14);
}

.feature-card p {
  color: var(--color-muted);
}

.feature-card ul {
  margin-top: 1.25rem;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.feature-card ul li {
  position: relative;
  color: var(--color-muted-strong);
}

.icon-gradient {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(196, 101, 85, 0.24), rgba(196, 101, 85, 0.05));
  color: var(--color-primary);
}

.surface-card {
  background: var(--color-surface);
  border-radius: 26px;
  border: 1px solid rgba(196, 101, 85, 0.08);
  box-shadow: 0 20px 40px rgba(23, 20, 35, 0.1);
}

.surface-card .card-body {
  color: var(--color-secondary);
}

.surface-muted {
  background: linear-gradient(135deg, rgba(196, 101, 85, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(196, 101, 85, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.page-hero,
.invite-hero,
.upload-hero {
  margin-inline: clamp(0rem, 2vw, 1rem);
  padding: clamp(2.5rem, 6vw, 3.75rem) 0;
}

body.invite-theme {
  --invite-bg: linear-gradient(135deg, #31214f, #8e5ed5);
  --invite-text-color: #ffffff;
  --invite-muted-color: rgba(255, 255, 255, 0.8);
  --invite-card-bg: rgba(255, 255, 255, 0.12);
  --invite-badge-bg: rgba(255, 255, 255, 0.16);
  --invite-badge-color: #ffffff;
  --invite-chip-bg: rgba(0, 0, 0, 0.35);
  --invite-chip-color: #ffffff;
  --invite-button-bg: #ffffff;
  --invite-button-color: #1f1f1f;
  background: var(--invite-bg);
  color: var(--invite-text-color);
}

body.invite-theme main {
  background: transparent;
  color: var(--invite-text-color);
}

body.invite-theme .surface-card,
body.invite-theme .glass-card {
  background: var(--invite-card-bg);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--invite-text-color);
}

body.invite-theme .text-muted,
body.invite-theme .text-white-50,
body.invite-theme .text-white-75,
body.invite-theme .text-muted-emphasis {
  color: var(--invite-muted-color) !important;
}

body.invite-theme .btn.btn-primary {
  background: var(--invite-button-bg);
  color: var(--invite-button-color);
  border-color: transparent;
}

body.invite-theme .btn.btn-outline-primary,
body.invite-theme .btn.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--invite-text-color);
}

body.invite-theme .invite-hero {
  background: var(--invite-bg);
  color: var(--invite-text-color);
}

.invite-hero .lead,
.invite-hero .text-white-50,
.invite-hero .text-white-75 {
  color: var(--invite-muted-color) !important;
}

.invite-badge,
.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--invite-badge-bg, rgba(255, 255, 255, 0.16));
  color: var(--invite-badge-color, var(--color-white));
  font-size: 0.75rem;
}

.invite-theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  background: var(--invite-chip-bg, rgba(0, 0, 0, 0.25));
  color: var(--invite-chip-color, #ffffff);
}

.invite-date-card {
  background: var(--invite-card-bg, rgba(255, 255, 255, 0.12));
  border-radius: 24px;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: var(--invite-text-color, var(--color-white));
}

.invite-date-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.3rem;
}

.invite-stats .stats-icon,
.upload-meta-card .stats-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.invite-stats .d-flex,
.upload-meta-card .meta-row {
  position: relative;
}

.invite-stats .d-flex::after,
.upload-meta-card .meta-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
}

.invite-stats .d-flex:last-child::after,
.upload-meta-card .meta-row:last-child::after {
  display: none;
}

.invite-media-frame {
  max-width: 640px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(196, 101, 85, 0.12);
  box-shadow: 0 24px 45px rgba(25, 18, 40, 0.16);
}

.invite-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card__media {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  display: block;
  background: rgba(0, 0, 0, 0.05);
}

.gallery-card__body {
  padding: 1.25rem 1.5rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 0.6rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}

.hero-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
  color: var(--color-white);
}

body.invite-theme.invite-theme--minecraft {
  --invite-bg: linear-gradient(135deg, #1b4332, #2d6a4f, #40916c);
  --invite-text-color: #f3fff1;
  --invite-muted-color: rgba(243, 255, 241, 0.8);
  --invite-card-bg: rgba(16, 52, 35, 0.6);
  --invite-badge-bg: rgba(6, 24, 14, 0.5);
  --invite-chip-bg: rgba(6, 24, 14, 0.55);
  --invite-chip-color: #d8ffe3;
  --invite-button-bg: #fefae0;
  --invite-button-color: #2b402f;
}

body.invite-theme.invite-theme--princess {
  --invite-bg: linear-gradient(135deg, #ffd6e0, #fcbad3, #ff99c8);
  --invite-text-color: #431c2c;
  --invite-muted-color: rgba(67, 28, 44, 0.8);
  --invite-card-bg: rgba(255, 255, 255, 0.45);
  --invite-badge-bg: rgba(255, 255, 255, 0.65);
  --invite-chip-bg: rgba(255, 255, 255, 0.75);
  --invite-chip-color: #431c2c;
  --invite-button-bg: #ffffff;
  --invite-button-color: #cc3366;
}

body.invite-theme.invite-theme--star-soccer {
  --invite-bg: linear-gradient(135deg, #001845, #14213d, #0077b6);
  --invite-text-color: #e7f5ff;
  --invite-muted-color: rgba(231, 245, 255, 0.8);
  --invite-card-bg: rgba(0, 32, 70, 0.55);
  --invite-badge-bg: rgba(0, 0, 0, 0.35);
  --invite-chip-bg: rgba(0, 0, 0, 0.45);
  --invite-chip-color: #b2ff59;
  --invite-button-bg: #b2ff59;
  --invite-button-color: #072227;
}

body.invite-theme.invite-theme--romeo-juliet {
  --invite-bg: linear-gradient(135deg, #7f1d1d, #a4133c, #ff4d6d);
  --invite-text-color: #fff0f3;
  --invite-muted-color: rgba(255, 240, 243, 0.82);
  --invite-card-bg: rgba(65, 7, 36, 0.55);
  --invite-badge-bg: rgba(0, 0, 0, 0.3);
  --invite-chip-bg: rgba(0, 0, 0, 0.35);
  --invite-chip-color: #ffccd5;
  --invite-button-bg: #ffe5ec;
  --invite-button-color: #a4133c;
}

body.invite-theme.invite-theme--einstein {
  --invite-bg: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77);
  --invite-text-color: #e0fbfc;
  --invite-muted-color: rgba(224, 251, 252, 0.8);
  --invite-card-bg: rgba(12, 20, 32, 0.6);
  --invite-badge-bg: rgba(255, 255, 255, 0.2);
  --invite-chip-bg: rgba(255, 255, 255, 0.25);
  --invite-chip-color: #ffd166;
  --invite-button-bg: #ffd166;
  --invite-button-color: #1b263b;
}

body.invite-theme.invite-theme--neon-city {
  --invite-bg: linear-gradient(135deg, #0f0c29, #302b63, #f72585);
  --invite-text-color: #f8f7ff;
  --invite-muted-color: rgba(248, 247, 255, 0.78);
  --invite-card-bg: rgba(11, 4, 35, 0.6);
  --invite-badge-bg: rgba(255, 255, 255, 0.18);
  --invite-chip-bg: rgba(247, 37, 133, 0.35);
  --invite-chip-color: #ffffff;
  --invite-button-bg: #f72585;
  --invite-button-color: #fff;
}

body.invite-theme.invite-theme--floral-bloom {
  --invite-bg: linear-gradient(135deg, #ff9a8b, #ff6a88, #ff99a1);
  --invite-text-color: #47241d;
  --invite-muted-color: rgba(71, 36, 29, 0.8);
  --invite-card-bg: rgba(255, 255, 255, 0.5);
  --invite-badge-bg: rgba(255, 255, 255, 0.65);
  --invite-chip-bg: rgba(255, 255, 255, 0.75);
  --invite-chip-color: #47241d;
  --invite-button-bg: #ffffff;
  --invite-button-color: #ff6a88;
}

body.invite-theme.invite-theme--ocean-breeze {
  --invite-bg: linear-gradient(135deg, #03045e, #0077b6, #00b4d8);
  --invite-text-color: #e0fbfc;
  --invite-muted-color: rgba(224, 251, 252, 0.85);
  --invite-card-bg: rgba(1, 22, 56, 0.55);
  --invite-badge-bg: rgba(255, 255, 255, 0.2);
  --invite-chip-bg: rgba(0, 0, 0, 0.35);
  --invite-chip-color: #caf0f8;
  --invite-button-bg: #caf0f8;
  --invite-button-color: #023e8a;
}

body.invite-theme.invite-theme--sunset-beach {
  --invite-bg: linear-gradient(135deg, #ff7e5f, #feb47b, #ffd166);
  --invite-text-color: #3b1d12;
  --invite-muted-color: rgba(59, 29, 18, 0.75);
  --invite-card-bg: rgba(255, 255, 255, 0.55);
  --invite-badge-bg: rgba(255, 255, 255, 0.7);
  --invite-chip-bg: rgba(255, 255, 255, 0.75);
  --invite-chip-color: #3b1d12;
  --invite-button-bg: #fff5d7;
  --invite-button-color: #b3541e;
}

body.invite-theme.invite-theme--midnight-garden {
  --invite-bg: linear-gradient(135deg, #1b1b2f, #16213e, #0f3460);
  --invite-text-color: #fefefe;
  --invite-muted-color: rgba(254, 254, 254, 0.8);
  --invite-card-bg: rgba(0, 0, 0, 0.45);
  --invite-badge-bg: rgba(255, 255, 255, 0.2);
  --invite-chip-bg: rgba(0, 0, 0, 0.4);
  --invite-chip-color: #c77dff;
  --invite-button-bg: #c77dff;
  --invite-button-color: #1b1b2f;
}

.check-circle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(196, 101, 85, 0.16);
  color: var(--color-primary);
  font-size: 1.1rem;
}

.glass-card .check-circle {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.about-values-card ul {
  display: grid;
  gap: 1rem;
}

.about-values-card li {
  align-items: flex-start;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.info-grid__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted-strong);
}

.mini-list li {
  position: relative;
  padding-left: 1.2rem;
}

.mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
}

.mini-list--alt li::before {
  color: var(--color-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.team-card .avatar {
  margin-left: 0;
}

.memory-theme-option {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 1rem;
  width: 100%;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: block;
  background: var(--color-white);
}

.memory-theme-option input {
  position: absolute;
  opacity: 0;
}

.memory-theme-swatch {
  display: block;
  width: 100%;
  height: 110px;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.memory-theme-option strong {
  display: block;
  font-size: 0.95rem;
}

.memory-theme-option small {
  font-size: 0.8rem;
}

.memory-theme-option.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 16px 30px rgba(13, 10, 30, 0.12);
  transform: translateY(-2px);
}

.status-pill--info {
  background: rgba(196, 101, 85, 0.12);
  color: var(--color-secondary);
  border: 1px solid rgba(196, 101, 85, 0.2);
}

.faq-summary {
  display: grid;
  gap: 1.5rem;
}

.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 24px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  gap: 0.75rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-secondary);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(196, 101, 85, 0.12);
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(196, 101, 85, 0.08);
  color: var(--color-secondary);
}

.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--color-muted-strong);
}

.contact-highlights {
  display: grid;
  gap: 1.25rem;
}

.contact-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-highlight .check-circle {
  flex-shrink: 0;
}

.privacy-card {
  display: grid;
  gap: 1rem;
}

.policy-update-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.whyfree-promise-card ul li::before {
  color: var(--color-primary);
}
.invite-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.detail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(196, 101, 85, 0.12);
  font-size: 1.1rem;
}

.invite-cta-box {
  border: 1px solid rgba(196, 101, 85, 0.18);
  box-shadow: 0 18px 34px rgba(25, 18, 40, 0.12);
}

.invite-response-section {
  background: linear-gradient(160deg, rgba(246, 241, 235, 0.95) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.plus-options[data-visible="false"],
#PlusCountContainer[data-visible="false"] {
  display: none;
}

.upload-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.upload-meta-card {
  display: grid;
  gap: 1.75rem;
}

.upload-meta-card .meta-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.upload-card-info .upload-guidelines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.upload-card-info .upload-guidelines li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--color-muted-strong);
}

.upload-card-info .upload-guidelines i {
  color: var(--color-primary);
}

.status-pill {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.status-pill--warning {
  background: rgba(255, 180, 90, 0.18);
  color: #ffb45a;
}

.upload-form .input-group-text {
  background: rgba(196, 101, 85, 0.08);
  border: 1px solid rgba(196, 101, 85, 0.15);
}

.upload-dropzone {
  border: 2px dashed rgba(196, 101, 85, 0.35);
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(196, 101, 85, 0.05);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.upload-dropzone .icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(196, 101, 85, 0.18);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}

.upload-dropzone input[type="file"] {
  margin-top: 1.5rem;
}

.upload-dropzone.is-active {
  border-color: var(--color-primary);
  background: rgba(196, 101, 85, 0.12);
}

.promise-grid {
  background: var(--color-surface);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid rgba(196, 101, 85, 0.12);
  box-shadow: 0 34px 65px rgba(25, 18, 40, 0.1);
}

.promise-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.promise-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  color: var(--color-muted-strong);
}

.promise-list i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.metric-card {
  background: linear-gradient(145deg, rgba(196, 101, 85, 0.12), rgba(255, 255, 255, 0.9));
  border-radius: 28px;
  padding: 1.8rem;
  border: 1px solid rgba(196, 101, 85, 0.18);
  box-shadow: 0 18px 36px rgba(26, 21, 39, 0.1);
  height: 100%;
}

.metric-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.experience-section {
  background: var(--color-surface);
  border-radius: 40px;
  padding: clamp(2.2rem, 5vw, 3rem);
  box-shadow: 0 32px 55px rgba(25, 18, 40, 0.12);
}

.experience-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(196, 101, 85, 0.45), rgba(196, 101, 85, 0));
}

.experience-timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
}

.experience-timeline li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
}

.timeline-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(196, 101, 85, 0.18);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.2rem;
}

.experience-timeline h3 {
  margin-bottom: 0.35rem;
}

.timeline-builder-card {
  position: relative;
}

.timeline-builder__list {
  display: flex;
  flex-direction: column;
}

.timeline-builder__item {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 1.25rem;
  background-color: var(--bs-body-bg);
}

.timeline-builder__step {
  min-width: 2.25rem;
  text-align: center;
  font-weight: 600;
  border-radius: 999px;
}

.timeline-builder__empty {
  border: 1px dashed rgba(99, 102, 241, 0.3);
  color: #6b7280;
  background-color: rgba(99, 102, 241, 0.05);
}

.timeline-builder--limit [data-timeline-add] {
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.35);
  }

  100% {
    box-shadow: 0 0 0 14px rgba(99, 102, 241, 0);
  }
}

.timeline-emoji-input {
  font-size: 1.25rem;
  text-align: center;
}

.memory-timeline {
  position: relative;
  padding-left: 1.5rem;
  margin: 0;
}

.memory-timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0.6rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.35), rgba(99, 102, 241, 0));
}

.memory-timeline__item {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.memory-timeline__item:last-child {
  padding-bottom: 0;
}

.memory-timeline__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.memory-timeline__title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.memory-timeline__description {
  color: #6c757d;
  margin-bottom: 0;
}

.memory-timeline--invite .memory-timeline__icon {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.memory-timeline--invite .memory-timeline__title {
  color: #fff;
}

.memory-timeline--invite .memory-timeline__description {
  color: rgba(255, 255, 255, 0.75);
}

.memory-timeline--modal {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.support-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  gap: 1rem;
}

.support-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(196, 101, 85, 0.18);
  color: var(--color-primary);
  font-size: 1.6rem;
}

.testimonials {
  background: var(--color-surface);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 30px 60px rgba(25, 18, 40, 0.12);
  border-radius: 40px;
}

.testimonial-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-secondary);
  position: relative;
  margin: 0;
}

.testimonial-card blockquote::before {
  content: "“";
  font-size: 4rem;
  opacity: 0.12;
  position: absolute;
  top: -1.5rem;
  left: -1rem;
  font-family: "Georgia", serif;
}

.rating {
  color: #ffb15e;
  display: inline-flex;
  gap: 0.25rem;
}

.app-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
}

.app-table thead th {
  border: none;
  color: var(--color-muted-strong);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.5rem;
}

.app-table tbody tr {
  background: var(--color-surface);
  box-shadow: 0 12px 30px rgba(23, 20, 35, 0.08);
  border-radius: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-table tbody tr:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(23, 20, 35, 0.18);
}

.app-table tbody td {
  padding: 1.4rem 1.5rem;
  vertical-align: middle;
  border-top: none;
}

.app-table tbody td:first-child {
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
}

.app-table tbody td:last-child {
  border-top-right-radius: 22px;
  border-bottom-right-radius: 22px;
}

.app-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(196, 101, 85, 0.1);
  color: var(--color-primary);
}

.app-chip--soft {
  background: rgba(196, 101, 85, 0.12);
  color: var(--color-primary);
}

.app-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.4rem;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(196, 101, 85, 0.12);
}

.app-status-dot.success {
  background-color: #4cd964;
  box-shadow: 0 0 0 4px rgba(76, 217, 100, 0.18);
}

.app-status-dot.pending {
  background-color: #ffb347;
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.18);
}

.page-header {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 18px 32px rgba(25, 18, 40, 0.12);
}

.card-img-top {
  object-fit: cover;
  border-radius: 18px;
}

.final-cta {
  margin-bottom: 2rem;
}

footer.footer {
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(196, 101, 85, 0.15);
  box-shadow: 0 -12px 30px rgba(23, 20, 35, 0.08);
}

body.theme-dark footer.footer {
  background: rgba(22, 21, 32, 0.9);
  border-top-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body.theme-dark .gradient-surface {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 70px rgba(5, 4, 12, 0.55);
}

body.theme-dark .feature-card p,
body.theme-dark .feature-card ul li,
body.theme-dark .promise-list li {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .feature-card ul li::before {
  color: rgba(255, 255, 255, 0.85);
}

body.theme-dark .metric-card {
  background: linear-gradient(145deg, rgba(196, 101, 85, 0.24), rgba(34, 32, 44, 0.92));
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .experience-section {
  background: rgba(24, 22, 32, 0.9);
  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.45);
}

body.theme-dark .experience-timeline::before {
  background: linear-gradient(180deg, rgba(196, 101, 85, 0.65), rgba(196, 101, 85, 0));
}

body.theme-dark .timeline-index {
  background: rgba(196, 101, 85, 0.25);
  color: var(--color-white);
}

body.theme-dark .testimonials {
  background: rgba(24, 22, 32, 0.85);
}

body.theme-dark .testimonial-card blockquote {
  color: var(--color-white);
}

body.theme-dark .card {
  background: rgba(28, 26, 38, 0.9);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 48px rgba(0, 0, 0, 0.45);
}

body.theme-dark .card .card-body {
  color: var(--color-white);
}

body.theme-dark .card .text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.theme-dark .card hr {
  border-color: rgba(255, 255, 255, 0.1);
}

body.theme-dark .surface-card {
  background: rgba(28, 26, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.55);
}

body.theme-dark .surface-muted {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 rgba(255, 255, 255, 0.2);
}

body.theme-dark .invite-response-section {
  background: rgba(24, 22, 32, 0.85);
}

body.theme-dark .invite-detail-list li {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .upload-card-info .upload-guidelines li {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .upload-dropzone {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

body.theme-dark .upload-dropzone.is-active {
  border-color: var(--color-primary);
  background: rgba(196, 101, 85, 0.18);
}

body.theme-dark .status-pill--warning {
  background: rgba(255, 180, 90, 0.22);
  color: #ffd393;
}

body.theme-dark .status-pill--info {
  background: rgba(196, 101, 85, 0.22);
  color: var(--color-white);
  border-color: rgba(196, 101, 85, 0.3);
}

body.theme-dark .mini-list {
  color: rgba(255, 255, 255, 0.82);
}

body.theme-dark .mini-list li::before {
  color: var(--color-primary);
}

body.theme-dark .mini-list--alt li::before {
  color: rgba(255, 255, 255, 0.6);
}

body.theme-dark .faq-accordion .accordion-button {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(196, 101, 85, 0.2);
}

body.theme-dark .faq-accordion .accordion-body {
  color: rgba(255, 255, 255, 0.8);
}

body.theme-dark .contact-highlight p,
body.theme-dark .privacy-card,
body.theme-dark .policy-update-grid p {
  color: rgba(255, 255, 255, 0.78);
}

body.theme-dark .app-table tbody tr {
  background: rgba(24, 22, 32, 0.92);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

body.theme-dark .app-table thead th {
  color: rgba(255, 255, 255, 0.6);
}

body.theme-dark .app-chip,
body.theme-dark .app-chip--soft {
  background: rgba(196, 101, 85, 0.28);
  color: var(--color-white);
}

body.theme-dark .page-header {
  background: rgba(24, 22, 32, 0.95);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.55);
}

@media (max-width: 992px) {
  .hero-carousel-basic {
    margin-top: 1.5rem;
  }

  .hero-carousel-basic__control {
    display: none;
  }

  .experience-section,
  .promise-grid,
  .testimonials {
    border-radius: 28px;
  }
}

@media (max-width: 576px) {
  .experience-timeline {
    gap: 1.25rem;
  }

  .experience-timeline li {
    grid-template-columns: 36px 1fr;
    gap: 1rem;
  }

  .experience-timeline::before {
    left: 14px;
  }

  .experience-timeline li::before {
    left: 14px;
  }

  .timeline-index {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .gradient-surface,
  .gradient-surface-light {
    padding: 1.5rem !important;
  }
}
