:root {
  --font-base: "YS Text", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "YS Text";
  src: url("/fonts/YS-text-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YS Text";
  src: url("/fonts/YS-text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YS Text";
  src: url("/fonts/YS-text-medium.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YS Text";
  src: url("/fonts/YS-text-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f5fa;
  --card: #ffffff;
  --muted: #64748b;
  --accent: #1e40af;
  --header-bg: #fffffd;
  --header-border: #e9edf0;
  --header-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  --base-font-size: clamp(15px, 0.85vw + 9px, 16px);
  --base-line-height: 1.45;
}

html {
  font-size: var(--base-font-size);
}

body {
  background: var(--bg);
  font-size: 1rem;
  line-height: var(--base-line-height);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  position: relative;
  min-height: 100vh;
}

body.is-valentines-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='%23f472b6' fill-opacity='0.1' d='M60 101C31 79 16 64 16 43c0-12 10-22 22-22 10 0 17 4 22 11 5-7 12-11 22-11 12 0 22 10 22 22 0 21-15 36-44 58z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath fill='%23fb7185' fill-opacity='0.08' d='M45 74C22 57 10 45 10 30c0-9 8-17 17-17 8 0 13 3 18 9 5-6 10-9 18-9 9 0 17 8 17 17 0 15-12 27-35 44z'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff5fa 0%, var(--bg) 45%);
  background-size: 420px 420px, 300px 300px, 100% 100%;
  background-position: 0 0, 180px 180px, 0 0;
  background-repeat: repeat, repeat, no-repeat;
}


body.is-april-fools-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23f59e0b' stroke-opacity='0.12' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M30 40h36'/%3E%3Cpath d='M48 22v36'/%3E%3Cpath d='M84 78h30'/%3E%3Cpath d='M99 63v30'/%3E%3Cpath d='M31 100c15-4 26 7 39 3'/%3E%3C/g%3E%3Cg fill='%23a855f7' fill-opacity='0.14'%3E%3Ccircle cx='105' cy='32' r='6'/%3E%3Ccircle cx='24' cy='78' r='5'/%3E%3Ccircle cx='80' cy='114' r='5'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(170deg, #fff8e8 0%, #f5f3ff 48%, var(--bg) 100%);
  background-size: 360px 360px, 100% 100%;
  background-position: 0 0, 0 0;
  background-repeat: repeat, no-repeat;
}

body.is-womens-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ec4899' stroke-opacity='0.14' stroke-width='2'%3E%3Cpath d='M10 120c20-20 35-45 50-45 14 0 25 19 40 19 12 0 19-9 30-25'/%3E%3C/g%3E%3Cg fill='%23f472b6' fill-opacity='0.18'%3E%3Ccircle cx='26' cy='42' r='6'/%3E%3Ccircle cx='98' cy='35' r='7'/%3E%3Ccircle cx='56' cy='92' r='5'/%3E%3C/g%3E%3Cg fill='%23fb7185' fill-opacity='0.14'%3E%3Ccircle cx='36' cy='48' r='3'/%3E%3Ccircle cx='106' cy='43' r='3'/%3E%3Ccircle cx='63' cy='99' r='3'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff7fb 0%, #fff1f6 35%, #f5f8ff 100%);
  background-size: 340px 340px, 100% 100%;
  background-repeat: repeat, no-repeat;
}

body.is-st-patricks-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(180deg, #f3fff5 0%, #e7f8e9 38%, #d7f0dc 100%);
  background-repeat: no-repeat;
}

body.is-earth-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%2322c55e' stroke-opacity='0.14' stroke-width='2'%3E%3Cpath d='M20 134c13-20 24-30 35-29 11 1 20 12 31 11 10-1 17-10 25-21'/%3E%3Cpath d='M72 158c10-13 21-21 33-21 11 0 22 7 31 18'/%3E%3C/g%3E%3Cg fill='%2322c55e' fill-opacity='0.14'%3E%3Cpath d='M39 82c0-12 9-22 21-22 8 0 14 4 18 10 4-6 10-10 18-10 12 0 21 10 21 22 0 17-13 30-39 47-26-17-39-30-39-47z'/%3E%3Cpath d='M124 65c0-8 6-14 13-14 5 0 8 2 11 6 3-4 6-6 11-6 7 0 13 6 13 14 0 10-9 18-24 29-15-11-24-19-24-29z'/%3E%3C/g%3E%3Cg fill='%230ea5e9' fill-opacity='0.16'%3E%3Ccircle cx='41' cy='35' r='5'/%3E%3Ccircle cx='98' cy='28' r='4'/%3E%3Ccircle cx='150' cy='118' r='6'/%3E%3Ccircle cx='17' cy='151' r='4'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #effcf7 0%, #e6f8ff 42%, #f2fcf3 100%);
  background-size: 360px 360px, 100% 100%;
  background-repeat: repeat, no-repeat;
}


body.is-spring-light-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(219, 240, 255, 0.28) 0%, rgba(250, 234, 245, 0.28) 24%, rgba(255, 255, 255, 0.3) 50%, rgba(250, 234, 245, 0.28) 76%, rgba(219, 240, 255, 0.28) 100%),
    linear-gradient(180deg, #f8fbff 0%, #f8f6ff 45%, #f9fbff 100%);
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
}


body.is-summer-light-day::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(138deg,
      rgba(239, 68, 68, 0.058) 0%,
      rgba(249, 115, 22, 0.052) 16%,
      rgba(234, 179, 8, 0.048) 32%,
      rgba(34, 197, 94, 0.048) 48%,
      rgba(59, 130, 246, 0.052) 66%,
      rgba(99, 102, 241, 0.052) 84%,
      rgba(168, 85, 247, 0.058) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 253, 249, 0.3) 46%, rgba(251, 253, 255, 0.34) 100%),
    linear-gradient(180deg, #fbfdff 0%, #fffdfb 46%, #fbfdff 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

body.is-halloween::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170' viewBox='0 0 170 170'%3E%3Cg fill='none'%3E%3Cellipse cx='56' cy='102' rx='30' ry='24' fill='%23f97316' fill-opacity='0.22'/%3E%3Cpath d='M41 100h30' stroke='%237c2d12' stroke-opacity='0.35' stroke-width='3'/%3E%3Cpath d='M56 76v12' stroke='%23165a22' stroke-opacity='0.35' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M45 108l8 6 8-6 8 6' stroke='%237c2d12' stroke-opacity='0.45' stroke-width='3' stroke-linecap='round'/%3E%3Cellipse cx='124' cy='62' rx='24' ry='19' fill='%23fb923c' fill-opacity='0.18'/%3E%3Cpath d='M112 62h24' stroke='%237c2d12' stroke-opacity='0.3' stroke-width='2.5'/%3E%3Cpath d='M124 45v9' stroke='%23165a22' stroke-opacity='0.3' stroke-width='3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, #fff7ed 0%, #ffedd5 35%, #f8fafc 100%);
  background-size: 360px 360px, 100% 100%;
  background-repeat: repeat, no-repeat;
}

select {
  background-color: #fff;
  border: 1px solid #d9dee7;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-weight: 500;
  color: #1f2937;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

select:focus {
  outline: none;
  border-color: rgba(30, 64, 175, 0.5);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
}

select:disabled {
  background-color: #f8fafc;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
}

.app-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer {
  background-color: transparent;
  color: #9ca3af;
  font-size: 0.875rem;
  padding: 1rem 0;
  text-align: center;
  width: 100%;
  margin-top: auto;
}

body.cookie-consent-visible {
  padding-bottom: 6rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(960px, calc(100% - 2rem));
  padding: 1rem 1.5rem;
  border-radius: 1.25rem;
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #1f2937;
}

.cookie-banner__title {
  font-weight: 700;
  font-size: 0.95rem;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.cookie-banner__actions {
  margin-left: auto;
}

.cookie-banner__button {
  border: none;
  border-radius: 0.9rem;
  padding: 0.65rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-banner__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(30, 64, 175, 0.28);
}

.cookie-banner__button:focus-visible {
  outline: 2px solid rgba(30, 64, 175, 0.5);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  body.cookie-consent-visible {
    padding-bottom: 8rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 1rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__button {
    width: 100%;
    text-align: center;
  }
}

*,
*::before,
*::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

.drop-shadow,
.drop-shadow-sm,
.drop-shadow-md,
.drop-shadow-lg,
.drop-shadow-xl,
.drop-shadow-2xl,
.nda-peek,
.nda-peek:hover,
.art img {
  filter: none !important;
}
