/* =========================================
   🌿 Green Gradient Animated Kiosk
   ========================================= */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(160deg, #2e8b57, #3cb371, #00b37a);
  color: #fff;
  min-height: 100vh;
  text-align: center;
  font-size: 1.25rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating shapes */
.bg-patterns {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.idle-screen .bg-patterns {
  position: absolute;
  z-index: 0;
}

.circle,
.triangle,
.star {
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
}

.circle {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
}

.triangle {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.star {
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  50% {
    transform: translateY(-25px) rotate(180deg) scale(1.1);
  }

  100% {
    transform: translateY(0) rotate(360deg) scale(1);
  }
}

.circle,
.triangle,
.star {
  animation: float linear infinite;
}

/* Shape Positions */
.c1 {
  width: 200px;
  height: 200px;
  top: 5%;
  left: 10%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.c2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 15%;
  animation-duration: 12s;
  animation-delay: 3s;
}

.c3 {
  width: 180px;
  height: 180px;
  top: 60%;
  left: 5%;
  animation-duration: 16s;
  animation-delay: 6s;
}

.t1 {
  top: 20%;
  left: 30%;
  animation-duration: 13s;
  animation-delay: 2s;
}

.t2 {
  bottom: 15%;
  right: 35%;
  animation-duration: 15s;
  animation-delay: 5s;
}

.s1 {
  top: 10%;
  right: 20%;
  animation-duration: 11s;
  animation-delay: 1s;
}

.s2 {
  bottom: 20%;
  left: 25%;
  animation-duration: 17s;
  animation-delay: 4s;
}

/* Main Dashboard */
main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d8ffe2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff22;
  margin-bottom: 1.5rem;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

h1,
.subtitle,
.note {
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.subtitle,
.note {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  font-size: 1.8rem;
  padding: 18px 40px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  color: #fff;
  border: none;
}

.btn-primary {
  background-color: #006b3c;
}

.btn-primary:hover {
  background-color: #00b37a;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.35);
}

.btn-secondary {
  background-color: #004d2c;
}

.btn-secondary:hover {
  background-color: #009e60;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.35);
}

/* Accessibility */
.accessibility-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #006b3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.accessibility-btn:hover {
  transform: scale(1.1);
  background-color: #009e60;
}

.accessibility-menu {
  position: fixed;
  bottom: 90px;
  left: 20px;
  background: #ffffffee;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  padding: 10px;
  display: none;
  width: 220px;
  z-index: 9;
}

.accessibility-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 10px;
  font-size: 1.25rem;
  color: #333;
  border-radius: 6px;
}

.accessibility-menu button:hover {
  background: #f0f0f0;
}

/* Idle Screen */
.idle-screen {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 20;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(160deg, #2e8b57, #3cb371, #00b37a);
}

.idle-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.idle-content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.idle-content .welcome-text {
  font-size: 2rem;
  margin-bottom: 20px;
}

.idle-content .logo {
  width: 220px;
  height: 220px;
  margin-bottom: 20px;
}

/* Responsive */
@media(max-width:480px) {
  body {
    font-size: 1rem;
  }

  main {
    padding: 1rem;
  }

  .logo {
    width: 140px;
    height: 140px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .subtitle,
  .note {
    font-size: 1.2rem;
  }

  .btn {
    font-size: 1.4rem;
    padding: 12px 30px;
  }

  .idle-content h1 {
    font-size: 2.5rem;
  }

  .idle-content .welcome-text {
    font-size: 1.5rem;
  }

  .idle-content .logo {
    width: 160px;
    height: 160px;
  }
}