/* =========================================
   GENERAL RESET
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   BODY
========================================= */

body {
  font-family: Arial, sans-serif;

  background: radial-gradient(
      circle at top,
      rgba(212, 175, 55, 0.15),
      transparent 40%
    ),
    linear-gradient(135deg, #002b1b 0%, #005b3a 50%, #001c12 100%);

  color: #fff;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 100vh;

  text-align: center;

  overflow: hidden;

  position: relative;
}

/* =========================================
   BACKGROUND GLOW
========================================= */

.background-glow {
  position: fixed;

  width: 500px;
  height: 500px;

  top: -250px;
  right: -150px;

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.15),
    transparent 70%
  );

  pointer-events: none;

  z-index: 0;
}

/* =========================================
   RAIN CONTAINER
========================================= */

.rain-container {
  position: fixed;

  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  pointer-events: none;

  overflow: hidden;

  z-index: 1;
}

/* =========================================
   INDIVIDUAL RAINDROP
========================================= */

.raindrop {
  position: absolute;

  top: -30px;

  width: 2px;
  height: 18px;

  background: linear-gradient(
    to bottom,
    rgba(248, 231, 161, 0),
    rgba(243, 215, 122, 0.8),
    rgba(255, 255, 255, 0.9)
  );

  border-radius: 50%;

  opacity: 0.6;

  transform: rotate(12deg);

  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: 1;

  filter: drop-shadow(0 0 3px rgba(243, 215, 122, 0.35));
}

/* =========================================
   RAIN ANIMATION
========================================= */

@keyframes fall {
  0% {
    transform: translate3d(0, -50px, 0) rotate(12deg);
    opacity: 0;
  }

  10% {
    opacity: 0.65;
  }

  90% {
    opacity: 0.65;
  }

  100% {
    transform: translate3d(-120px, 110vh, 0) rotate(12deg);
    opacity: 0;
  }
}

/* =========================================
   MAIN CONTAINER
========================================= */

.container {
  max-width: 650px;

  width: 90%;

  padding: 35px 25px;

  background: rgba(0, 43, 27, 0.92);

  color: #fff;

  border-radius: 15px;

  position: relative;

  z-index: 2;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.15);

  backdrop-filter: blur(3px);
}

/* =========================================
   ANIMATED GOLDEN BORDER
========================================= */

.container::before {
  content: "";

  position: absolute;

  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;

  border-radius: 18px;

  background: linear-gradient(
    45deg,
    #d4af37,
    #f3d77a,
    #d4af37,
    #f8e7a1,
    #d4af37
  );

  background-size: 300% 300%;

  z-index: -1;

  animation: borderAnimation 5s linear infinite;
}

/* =========================================
   BORDER MASK
========================================= */

.container::after {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  border-radius: 15px;

  background: rgba(0, 43, 27, 0.95);

  z-index: -1;
}

/* =========================================
   BORDER ANIMATION
========================================= */

@keyframes borderAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================
   GOLDEN JUBILEE BADGE
========================================= */

.badge {
  display: inline-block;

  margin-bottom: 22px;

  padding: 8px 18px;

  border: 1px solid rgba(243, 215, 122, 0.6);

  border-radius: 50px;

  color: #f3d77a;

  font-size: 0.9rem;

  font-weight: 600;

  letter-spacing: 0.5px;

  background: rgba(212, 175, 55, 0.08);

  box-shadow: 0 0 15px rgba(212, 175, 55, 0.08);
}

/* =========================================
   LOGO
========================================= */

figure {
  margin-bottom: 20px;
}

figure img {
  display: block;

  max-width: 100%;

  width: 320px;

  height: auto;

  margin: 0 auto;

  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 10px rgba(212, 175, 55, 0.08));
}

/* =========================================
   MAIN TEXT
========================================= */

.tagline {
  font-size: 1.35rem;

  line-height: 1.7;

  margin-bottom: 25px;

  color: #f8f6f0;

  font-weight: 500;
}

/* =========================================
   DIVIDER
========================================= */

.divider {
  width: 80px;

  height: 2px;

  margin: 0 auto 22px;

  background: linear-gradient(to right, transparent, #d4af37, transparent);

  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* =========================================
   FOOTER
========================================= */

.footer {
  font-size: 0.95rem;

  color: rgba(255, 255, 255, 0.85);
}

.footer a {
  color: #f3d77a;

  text-decoration: none;

  font-weight: 600;

  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer a:hover {
  color: #ffffff;

  text-decoration: none;

  text-shadow: 0 0 10px rgba(243, 215, 122, 0.6);
}

/* =========================================
   MOBILE
========================================= */

@media all and (max-width: 767px) {
  .container {
    max-width: 92%;

    padding: 25px 20px;
  }

  figure img {
    width: 240px;
  }

  .badge {
    font-size: 0.78rem;

    padding: 7px 14px;

    margin-bottom: 18px;
  }

  .tagline {
    font-size: 1.1rem;

    line-height: 1.6;
  }

  .footer {
    font-size: 0.85rem;
  }

  .raindrop {
    width: 1.5px;

    height: 14px;
  }
}
