
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #ffe8e8, #ffd580, #fcb5ff);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.app-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ff9800;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  z-index: 500;
}

.menu-icon {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  margin-right: 1rem;
}

.app-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.logo {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  object-fit: cover;
}


.app-container {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.25);
  max-width: 450px;
  width: 90%;
  margin-top: 80px;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

button,
.btn {
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  background-color: #ff9800;
  color: white;
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: #e68900;
  transform: scale(1.05);
}


#loader,
.loader {
  margin-top: 20px;
  font-size: 18px;
  color: #666;
  font-style: italic;
}

.cat-card {
  margin-top: 1.5rem;
}

#catImg {
  max-width: 90%;
  max-height: 400px;
  border-radius: 12px;
  margin-top: 15px;
  display: none;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

#catName {
  margin-top: 1rem;
  font-size: 1.3rem;
  color: #444;
}

#catJoke {
  font-size: 1rem;
  color: #777;
  margin-top: 0.5rem;
  font-style: italic;
}


