:root {
  --card-shadow: 0 20px 60px -25px rgba(15, 138, 242, 0.35);
}

.illustration-slot {
  position: relative;
  border: 2px dashed rgba(15, 138, 242, 0.35);
  border-radius: 1.75rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.75), rgba(219, 234, 254, 0.7));
  color: rgb(71, 85, 105);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem;
  min-height: 220px;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.illustration-slot:hover {
  border-color: rgba(15, 138, 242, 0.6);
  transform: translateY(-2px);
}

.dark .illustration-slot {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 118, 246, 0.15));
  border-color: rgba(148, 163, 184, 0.5);
  color: rgb(203, 213, 225);
}

.illustration-slot__title {
  font-size: 1rem;
  font-weight: 600;
}

.illustration-slot__hint {
  font-size: 0.85rem;
  margin-top: 0.35rem;
  opacity: 0.8;
}

.reveal-item {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-link {
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  opacity: 0.4;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link[aria-current='page']::after {
  display: none;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
}

.dark .glass-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(51, 65, 85, 0.7);
}

picture,
picture img {
  display: block;
  width: 100%;
  height: auto;
}

.img-card img {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--card-shadow);
}

.dark .img-card img {
  border-color: rgba(51, 65, 85, 0.8);
}

@keyframes floaty {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floaty {
  animation: floaty 12s ease-in-out infinite;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate3d(-50%, 20px, 0);
  width: min(92vw, 620px);
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 138, 242, 0.15);
  border-radius: 1.75rem;
  box-shadow: 0 25px 60px -30px rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-consent--visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.cookie-consent--hidden {
  opacity: 0;
  transform: translate3d(-50%, 15px, 0);
}

.dark .cookie-consent {
  background: rgba(2, 10, 24, 0.92);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 25px 60px -30px rgba(2, 6, 23, 0.9);
}

.cookie-consent__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cookie-consent__description {
  font-size: 0.95rem;
  color: rgb(71, 85, 105);
}

.dark .cookie-consent__description {
  color: rgb(203, 213, 225);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-consent__button {
  flex: 1 1 180px;
  border-radius: 999px;
  border: 1px solid rgba(15, 138, 242, 0.3);
  background: transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgb(15, 107, 192);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  border-color: rgb(15, 138, 242);
  color: rgb(10, 74, 154);
  outline: none;
}

.cookie-consent__button--primary {
  background: rgb(15, 138, 242);
  color: #fff;
  border-color: rgb(15, 138, 242);
  box-shadow: 0 10px 30px -15px rgba(15, 138, 242, 0.8);
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: rgb(7, 107, 192);
  border-color: rgb(7, 107, 192);
}

.cookie-consent__disclaimer {
  font-size: 0.8rem;
  color: rgb(100, 116, 139);
}

.cookie-consent__link {
  color: rgb(15, 138, 242);
  font-weight: 600;
  text-decoration: underline;
}

.dark .cookie-consent__link {
  color: rgb(99, 179, 237);
}

@media (max-width: 640px) {
  .cookie-consent {
    bottom: 1rem;
    border-radius: 1.25rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
