:root {
  --main-color: aqua;
  --second-color: rgb(85, 105, 105);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #ffffff;
  min-height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px;
  position: relative;
  overflow: hidden;
}

/* Animated Background Balls - Matching Main Page */
body::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: aqua;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(80px);
  top: 15%;
  left: 10%;
  animation: float1 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

body::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: aqua;
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(80px);
  bottom: 15%;
  right: 10%;
  animation: float2 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.1);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 30px) scale(0.9);
  }
}

.container {
  max-width: 600px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 20px;
  padding: 50px 40px;
  margin-bottom: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Section */
.logo {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.logo i {
  font-size: 40px;
  color: aqua;
  margin-bottom: 10px;
  display: inline-block;
}

.logo h1 {
  font-size: 28px;
  font-weight: 900;
  color: #333;
  margin-bottom: 5px;
}

.logo p {
  font-size: 15px;
  color: #666;
  font-weight: 600;
  margin-top: 10px;
}

/* Buttons Container */
.btn-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 0;
}

/* Social Buttons */
.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 15px;
  color: var(--second-color);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.buttons::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 229, 255, 0.1) 50%, 
    transparent 100%);
  transition: left 0.6s ease;
}

.buttons:hover::before {
  left: 100%;
}

.buttons i {
  font-size: 22px;
  color: aqua;
  margin: 0;
  transition: all 0.3s ease;
}

.buttons:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: aqua;
  box-shadow: 0 20px 40px rgba(0, 229, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.buttons:hover i {
  transform: scale(1.2);
  color: #00d4ff;
}

/* Back to Home Link */
a.back-home {
  text-align: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}

a.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

a.back-home i {
  font-size: 16px;
  color: aqua;
  margin: 0;
  transition: transform 0.3s ease;
}

a.back-home:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: aqua;
  transform: translateX(-5px);
}

a.back-home:hover i {
  transform: translateX(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 20px;
  }

  .container {
    padding: 40px 25px;
    border-radius: 20px;
  }

  .logo i {
    font-size: 35px;
  }

  .logo h1 {
    font-size: 24px;
  }

  .logo p {
    font-size: 14px;
  }

  .btn-container {
    gap: 12px;
  }

  .buttons {
    padding: 14px 16px;
    font-size: 14px;
  }

  .buttons i {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .container {
    padding: 35px 20px;
    border-radius: 20px;
  }

  .logo {
    margin-bottom: 30px;
  }

  .logo i {
    font-size: 30px;
  }

  .logo h1 {
    font-size: 22px;
  }

  .logo p {
    font-size: 13px;
  }

  .btn-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .buttons {
    padding: 15px 20px;
    font-size: 14px;
  }

  .buttons i {
    font-size: 20px;
  }

  .back-home {
    margin-top: 25px;
    padding-top: 20px;
  }

  .back-home a {
    font-size: 13px;
  }
}

/* Animations on Load */
.buttons {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}

.buttons:nth-child(1) { animation-delay: 0.1s; }
.buttons:nth-child(2) { animation-delay: 0.15s; }
.buttons:nth-child(3) { animation-delay: 0.2s; }
.buttons:nth-child(4) { animation-delay: 0.25s; }
.buttons:nth-child(5) { animation-delay: 0.3s; }
.buttons:nth-child(6) { animation-delay: 0.35s; }
.buttons:nth-child(7) { animation-delay: 0.4s; }

.back-home {
  animation: slideInUp 0.6s ease forwards;
  animation-delay: 0.45s;
  opacity: 0;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
