/* D:\projects\fanzanian\app\static\home\app.css */

:root {
  color-scheme: dark;
  --background: #070709;
  --surface: #101014;
  --surface-hover: #141419;
  --text: #f7f7f8;
  --muted: #aaaab3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #e60012;
  --accent-text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-width: 280px;
  background:
    var(--background);
  color: var(--text);
  font-family: Inter, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a:hover,
footer a:hover {
  color: var(--text);
}

a:focus-visible {
  outline: 2px solid #df9cff;
  outline-offset: 3px;
}

.watch-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  padding: clamp(54px, 8vw, 96px) 0 clamp(48px, 7vw, 76px);
}

.hero-copy {
  min-width: 0;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.45rem, 5.8vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 span {
  white-space: nowrap;
}

h1 span:last-child {
  display: block;
}

.player-visual {
  position: relative;
  display: block;
  width: min(100%, 520px);
  aspect-ratio: 16 / 10;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.player-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 160ms ease, transform 160ms ease;
}

.player-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.72), transparent 58%);
  pointer-events: none;
}

.player-play {
  position: absolute;
  z-index: 1;
  top: 52%;
  left: 43%;
  width: clamp(88px, 10vw, 120px);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(230, 0, 18, 0.9);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%);
  transition: background 160ms ease, transform 160ms ease;
}

.player-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--text);
  transform: translate(-32%, -50%);
}

.player-visual-label {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
}

.player-visual:hover img {
  opacity: 1;
  transform: scale(1.015);
}

.player-visual:hover .player-play {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}

.lead {
  max-width: 620px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.action-note {
  margin: 30px 0 0;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.actions a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 900;
}

.primary {
  background: var(--accent);
  color: var(--accent-text);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 36px 0 80px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.notice strong {
  color: var(--text);
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer span {
  margin-right: auto;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.08em;
}

footer .service-disclaimer {
  margin-right: 0;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 20px, 1160px);
  }

  .site-header {
    min-height: 56px;
  }

  nav {
    gap: 14px;
  }

  nav > a:not(.watch-link) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 42px;
  }

  .player-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    justify-self: stretch;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4.4rem);
  }

  h1 span {
    display: block;
  }

  .actions {
    display: grid;
  }

  footer {
    flex-wrap: wrap;
    padding: 24px 0;
  }

  footer span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .player-visual img,
  .player-play {
    transition: none;
  }
}
