/* splash screen for home page */
.splash * {
  box-sizing: border-box;
}

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* ONLY background gradient */
  background: rgba(35, 40, 73, 0.95);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
  animation: fadeIn 0.5s ease-in-out;
}

.splash-inner {
  position: relative;

  width: 85%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;

  background: url('/__data/assets/image/2026/may/splash-image.png') no-repeat center center;
  background-size: cover;

  border-radius: 10px;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 26px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 5;
  transition: all 0.3s ease;
}

.close-btn:hover {
  transform: scale(1.2) rotate(90deg);
  color: #ff4d4d;
}

/* Bottom card */
.overlay-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: #e6a85c;
  padding: 40px;
  max-width: 500px;
}

/* Heading */
.overlay-card h1 {
  font-size: 28px;
  font-weight: 800;
  color: #1b2a4e;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Text */
.overlay-card p {
  font-size: 20px;
  color: white;
  font-weight: 600;
  font-family: Geometos, Arial, sans-serif;
}

/* HERE link */
.overlay-card a {
  color: #0033ff;
  text-decoration: none;
  font-weight: bold;
  font-family: Geometos, Arial, sans-serif;
}

.overlay-card a:hover {
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .overlay-card {
    position: absolute;

    top: 20px;
    /* 👈 move to top */
    bottom: auto;
    /* remove bottom positioning */

    left: 0;
    right: 0;
    margin: 0 auto;

    width: 90%;
    max-width: none;

    padding: 20px;
    background: rgba(230, 168, 92, 0.95);
    /* slight transparency */
    backdrop-filter: blur(4px);
    /* premium look */
  }

  .overlay-card h1 {
    font-size: 16px;
    line-height: 1.2;
  }

  .overlay-card p {
    font-size: 14px;
  }

  .splash-inner {
    width: 90%;

    /* Increase height indirectly */
    aspect-ratio: 3 / 4;
    /* 👈 taller layout */

    max-height: 90vh;
    /* 👈 prevents overflow */
  }
}