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

html, body {
  scroll-behavior: smooth;
}

ul {
  list-style-type: none;
}

ul, ol, div {
  margin: 0;
  padding: 0;
}

::selection {
  text-shadow: none;
  background: #b3d4fc;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  display: block;
}

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

html {
  color: #303030;
  font-family: sans-serif;
  font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, sans-serif;
}

a {
  color: #17a2b8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.clearfix:after {
  content: "";
  clear: both;
  display: table;
}

.image {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.ganesha-lp {
  background: url("images/background-d.png") center / cover no-repeat;
  height: 100vh;
  overflow: hidden;
}

@media screen and (width <= 768px) {
  .ganesha-lp {
    background: url("images/background-mobile.jpg") top / cover no-repeat;
  }
}

.ganesha-lp__container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 90px 0 0;
}

@media screen and (width >= 1440px) and (width <= 1536px) {
  .ganesha-lp__container {
    max-width: 1280px;
  }
}

@media screen and (width <= 1024px) {
  .ganesha-lp__container {
    max-width: 920px;
  }
}

@media screen and (width <= 768px) {
  .ganesha-lp__container {
    max-width: 100%;
    padding: 70px 4%;
  }
}

.ganesha-lp__content-wrapper {
  align-items: center;
  gap: 50px;
  width: 100%;
  height: 100%;
  display: flex;
}

@media screen and (width <= 1024px) {
  .ganesha-lp__content-wrapper {
    gap: 10px;
  }
}

@media screen and (width <= 768px) {
  .ganesha-lp__content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

.ganesha-lp__character-imgs {
  justify-content: center;
  width: 80%;
  height: 100vh;
  display: flex;
  position: relative;
}

@media screen and (width <= 768px) {
  .ganesha-lp__character-imgs {
    width: 100%;
    height: 100%;
  }
}

.ganesha-lp__indians {
  z-index: 2;
  width: 75%;
  position: absolute;
  bottom: 50px;
  left: -180px;
}

@media screen and (width <= 1200px) {
  .ganesha-lp__indians {
    width: 100%;
  }
}

@media screen and (width <= 1024px) {
  .ganesha-lp__indians {
    width: 90%;
  }
}

@media screen and (width <= 768px) {
  .ganesha-lp__indians {
    display: none;
  }
}

.ganesha-lp__d-ganesha {
  z-index: 1;
  width: 100%;
  position: relative;
}

@media screen and (width <= 768px) {
  .ganesha-lp__d-ganesha {
    width: 60%;
    height: 100%;
  }
}

@media screen and (width <= 576px) {
  .ganesha-lp__d-ganesha {
    display: none;
  }
}

.ganesha-lp__m-ganesha {
  display: none;
}

@media screen and (width <= 576px) {
  .ganesha-lp__m-ganesha {
    z-index: 1;
    max-width: 294px;
    height: 100%;
    display: block;
    position: relative;
  }
}

.ganesha-lp__niki {
  z-index: 2;
  width: 60%;
  position: absolute;
  bottom: 50px;
  right: -80px;
}

@media screen and (width <= 1200px) {
  .ganesha-lp__niki {
    width: 100%;
  }
}

@media screen and (width <= 1024px) {
  .ganesha-lp__niki {
    width: 80%;
  }
}

@media screen and (width <= 768px) {
  .ganesha-lp__niki {
    display: none;
  }
}

.ganesha-lp__petal3 {
  z-index: 3;
  width: 84px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (width <= 768px) {
  .ganesha-lp__petal3 {
    display: none;
  }
}

.ganesha-lp__petal2 {
  z-index: 3;
  width: 49px;
  height: auto;
  position: absolute;
  top: 40%;
  right: 0;
}

@media screen and (width <= 768px) {
  .ganesha-lp__petal2 {
    display: none;
  }
}

.ganesha-lp__petal1 {
  z-index: 4;
  width: 190px;
  height: auto;
  position: absolute;
  bottom: 15%;
  left: 0;
}

@media screen and (width <= 768px) {
  .ganesha-lp__petal1 {
    display: none;
  }
}

.ganesha-lp__flower {
  z-index: 4;
  width: 76px;
  height: auto;
  position: absolute;
  bottom: 60%;
  left: -10%;
}

@media screen and (width <= 768px) {
  .ganesha-lp__flower {
    display: none;
  }
}

.ganesha-lp__main-text {
  z-index: 3;
  width: 40%;
  height: auto;
  margin-top: -150px;
  position: relative;
}

@media screen and (width <= 768px) {
  .ganesha-lp__main-text {
    width: 100%;
    margin-top: 0;
    transform: translateY(-300px);
  }
}

@media screen and (width <= 576px) {
  .ganesha-lp__main-text {
    transform: translateY(-250px);
  }
}

.ganesha-lp__d-header {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
}

@media screen and (width <= 768px) {
  .ganesha-lp__d-header {
    display: none;
  }
}

.ganesha-lp__header-main {
  width: 100%;
}

.ganesha-lp__subheader {
  color: #fff;
  text-shadow: 0 2px 4px #0006;
  font-family: sans-serif;
  font-size: 2rem;
}

.ganesha-lp__header-ribbon {
  width: 100%;
}

.ganesha-lp__button {
  width: 200px;
  margin-top: 20px;
}

.ganesha-lp__m-header {
  display: none;
}

@media screen and (width <= 768px) {
  .ganesha-lp__m-header {
    z-index: 2;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    position: relative;
  }
}

.ganesha-lp__header-main-mobile {
  width: 60%;
}

@media screen and (width <= 576px) {
  .ganesha-lp__header-main-mobile {
    width: 100%;
  }
}

.ganesha-lp__header-ribbon-mobile {
  width: 60%;
  margin-bottom: 20px;
}

@media screen and (width <= 576px) {
  .ganesha-lp__header-ribbon-mobile {
    width: 100%;
  }
}

.ganesha-lp__button-mobile {
  width: 200px;
}

@media screen and (width <= 576px) {
  .ganesha-lp__button-mobile {
    width: 60%;
  }
}

.ganesha-lp__coins {
  z-index: 3;
  width: 60%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 70px;
}

@media screen and (width <= 768px) {
  .ganesha-lp__coins {
    display: none;
  }
}

.image {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

/* --- ANIMATIONS --- */

/* --- common starting state --- */
.ganesha-lp__character-imgs img, .ganesha-lp__main-text img, .ganesha-lp__subheader {
  opacity: 0;
  will-change: transform, opacity;
}

/* --- character images: fade-in --- */
.ganesha-lp__character-imgs img {
  transition: opacity .8s ease-out, transform .8s ease-out;
  transform: translateY(20px);
}

.ganesha-lp__character-imgs img.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- text / header images: zoom-in --- */
.ganesha-lp__main-text img, .ganesha-lp__subheader {
  transition: opacity .8s ease-out, transform .8s ease-out;
  transform: scale(.8);
}

.ganesha-lp__main-text img.is-visible, .ganesha-lp__subheader.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- key-frames for the button pulse animation --- */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .9;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ganesha-lp__button.is-pulsing, .ganesha-lp__button-mobile.is-pulsing {
  will-change: transform, opacity;
  animation: 1.2s ease-in-out infinite pulse;
}

.ganesha-lp__button.is-pulsing:hover, .ganesha-lp__button-mobile.is-pulsing:hover {
  animation-play-state: paused;
}

/* --- keyframe for petal drop animation --- */
@keyframes petalDrop {
  0% {
    opacity: 0;
    transform: translateY(-120px)rotate(-8deg);
  }

  80% {
    opacity: 1;
    transform: translateY(10px)rotate(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- hidden state before animation starts --- */
.petal-hidden {
  opacity: 0;
  transform: translateY(-120px)rotate(-8deg);
}

/* --- animation trigger class --- */
.petal--drop {
  will-change: transform, opacity;
  animation: .9s ease-out forwards petalDrop;
}

/* --- optional stagger delay with CSS variable --- */
.petal--drop[data-delay] {
  animation-delay: calc(1s + var(--d));
}