/* ============================= */
/* Landing Page Styles */
/* ============================= */

body {
  background: #12100e;
  color: #ffffff;
}

/* Full landing page */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at top left, rgba(201, 162, 110, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(95, 72, 50, 0.22), transparent 35%),
    linear-gradient(135deg, #0f0f0f, #1a1714, #2a2119);

  background-size: 140% 140%;
  animation: backgroundMove 10s ease-in-out infinite alternate;
}

/* Header / logo area */
.landing-header {
  width: 100%;
  padding: 25px 8%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: fadeDown 1s ease forwards;
}

/* Logo link */
.logo-link {
  display: inline-block;
  text-decoration: none;
}

/* Logo image */
.site-logo {
  width: 100px;
  height: auto;
  display: block;
  border-radius: 12px;
  animation: logoFloat 4s ease-in-out infinite;
}

/* Center content */
.landing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 8%;
  position: relative;
  z-index: 2;
}

/* Main heading */
.landing-content h1 {
  font-size: 50px;
  margin-bottom: 18px;
  color: #ffffff;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.2s;
}

/* Small paragraph */
.landing-content > p {
  font-size: 18px;
  color: #e8e1d6;
  max-width: 650px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
}

/* Two cards container */
.choice-container {
  display: flex;
  gap: 30px;
  margin-top: 45px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Choice card */
.choice-card {
  width: 310px;
  min-height: 240px;
  padding: 32px;
  background: rgba(24, 22, 20, 0.92);
  border: 1px solid rgba(201, 162, 110, 0.35);
  border-radius: 22px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Card hover effect */
.choice-card:hover {
  transform: translateY(-10px);
  border: 1px solid #c9a26e;
  box-shadow: 0 18px 45px rgba(201, 162, 110, 0.22);
}

/* Light shine effect on cards */
.choice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
  transition: left 0.6s ease;
}

.choice-card:hover::before {
  left: 120%;
}

/* Card title */
.choice-card h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #e6c18a;
  position: relative;
  z-index: 2;
}

/* Card paragraph */
.choice-card p {
  font-size: 15px;
  color: #ddd3c4;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

/* Button style */
.choice-card button {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  background-color: #c9a26e;
  color: #111111;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Button hover */
.choice-card button:hover,
.choice-card:hover button {
  background-color: #e6c18a;
  transform: scale(1.08);
}

/* Fun card button */
.fun-card button {
  background-color: #f2e2c7;
  color: #111111;
}

/* Moving diagonal light */
.landing-page::before {
  content: "";
  position: absolute;
  width: 160%;
  height: 160%;
  left: -60%;
  bottom: -60%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(201, 162, 110, 0.05) 43%,
    rgba(255, 235, 200, 0.25) 50%,
    rgba(201, 162, 110, 0.05) 57%,
    transparent 65%
  );
  animation: diagonalLight 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* ============================= */
/* Animations */
/* ============================= */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes backgroundMove {
  from {
    background-position: left top;
  }

  to {
    background-position: right bottom;
  }
}

@keyframes diagonalLight {
  0% {
    transform: translate(-20%, 20%);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  50% {
    transform: translate(45%, -45%);
    opacity: 1;
  }

  100% {
    transform: translate(80%, -80%);
    opacity: 0;
  }
}

/* ============================= */
/* Mobile Responsive */
/* ============================= */

@media (max-width: 768px) {
  .landing-header {
    padding: 20px 6%;
  }

  .site-logo {
    width: 90px;
  }

  .landing-content h1 {
    font-size: 36px;
  }

  .landing-content > p {
    font-size: 16px;
  }

  .choice-container {
    flex-direction: column;
  }

  .choice-card {
    width: 100%;
    max-width: 330px;
  }
}