@font-face {
  font-family: 'nordique_prosemibold';
  src: url('../fonts/nordique-semibold/nordiquepro-semibold-webfont.woff2') format('woff2'),
    url('../fonts/nordique-semibold/nordiquepro-semibold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'nordique_proregular';
  src: url('../fonts/nordique-regular/nordiquepro-regular-webfont.woff2') format('woff2'),
    url('../fonts/nordique-regular/nordiquepro-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'nordique_probold';
  src: url('../fonts/nordique-bold/nordique_pro_bold-webfont.woff2') format('woff2'),
    url('../fonts/nordique-bold/nordique_pro_bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

i:is(.fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands, .fa-classic, .fa):before {
  font-family: "FontAwesome" !important;
}

.nordique_prosemibold {
  font-family: 'nordique_prosemibold';
}

.nordique_proregular {
  font-family: 'nordique_proregular';
}

.nordique_probold {
  font-family: 'nordique_probold';
}

.primary-color {
  color: #995e0e;
}

.secondary-color {
  color: #989260
}

.ganeshtosavlogo img {
  width: 30%;
}

/* Background styling with blurred architecture and soft warm tones */
body,
html {
  margin: 0;
  font-family: 'nordique_proregular';
}

body p {
  letter-spacing: 1px;
}

.desktop_bg {
  background-image: url('../images/homepage_bg.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0;
  height: 100%;
  min-height: 100vh;
  background-attachment: fixed;
}

/* Overlay to give a soft warm light effect */
/* body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 245, 210, 0.6);
  z-index: -1;
  backdrop-filter: blur(3px);
} */
/* Confetti canvas */
#confetti-canvas {
  position: fixed;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999 !important;
}

/* Center container for content */
.center-container {
  height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 15px;
}

/* Ganesha image styling */
.ganesha-img {
  max-width: 140px;
  height: auto;
  margin-bottom: 15px;
}

/* The "fortune" text styling with brand colors and rounded style */
.fortune-text {
  font-weight: 900;
  font-size: 2.8rem;
  font-family: "Arial Black", Gadget, sans-serif;
  color: #e53935;
  /* Bright red */
  letter-spacing: 0.04em;
  margin: 0;
  display: inline-block;
  user-select: none;
  position: relative;
}

/* Make the 'o' in fortune look like a flame shape with gradient */
.fortune-text .flame-o {
  color: #ff9800;
  font-weight: 900;
  position: relative;
  top: -5px;
  font-size: 3.2rem;
}

/* Ganeshotsav text styling */
.ganeshotsav-text {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: #a56a12;
  margin: 0;
  letter-spacing: 0.02em;
}

.ganeshotsav-2025 {
  font-size: 1.5rem;
  font-weight: 600;
  display: inline-block;
  margin-left: 8px;
  vertical-align: bottom;
  color: #854c0d;
}

/* Subheading and text styling */
.intro-text {
  font-weight: 500;
  font-size: 1.15rem;
  margin-top: 1.2rem;
  line-height: 1.5em;
}

.highlight-text {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}

.cover .score img.fortune-logo {
  margin: 0 auto;
  width: 100px;
  text-align: center;
  margin: 0 auto;
  width: 22%;
  text-align: center;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
}

/* Custom bootstrap-style button with orange gradient and arrow */
.btn-begin {
  background: linear-gradient(90deg, #f3680e 0%, #e4570f 100%);
  border: none;
  border-radius: 0.375rem;
  padding: 12px 36px;
  font-size: 1.3rem;
  font-weight: normal;
  color: white;
  margin-top: 0;
  box-shadow: 0 4px 8px rgb(243 104 14 / 0.5);
  transition: filter 0.3s ease;
  user-select: none;
}

.btn-begin:hover,
.btn-begin:focus {
  filter: brightness(1.1);
  outline: none;
}

/* Arrow icon for button */
.btn-begin .arrow-right {
  display: inline-block;
  margin-left: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  padding: 4px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.ganesha-img {
  width: 300px;
  position: relative;
  /* Needed for transform or left/right movement */
  animation: walking 7s linear infinite;
  /* infinite loop, adjust as needed */
  animation-direction: normal;
}

.pop_cover {
  display: none;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.38);
  width: 100%;
  height: 100%;
  z-index: 9999;
  top: 0;
  left: 0;
  text-align: center;
}


.pop_cover #scr_head {
  text-align: center;
  font-weight: 600;
  font-size: 30px;

  color: #3d3d3d;
}

.pop_cover #scr_time {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  color: #ef1b28;
}

.pop_cover .i {
  text-align: center;
  font-weight: 550;
  color: #3c3c3c;
}

.pop_cover .OK {
  padding: 8px 25px;
  float: none;
  cursor: pointer;
  display: block;
  width: 30%;
  margin: 0 auto;
  border: 1px solid;
  text-align: center;
  margin-top: 14px;
}

section.footer {
  background-color: #f99d00;
  padding: 15px;
  border-top: 1px solid #f99d00;
  position: relative;
}

section.footer p,
section.footer .footer-links a {
  margin-bottom: 0px;
  font-weight: 700;
  letter-spacing: 1px;
  color: inherit
}

@keyframes walking {
  0% {
    transform: translateX(8vw) scale(1);
    opacity: 0;
  }

  20% {
    transform: translateX(6vw) scale(1.05);
    opacity: 0.3;
  }

  40% {
    transform: translateX(4vw) scale(1.1);
    opacity: 0.6;
  }

  60% {
    transform: translateX(2vw) scale(1.05);
    opacity: 0.8;
  }

  80% {
    transform: translateX(1vw) scale(1.02);
    opacity: 0.9;
  }

  99% {
    transform: translateX(8px) scale(1.01);
    opacity: 1;
  }

  100% {
    transform: translateX(10px) scale(1);
    opacity: 0;
  }
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .fortune-text {
    font-size: 2rem;
  }

  .ganeshotsav-text {
    font-size: 2.5rem;
  }

  .ganeshotsav-2025 {
    font-size: 1.25rem;
  }

  .btn-begin {
    font-size: 1.1rem;
    padding: 10px 24px;
  }
}

@media screen and (max-width: 767px) {
  .desktop_bg {
    height: 100%;
    min-height: 100vh;
    background-image: url(../images/homepage_mobile_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    background-position: top;

  }

  .ganeshtosavlogo img {
    width: 50%;
  }

  .pop_cover .score {
    margin: 0% auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #666;
    width: 99%;
    height: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    top: 34%;
  }

  .pop_cover .fortune-logo {
    margin: 0 auto;
    width: 100px;
  }

  .pop_cover #scr_head,
  .pop_cover #scr_time {
    font-size: 20px;
    margin: 21px 0;
  }
}

@media (min-width: 768px) {
  .pop_cover .score {
    margin: 13% auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #666;
    width: 50%;
    height: auto;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    top: -10%;
  }

  .pop_cover .fortune-logo {
    margin: 0 auto;
    width: 100px;
  }

  .pop_cover #scr_head,
  .pop_cover #scr_time {
    font-size: 20px;
    margin: 21px 0;
  }
}