.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-bar,
.bottom-bar {
  background: linear-gradient(135deg, var(--main-yellow) 0%, #f7d082 100%);
  height: clamp(40px, 8vh, 70px);
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: clamp(20px, 5vw, 60px);
  min-height: calc(100vh - clamp(80px, 16vh, 140px));
}

.main-content::before,
.main-content::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.main-content::before {
  top: 10%;
  right: 5%;
  width: 25vw;
  height: 25vw;
  background: radial-gradient(
    circle,
    rgba(255, 217, 61, 0.08) 0%,
    transparent 70%
  );
}

.main-content::after {
  bottom: 10%;
  left: 5%;
  width: 20vw;
  height: 20vw;
  background: radial-gradient(
    circle,
    rgba(255, 155, 107, 0.08) 0%,
    transparent 70%
  );
}

.logo-container {
  margin-bottom: clamp(80px, 8vh, 120px);
  animation: fadeIn 0.8s ease-out;
}

.logo-link {
  display: inline-block;
}

.logo-link img {
  width: clamp(200px, 60vw, 800px);
  height: auto;
  max-width: 100%;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.logo-link:hover img {
  transform: scale(1.2);
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
  flex-wrap: wrap;
  animation: fadeIn 1s ease-out 0.2s both;
}

.btn-custom {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 700;
  padding: clamp(14px, 3vh, 22px) clamp(50px, 10vw, 100px);
  border-radius: 60px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
  color: #000;
  background: #fff;
}

.btn-ai {
  background: var(--main-orange-light);
  border-color: var(--main-orange-light);
}
.btn-ai:hover {
  background: var(--main-orange);
  border-color: var(--main-orange);
  color: #fff;
  transform: scale(1.2);
  box-shadow: 0 6px 18px rgba(255, 155, 107, 0.3);
}

.btn-review {
  background: var(--main-yellow-light);
  border-color: var(--main-yellow-light);
}
.btn-review:hover {
  background: var(--main-yellow);
  border-color: var(--main-yellow);
  color: #fff;
  transform: scale(1.2);
  box-shadow: 0 6px 18px rgba(245, 197, 99, 0.3);
}

#loadingSpinner {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: var(--font-primary);
  color: #333;
  transition: opacity 0.2s ease;
}

#loadingSpinner.hidden {
  display: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #e0e0e0;
  border-top-color: var(--main-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 12px;
}

#loadingSpinner p {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 900px) {
  .button-container {
    flex-direction: column;
    gap: 25px;
  }

  .btn-custom {
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
  }

  .logo-link img {
    width: clamp(180px, 70vw, 450px);
  }
}

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