:root {
  color-scheme: dark;
  --ink: #fffaf8;
  --muted: #d8d2d0;
  --night: #111114;
  --panel: rgba(22, 20, 23, 0.84);
  --panel-solid: #1b181c;
  --coral: #e55050;
  --coral-light: #ff7772;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--night);
  line-height: 1.6;
}

button,
summary,
figure[role="button"] {
  cursor: pointer;
}

button {
  font: inherit;
}

button:focus-visible,
summary:focus-visible,
figure[role="button"]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.veil-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #171417 url("/images/slovenskyflirt-background.webp") center center / cover no-repeat;
}

.veil-shade {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 9, 12, 0.16) 0%, rgba(10, 9, 12, 0.02) 48%, rgba(10, 9, 12, 0.5) 100%),
    linear-gradient(0deg, rgba(10, 9, 12, 0.65) 0%, transparent 45%);
}

.veil-topbar,
.veil-stage,
.veil-journal {
  position: relative;
  z-index: 2;
}

.veil-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 8px;
}

.veil-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.veil-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.34));
}

.veil-login,
.veil-primary,
.veil-secondary,
.veil-text-button,
.veil-popup-close {
  border: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.veil-login {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 21px;
  color: var(--ink);
  border: 1px solid rgba(255, 119, 114, 0.75);
  border-radius: 999px;
  background: rgba(17, 17, 20, 0.7);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.veil-login:hover,
.veil-secondary:hover {
  border-color: var(--coral-light);
  background: rgba(229, 80, 80, 0.14);
}

.veil-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: 42px 0 90px;
}

.veil-copy {
  max-width: 610px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px 12px 34px 12px;
  background:
    linear-gradient(145deg, rgba(17, 17, 20, 0.9), rgba(35, 27, 31, 0.7)),
    radial-gradient(circle at 10% 0%, rgba(229, 80, 80, 0.22), transparent 45%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.veil-eyebrow {
  margin: 0 0 12px;
  color: #ff8a85;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.4vw, 4.9rem);
  letter-spacing: -0.062em;
  line-height: 0.98;
  text-wrap: balance;
}

.veil-lead {
  max-width: 59ch;
  margin: 24px 0 0;
  color: #f0eae7;
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  line-height: 1.72;
}

.veil-actions,
.veil-age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.veil-primary,
.veil-secondary {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 850;
  letter-spacing: 0.025em;
}

.veil-primary {
  color: #fff;
  background: linear-gradient(135deg, #ef5f5d, #c93345);
  box-shadow: 0 13px 34px rgba(201, 51, 69, 0.33);
}

.veil-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 42px rgba(201, 51, 69, 0.44);
}

.veil-secondary {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.veil-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.veil-facts span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ddd5d2;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.75rem;
  white-space: nowrap;
}

.veil-profile-rail {
  position: relative;
  width: min(100%, 430px);
  min-height: 510px;
  justify-self: end;
}

.veil-profile {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #242026;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.4);
  transition: transform 220ms ease, border-color 220ms ease;
}

.veil-profile:hover,
.veil-profile:focus-visible {
  z-index: 5;
  border-color: var(--coral-light);
  transform: translateY(-7px) rotate(0deg);
}

.veil-profile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.veil-profile-main {
  inset: 56px 28px 10px 30px;
  border-radius: 34px 14px 34px 14px;
  transform: rotate(1.5deg);
}

.veil-profile-main figcaption {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  background: rgba(20, 16, 20, 0.72);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  backdrop-filter: blur(9px);
}

.veil-profile-top,
.veil-profile-bottom {
  width: 126px;
  height: 126px;
  border-radius: 22px;
}

.veil-profile-top {
  top: 0;
  right: 0;
  transform: rotate(7deg);
}

.veil-profile-bottom {
  bottom: 0;
  left: 0;
  transform: rotate(-7deg);
}

.veil-journal {
  width: min(940px, calc(100% - 48px));
  margin: -54px auto 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: #f9f4f1;
  background: rgba(17, 17, 20, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.veil-journal summary {
  padding: 18px 56px 18px 24px;
  font-weight: 850;
  list-style: none;
}

.veil-journal summary::-webkit-details-marker {
  display: none;
}

.veil-journal summary::after {
  position: absolute;
  top: 15px;
  right: 20px;
  content: "+";
  color: var(--coral-light);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.veil-journal[open] summary::after {
  transform: rotate(45deg);
}

.veil-journal article {
  padding: 6px clamp(22px, 6vw, 74px) 54px;
  border-top: 1px solid var(--line);
}

.veil-journal article section {
  padding-top: 34px;
}

.veil-journal h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.veil-journal p {
  max-width: 72ch;
  margin: 0 0 15px;
  color: var(--muted);
}

.veil-article-action {
  margin-top: 36px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(125deg, rgba(229, 80, 80, 0.2), rgba(255, 255, 255, 0.04));
  text-align: center;
}

.veil-age-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 8, 10, 0.61);
  backdrop-filter: blur(8px);
}

.veil-age-card {
  width: min(470px, 100%);
  padding: clamp(25px, 6vw, 42px);
  border: 1px solid rgba(255, 119, 114, 0.5);
  border-radius: 28px 10px 28px 10px;
  background: linear-gradient(145deg, rgba(30, 25, 29, 0.98), rgba(15, 15, 18, 0.98));
  box-shadow: var(--shadow);
}

.veil-age-mark {
  display: grid;
  width: 67px;
  height: 67px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 7px 20px 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral-light), #c53143);
  font-size: 1.25rem;
  font-weight: 900;
}

.veil-age-card h2,
.veil-popup h2 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.veil-age-card > p:not(.veil-eyebrow),
.veil-popup > p:not(.veil-eyebrow) {
  margin: 17px 0 0;
  color: var(--muted);
}

.veil-popup {
  position: fixed;
  right: clamp(14px, 3vw, 42px);
  bottom: clamp(14px, 3vw, 42px);
  z-index: 40;
  width: min(390px, calc(100% - 28px));
  padding: 32px;
  border: 1px solid rgba(255, 119, 114, 0.55);
  border-radius: 28px 10px 28px 10px;
  background: linear-gradient(150deg, #252025, #121215 72%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.veil-popup-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 17px 6px 17px 6px;
  color: #fff;
  background: var(--coral);
  font-size: 1.5rem;
}

.veil-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.5rem;
  line-height: 1;
}

.veil-popup .veil-primary {
  width: 100%;
  margin-top: 24px;
}

.veil-text-button {
  display: block;
  margin: 13px auto 0;
  padding: 4px 10px;
  color: #cfc7c5;
  background: transparent;
  font-size: 0.82rem;
}

.veil-text-button:hover,
.veil-popup-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

@media (max-width: 900px) {
  .veil-stage {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: end;
  }

  .veil-copy {
    padding: 28px;
  }

  .veil-profile-rail {
    min-height: 390px;
  }

  .veil-profile-main {
    inset: 45px 20px 8px 20px;
  }

  .veil-profile-top,
  .veil-profile-bottom {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 700px) {
  .veil-canvas {
    background-position: 58% center;
  }

  .veil-shade {
    background:
      linear-gradient(0deg, rgba(10, 9, 12, 0.88) 0%, rgba(10, 9, 12, 0.26) 75%),
      linear-gradient(90deg, rgba(10, 9, 12, 0.2), transparent);
  }

  .veil-topbar {
    width: calc(100% - 28px);
    padding-top: 14px;
  }

  .veil-brand {
    font-size: 1rem;
  }

  .veil-brand img {
    width: 36px;
    height: 36px;
  }

  .veil-login {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .veil-stage {
    display: flex;
    width: calc(100% - 28px);
    min-height: auto;
    padding: 38px 0 92px;
    flex-direction: column;
    align-items: stretch;
  }

  .veil-copy {
    max-width: none;
    padding: 25px 20px;
    border-radius: 26px 10px 26px 10px;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  .veil-lead {
    font-size: 0.94rem;
    line-height: 1.64;
  }

  .veil-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .veil-actions button {
    width: 100%;
  }

  .veil-facts {
    gap: 6px;
  }

  .veil-facts span {
    white-space: normal;
  }

  .veil-profile-rail {
    width: 100%;
    min-height: 385px;
    margin-top: 8px;
  }

  .veil-profile-main {
    inset: 42px 18px 8px 18px;
  }

  .veil-journal {
    width: calc(100% - 28px);
    margin: -58px auto 24px;
  }

  .veil-journal summary {
    padding-left: 18px;
    font-size: 0.92rem;
  }

  .veil-journal article {
    padding-right: 20px;
    padding-bottom: 38px;
    padding-left: 20px;
  }

  .veil-popup {
    padding: 26px 22px 22px;
  }

  .veil-popup h2 {
    max-width: 12ch;
  }

  .veil-age-actions {
    flex-direction: column;
  }

  .veil-age-actions button {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .veil-topbar {
    align-items: flex-start;
  }

  .veil-brand {
    max-width: 160px;
  }

  .veil-login {
    padding: 0 11px;
    letter-spacing: 0.045em;
  }

  .veil-copy {
    padding: 23px 18px;
  }

  .veil-profile-top,
  .veil-profile-bottom {
    width: 88px;
    height: 88px;
  }

  .veil-age-card {
    padding: 25px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
.dialog-label{margin:0 0 14px;font-size:clamp(1.55rem,4vw,2.2rem);font-weight:800;line-height:1.1}
