:root {
  --bg-dark: #0D0D0D;
  --red: #B71C1C;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --backdrop: #E9E9E9;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Anton", var(--font-body);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--backdrop);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--off-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%),
    radial-gradient(circle at 50% 32%, rgba(183, 28, 28, 0.5) 0%, rgba(183, 28, 28, 0.24) 26%, rgba(183, 28, 28, 0) 60%),
    repeating-linear-gradient(115deg, transparent 0, transparent 22px, rgba(255, 255, 255, 0.03) 22px, rgba(255, 255, 255, 0.03) 24px),
    repeating-linear-gradient(115deg, transparent 0, transparent 64px, rgba(183, 28, 28, 0.12) 64px, rgba(183, 28, 28, 0.12) 70px),
    var(--bg-dark);
  padding: 4rem 1.5rem 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-glow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-badge {
  width: clamp(170px, 46vw, 224px);
  height: clamp(170px, 46vw, 224px);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 7px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.55);
}

.logo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--red);
}

.brand-name {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.brand-tagline {
  margin: 0;
  font-size: clamp(0.8rem, 2.6vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.links {
  position: relative;
  z-index: 2;
  flex: 1;
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%230D0D0D' stroke-opacity='.06' stroke-width='2' transform='rotate(-12 75 75)'%3E%3Ccircle cx='75' cy='75' r='28'/%3E%3Cpath d='M75 62l12.4 9-4.8 14.5H67.4L62.6 71z'/%3E%3Cpath d='M75 62V47M87.4 71l14.2-4.7M82.6 85.5l8.9 12.2M67.4 85.5l-8.9 12.2M62.6 71l-14.2-4.7'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
  margin-top: -2.5rem;
  padding: 2.5rem 1.25rem 3rem;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  border: 1.5px solid rgba(183, 28, 28, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.12s ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.28);
  outline: none;
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.88;
}

.btn-primary {
  min-height: 60px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1.5px solid var(--red);
  box-shadow: 0 8px 24px rgba(183, 28, 28, 0.22);
}

.social-section {
  margin-top: 2rem;
}

.social-label {
  margin: 0 0 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--white);
  border: 1.5px solid rgba(183, 28, 28, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease, opacity 0.12s ease;
}

.social-btn svg {
  width: 24px;
  height: 24px;
}

.social-btn:hover,
.social-btn:focus-visible {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.28);
  outline: none;
}

.social-btn:active {
  transform: scale(0.94);
  opacity: 0.88;
}

@media (min-width: 640px) {
  html, body {
    background: var(--backdrop);
  }

  .page {
    margin: 2.5rem auto;
    min-height: 0;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  }
}
