body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1f4037, #99f2c8);
  color: #fff;
  line-height: 1.6;
  padding: 20px;
}

.card, .profile-card, .category, .product-card {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .profile-card:hover, .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.profile-card {
  text-align: center;
}
.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid #4caf50;
  margin-bottom: 10px;
}
.highlight { color: #4cafef; }
.nickname { color: orange; }

h1, h2, h3 {
  margin: 0;
}
h2 {
  color: #4cafef;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #4cafef;
  display: inline-block;
  padding-bottom: 5px;
}
h3 {
  color: #4caf50;
}

.styled-list {
  list-style: none;
  padding-left: 0;
}
.styled-list li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}
.styled-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4caf50;
}

.moods {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.moods figure {
  text-align: center;
}
.moods img {
  width: 150px;
  border-radius: 15px;
  transition: transform 0.3s ease;
}
.moods img:hover {
  transform: scale(1.05);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feedback-form input,
.feedback-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: 2px solid #4cafef;
  background: rgba(255,255,255,0.1);
}
.feedback-form button {
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.feedback-form button:hover {
  background: #388e3c;
}
.error {
  color: #ff4d4d;
  font-size: 0.85rem;
  margin-top: -8px;
  margin-bottom: 10px;
  display: block;
}
#formMessage {
  font-weight: bold;
  margin-top: 10px;
}

.shop-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.category h2 {
  color: #4cafef;
  border-left: 5px solid #4cafef;
  padding-left: 10px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  text-align: center;
  padding: 1rem;
}
.product-card img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 10px;
}
.product-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
.product-card p {
  font-weight: 600;
  color: #4cafef;
  margin-bottom: 1rem;
}
.buy-btn {
  background: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.buy-btn:hover {
  background: #388e3c;
}

header {
  text-align: center;
  padding: 2rem 1rem;
}
header h1 {
  font-size: 2.5rem;
  color: #fff;
}
header p {
  font-size: 1rem;
  opacity: 0.9;
}
header a {
  color: #4cafef;
  text-decoration: none;
  font-weight: 600;
}
header a:hover {
  text-decoration: underline;
}
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.tabs {display:flex; gap:10px; flex-wrap: wrap; justify-content:center;}
.tab-btn {background:#222; color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer}
.tab-btn.active {background:#4caf50}
.tab-section {display:none}
.tab-section.active {display:block}
#loaderOverlay {position:fixed; inset:0; background:rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; z-index:9999}
.spinner {width:64px; height:64px; border:6px solid #fff; border-top-color:#4caf50; border-radius:50%; animation: spin 1s linear infinite}
@keyframes spin {to {transform: rotate(360deg)}}
.app-actions {display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:12px}
.app-card-title {margin-bottom: 6px}
.app-card {max-width: 900px; margin: 0 auto; text-align: center}
.app-actions .buy-btn {min-width: 230px}
.login-card {max-width:700px; margin:0 auto}
.login-wrap {display:flex; flex-direction:column; gap:14px}
.login-row {display:flex; gap:10px; align-items:center}
.login-row.column {flex-direction:column; align-items:stretch; gap:6px}
.login-row.center {justify-content:center}
.field-label {font-size:0.9rem; font-weight:600; color:#333}
.login-wrap input[type="email"], .login-wrap input[type="password"] {flex:1; padding:12px 14px; border:1px solid #ddd; border-radius:10px; background:#fafafa; outline:none; transition:border .15s ease, box-shadow .15s ease}
.login-wrap input::placeholder {color:#999}
.login-wrap input:focus {border-color:#4e54c8; box-shadow:0 0 0 3px rgba(78,84,200,.15); background:#fff}
.icon-btn {padding:10px 12px; border:1px solid #ddd; background:#fff; border-radius:10px; cursor:pointer}
.icon-btn:hover {background:#f3f3ff; border-color:#c8c8ff}
.login-row .buy-btn {min-width:160px}
.login-divider {display:flex; align-items:center; gap:10px; color:#666; margin:6px 0}
.login-divider::before, .login-divider::after {content:""; height:1px; background:#ddd; flex:1}
.login-wrap .error {text-align:center; color:#e53935; margin-top:8px; display:block}
#submitQuiz {display:block; margin:12px auto}
