@font-face {
  font-family: Regularfont;
  src: url(./fonts/MinionPro-Regular_1.otf)
}

@font-face {
  font-family: Mediumfont;
  src: url(./fonts/MinionPro-Medium_1.otf)
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.commonfontgradient {
  background: linear-gradient(to bottom, #c08b30 0%, #f9e855 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-section {

  background-image: url(./images/bg.png);
  background-size: cover;
  /*background-position: 0px 88%;*/
  background-repeat: no-repeat;
  margin: 0 auto;
  /*max-width: 480px;*/
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.alert-style{
    width: 500px !important;
    margin: 0.8rem auto !important;
}

.top-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 clamp(8px, 3vw, 16px);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.logodimensions {
  width: 230px;
}

.logo-style {
  margin-top: 3.5rem;
}

.titleline-style {
  margin-top: 1.5rem;
}

.letsbegin-btn {
  margin-top: 2rem;
  font-family: Regularfont;
  font-size: 18px;
}
.submit-all-answers{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    
}

.commonbtn {
    color:black !important;
  background: linear-gradient(to bottom, #c08b30 0%, #f9e855 100%);
  border-radius: 26px;
     padding: 4px 49px;
  font-family: Regularfont;
  border: none;
 position: relative;
 z-index:9999;
}
.align-select-match{
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 31px;
    margin-top: 26px;
}


.submitbtnregis {
  margin-bottom: 0.5rem;
}

.eligiblity-text {
  font-size: clamp(9px, 2.5vw, 10px);
  color: #eec06f;
  margin: 0.35rem clamp(12px, 4vw, 24px) 0.5rem;
  text-align: center;
  line-height: 1.35;
  box-sizing: border-box;
}

.registration-logo-style,
.registration-titline {
  width: min(180px, 46vw);
  max-width: 100%;
  height: auto;
}

.registration-titline {
  margin-top: 1rem;
}

.registration-logo-style {
  margin-top: 1rem;
}

.bottom-headline {
  font-size: 18px;
  font-family: Regularfont;
  background: linear-gradient(to bottom, #c08b30 0%, #f9e855 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hub tiles: 2 columns on mobile (matches design reference) */
.chanllenges-parent {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.chanllenges-child {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(0.35rem, 2.5vw, 0.85rem);
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
}

.challenges-img {
  width: min(102px, 29vw);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.align-img-text {
  color: white;
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 0;
  max-width: calc(50% - 0.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.align-img-text p {
  background: linear-gradient(to bottom, #c08b30 0%, #f9e855 100%);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  font-size: 12px;
  text-align: center;
  margin-top: 2px;
  margin-bottom: 0px;
}

.middle-section {
  padding: clamp(10px, 3.2vw, 14px);
  margin: 6px clamp(10px, 4vw, 26px) 0;
 background: radial-gradient(circle at 50% 30%, rgb(31 156 85 / 85%) 0%, rgb(11 91 44 / 95%) 50%, rgb(34 64 47 / 0%) 75%, transparent 90%);
    backdrop-filter: blur(0.5px);
  border-radius: 19px;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
   border: 1px solid rgb(31 156 85 / 45%);
   position: relative;
   z-index: 9999;
}

.playerofmatch {
      font-family: Mediumfont;
    text-align: center;
    margin-top: 15px;
    line-height: 1.25;
    padding: 0 clamp(4px, 2vw, 12px);
    box-sizing: border-box;
    font-size: 1.9rem;

}

.player-btn {

  display: inline-flex;
  align-items: center;
  padding: 8px 30px;
  border-radius: 50px;
  font-family: serif;
  cursor: pointer;
  border-right: none;
  border-top: none;
  border-bottom: none;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgb(31 156 85 / 85%) 0%, rgb(11 91 44 / 95%) 60%, rgba(0, 20, 10, 1) 100%);


  border: 1.5px solid #eab964;

  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
}


.player-btn span {
  background: radial-gradient(circle at 50% 30%, rgb(31 156 85 / 85%) 0%, rgb(11 91 44 / 95%) 60%, rgba(0, 20, 10, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #eec06f;
  font-family: Regularfont;
}

.playersubmitbtn {
  text-align: center;
  margin-top: 3rem;
}

.choose-options,
.match-one,
.match-two {
  font-family: Regularfont;
  color: #ecd24c;
  text-align: center;
  margin-bottom: 1rem;
}
.options-container button{
        border: 2px solid #eab964;
}
.match-one h3 {
  font-size: clamp(1rem, 4vw, 23px);
}

.match-two h3 {
  font-size: clamp(1rem, 4vw, 23px);
}

/*.match-submit-btn {*/
/*  margin-top: 0.5rem;*/
/*}*/
.opencamera {
    font-size: 26px;
    margin-top: 8px;
}
hr {
  border: 0;
  height: 2px;
  background-image: linear-gradient(to right, transparent, #ecd24c, transparent);
  margin: 7px 0;
  opacity: 1;
}
.question-text{
    font-family: 'Regularfont'
}

.ospl-rewards p {}

.score-input {
  font-family: Regularfont;
  height: 38px;
  width: 77%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: none;
}

.thankutext {

  font-family: Regularfont;
  color: #ecd24c;
  text-align: center;
}

.thanku {
  /*font-size: clamp(1.25rem, 5vw, 30px);*/
  font-size:32px;
  /*margin-bottom: 2rem;*/
}

.instructions img {
  width: 120px;
}

.thankuline {
  font-size: 22px;
  margin-bottom: 1rem;


}

.instructions {
  font-family: Regularfont;
  color: #ecd24c;
  text-align: center;

}

.skipbtn {
  text-align: center;
  margin-bottom: 2rem;
}

.downloadline {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

.howtoplay {
  color: white;
  text-align: center;
  font-size: 18px;
  line-height: 1.25;
}

.howtoplay p {
  font-size: 20px;
  margin-bottom: 0px;
}

.howtoplay span {
  font-size: 16px;
}

.homebtn button {
  padding: 5px 57px;
  margin-top: 1rem;
}

.ospl-rewards {
  font-family: Regularfont;
  color: #ecd24c;
  text-align: center;
}

.ospl-rewards h1 {
 font-size:32px;
  /*margin-bottom: 0px;*/
}

.ospl-rewards p {
  color: white;
  font-size: 19px;
  line-height: 1.25;
}

.ospl-align-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ospl-align-image img {
  width: 30px;
}

.ospl-btn {
  text-align: center;
  margin-top: 2rem;
}

.opencamera {
    font-family: Regularfont;
  font-size: 26px;
  margin-top: 8px;
}
.remove-glasses{
        font-family: Regularfont;

}
.camera-skip{
    margin-top: 2.5rem;
}
.main-section:not(.avatar-selfie-flow) video,
.main-section:not(.avatar-selfie-flow) #capturedImage.imgbox {
  border: 5px solid #ecd24c;
  border-radius: 1.5rem;
}

.avatar-intro {
  padding: 1.5rem 1rem 2rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.avatar-intro-link {
        font-family: Regularfont;
    color: #ecd24c !important;
    text-align: center;
  display: block;
  text-decoration: none !important;
  cursor: pointer;
}

.avatar-intro-link:hover {
  color: inherit;
  opacity: 0.96;
}

.avatar-intro-box {
    padding: 25px 15px 30px;
    border-radius: 20px;
}
.yourname{
   color:#eec06f;
   font-size:1.5rem;
        font-family: Regularfont;
   
}
/* Title */
.avatar-title {
    font-size: 18px;
    color: #ecd24c;
    margin-bottom: 8px;
    font-family: Mediumfont;
}

/* Subtitle */
.avatar-subtext {
    font-size: 12px;
    color: #ecd24c;
    line-height: 1.4;
    opacity: 0.9;
}

.avatar-camera-gold-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    /*background: radial-gradient(circle, #f9e855 0%, #c08b30 100%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.4);*/
}

.avatar-camera-gold-circle img {
    width: 120px;
}

.avatar-intro-title {
  font-family: Regularfont, Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 4vw, 1.65rem);
  color: #ecd24c;
  text-align: center;
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.avatar-intro-sub {
  font-family: Regularfont, Georgia, "Times New Roman", serif;
  font-size: clamp(0.8rem, 3vw, 0.95rem);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin: 0;
  line-height: 1.45;
}

.avatar-skip-wrap {
  margin-top: 1.75rem;
}

/* Avatar selfie — circular viewfinder to match gold-circle intro */
.avatar-selfie-flow .avatar-selfie-hint {
  font-family: Regularfont, Georgia, "Times New Roman", serif;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 0.5rem;
  max-width: 22rem;
  line-height: 1.35;
}

.avatar-selfie-flow .avatar-live-ring {
  position: relative;
  width: min(82vw, 280px);
  height: min(82vw, 280px);
  margin: 0.5rem auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #ecd24c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
}

.avatar-selfie-flow .avatar-live-ring video,
.avatar-selfie-flow .avatar-live-ring #capturedImage {
  position: absolute;
  left: 0;
  top: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  border: none !important;
  border-radius: 0 !important;
  display: block;
}


.avatar-selfie-flow .avatar-live-ring video {
  transform: scaleX(-1);
}

.avatar-selfie-flow .avatar-live-ring #capturedImage {
  transform: scaleX(-1);
}

.form-section .form-area .cutomform::placeholder {
  color: grey;
}

select option {
  color: black;
}

select option::placeholder {
  color: grey;
}




.logo-sec img {
  display: block;
  text-align: center;
  /* margin: 0 auto; */
}

.form {
  position: relative;
  z-index: 9999 !important;
  margin: 2px 30px;
  /* padding-bottom: 10px; */
}

.form-section {
  border-radius: 20px;
  /* padding: 10px; */
  text-align: center;
}

.form-area {
  padding: 20px 10px;
}

.form-headline {
  background: linear-gradient(to bottom, #c08b30 0%, #f9e855 100%);
  -webkit-background-clip: text;
  background-clip: text;
 font-family: 'Regularfont';
  color: transparent;
  font-size: 25px;
}

.container2 {
  max-width: 480px;

}



.form-head {
  color: white;
  border-radius: 20px 20px 0px 0px;
  font-family: ITCSbold;

}

.formcard {
  margin-bottom: 28%;
}

.input-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#name,
#mobile,
#gender,
#empcode {
  background-color: white;
  color: black;
  border: 2px solid white;
  font-family: Regularfont;
}

.form-section .form-area .cutomform::placeholder {
  color: black;
  font-family: Regularfont;
}

.form-section .form-area .cutomform {
  width: 100%;
  border-radius: 23px;
  background: #fff;
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  text-align: left;
  border: none;

  flex: 1;
}

select option {
  background: #c08b30;
  color: #fff;
}


.checkbox-group {
  display: flex;
}

.checkbox-group input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
  font-family: Regularfont;
}

.checkbox-group label {
  position: relative;
  cursor: pointer;
  color: white;
  font-size: 11px;
  z-index: 999999;

  color: white;
  font-family: Regularfont;
}

.checkbox-group label:before {
  content: "";
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #ca9c36;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 7px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 8px;
}

.checkbox-group input:checked+label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0px;
  left: 6px;
  width: 6px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  font-style: forminput;
}

.footer-img {
  width: 100%;
  content: url('./images/stadium-outline.png');
}

.tandcsty {
  background-image: url(img/BGround.jpg);
  padding: 12px;
}

.t-and-c {
  background-image: linear-gradient(to bottom,
      rgb(0 0 0 / 62%),
      rgb(0 0 0 / 42%)),
    url(img/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
  max-width: unset;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  padding: 0px 30px 30px;
}

.tg {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.tg td {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
}

.tg th {
  border-color: white;
  border-style: solid;
  border-width: 1px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  overflow: hidden;
  padding: 10px 5px;
  word-break: normal;
  color: #7f2726;
}

.tg .tg-0pky {
  border-color: inherit;
  text-align: center;
  vertical-align: top;
}

.thankshead {
  color: #ffffff;
  margin-bottom: 20px;
  animation-name: fade-in;
  animation-duration: 7s;
  font: bold 34px;
  font-weight: bold;
  font-size: 32px;
  font-family: fangsong;
}

.footimg {
  width: 100%;
}

.footimg1 {
  width: 100%;
}



.contentbox {
  margin-top: 3em;
}


.camerabox {

  display: block;
  text-align: center;
  margin-bottom: 17px;
}

.camerainstruction {
  margin-top: 18px;
  text-align: center;
  font-family: formfont;
  font-size: 19px;
}

.leaderboard {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Undo Bootstrap .row gutters inside leaderboard (prevents horizontal scroll on mobile) */
.leaderboard .row.row-parent {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.table-header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1.6fr) minmax(0, 0.85fr) minmax(0, 0.75fr);
  gap: 4px;
    padding: 8px 5px;
  color: #f9e855;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: clamp(9px, 2.6vw, 12px);
  box-sizing: border-box;
}

.row-parent {
  display: grid;
  grid-template-columns: 36px minmax(0, 1.6fr) minmax(0, 0.85fr) minmax(0, 0.75fr);
  gap: 4px;
  align-items: center;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
  color: #333;
  font-size: clamp(10px, 2.8vw, 14px);
  box-sizing: border-box;
  min-width: 0;
}

.gold-row {
  background: linear-gradient(to right,
      #b8860b 0%,
      #e8d05e 25%,
      #fff080 50%,
      #e8d05e 75%,
      #b8860b 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 7px;
  padding: 5px 3px;
}

.rank {
  font-weight: bold;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.name {
  text-align: center;
  padding-left: clamp(4px, 2vw, 12px);
  padding-right: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-section .middle-section>.row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
}

.avatar-selfie-flow .formcard {
  margin-bottom: 1.25rem;
}

.middle-section.play-page-body {
  padding: clamp(12px, 4vw, 28px) clamp(10px, 4vw, 23px);
}

.middle-section.play-page-body.play-page-body--daily {
  padding-bottom: clamp(2.5rem, 22vw, 5.25rem);
}

.footer-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  /*overflow: hidden;*/
    /*  position: absolute;*/
    /*bottom: 100px;*/
      clear: both;
    position: relative;
  
    margin-top: -200px;

}
.small-page-footer-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;

}

@media (max-width: 360px) {
  .align-img-text p {
    font-size: 10px;
  }
}

a {
  color: rgb(5 83 2) !important;
  text-decoration: none !important;
}

.thanku-title {
    color: #ecd24c !important;
    font-size: 22px;
    font-family: Mediumfont;
    margin-bottom: 10px;
}

.thanku-sub {
    color: #ecd24c !important;
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

.current-user-row{
    border: 3px solid white;
    border-radius: 10px;
}


/* Loader container */
.premium-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 🔥 IMPORTANT FIX */
.loader-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    
    border: 6px solid rgba(255,255,255,0.1);
    border-top: 6px solid #f9e855;
    border-right: 6px solid #c08b30;

    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text */
.loader-text {
    color: #ecd24c !important;
    font-size: 14px;
}



@media screen and (max-width: 500px) {
  .main-section {
 max-width: 500px;
  }
 
}
@media screen and (min-width: 500px) {
 
  #registrationForm{
     width: 500px;
  margin:  16px auto 0px auto
  }
  .middle-section{
    width: 500px;
    margin: 0 auto;
    margin-top: 2rem;
  }
  .main-section{
    background-position: unset;
}
 
}
@media screen and (max-width: 500px) {
 
  .submit-all-answers{
    display: flex;
   flex-direction: column;
    gap: 1rem;
    
}
.footer-img {
   transform: scale(1);
  }
.main-section{
    background-position: bottom;
}
}
@media screen and (max-width: 700px){
    .footer-section{
         margin-top: -135px;
    }
}

   
