@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700;900&display=swap');
html, body {
  height: auto;
  margin: 0;
  padding: 0;
  overflow: auto;
}
body {
  font-family: 'League Spartan', 'Montserrat', 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #f6f8fc 0%, #e9eafc 100%);
  color: #222;
  min-height: 100vh;
}
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
}
header h1 {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: #004A98;
  text-align: center;
  margin-bottom: 18px;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.5px;
}
.main-icon {
  font-size: 2.1rem;
  vertical-align: middle;
}
.tabs {
  display: flex;
  justify-content: space-between;
  background: #f3f5fa;
  border-radius: 24px;
  box-shadow: 0 2px 12px #bfc7e633;
  margin-bottom: 24px;
  overflow: hidden;
  padding: 6px;
  position: relative;
  z-index: 1;
  gap: 6px;
}
.tab {
  flex: 1;
  padding: 12px 0;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  background: #fff;
  color: #4a5cff;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 18px;
  margin: 0 0px;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  z-index: 1;
  letter-spacing: 0.2px;
}
.tab.active {
  background: linear-gradient(90deg, #4a5cff 60%, #a7bfff 100%);
  color: #fff;
  box-shadow: 0 2px 8px #4a5cff22;
  transform: scale(1.04);
  z-index: 2;
}
.tab:hover:not(.active) {
  background: #e9eafc;
  color: #4a5cff;
  box-shadow: 0 2px 8px #4a5cff11;
}
.prayer-content {
  background: #fff;
  border-radius: 28px;
  padding: 32px 28px 28px 28px;
  box-shadow: 0 4px 32px #bfc7e633;
  margin: 24px 0 24px 0;
  margin-left: 8px;
  margin-right: 8px;
  display: block;
  opacity: 1;
  border: none;
  transition: opacity 0.5s, box-shadow 0.3s;
  animation: fadeInUp 0.7s;
  position: relative;
  z-index: 1;
  scrollbar-width: thin;
  scrollbar-color: #a07cff #e9eafc;
}
.prayer-content.hidden {
  display: none;
  opacity: 0;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.prayer-content h2 {
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 900;
  color: #4a5cff;
  font-size: 1.35rem;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
}
.underline {
  display: none;
}
.prayer-theme, .prayer-content p strong {
  background: #e9eafc;
  color: #4a5cff;
  border-radius: 12px;
  padding: 6px 14px;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  margin-bottom: 10px;
  display: inline-block;
  box-shadow: 0 2px 8px #4a5cff10;
}
.prayer-content h4 {
  color: #a07cff;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 4px;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}
.prayer-content p, .prayer-content blockquote {
  font-family: 'Nexa', 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 18px;
}
.prayer-content blockquote {
  background: #f3f5fa;
  border-left: 4px solid #a07cff;
  border-radius: 12px;
  padding: 12px 18px;
  font-style: italic;
  color: #4a5cff;
  margin: 12px 0 18px 0;
  box-shadow: 0 2px 8px #4a5cff10;
}
.music-link {
  color: #a07cff;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}
.music-link:hover {
  color: #4a5cff;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #4a5cff 0%, #a07cff 100%);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 14px 32px;
  font-family: 'League Spartan', 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.13rem;
  cursor: pointer;
  box-shadow: 0 2px 12px #4a5cff22;
  transition: background 0.18s, transform 0.15s, box-shadow 0.15s, filter 0.15s;
  gap: 12px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.share-btn .icon {
  margin-right: 8px;
  font-size: 1.35em;
  filter: drop-shadow(0 2px 4px #4a5cff22);
}
.share-btn:hover, .share-btn:focus {
  background: linear-gradient(90deg, #a07cff 0%, #4a5cff 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 18px #4a5cff33;
  filter: brightness(1.08) saturate(1.1);
}
.share-btn:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}
.logo-topo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.logo-img {
  max-width: 200px;
  width: 60vw;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
  filter: none;
  transition: none;
}
.logo-img:hover {
  transform: scale(1.04) rotate(-2deg);
}
.bg-decor {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 45vw;
  max-width: 340px;
  min-width: 120px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.bg-decor-mobile {
  display: none;
}
@media (max-width: 600px) {
  .container {
    padding: 8px;
    height: auto;
  }
  .logo-img {
    max-width: 140px;
    width: 60vw;
    margin-bottom: 8px;
  }
  .prayer-content {
    padding: 20px 12px 18px 12px;
    max-width: 100vw;
    min-width: 0;
    border-width: 0;
    animation: fadeInUp 0.7s;
    border-radius: 18px;
    margin: 16px 0 16px 0;
    margin-left: 4px;
    margin-right: 4px;
  }
  .bg-decor-mobile {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70vw;
    max-width: 120px;
    min-width: 50px;
    height: auto;
    opacity: 0.13;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    filter: blur(0.5px) brightness(1.1);
    transition: opacity 0.3s;
  }
  .tab {
    font-size: 1.01rem;
    padding: 10px 0;
  }
  header, .tabs {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f6f8fc;
  }
}
.prayer-content::-webkit-scrollbar {
  width: 5px;
  background: transparent;
}
.prayer-content::-webkit-scrollbar-thumb {
  background: #a07cff;
  border-radius: 8px;
  opacity: 0.3;
}
.prayer-content::-webkit-scrollbar-thumb:hover {
  background: #4a5cff;
}
#page-loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s;
  opacity: 1;
}
#page-loader.hide {
  opacity: 0;
  pointer-events: none;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.loader-img {
  width: 80px;
  height: 80px;
  animation: bubblePop 1.1s cubic-bezier(.68,-0.55,.27,1.55) infinite;
  filter: drop-shadow(0 2px 12px #4a5cff33);
}
@keyframes bubblePop {
  0% { transform: scale(1) translateY(0); }
  20% { transform: scale(1.08, 0.92) translateY(0); }
  40% { transform: scale(0.95, 1.05) translateY(-10px); }
  60% { transform: scale(1.05, 0.95) translateY(0); }
  80% { transform: scale(0.98, 1.02) translateY(4px); }
  100% { transform: scale(1) translateY(0); }
}
.yt-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.yt-modal.active {
  display: flex;
  animation: fadeInModal 0.3s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.yt-modal-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,30,40,0.75);
  z-index: 1;
}
.yt-modal-content {
  position: relative;
  z-index: 2;
  background: none;
  border-radius: 18px;
  box-shadow: 0 8px 32px #2228;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.yt-modal-content iframe {
  width: 360px;
  height: 215px;
  border: none;
  border-radius: 12px;
  background: #000;
  max-width: 90vw;
  max-height: 50vw;
}
@media (max-width: 600px) {
  .yt-modal-content iframe {
    width: 90vw;
    height: 50vw;
    min-height: 180px;
  }
} 