/* General */
@font-face {
  font-family: 'Microgramma';
  src: url('Microgramma.tff') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microgramma';
  min-height: 100vh;
  background: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  padding: env(safe-area-inset-top) 16px env(safe-area-inset-bottom);
}

/* BACKGROUND */
.bg span {
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 18s infinite alternate ease-in-out;
}

.bg span:nth-child(1) {
  top: -200px;
  left: -200px;
}

.bg span:nth-child(2) {
  bottom: -250px;
  right: -150px;
  animation-delay: 4s;
}

.bg span:nth-child(3) {
  top: 30%;
  right: -250px;
  animation-delay: 8s;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(80px); }
}

/* fRAME */
.card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 56px 28px 40px;
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  text-align: center;
  z-index: 1;
}

/* logo */
.logo {
  width: 120px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

/* Text */
h1 {
  font-family: 'Microgramma';
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.tagline {
  font-family: 'Microgramma', Arial, sans-serif;
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.4;
  margin-bottom: 28px;
}

/* Postions */
.postions {
  font-family: 'Microgramma';
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.4;
  margin-bottom: 28px;
}

/* Buttons */
.links a {
  position: relative;
  overflow: hidden;   /* 🔑 THIS FIXES IT */
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffffff, #f2f2f2);
  color: #000000;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 18px;
  margin-bottom: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Icons */
.links a span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.links a span img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0%) invert(30%) sepia(93%)
          saturate(1800%) hue-rotate(20deg);
}

.back {
  width: 30px;
  height: 20px;
  filter: grayscale(100%) brightness(0%) invert(30%) sepia(93%)
          saturate(1800%) hue-rotate(202deg);
}

/* Animation */
.links a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgb(0, 174, 255),
    transparent 60%
  );
  transition: transform 0.6s ease;
}

.links a:hover::after {
  transform: translateX(100%);
}



.links a span img {
  filter: grayscale(100%)
          brightness(0%)
          invert(45%)
          sepia(85%)
          saturate(1200%)
          hue-rotate(200deg)
          brightness(115%);
}

/* Footer */
footer {
  margin-top: 30px;
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 360px) {
  .card {
    padding: 36px 22px;
  }

  .logo {
    width: 90px;
  }

  h1 {
    font-size: 1.6rem;
  }
}