body.presale-page {
  --presale-bg: #0a1122;
  --presale-gradient-main: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 58%,
    #172554 100%
  );
  --presale-gradient-card: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.94) 60%,
    rgba(23, 37, 84, 0.94) 100%
  );
  --presale-surface: rgba(10, 18, 36, 0.74);
  --presale-surface-2: rgba(14, 23, 44, 0.76);
  --presale-border: rgba(148, 163, 184, 0.36);
  --presale-text: #f5f7fa;
  --presale-muted: rgba(226, 232, 240, 0.82);
  --presale-accent: #ef1f2f;
  --presale-accent-2: #ff5f3d;
  --presale-focus: rgba(255, 255, 255, 0.92);
  --presale-shadow: 0 28px 66px rgba(4, 9, 22, 0.5);
  --presale-soft-shadow: 0 16px 36px rgba(4, 9, 22, 0.34);
  --presale-container: 1180px;
  margin: 0;
  min-height: 100vh;
  color: var(--presale-text);
  background:
    radial-gradient(circle at 12% 6%, rgba(239, 31, 47, 0.24), transparent 42%),
    radial-gradient(circle at 86% 0, rgba(52, 97, 255, 0.28), transparent 38%),
    repeating-linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.024) 0,
      rgba(255, 255, 255, 0.024) 1px,
      transparent 1px,
      transparent 22px
    ),
    var(--presale-bg);
  font-family: "Rubik", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color-scheme: dark;
  position: relative;
  isolation: isolate;
}

body.presale-page::before,
body.presale-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  z-index: -1;
  opacity: 0.65;
  pointer-events: none;
}

body.presale-page::before {
  width: 360px;
  height: 360px;
  top: 280px;
  right: -120px;
  background: rgba(239, 31, 47, 0.34);
}

body.presale-page::after {
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: 120px;
  background: rgba(56, 189, 248, 0.28);
}
body.presale-page *,
body.presale-page *::before,
body.presale-page *::after {
  box-sizing: border-box;
}

body.presale-page * {
  margin: 0;
}

body.presale-page img {
  display: block;
  max-width: 100%;
}

body.presale-page a {
  color: inherit;
  text-decoration: none;
}

body.presale-page .presale-container {
  width: min(var(--presale-container), 92%);
  margin-inline: auto;
}

body.presale-page .presale-main,
body.presale-page .presale-main section,
body.presale-page #kontakt {
  float: none;
}

body.presale-page .presale-main {
  padding-top: 92px;
}

body.presale-page .presale-main section {
  padding: 0;
}

body.presale-page .presale-hero {
  min-height: clamp(18rem, 45vh, 31rem);
  display: flex;
  align-items: center;
}

body.presale-page .presale-hero-content {
  width: 100%;
  max-width: 44rem;
  padding: clamp(3.2rem, 8vw, 5.6rem) 0;
}

body.presale-page .presale-eyebrow {
  color: #f4a1b1;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

body.presale-page .presale-hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
}

body.presale-page .presale-description {
  margin-top: 1.1rem;
  max-width: 39rem;
  color: #d8dde6;
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  line-height: 1.62;
}

body.presale-page .presale-upcoming {
  padding-top: clamp(4.2rem, 9vw, 6.5rem);
  padding-bottom: clamp(3.2rem, 8vw, 5rem);
}

body.presale-page .presale-upcoming .presale-container {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 22px;
  border: 1px solid var(--presale-border);
  background: var(--presale-gradient-card);
  box-shadow: var(--presale-soft-shadow);
  position: relative;
  overflow: hidden;
}

body.presale-page .presale-upcoming .presale-container::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(239, 31, 47, 0),
    rgba(239, 31, 47, 0.95),
    rgba(255, 95, 61, 0.95),
    rgba(239, 31, 47, 0)
  );
}

body.presale-page .presale-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

body.presale-page .presale-section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

body.presale-page .presale-section-head p {
  color: var(--presale-muted);
  font-size: 0.95rem;
}

body.presale-page .presale-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

body.presale-page .presale-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--presale-border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

body.presale-page .presale-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(239, 31, 47, 0.15),
    rgba(239, 31, 47, 0.85),
    rgba(255, 95, 61, 0.8)
  );
  z-index: 1;
}

body.presale-page .presale-card:hover {
  transform: translateY(-5px);
  border-color: rgba(148, 163, 184, 0.52);
  box-shadow: 0 24px 42px rgba(4, 9, 22, 0.42);
}

body.presale-page .presale-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  background: #090a0d;
  overflow: hidden;
}

body.presale-page .presale-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

body.presale-page .presale-card:hover .presale-card-image img {
  transform: scale(1.05);
}

body.presale-page .presale-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.15rem 1.1rem;
}

body.presale-page .presale-card-body h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  font-weight: 700;
  color: #ffffff;
}

body.presale-page .presale-card-meta {
  color: var(--presale-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

body.presale-page .presale-card-detail {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(
    135deg,
    var(--presale-accent) 0%,
    #dd1a28 56%,
    var(--presale-accent-2) 100%
  );
  box-shadow: 0 12px 24px rgba(239, 31, 47, 0.24);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

body.presale-page .presale-card-detail:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

body.presale-page .presale-empty {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 0.85rem;
  padding: 1rem;
  color: var(--presale-muted);
}

body.presale-page a:focus-visible {
  outline: 2px solid var(--presale-focus);
  outline-offset: 2px;
}

body.presale-page #kontakt {
  margin: 0;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding: clamp(3rem, 6vw, 4rem) 0 1.6rem;
  background: #08090b;
  border-top: 1px solid var(--presale-border);
  display: block;
}

body.presale-page #kontakt,
body.presale-page #kontakt * {
  color: #d4d7dd;
}

body.presale-page #kontakt .primary {
  width: min(var(--presale-container), 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

body.presale-page #kontakt .primary .primaryRow {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

body.presale-page #kontakt .primary h4 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.3;
  color: #ffffff;
}

body.presale-page #kontakt .primary .primaryRow > div,
body.presale-page #kontakt .primary .primaryRow a,
body.presale-page #kontakt .primary .primaryRow span {
  color: #d4d7dd;
  line-height: 1.55;
}

body.presale-page #kontakt .primary .tel,
body.presale-page #kontakt .primary .mail {
  background-size: 1.45rem;
  background-position: left 0.15rem;
  padding: 0.02rem 0 0.65rem 2.2rem;
  min-height: 0;
  display: inline-block;
}

body.presale-page #kontakt .primary .mail span {
  color: #a8aeb9;
  font-size: 0.82rem;
}

body.presale-page #kontakt .footerLink {
  margin-bottom: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.presale-page #kontakt .footerSocials {
  width: min(var(--presale-container), 92%);
  margin: 2rem auto 1rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.8rem;
}

body.presale-page #kontakt .footerSocials a {
  margin: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--presale-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f6fb;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

body.presale-page #kontakt .footerSocials a:hover {
  border-color: var(--presale-accent-2);
  background: rgba(225, 29, 72, 0.18);
}

body.presale-page #kontakt .footerSocials svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

body.presale-page #kontakt .footerLine {
  width: min(var(--presale-container), 92%);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.presale-page #kontakt .footerLine p,
body.presale-page #kontakt .footerLine a {
  color: #a8aeb9;
  font-size: 0.82rem;
}

body.presale-page #kontakt .mail,
body.presale-page #kontakt .tel,
body.presale-page #kontakt .footerLink,
body.presale-page #kontakt .footerSocials a {
  color: #f4f6fb !important;
}

body.presale-page #kontakt .mail span,
body.presale-page #kontakt .footerLine p,
body.presale-page #kontakt .footerLine a {
  color: #a8aeb9 !important;
}

@media (min-width: 44rem) {
  body.presale-page .presale-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  body.presale-page .presale-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 64rem) {
  body.presale-page #kontakt .primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 53.75rem) {
  body.presale-page .presale-main {
    padding-top: 0;
  }
}

@media (max-width: 40rem) {
  body.presale-page .presale-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body.presale-page #kontakt .primary {
    grid-template-columns: 1fr;
  }

  body.presale-page #kontakt .footerSocials {
    justify-content: flex-start;
  }

  body.presale-page #kontakt .footerLine p {
    text-align: left !important;
  }
}
