:root {
  --color-bg: #66a056;
  --color-black: #000000;
  --color-white: #ffffff;

  --font-display: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius-card: 18px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: #000;
  min-height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--color-black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px 12px;
  background-image: url('../assets/background.png');
  background-size: cover;
  background-position: center top;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 0;
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  min-height: calc(93vh - 16px);
  min-height: calc(93dvh - 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 24px 20px;
}

/* Page title */
.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-white);
  margin: 24px 0 0;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Brand logo (no circle) */
.brand-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  margin-top: 4px;
}

/* Handle */
.handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
  margin: 0;
  letter-spacing: 0.2px;
}

/* Socials */
.socials {
  display: flex;
  gap: 14px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.0);
  color: var(--color-white);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-btn:hover,
.social-btn:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  outline: none;
}

/* Links list */
.links {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

/* Icon-only circular button */
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.link-btn:hover,
.link-btn:focus-visible {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-3px);
  outline: none;
}
.link-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.link-btn__icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.link-btn__label {
  display: none;
}

/* Footer */
.footer {
  margin-top: auto;
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.72rem;
  text-align: center;
}

/* Larger screens — keep card centered, allow more breathing room */
@media (min-width: 640px) {
  body { padding: 48px 16px; }
  .handle { font-size: 1.4rem; }
  .links { margin-top: 16px; }
}

/* Mobile: buttons fixed bottom-right, stacked vertically */
@media (max-width: 639px) {
  html, body {
    background-color: #000;
  }
  body {
    background-image: url('../assets/background-mobile.png');
    min-height: 100dvh;
  }
  .links {
    position: fixed;
    bottom: 155px;
    right: 20px;
    width: auto;
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
