/* n01darts.pl — krótka wizytówka; hero jak Dart, karta jak Sylveon Company */

:root {
  --background: oklch(0.14 0.03 265);
  --foreground: oklch(0.97 0.005 270);
  --card: oklch(0.2 0.035 265);
  --muted-foreground: oklch(0.7 0.02 265);
  --border: oklch(1 0 0 / 14%);

  --accent-from: oklch(0.8 0.14 250);
  --accent-to: oklch(0.66 0.22 285);
  --sylveon-from: oklch(0.82 0.14 355);
  --sylveon-to: oklch(0.72 0.16 310);

  --primary: oklch(0.8 0.14 250);
  --primary-foreground: oklch(0.14 0.03 265);
  --radius: 1rem;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: var(--accent-from);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(oklch(0.22 0.03 275) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.22 0.03 275) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-glow {
  position: fixed;
  left: 50%;
  top: -22%;
  z-index: 0;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--accent-from) 28%, transparent),
    color-mix(in oklab, var(--accent-to) 22%, transparent)
  );
  filter: blur(140px);
}

.bg-glow-sylveon {
  position: fixed;
  left: 50%;
  bottom: -18%;
  z-index: 0;
  width: 520px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: color-mix(in oklab, var(--sylveon-to) 22%, transparent);
  filter: blur(120px);
}

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
  overflow: visible;
}

.hero-head {
  margin-bottom: 1.75rem;
  overflow: visible;
}

/* 1:1 BrandLogoMark z dart.sylveoncompany.pl */
.brand-mark {
  position: relative;
  display: inline-flex;
  margin-bottom: 2rem; /* mb-8 */
  overflow: visible;
}

.brand-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* size-40 + blur-2xl + radial pink→purple→sky */
.brand-glow--a {
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(249, 168, 212, 0.85) 0%,
    rgba(192, 132, 252, 0.55) 36%,
    rgba(125, 211, 252, 0.28) 55%,
    transparent 72%
  );
  filter: blur(40px);
}

/* size-[5.25rem] + blur-[7px] */
.brand-glow--b {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.25rem;
  background: radial-gradient(
    circle,
    rgba(249, 168, 212, 0.95) 0%,
    rgba(192, 132, 252, 0.7) 50%,
    transparent 78%
  );
  filter: blur(7px);
}

/* h/w 4.6rem + from-[#f9a8d4] to-[#c084fc] + blur-[4px] + opacity-90 */
.brand-glow--c {
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #f9a8d4, #c084fc);
  opacity: 0.9;
  filter: blur(4px);
}

/* h-16 w-16 rounded-2xl border-border bg-card text-primary */
.brand-tile {
  position: relative;
  z-index: 10;
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--primary);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.brand-tile:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: color-mix(in oklab, var(--card) 90%, transparent);
  text-decoration: none;
}

.domain {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.text-sylveon {
  background-image: linear-gradient(
    90deg,
    var(--sylveon-from),
    var(--sylveon-to)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-accent {
  background-image: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 36rem;
}

.lead strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  color: var(--primary-foreground);
  background-image: linear-gradient(
    90deg,
    var(--accent-from),
    var(--accent-to)
  );
  box-shadow: 0 10px 28px -10px color-mix(in oklab, var(--accent-to) 50%, transparent);
}

.btn-primary:hover {
  box-shadow: 0 12px 34px -8px color-mix(in oklab, var(--accent-to) 65%, transparent);
}

.btn-ghost {
  color: var(--muted-foreground);
  border-color: oklch(1 0 0 / 15%);
  background: oklch(1 0 0 / 5%);
}

.btn-ghost:hover {
  color: var(--foreground);
  border-color: color-mix(in oklab, var(--accent-from) 40%, transparent);
}

.redirect {
  margin-top: 1rem;
  max-width: 22rem;
}

.redirect.is-stopped .progress-bar {
  width: 0 !important;
}

.redirect-label {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(1 0 0 / 8%);
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  transition: width 0.2s linear;
}

.link-stay {
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-stay:hover {
  color: var(--foreground);
}

/* —— Karta Sylveon (jak na sylveoncompany.pl) —— */

.sylveon {
  padding: 0.5rem 1.25rem 2.5rem;
}

.sylveon-card {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in oklab, var(--sylveon-from) 45%, transparent);
  background: linear-gradient(
    165deg,
    color-mix(in oklab, var(--card) 78%, transparent),
    color-mix(in oklab, var(--sylveon-to) 8%, transparent)
  );
  backdrop-filter: blur(28px) saturate(145%);
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--sylveon-to) 12%, transparent),
    0 24px 60px -24px color-mix(in oklab, var(--sylveon-to) 55%, transparent),
    0 0 80px -30px color-mix(in oklab, var(--sylveon-from) 40%, transparent);
}

.sylveon-badge {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--sylveon-from) 50%, transparent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--sylveon-from) 92%, white);
}

.sylveon-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
}

.sylveon-copy {
  margin: 1rem auto 0;
  max-width: 32rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted-foreground);
  text-align: left;
}

.btn-sylveon {
  margin-top: 1.15rem;
  color: white;
  background-image: linear-gradient(
    90deg,
    var(--sylveon-from),
    var(--sylveon-to),
    var(--accent-from)
  );
  box-shadow: 0 12px 32px -10px color-mix(in oklab, var(--sylveon-to) 55%, transparent);
}

.btn-sylveon:hover {
  box-shadow: 0 14px 40px -8px color-mix(in oklab, var(--sylveon-from) 60%, transparent);
  transform: translateY(-1px);
}

/* Stopka — układ jak dart.sylveoncompany.pl */
.sdp-footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid oklch(1 0 0 / 10%);
  background: oklch(0 0 0 / 20%);
  padding: 1.25rem 1rem;
  color: var(--foreground);
}

.sdp-footer a {
  color: inherit;
  text-decoration: none;
}

.sdp-footer__inner {
  margin: 0 auto;
  width: 100%;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sdp-footer__top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .sdp-footer__top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.sdp-footer__brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
}

.sdp-footer__brand {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

.sdp-footer__brand:hover {
  opacity: 0.9;
  text-decoration: none;
}

.sdp-footer__brand-sylveon {
  background: linear-gradient(90deg, var(--sylveon-from), var(--sylveon-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sdp-footer__brand-dart {
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sdp-footer__hosts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.375rem;
}

.sdp-footer__hosts,
.sdp-footer__privacy {
  font-size: 11px;
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}

.sdp-footer__hosts a:hover,
.sdp-footer__privacy:hover {
  color: var(--muted-foreground);
}

.sdp-footer__nav-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .sdp-footer__nav-wrap {
    align-items: flex-end;
  }
}

.sdp-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.sdp-footer__nav a:hover {
  color: var(--accent-from);
}

.sdp-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid oklch(1 0 0 / 5%);
  padding-top: 1rem;
}

.sdp-footer__grid h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
}

.sdp-footer__grid p {
  margin: 0.375rem 0 0;
  font-size: 10px;
  line-height: 1.55;
  color: color-mix(in oklab, var(--muted-foreground) 45%, transparent);
}

.sdp-footer__copy {
  margin: 1rem auto 0;
  max-width: 56rem;
  text-align: center;
  font-size: 11px;
  color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
}

.sdp-footer__copy a:hover {
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .sylveon-card {
    padding: 2.25rem 2rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar,
  .btn {
    transition: none;
  }
}
