/* Sammy Star, sammystar.com coming-soon mockup v1 */

@font-face {
  font-family: "Archivo Black";
  src: url("fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07040f;
  --bg-2: #0c0816;
  --bg-footer: #05030c;
  --ink: #fff8ff;
  --muted: #cbb8d8;
  --pink: #ff2d7b;
  --magenta: #e94aff;
  --violet: #8a4dff;
  --cyan: #1cefff;
  --yellow: #ffe14a;
  --live-red: #ff2a2a;
  --lavender: #f0b7ff;
  --card: rgba(14, 10, 24, 0.78);
  --line: rgba(255, 248, 255, 0.12);
  --max: 1120px;
  --topbar: 58px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--pink);
  color: #14010a;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

/* Top bar */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--topbar);
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: linear-gradient(to bottom, rgba(7, 4, 15, 0.55), rgba(7, 4, 15, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand-star {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(255, 45, 123, 0.7));
}

.brand-name {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.nebula {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 55% at 78% 48%, rgba(240, 183, 255, 0.28), transparent 62%),
    radial-gradient(ellipse 45% 50% at 18% 70%, rgba(28, 239, 255, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 45% at 42% 28%, rgba(255, 45, 123, 0.16), transparent 65%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(10, 4, 24, 0.85), transparent 55%);
}

.grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background: url("grain.png") center / 160px 160px repeat;
}

.hero-inner {
  position: relative;
  z-index: 4;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: calc(var(--topbar) + 12px) 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
  gap: 48px 56px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-star {
  width: 168px;
  height: 168px;
  color: #fff;
  margin-bottom: 18px;
  filter:
    drop-shadow(0 0 6px #fff)
    drop-shadow(0 0 16px var(--pink))
    drop-shadow(0 0 40px var(--violet));
  animation: starIn 1.25s ease-out both, starPulse 3.8s ease-in-out 1.25s infinite;
  transform-origin: 50% 50%;
}

html.is-still .hero-star {
  animation: none;
  opacity: 1;
  transform: none;
  filter:
    drop-shadow(0 0 8px #fff)
    drop-shadow(0 0 22px var(--cyan))
    drop-shadow(0 0 48px var(--pink));
}

@keyframes starIn {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes starPulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 6px #fff)
      drop-shadow(0 0 16px var(--pink))
      drop-shadow(0 0 40px var(--violet));
  }
  50% {
    filter:
      drop-shadow(0 0 10px #fff)
      drop-shadow(0 0 26px var(--cyan))
      drop-shadow(0 0 54px var(--pink));
  }
}

.wordmark {
  margin: 0 0 16px;
  font-family: "Archivo Black", "Outfit", sans-serif;
  font-weight: 400;
  font-size: clamp(2.15rem, 4.3vw, 3.5rem);
  letter-spacing: 0.1em;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}

.tagline {
  margin: 0 0 28px;
  min-height: 1.35em;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #f6e9ff;
}

.tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 3px;
  background: var(--cyan);
  vertical-align: -0.08em;
  animation: blink 1s steps(1) infinite;
  box-shadow: 0 0 8px var(--cyan);
}

html.is-still .tagline .cursor {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  0%,
  49% { opacity: 1; }
  50%,
  100% { opacity: 0; }
}

.join-form {
  display: flex;
  width: min(100%, 460px);
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 5, 16, 0.72);
  border: 1px solid rgba(255, 248, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 45, 123, 0.08), 0 10px 40px rgba(0, 0, 0, 0.35);
}

.join-form:focus-within {
  border-color: rgba(28, 239, 255, 0.7);
  box-shadow: 0 0 0 2px rgba(28, 239, 255, 0.25);
}

.join-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 14px 18px 14px 22px;
  outline: none;
}

.join-form input[type="email"]::placeholder {
  color: rgba(203, 184, 216, 0.7);
}

.join-form button {
  border: 0;
  background: var(--pink);
  color: #14010a;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 22px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.join-form button:hover,
.join-form button:focus-visible {
  background: var(--yellow);
}

.form-note {
  margin: 12px 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Portrait */
.portrait-wrap {
  position: relative;
  justify-self: end;
  width: min(420px, 100%);
  aspect-ratio: 1;
}

.portrait-glow {
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(240, 183, 255, 0.62) 0%, rgba(255, 45, 123, 0.22) 42%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
}

.portrait-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--pink), var(--yellow), var(--cyan), var(--magenta), var(--pink));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: spinRing 22s linear infinite;
  z-index: 1;
}

html.is-still .portrait-ring {
  animation: none;
  transform: rotate(28deg);
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.portrait-img,
.portrait-shift {
  position: absolute;
  inset: 7%;
  width: 86%;
  height: 86%;
  object-fit: cover;
  border-radius: 50%;
}

.portrait-shift {
  z-index: 2;
}

.portrait-shift.cyan {
  transform: translate(10px, 7px);
  filter: grayscale(1) contrast(1.18) sepia(1) hue-rotate(130deg) saturate(9);
  opacity: 0.78;
  mix-blend-mode: screen;
}

.portrait-shift.magenta {
  transform: translate(-10px, -6px);
  filter: grayscale(1) contrast(1.18) sepia(1) hue-rotate(250deg) saturate(9);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.portrait-img {
  z-index: 3;
  box-shadow: 0 0 0 2px rgba(7, 4, 15, 0.4);
}

/* Sections */
.section {
  position: relative;
  z-index: 2;
  padding: 28px 32px 8px;
  background:
    linear-gradient(to bottom, rgba(7, 4, 15, 0), var(--bg-2) 28px);
}

.grid-3 {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 210px;
  padding: 28px 26px;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--tile-accent, var(--pink)) 16%, transparent), transparent 46%),
    var(--card);
  border: 1px solid color-mix(in srgb, var(--tile-accent, #fff) 28%, var(--line));
  border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

a.tile:hover,
a.tile:focus-visible,
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--tile-accent, var(--pink));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4), 0 0 32px color-mix(in srgb, var(--tile-accent, var(--pink)) 22%, transparent);
}

.tile-music { --tile-accent: var(--lavender); }
.tile-vault { --tile-accent: var(--cyan); }
.tile-mysteries { --tile-accent: var(--magenta); }
.tile-merch { --tile-accent: var(--yellow); }
.tile-etsy { --tile-accent: var(--pink); }
.tile-patreon { --tile-accent: var(--violet); }

.tile-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tile-accent, var(--cyan));
}

.tile-title {
  margin: 0 0 8px;
  font-family: "Archivo Black", "Outfit", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.tile-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.tile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tile-accent, var(--cyan)) 55%, white 10%);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.pill:hover,
.pill:focus-visible {
  background: var(--tile-accent, var(--cyan));
  color: #14010a;
}

.badge-live {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--live-red);
  color: var(--live-red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
}

.shop-row {
  padding-top: 18px;
  padding-bottom: 56px;
}

.shop-row .tile {
  min-height: 132px;
  padding: 22px 22px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 16px;
}

.shop-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: var(--ink);
}

.shop-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-row .tile-title {
  font-size: 1.15rem;
  margin: 0;
}

.shop-row .tile-text {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent) 1;
  padding: 36px 24px 28px;
  text-align: center;
  color: #d7cce2;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-row a {
  color: #efe6f6;
  padding: 2px 4px;
}

.footer-row a:hover,
.footer-row a:focus-visible {
  color: var(--cyan);
}

.dot {
  margin: 0 8px;
  color: rgba(215, 204, 226, 0.55);
}

.pipe {
  margin: 0 14px;
  color: rgba(215, 204, 226, 0.35);
}

.bag-inline {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin: 22px 0 18px;
}

.socials a {
  display: inline-flex;
  color: #e6ddef;
  opacity: 0.9;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.socials a svg {
  width: 22px;
  height: 22px;
}

.socials a:hover,
.socials a:focus-visible {
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.socials a:nth-child(1):hover,
.socials a:nth-child(1):focus-visible { color: var(--pink); }
.socials a:nth-child(2):hover,
.socials a:nth-child(2):focus-visible { color: var(--magenta); }
.socials a:nth-child(3):hover,
.socials a:nth-child(3):focus-visible { color: var(--ink); }
.socials a:nth-child(4):hover,
.socials a:nth-child(4):focus-visible { color: var(--cyan); }
.socials a:nth-child(5):hover,
.socials a:nth-child(5):focus-visible { color: var(--lavender); }

.legal {
  margin: 0;
  font-size: 0.82rem;
  color: #9e90ad;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    width: min(var(--max), calc(100% - 40px));
    justify-items: center;
    text-align: center;
    gap: 28px;
    padding-bottom: 44px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }

  .portrait-wrap {
    justify-self: center;
    width: min(240px, 58vw);
    order: -1;
    margin-top: 8px;
  }

  .hero-star {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
  }

  .join-form {
    width: min(100%, 420px);
  }
}

@media (max-width: 700px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 20px 18px 8px;
  }

  .shop-row {
    padding-bottom: 40px;
  }

  .tile {
    min-height: 0;
  }

  .shop-row .tile {
    min-height: 0;
    padding: 18px 18px;
  }

  .topbar {
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .footer-row {
    flex-direction: column;
    gap: 10px;
  }

  .footer-row .pipe,
  .footer-row .group-break {
    display: none;
  }

  .footer-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .socials {
    gap: 22px;
  }

  .wordmark {
    letter-spacing: 0.08em;
  }

  .join-form button {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-star,
  html.is-still .hero-star {
    opacity: 1;
    transform: none;
    filter:
      drop-shadow(0 0 8px #fff)
      drop-shadow(0 0 22px var(--cyan))
      drop-shadow(0 0 40px var(--pink));
  }

  .tagline .cursor {
    animation: none !important;
    opacity: 1;
  }
}
