:root {
  --hb-glass: rgba(18, 59, 39, 0.35);
  --hb-glass-top: rgba(19, 77, 48, 0.45);
  --hb-border: rgba(255, 255, 255, 0.18);
  --hb-text: #edecee;
}

html,
body {
  height: 100%;
}

html {
  font-size: clamp(15px, 2.4vw, 18px);
}

/* Fundo cobrindo de verdade a tela no mobile */
body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--hb-text);
  min-height: 100svh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: #052a19;
  z-index: -1;
  will-change: transform;
  transform: translateZ(0);
}

.glass-card {
  width: clamp(340px, 92vw, 640px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hb-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  background: var(--hb-glass);
}
.glass-top,
.glass-bottom {
  background: var(--hb-glass-top);
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) inset,
    0 2px 10px rgba(0, 0, 0, 0.35);
}
.brand-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem); /* cresce no mobile e tablet */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand-sub {
  font-weight: 600;
  opacity: 0.9;
  font-size: clamp(0.9rem, 3.5vw, 1.2rem);
}

.links-wrap {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.35)
  );
  padding: 24px 20px;
}
.link-btn {
  font-size: clamp(1.3rem, 3.5vw, 1.5rem);
  display: block;
  width: 100%;
  text-align: center;
  color: var(--hb-text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 12px 16px;
  margin: 0 0 14px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 0 rgba(24, 221, 6, 0.6) inset,
    /* brilho interno */ 0 4px 10px rgba(0, 0, 0, 0.25),
    /* sombra principal */ 0 2px 6px rgba(0, 0, 0, 0.2); /* camada suave extra */
}

.link-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
}
.link-btn:active {
  transform: translateY(0) scale(0.99);
}

.glass-bottom small {
  font-size: clamp(0.8rem, 3vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .glass-card,
  .glass-top,
  .glass-bottom,
  .links-wrap {
    background: rgba(17, 100, 59, 0.65);
  }
}

@media (min-width: 480px) {
  .glass-card {
    width: clamp(360px, 88vw, 600px);
  }
  .logo {
    width: 5.5rem;
    height: 5.5rem;
  }
  .link-btn {
    padding: 1rem 1.2rem;
  }
}

@media (min-width: 640px) {
  .glass-card {
    width: clamp(420px, 80vw, 640px);
  }
}
