/* ========================= RESET & BASE ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #7f90e3, #f7e8ff);
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================= MOBILE CONTAINER ========================= */
.mobile-container {
  background: #fff;
  border-radius: 0;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 480px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Scrollable container */
.mobile-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 18px 140px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ========================= HEADER ========================= */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 300;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #d4d4d4;
}

.welcome-text .hi {
  font-size: 12px;
  color: #555;
}

.welcome-text .name {
  font-size: 14px;
  font-weight: 600;
}

.header-icons i {
  font-size: 18px;
  margin-left: 14px;
  cursor: pointer;
}

/* Back Button */
.back-arrow-btn {
  position: absolute;
  left: 16px;
  color: #000;
  font-size: 38px;
  padding: 6px 12px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

.back-arrow-btn:hover {
  color: #8e2de2;
}

/* ========================= SECTION TITLE ========================= */
.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #777;
  margin: 16px 18px 10px;
}

/* ========================= POOJA LIST & CARDS ========================= */
.pooja-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pooja-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  gap: 15px;
  padding: 14px;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pooja-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pooja-card img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: cover;
}

.pooja-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pooja-details h2 {
  font-size: 17px;
  font-weight: 600;
  color: #222;
}

.pooja-details p {
  font-size: 13px;
  color: #777;
  margin: 4px 0;
  line-height: 1.4;
}

.price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price .current {
  font-weight: 600;
  font-size: 16px;
  color: #000;
}

.price .old {
  font-size: 13px;
  color: #aaa;
  text-decoration: line-through;
}

.pooja-details button {
  min-width: 100px;
  max-width: 180px;
  height: 32px;
  background: linear-gradient(to right, #3F0853, #B72BEB);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
  cursor: pointer;
  transition: 0.25s;
  padding: 0 18px;
  white-space: nowrap;
  margin-top: 6px;
}

.pooja-details button:active {
  transform: scale(0.97);
}

/* ========================= LANGUAGE BUTTON ========================= */
.lang-btn {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f1f1f1 100%);
  color: #222;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: all 0.35s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.lang-btn:hover {
  background: linear-gradient(135deg, #3F0853 0%, #B72BEB 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,123,255,0.35);
  transform: translateY(-2px) scale(1.05);
  border-color: transparent;
}

.lang-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ========================= BOTTOM NAV FIXED FULL WIDTH ========================= */
.bottom-nav {
  position: fixed;
  bottom: 0;                 /* Stick to very bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;               /* Full width for mobile responsiveness */
  max-width: 480px;          /* Limit max width on larger screens */
  background: #fff;
  border-radius: 24px 24px 0 0; /* Rounded top corners only */
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.15); /* Shadow above nav */
  z-index: 200;
}

.bottom-nav a {
  color: #555;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.bottom-nav i {
  font-size: 20px;
  margin-bottom: 2px;
}

.bottom-nav a.active {
  color: #8e2de2;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 480px) {
  .mobile-container {
    max-width: 100vw;
    width: 100vw;
    min-height: 100vh;
    border-radius: 0;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 0px;
  }
  .menu-list {
    width: 98%;
    border-radius: 11px;
  }
  .menu-item {
    padding: 15px 10px;
    font-size: 14px;
  }
  .profile-section img {
    width: 80px;
    height: 80px;
  }
  .profile-section h3 {
    font-size: 18px;
  }
  .top-header h2 {
    font-size: 18px;
  }
  .bottom-nav {
    left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    transform: none !important;
  }
  .bottom-nav a {
    transform: none !important;
  }
}
