@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

body.user{
  background: linear-gradient(135deg, #0a0a0a, #1a001a, #2e003e);
  font-family: 'Poppins', sans-serif;
  color: #e0d7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.card {
  background: rgba(40, 0, 60, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(150, 0, 255, 0.3);
  padding: 2rem;
  text-align: center;
  width: 300px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
}

img.photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #b27aff;
  margin-bottom: 15px;
}

h2 {
  color: #cda4ff;
  font-weight: 600;
}

p {
  font-size: 14px;
  margin: 5px 0;
  color: #cfc6e8;
}

button {
  background: #8f5cff;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  color: white;
  font-weight: 500;
  margin-top: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #b98eff;
}
/* jokes part=========== */
/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body ===== */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top left, #a855f7, #2e1065);
  font-family: "Poppins", sans-serif;
  color: white;
}

/* ===== Card ===== */
.card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  width: 320px;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.6);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.8);
}

/* ===== Image ===== */
.card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ===== Joke Text ===== */
#joke {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #f3e8ff;
  margin-bottom: 25px;
  min-height: 60px;
}

/* ===== Button ===== */
button.funny {
  background: linear-gradient(135deg, #9333ea, #c084fc);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}

button:hover {
  background: linear-gradient(135deg, #7e22ce, #a855f7);
  transform: scale(1.05);
}

button:active {
  box-shadow: 0 0 12px #c084fc;
}


img .fun{
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid #b57fff;
}
/* advices part============== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.advice {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #d8b4fe, #fbcfe8);
}

/* ===== Card Styling ===== */
.card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* ===== Text ===== */
#advice {
  font-size: 1.5rem;
  color: #3a3a3a;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* ===== Button ===== */
button {
  background: linear-gradient(135deg, #c084fc, #f9a8d4);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:hover {
  background: linear-gradient(135deg, #a855f7, #f472b6);
  transform: scale(1.05);
}

/* ===== Small Glow Effect ===== */
button:active {
  box-shadow: 0 0 15px #f9a8d4;
}
/*====================== MAIN============================== */
/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body ===== */
body.main {
  height: 100vh;
  background: radial-gradient(circle at 20% 20%, #d410aa, #2e1065, #1a0328);
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

/* ===== Container ===== */
.container {
  text-align: center;
  background: rgba(53, 2, 49, 0.05);
  padding: 60px 40px;
  border-radius: 25px;
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
  backdrop-filter: blur(25px);
  width: 380px;
  transition: 0.4s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.7);
}

/* ===== Title ===== */
h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-shadow: 0 0 15px rgba(192, 132, 252, 0.8);
}

/* ===== Subtitle ===== */
.subtitle {
  font-size: 0.95rem;
  color: #f3e8ff;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* ===== Buttons ===== */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== Button Styling ===== */
.btn {
  border: none;
  outline: none;
  padding: 15px 25px;
  border-radius: 25px;
  background: linear-gradient(135deg, #311150, #c084fc);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
  transition: 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(221, 151, 215, 0.9);
}

.btn a {
  text-decoration: none;
  color: white;
  display: block;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== Unique Hover Colors for Each Button ===== */
.id:hover {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.jokes:hover {
  background: linear-gradient(135deg, #8b5cf6, #d8b4fe);
}

.advices:hover {
  background: linear-gradient(135deg, #6d28d9, #c4b5fd);
}

/* ===== Floating Glow Animation ===== */
@keyframes floatGlow {
  0% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
  50% { box-shadow: 0 0 45px rgba(192, 132, 252, 0.9); }
  100% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.6); }
}

.container {
  animation: floatGlow 4s infinite ease-in-out;
}
