/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}

/* BACKGROUND */
.bg {
  position: fixed;
  inset: 0;
  background: url("assets/bg.png") center / cover no-repeat;
  z-index: -1;
  will-change: transform;
}

/* CONTAINER */
.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 16px calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.logo {
  width: 220px;
}

/* SOCIALS */
.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 32px;
}

.socials img {
  width: 30px;
  height: 30px;
}

/* LINKS STACK */
#links-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* GLASS BASE (SINGLE SOURCE OF TRUTH) */
.glass-button,
.glass-card {
  /*background: rgba(255, 255, 255, 0.32);*/
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
  will-change: transform;
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

/* BUTTON */
.glass-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 999px;
}

.glass-button .left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.element {
  width: 22px;
  height: 22px;
}

.arrow {
  width: 20px;
}

/* CARD */
.glass-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  display: block;
  border-radius: 28px 28px 0 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
}

/* PRESS-IN STATE (JS CONTROLLED) */
.glass-button.is-pressed,
.glass-card.is-pressed {
  transform: scale(0.975);
  background: rgba(255, 255, 255, 0.38);
}

/* FOOTER */
.footer {
  margin-top: 60px;
  text-align: center;
  opacity: 0.85;
}

.footer img {
  width: 90px;
  margin-bottom: 6px;
}

.footer p {
  font-size: 12px;
}

/* DESKTOP CENTERING */
@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
  }
}