/* styles.css */
:root {
  --black: #050505;
  --panel: #0c0c0d;
  --red: #f02222;
  --white: #f5f5f5;
  --muted: #c6c6c6;
  --line: rgba(240, 34, 34, 0.6);
  --heading: "Teko", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
    background-color: var(--black);
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.04), transparent 40%),
    linear-gradient(#060606, #020202);
  color: var(--white);
  font-family: var(--body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.page {
  width: min(100% - 32px, 1120px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(240, 34, 34, 0.35);
  padding-bottom: 18px;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  width: 28px;
  height: 28px;
  display: inline-block;
  color: #fff;
  transition: color 0.2s ease;
}

.socials img {
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}
.socials a.yt img {
  filter: invert(0);
}
.socials a:hover img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(96%) saturate(5000%) hue-rotate(350deg) brightness(95%) contrast(110%);
}
.hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px 0 46px;
}

.lockup {
  width: min(100%, 880px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(240, 34, 34, 0.08));
}

h1,
h2 {
  font-family: var(--heading);
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(4.2rem, 13vw, 5.5rem);
  color: var(--white);
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(255,255,255,0.08);
}

.tagline {
  margin: 22px 0 32px;
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red);
}

.signup-card {
  width: min(100%, 840px);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 0 0 1px rgba(240,34,34,.22);
  padding: clamp(24px, 5vw, 42px);
  background: rgba(8,8,8,0.78);
}

.label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 8px 28px 5px;
  font-family: var(--heading);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

h2 {
  margin-top: 18px;
  color: var(--red);
  font-size: clamp(3rem, 8vw, 5.25rem);
  letter-spacing: 0.03em;
}

.signup-card p {
  margin: 10px 0 24px;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.25);
  background: #080808;
}

.signup-form input {
  min-height: 62px;
  padding: 0 22px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
}

.signup-form button {
  border: 0;
  background: var(--red);
  color: white;
  padding: 0 34px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.signup-form button:hover {
  background: #ff3434;
}

.form-message {
  margin: 16px 0 0 !important;
  color: var(--muted) !important;
  font-size: 0.95rem !important;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.divider {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.divider span {
  width: 20px;
  height: 20px;
  margin: 0 18px;
  background: var(--red);
  clip-path: polygon(50% 0,60% 35%,100% 50%,60% 65%,50% 100%,40% 65%,0 50%,40% 35%);
}

@media (max-width: 700px) {
  .topbar {
    justify-content: center;
  }

  .socials {
    gap: 12px;
    font-size: 0.8rem;
  }

  .lockup {
    width: 100%;
  }

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    min-height: 58px;
  }
  h1 {
      font-size: 3.3rem;
  }
}