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

body {
  font-family: "Noto Sans Devanagari", sans-serif;
  background: linear-gradient(
    135deg,
    #ff9933 0%,
    #ff6600 25%,
    #cc3300 50%,
    #990000 75%,
    #660000 100%
  );
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 10px;
}

/* Animated background elements */
.bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-om {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 3rem;
  animation: float 6s ease-in-out infinite;
}

.floating-om:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.floating-om:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}
.floating-om:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}
.floating-om:nth-child(4) {
  bottom: 10%;
  right: 10%;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Particle effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* Main container */
.welcome-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 153, 51, 0.3);
  max-width: 600px;
  width: calc(100% - 20px);
  z-index: 10;
  position: relative;
  animation: slideInUp 1s ease-out;
  box-sizing: border-box;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Om symbol */
.om-symbol {
  font-size: 4rem;
  color: #ff6600;
  margin-bottom: 20px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #ff6600;
  }
  to {
    text-shadow: 0 0 20px #ff6600, 0 0 30px #ff9933;
  }
}

/* Main heading */
.main-title {
  font-family: "Cinzel", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #8b4513;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  font-size: 1.2rem;
  color: #b8860b;
  margin-bottom: 30px;
  font-weight: 300;
}

/* Decorative elements */
.divider {
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #ff6600, #ffcc00, #ff6600);
  margin: 20px auto;
  border-radius: 2px;
}

/* Description text */
.description {
  color: #654321;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Blessing text */
.blessing {
  margin-top: 30px;
  font-style: italic;
  color: #8b4513;
  font-size: 1rem;
  opacity: 0.8;
}

/* Lotus decorations */
.lotus-decoration {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 102, 0, 0.3);
}

.lotus-left {
  top: 20px;
  left: 20px;
  animation: rotate 10s linear infinite;
}

.lotus-right {
  top: 20px;
  right: 20px;
  animation: rotate 10s linear infinite reverse;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .welcome-container {
    padding: 30px 20px;
    margin: 10px;
    max-width: 95%;
    width: 95%;
    min-height: auto;
  }

  .main-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .om-symbol {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .floating-om {
    font-size: 1.5rem;
  }

  .description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .blessing {
    font-size: 0.9rem;
    margin-top: 20px;
    line-height: 1.4;
  }

  .lotus-decoration {
    font-size: 1.5rem;
  }

  .lotus-left {
    top: 10px;
    left: 10px;
  }

  .lotus-right {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .welcome-container {
    padding: 25px 15px;
    margin: 5px;
    border-radius: 15px;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .om-symbol {
    font-size: 2rem;
  }

  .description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .blessing {
    font-size: 0.85rem;
    margin-top: 15px;
  }

  .divider {
    width: 80px;
    margin: 15px auto;
  }

  .lotus-decoration {
    font-size: 1.2rem;
  }

  .floating-om {
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {
  .welcome-container {
    padding: 20px 12px;
  }

  .main-title {
    font-size: 1.4rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .description {
    font-size: 0.9rem;
  }

  .blessing {
    font-size: 0.8rem;
  }
}
