.navbar {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-social .navbar-brand {
  margin-right: 0;
}

.souvenirs-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #f5c469;
  text-decoration: none;
  border: 1px solid rgba(245, 196, 105, .42);
  border-radius: 50%;
  background: rgba(245, 196, 105, .08);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.souvenirs-nav-link:hover,
.souvenirs-nav-link:focus-visible {
  color: #fff;
  border-color: #f5c469;
  background: rgba(245, 196, 105, .2);
  transform: translateY(-2px);
}

.main {
  position: relative;
  z-index: 1;
}

/* Couleur du placeholder */
.form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #adb5bd;
  opacity: 1;
  /* Firefox */
}

.form-floating>label {
  color: #adb5bd;
}

/* Canvas étoiles */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* au lieu de -1 */
  background: #000;
  /* mettre le fond noir ici */
}

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  color: white;
  height: 100%;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
  /* contenu au-dessus des étoiles */
  background: transparent;
  /* éviter de masquer le canvas */
}

/* HERO */
.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f5c469;
  text-shadow: 0 0 15px rgba(245, 196, 105, 0.6);
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 2rem;
  color: #fdf6f0;
}


/* Capsule transparente (bulle autour du sablier) */
.capsule {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05) 70%);
  backdrop-filter: blur(2px);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(245, 196, 105, 0.5),
    0 0 60px rgba(108, 52, 131, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
  margin-bottom: 2rem;
}

/* Effet de halo autour de la capsule */
.capsule::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(245, 196, 105, 0.3);
  animation: pulse 4s infinite ease-in-out;
}

/* Animation flottante */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

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

/* Halo pulsant */
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

/* Sablier centré à l’intérieur */
.capsule .sablier {
  transform: scale(0.8);
  /* réduire un peu la taille pour bien tenir dans la bulle */
  z-index: 2;
}

.sablier-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sablier,
.sablier:before,
.sablier:after {
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

.sablier {
  --polygonH: polygon(0% 0%, 100% 0%, 100% 5.55%, 95% 5.55%, 95% 28%, 60% 46%, 60% 54%, 95% 72%, 95% 94.45%, 100% 94.45%, 100% 100%, 0% 100%, 0% 94.45%, 5% 94.45%, 5% 72%, 40% 54%, 40% 46%, 5% 28%, 5% 5.55%, 0% 5.55%);
  animation-name: flip;
  animation-timing-function: ease-in-out;
  background-image: linear-gradient(#f5c469 0.5em, #737a8c55 0.5em 8.5em, #f5c469 8.5em);
  clip-path: var(--polygonH);
  -webkit-clip-path: var(--polygonH);
  overflow: hidden;
  position: relative;
  width: 5em;
  height: 9em;
  z-index: 2;
}

.sablier:before,
.sablier:after {
  animation-timing-function: linear;
  content: "";
  display: block;
  position: absolute;
}

.sablier:before {
  --polygonB1: polygon(0% 0%, 100% 0%, 100% 24%, 50% 47%, 50% 47%, 50% 47%, 50% 47%, 50% 47%, 50% 47%, 50% 47%, 50% 47%, 0% 24%);
  --polygonB2: polygon(0% 4%, 100% 4%, 100% 24%, 55% 45%, 55% 100%, 55% 100%, 55% 100%, 45% 100%, 45% 100%, 45% 100%, 45% 45%, 0% 24%);
  --polygonB3: polygon(0% 24%, 100% 24%, 100% 24%, 55% 45%, 55% 80%, 100% 100%, 100% 100%, 0% 100%, 0% 100%, 45% 80%, 45% 45%, 0% 24%);
  --polygonB4: polygon(45% 45%, 55% 45%, 55% 45%, 55% 45%, 55% 58%, 100% 76%, 100% 100%, 0% 100%, 0% 76%, 45% 58%, 45% 45%, 45% 45%);
  --polygonB5: polygon(50% 53%, 50% 53%, 50% 53%, 50% 53%, 50% 53%, 100% 76%, 100% 100%, 0% 100%, 0% 76%, 50% 53%, 50% 53%, 50% 53%);
  animation-name: fill;
  background-color: #f5c469;
  background-size: 100% 3.6em;
  clip-path: var(--polygonB1);
  -webkit-clip-path: var(--polygonB1);
  top: 0.5em;
  left: 0.5em;
  width: 4em;
  height: 8em;
  z-index: 1;
}

.sablier:after {
  animation-name: glare;
  background:
    linear-gradient(90deg, #0000 0.5em, #0003 0.5em 1.5em, #0000 1.5em 3.5em, #fff3 3.5em 4.5em, #fff0 4.5em 6.5em, #0003 6.5em 7.5em, #0000 7.5em) 0 0 / 100% 0.5em,
    linear-gradient(90deg, #0000 0.75em, #0003 0.75em 1.25em, #0000 1.25em 3.75em, #fff3 3.75em 4.25em, #fff0 4.25em 6.75em, #0003 6.75em 7.25em, #0000 7.25em) 0 0.5em / 100% 8em,
    linear-gradient(90deg, #0000 0.5em, #0003 0.5em 1.5em, #0000 1.5em 3.5em, #fff3 3.5em 4.5em, #fff0 4.5em 6.5em, #0003 6.5em 7.5em, #0000 7.5em) 0 100% / 100% 0.5em;
  background-repeat: repeat-x;
  top: 0;
  left: -3em;
  width: 200%;
  height: 100%;
  z-index: 2;
}

/* Animation */
@keyframes fill {
  from {
    clip-path: var(--polygonB1);
    -webkit-clip-path: var(--polygonB1);
  }

  10% {
    clip-path: var(--polygonB2);
    -webkit-clip-path: var(--polygonB2);
  }

  45% {
    clip-path: var(--polygonB3);
    -webkit-clip-path: var(--polygonB3);
  }

  80% {
    clip-path: var(--polygonB4);
    -webkit-clip-path: var(--polygonB4);
  }

  85%,
  to {
    clip-path: var(--polygonB5);
    -webkit-clip-path: var(--polygonB5);
  }
}

@keyframes glare {

  from,
  90% {
    transform: translateX(0);
  }

  to {
    transform: translateX(3em);
  }
}

@keyframes flip {

  from,
  90% {
    transform: rotate(0);
  }

  to {
    transform: rotate(180deg);
  }
}


/* Particules */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #f5c469;
  border-radius: 50%;
  animation: sparkle 3s infinite ease-in-out;
  z-index: 1;
}

@keyframes sparkle {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.5);
    opacity: 1;
  }

  100% {
    transform: scale(0.3);
    opacity: 0.3;
  }
}

/* Section pourquoi /  explication */
#pourquoi {
  background: #333333;
  color: #ffffff;
}

#explication {
  background: #bbbbbb;
  color: #333;
}

.section {
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}

.section h2 {
  font-weight: 700;
  margin-bottom: 2rem;
}

.section .step {
  margin-bottom: 2rem;
}

footer {
  position: relative;
  background: #090a0f;
  padding: 1rem;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

footer a {
  margin-right: 50px;
  color: #959393;
}

/* Section sombre */
/* Cartes stylées */
.choix-capsule .card.option {
  background: #1a1a1f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.choix-capsule .card.option:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 196, 105, 0.3);
}

.choix-capsule h2,
.suivi-capsule h2 {
  color: #f5c469 !important;
  font-weight: 700;
  position: relative;
}

.choix-capsule .card-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.choix-capsule .card-text {
  color: #bbb;
  font-size: 0.95rem;
}

.choix-capsule .price {
  color: #f5c469;
  font-weight: bold;
  margin-top: 1rem;
}

/* Button CTA */
.btn-main {
  background: #6c3483 !important;
  border: none;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
  color: #fff;
  transition: all 0.3s;
}

.btn-main:hover {
  background: #8e44ad;
  transform: scale(1.05);
  color: #fff;
}

.btn-main:disabled,
.btn-main[disabled] {
  border: 1px solid #951414;
  background: #c71e1e !important;
  cursor: not-allowed;
}


.page-content {
  z-index: 2;
  position: relative;
}

.form-control,
.form-floating>.form-control,
.form-select {
  background-color: #1a1a1f;
  border: 1px solid #1a1a1f;
  color: var(--text-color);
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

textarea {
  min-height: 150px !important;
}

.countdown-card {
  background: radial-gradient(circle at top, #1c1c28, #0d0d13);
  border-radius: 20px;
  color: #fff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.text-gold {
  color: #f5c469;
}

.countdown {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.countdown span {
  font-size: 2.5rem;
  color: #f5c469;
  display: inline-block;
  min-width: 50px;
  text-align: center;
  animation: pulse 2s infinite ease-in-out;
}

/* Effet magique */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 5px #f5c469, 0 0 15px rgba(245, 196, 105, 0.6);
  }

  50% {
    transform: scale(1.15);
    text-shadow: 0 0 15px #f5c469, 0 0 30px rgba(245, 196, 105, 0.8);
  }
}

.fade-change {
  animation: fadeScale 0.6s ease;
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.6);
  }

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

.recap {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Fond étoilé animé */
.countdown-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.transparenttextures.com/patterns/stardust.png');
  opacity: 0.3;
  animation: starsMove 25s linear infinite;
}

@keyframes starsMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 500px 500px;
  }
}

/* Écran noir */
#launch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease;
  z-index: 9999;
}

#launch-overlay {
  transition: opacity 1s ease;
}

#launch-overlay .hidden {
  opacity: 0;
  pointer-events: none;
}

/* Capsule (simple forme stylisée) */
.capsulefinale {
  width: 40px;
  height: 80px;
  background: linear-gradient(to top, #f5c469, #fff);
  border-radius: 20px;
  position: relative;
  animation: none;
}

.capsulefinale::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 20px;
  background: radial-gradient(circle, rgba(255, 200, 100, 0.8), transparent);
  border-radius: 50%;
  animation: flame 0.2s infinite alternate;
}

/* Flamme animée */
@keyframes flame {
  from {
    transform: translateX(-50%) scaleY(1);
    opacity: 0.8;
  }

  to {
    transform: translateX(-50%) scaleY(1.4);
    opacity: 0.3;
  }
}

/* Décollage */
.launch {
  animation: flyUp 10s ease forwards;
}

@keyframes flyUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(-120vh) scale(0.7);
    opacity: 1;
  }

  100% {
    transform: translateY(-150vh) scale(0.5);
    opacity: 0;
  }
}

/* Texte final */
.launch-text {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 30px;
  opacity: 0;
  animation: fadeInText 2s ease forwards;
  animation-delay: 3s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.remove-email {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #dc3545;
}

.remove-email:hover {
  color: #a71d2a;
}

.behind {
  z-index: 100;
}




.atterrissage {
  width: 120px;
  height: 200px;
  background: linear-gradient(to bottom, #00c6ff, #6c3483);
  border-radius: 60px;
  position: relative;
  animation: fall 2s ease-out forwards;
  cursor: pointer;
}

.atterrissage::before,
.atterrissage::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #ffffff30;
  border-radius: 50%;
}

.atterrissage::before {
  top: 20px;
}

.atterrissage::after {
  bottom: 20px;
}

@keyframes fall {
  0% {
    transform: translateY(-300px);
    opacity: 0;
  }

  70% {
    transform: translateY(0px);
    opacity: 1;
  }

  85% {
    transform: translateY(-20px);
  }

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

.hint {
  opacity: 0;
  margin-top: 20px;
  animation: hintBlink 1.5s infinite;
}

@keyframes hintBlink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.message-atterrissage {
  max-width: 100%;
  display: none;
  text-align: center;
  padding: 20px;
  background: #ffffff10;
  border: 1px solid #6c3483;
  border-radius: 15px;
  margin-top: 30px;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

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

.message-decollage {
  max-width: 100%;
  display: none;
  text-align: center;
  padding: 20px;
  background: #ffffff10;
  border: 1px solid #6c3483;
  border-radius: 15px;
  margin-top: 30px;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

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

.zone-atterrissage {
  margin: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  font-family: Arial, sans-serif;
  color: white;
}

.zone-atterrissage h1 {
  margin-bottom: 50px;
  color: #f5c469;
}

.datecommande {
  text-align: right !important;
}

.text-color {
  color: #6c3483;
}


@media (max-width: 1250px) {
  .hero {
    margin-top: 150px;
  }
}

/* Souvenirs */
.souvenirs-page {
  color: #f7f3ed;
  overflow: hidden;
}

.souvenirs-page,
.souvenirs-page * {
  box-sizing: border-box;
}

.souvenirs-container {
  width: calc(100% - 40px);
  max-width: 1080px;
  margin-inline: auto;
}

.souvenirs-hero {
  position: relative;
  min-height: 420px;
  padding: 145px 0 95px;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(11, 9, 20, .94), rgba(19, 13, 32, .86) 72%, rgba(11, 9, 20, .15));
}

.souvenirs-hero__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 42% 65% at 77% 48%, rgba(108, 52, 131, .34), transparent 80%),
    radial-gradient(ellipse 34% 55% at 20% 100%, rgba(245, 196, 105, .1), transparent 82%);
}

.souvenirs-hero__content {
  position: relative;
}

.souvenirs-eyebrow,
.souvenirs-section-label {
  color: #eec67e;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.souvenirs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.souvenirs-eyebrow__line {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: #eec67e;
}

.souvenirs-hero h1 {
  max-width: 760px;
  margin: 24px 0 20px;
  font-size: clamp(2.6rem, 5.3vw, 5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.souvenirs-hero h1 em {
  color: #f5c469;
  font-style: normal;
}

.souvenirs-hero p {
  max-width: 570px;
  margin-bottom: 28px;
  color: #d1cbd7;
  font-size: 1.05rem;
  line-height: 1.75;
}

.souvenirs-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5c469;
  font-weight: 700;
  text-decoration: none;
}

.souvenirs-hero__link:hover,
.souvenirs-hero__link:focus-visible {
  color: #fff;
}

.souvenirs-body {
  padding-bottom: 100px;
}

.souvenirs-compose {
  position: relative;
  margin-top: 95px;
  padding: clamp(24px, 5vw, 52px);
  scroll-margin-top: 90px;
  border: 1px solid rgba(245, 196, 105, .17);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(31, 26, 40, .98), rgba(18, 17, 27, .98));
  box-shadow: 0 25px 70px rgba(0, 0, 0, .38);
}

.souvenirs-compose__heading,
.souvenirs-gallery__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.souvenirs-compose h2,
.souvenirs-gallery h2 {
  margin: 9px 0 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.035em;
}

.souvenirs-compose__heading p {
  margin: 0;
  color: #bfb8c8;
}

.souvenirs-compose__ornament {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  color: #f5c469;
  font-size: 1.5rem;
  border: 1px solid rgba(245, 196, 105, .25);
  border-radius: 18px;
  background: rgba(245, 196, 105, .07);
}

.souvenirs-form {
  display: grid;
  gap: 26px;
  margin-top: 38px;
}

.souvenirs-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.souvenirs-field {
  min-width: 0;
}

.souvenirs-field label {
  display: block;
  margin-bottom: 10px;
  color: #f8f4f0;
  font-size: .93rem;
  font-weight: 700;
}

.souvenirs-field label span,
.souvenirs-option strong span {
  color: #f5c469;
}

.souvenirs-field .form-control {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  color: #fff;
  border: 1px solid #52495c;
  border-radius: 12px;
  background: #15131d;
}

.souvenirs-field .form-control::placeholder {
  color: #9f97a9;
}

.souvenirs-field .form-control:focus {
  color: #fff;
  border-color: #f5c469;
  background: #15131d;
  box-shadow: 0 0 0 3px rgba(245, 196, 105, .15);
}

.souvenirs-field textarea.form-control {
  min-height: 190px !important;
  resize: vertical;
}

.souvenirs-field small,
.souvenirs-option small {
  display: block;
  margin-top: 8px;
  color: #aaa3b3;
  font-size: .82rem;
  line-height: 1.5;
}

.souvenirs-options {
  display: grid;
  gap: 12px;
}

.souvenirs-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
}

.souvenirs-option:has(input:checked) {
  border-color: rgba(245, 196, 105, .56);
  background: rgba(245, 196, 105, .075);
}

.souvenirs-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  accent-color: #f5c469;
}

.souvenirs-option strong {
  display: block;
  color: #f4f0f5;
  font-size: .9rem;
  font-weight: 600;
}

.souvenirs-option small {
  margin-top: 4px;
}

.souvenirs-form__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.souvenirs-captcha {
  display: flex;
  align-items: end;
  gap: 16px;
}

.souvenirs-captcha img {
  max-width: 150px;
  height: auto;
  border-radius: 10px;
}

.souvenirs-captcha .form-control {
  width: 190px;
}

.souvenirs-submit {
  min-height: 52px;
  padding: 12px 24px;
  color: #241b2d;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  border-radius: 30px;
  background: #f5c469;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.souvenirs-submit:hover,
.souvenirs-submit:focus-visible {
  color: #241b2d;
  background: #ffda93;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 196, 105, .2);
}

.souvenirs-submit .bi {
  margin-left: 10px;
}

.souvenirs-form__note {
  margin: -9px 0 0;
  color: #aaa3b3;
  font-size: .82rem;
}

.souvenirs-form__note .bi {
  margin-right: 6px;
  color: #f5c469;
}

.souvenirs-gallery {
  position: relative;
  scroll-margin-top: 90px;
}

.souvenirs-gallery__heading {
  align-items: end;
  margin-bottom: 30px;
}

.souvenirs-gallery h2 {
  margin-bottom: 0;
}

.souvenirs-gallery__count {
  color: #c8c0cc;
  font-size: .9rem;
  white-space: nowrap;
}

.souvenirs-gallery__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.souvenirs-gallery__link {
  color: #f5c469;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.souvenirs-gallery__link:hover,
.souvenirs-gallery__link:focus-visible {
  color: #fff;
}

.souvenirs-gallery__link .bi {
  margin-left: 5px;
}

.souvenirs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.souvenirs-pagination,
.souvenirs-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.souvenirs-pagination {
  margin-top: 36px;
  gap: 18px;
}

.souvenirs-pagination__page,
.souvenirs-pagination__direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  color: #e7dfec;
  text-decoration: none;
  border: 1px solid rgba(245, 196, 105, .25);
  border-radius: 11px;
  background: rgba(31, 27, 41, .96);
  transition: color .2s, border-color .2s, background .2s;
}

.souvenirs-pagination__direction {
  gap: 9px;
}

.souvenirs-pagination a:hover,
.souvenirs-pagination a:focus-visible {
  color: #fff;
  border-color: #f5c469;
  background: rgba(245, 196, 105, .14);
}

.souvenirs-pagination__page.is-current {
  color: #241b2d;
  border-color: #f5c469;
  background: #f5c469;
  font-weight: 700;
}

.souvenirs-pagination__ellipsis {
  padding: 0 4px;
  color: #aaa3b3;
}

.souvenirs-card,
.souvenirs-empty {
  border: 1px solid rgba(245, 196, 105, .15);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 27, 41, .96), rgba(20, 19, 29, .98));
}

.souvenirs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
}

.souvenirs-card__quote {
  color: #f5c469;
  font-size: 1.8rem;
  line-height: 1;
}

.souvenirs-card p {
  margin: 20px 0 30px;
  color: #f3eef5;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.souvenirs-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .86rem;
}

.souvenirs-card__footer span {
  color: #f5c469;
  font-weight: 700;
}

.souvenirs-card__footer time {
  color: #aaa3b3;
  white-space: nowrap;
}

.souvenirs-empty {
  padding: 65px 25px;
  text-align: center;
}

.souvenirs-empty .bi {
  color: #f5c469;
  font-size: 2rem;
}

.souvenirs-empty p {
  margin: 15px 0 5px;
  font-size: 1.15rem;
  font-weight: 700;
}

.souvenirs-empty span {
  color: #aaa3b3;
}

@media (max-width: 800px) {
  .souvenirs-form__row,
  .souvenirs-grid {
    grid-template-columns: 1fr;
  }

  .souvenirs-form__bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .souvenirs-submit {
    align-self: flex-start;
  }
}

@media (max-width: 575px) {
  .souvenirs-container {
    width: calc(100% - 28px);
  }

  .souvenirs-hero {
    min-height: 0;
    padding: 120px 0 75px;
  }

  .souvenirs-hero p {
    font-size: .96rem;
  }

  .souvenirs-compose {
    margin-top: 65px;
    border-radius: 20px;
  }

  .souvenirs-compose__ornament {
    display: none;
  }

  .souvenirs-form {
    margin-top: 28px;
  }

  .souvenirs-captcha {
    align-items: start;
    flex-direction: column;
  }

  .souvenirs-captcha .form-control {
    width: min(100%, 260px);
  }

  .souvenirs-submit {
    width: 100%;
  }

  .souvenirs-gallery {
    margin-top: -20px;
  }

  .souvenirs-gallery__heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .souvenirs-gallery__actions {
    flex-wrap: wrap;
    gap: 8px 20px;
  }

  .souvenirs-pagination {
    gap: 8px;
  }

  .souvenirs-pagination__pages {
    gap: 5px;
  }

  .souvenirs-pagination__direction {
    min-width: 40px;
    width: 40px;
    padding: 0;
  }

  .souvenirs-pagination__direction span {
    display: none;
  }
}
