@font-face {
  font-family: "HelpMe";
  src: url("./fonts/HelpMe.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-0: #060606;
  --bg-1: #140909;
  --bg-2: #2d0f0b;
  --ink-0: #fff7ee;
  --ink-1: #ffd8bc;
  --accent: #ff5c2a;
  --accent-strong: #ff2f00;
  --line: rgba(255, 176, 137, 0.25);
  --card: rgba(16, 8, 7, 0.74);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink-0);
  background: radial-gradient(circle at 85% 10%, rgba(255, 68, 0, 0.28), transparent 45%),
    radial-gradient(circle at 8% 18%, rgba(132, 10, 10, 0.34), transparent 48%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("./assets/dfs-logo.png");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: min(94vw, 1400px) auto;
  background-attachment: fixed;
  mix-blend-mode: screen;
  opacity: 0.1;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.site-logo {
  width: clamp(200px, 34vw, 520px);
  height: auto;
}

.hero {
  position: relative;
  margin: clamp(1rem, 3vw, 2rem) auto;
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.35) 48%, rgba(0, 0, 0, 0.85));
}

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  text-align: center;
  animation: rise 800ms ease both;
}

.hero-brand {
  margin: 0;
  color: var(--ink-1);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
}

.hero-creators {
  margin: 0.75rem 0 0;
  color: #f1d3c0;
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  letter-spacing: 0.03em;
}

h1,
h2 {
  font-family: "HelpMe", "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.95;
}

h1 {
  margin: 0.45rem 0 0.8rem;
  font-size: clamp(2.4rem, 8vw, 6rem);
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.cta-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.cta-button {
  display: inline-block;
  padding: 0.78rem 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(160deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, filter 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.release {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-1);
}

.teaser {
  margin: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: clamp(0.9rem, 2vw, 1.2rem);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  animation: rise 1100ms ease both;
}

.teaser-art,
.qr {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
}

.teaser-copy p {
  margin: 0;
  line-height: 1.5;
  color: #f8dac5;
}

.link-hub {
  margin: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(12, 6, 5, 0.82);
  box-shadow: var(--shadow);
  animation: rise 1400ms ease both;
}

.link-hub h2 {
  margin: 0 0 0.9rem;
}

.link-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.out-link {
  display: block;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 200, 164, 0.24);
  text-decoration: none;
  background: linear-gradient(165deg, rgba(255, 92, 42, 0.18), rgba(255, 47, 0, 0.08));
  color: #ffe8d8;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.out-link:hover,
.out-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 217, 185, 0.6);
  background: linear-gradient(165deg, rgba(255, 92, 42, 0.3), rgba(255, 47, 0, 0.16));
}

.out-link-title {
  display: block;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.out-link-sub {
  display: block;
  margin-top: 0.35rem;
  color: var(--ink-1);
  font-size: 0.93rem;
}

.site-footer {
  padding: 1rem 1.2rem 1.6rem;
  text-align: center;
  color: var(--ink-1);
  font-size: 0.83rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }

  .teaser-art,
  .qr {
    max-height: 220px;
  }
}

@media (max-width: 600px) {
  .site-header {
    justify-content: center;
    align-items: center;
  }

  .hero {
    margin-top: 0.9rem;
  }

  .hero-video {
    filter: saturate(0.85) contrast(1.03) brightness(0.37);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .teaser,
  .cta-button {
    animation: none;
    transition: none;
  }

  .hero-video {
    display: none;
  }
}

:focus-visible {
  outline: 2px solid #ffc389;
  outline-offset: 2px;
}
