/* ==========================================================================
   Fonts (self-hosted)
   ========================================================================== */
@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/geist-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Geist Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/geist-sans-600.woff2') format('woff2');
}

/* ==========================================================================
   Design tokens (from Figma variables)
   ========================================================================== */
:root {
  --background-page: #080b16;
  --background-card: #0f1423;
  --stroke-default: #232d42;
  --text-primary: #f8fafc;
  --text-secondary: #d3ddeb;
  --text-muted: #7b7f83;
  --accent-gold: #c5a880;
  --color-white-100: #f8fafc;
  --color-navy-900: #080b16;

  --radius-sm: 8px;
  --radius-md: 16px;

  --spacing-8: 8px;
  --spacing-16: 16px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 40px;
  --spacing-48: 48px;
  --spacing-80: 80px;

  --font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background-page);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--spacing-80) 20px;
  overflow: hidden;
}

.main-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-40);
}

/* Decorative glows */
.glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 350px;
  height: 250px;
}

.glow--top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.glow--bottom {
  width: 300px;
  height: 300px;
  right: -110px;
  bottom: 0;
}

/* ==========================================================================
   Header / Logo
   ========================================================================== */
.header {
  display: flex;
  justify-content: center;
  width: 100%;
}

.logo-card {
  width: 150px;
  height: 150px;
  padding: 10px;
  background: var(--background-card);
  border: 1.5px solid var(--stroke-default);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
}

.logo-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero card
   ========================================================================== */
.hero-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-24);
  padding: var(--spacing-32) var(--spacing-24);
  background: rgba(17, 22, 37, 0.56);
  border: 1px solid var(--stroke-default);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: normal;
  text-align: center;
  color: var(--text-primary);
}

.hero-card__divider {
  width: 120px;
  height: 2px;
}

.hero-card__description {
  margin: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--text-secondary);
}

/* ==========================================================================
   Button
   ========================================================================== */
.button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
  width: 100%;
  padding: var(--spacing-16) var(--spacing-24);
  background: var(--color-white-100);
  border: 1px solid var(--color-white-100);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy-900);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.button__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-16);
}

.footer__text {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  color: var(--text-muted);
}

.footer__credit {
  width: 134px;
  height: 14px;
}

/* ==========================================================================
   Tablet / Desktop (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .page {
    padding: var(--spacing-80) var(--spacing-40);
  }

  .glow--top {
    width: 600px;
    height: 400px;
    top: -178px;
  }

  .glow--bottom {
    width: 500px;
    height: 500px;
    right: -174px;
    bottom: -160px;
  }

  .logo-card {
    width: 200px;
    height: 200px;
  }

  .hero-card {
    gap: var(--spacing-32);
    padding: var(--spacing-48);
  }

  .hero-card__title {
    font-size: 48px;
    letter-spacing: -2.4px;
  }

  .hero-card__description {
    font-size: 16px;
  }

  .button {
    width: auto;
    padding: var(--spacing-16) 36px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .footer__text {
    font-size: 14px;
    white-space: nowrap;
  }
}
