.progress-showcase {
  margin-top: 10px;
}

.margin0 {
  margin: 0px !important;
}

.padding5 {
  padding: 5px;
}

.margin-right-10 {
  margin-right: 10px !important;
}

.margin-bottom-10 {
  margin-bottom: 10px !important;
}


    .page-wrapper .page-body-wrapper .page-body, .page-wrapper .page-body-wrapper footer {
        margin-left: 0px !important;
    }


.colwhite {
  color: white !important;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.margin-bottom-30 {
  margin-bottom: 30px;
}

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-bottom-50 {
  margin-bottom: 50px;
}

.margin-bottom-80 {
  margin-bottom: 80px;
}

.margin-top-10 {
  margin-top: 10px;
}

.text-right {
  text-align: right;
}

h1 {
  font-size: 23px !important;
}

.toast {
  width: 100%;

}

.margintop0 {
  margin-top: 0px !important;
}

.pro-services li {
  display: inline-block !important;
  padding-right: 20px;
}

.form-switch input {
  cursor: pointer;
}

.progressTop h3,
.progressTop p {
  padding: 2px !important;
}

.progressTop h3 {
  font-size: 17px !important;
}

.progressTop .alert {
  padding-bottom: 15px !important;
  padding-top: 5px !important;
}

.progressTop button {
  margin: 0px 10px !important;
}

.landing-page .landing-footer .footer-contain {
  text-align: center;
  padding: 0px 50px;
}

.popularteam h4 {
  padding-bottom: 50px;
  color: #000000;
  font-size: 16px;
  font-weight: normal;
}

.btn-primary:hover {
  color: #ffffff !important;
  background-color: #20a1a1 !important;
  border-color: #20a1a1 !important;

}

.player-lists .list-group .list-group-item {
  padding: 11px 5px;
}

.player-lists .list-group-item.disabled {}

.player-lists .deleteplayer i {
  padding: 0px 5px;
}

.deleteplayer {
  cursor: pointer;
  pointer-events: visible;
  cursor: pointer;
  pointer-events: visible;
  float: right;
  top: 13px;
  right: 0;
  position: absolute;
}

.infoplayer {
  position: absolute;
  bottom: 0px;
  left: 69px;
}


li.txtdef {
  padding: 10px;
  border-left: 4px solid #F8AA4B;
  margin-top: 10px;
}

li.posdefender {
  border-left: 4px solid #F8AA4B;
}

li.txtmed {
  padding: 10px;
  border-left: 4px solid #63d5be;
  margin-top: 10px;
}

li.posmidfielder {
  border-left: 4px solid #63d5be;
}

.aisuggestbox {
  text-align: center;
  margin-bottom: 4px !important;
  padding: 10px !important;
}

li.txtgk {
  padding: 10px;
  border-left: 4px solid #F8AA4B;
  margin-top: 10px;
}

li.txtfw {
  padding: 10px;
  border-left: 4px solid #f1523d;
  margin-top: 10px;
}

li.posforward {
  border-left: 4px solid #f1523d;
}

#changeModal .modal-body {
  padding: 5px;
}

.popularteam h3 {
  background: rgba(34, 34, 38, 0.06);
  padding: 10px;
  border-radius: 10px;
  font-weight: 700 !important;
  font-size: 17px !important;
}

.resetTeam {
  text-decoration: underline;
  color: #333333;
  padding: 0px 20px;
  font-weight: bold;
  font-size: 17px;
}

.popularteam .row {
  width: 100%;
}

.iconstats {
  font-size: 30px;
  color: white;
  background: #6ecc6e;
  padding: 7px 10px;
}

.gameDetails {
  border: 1px solid #d7e2e9;
  border-radius: 10px;
  padding: 22px 15px 22px 15px;
  margin: 10px 0px;
}

#leagues .gameDetails {
  width: 46%;
  float: left;
  margin-right: 2%;
  min-height: 215px;
}

.popularteam,
.popularteam .card,
.popularteam .card-header {
  background: #a9dfbf !important;
}

.gameDetails h2 a {
  color: #1F2F3E;
  font-size: 18px;
}

.gameDetails .text-success {
  text-align: center;
  width: 82px;
  padding: 5px 7px;
  border-radius: 10px;
  background: #8beb8b;
}

#leagues .gameDetails .text-success,
#leagues .gameDetails .text-warning {
  float: right;
  margin-bottom: 10px;
}

.gameDetails .text-danger {
  text-align: center;
  width: 82px;
  padding: 5px 7px;
  border-radius: 10px;
  background: #FFE0E8;
  color: #FF6150;
}

.gameDetails .text-warning {
  text-align: center;
  width: 82px;
  padding: 5px 7px;
  border-radius: 10px;
  background: #ffc107;
  color: #5c4501 !important;
}

#myTab {
  border-bottom-color: #efefef;
}

.myaccount .nav-tabs .nav-link {
  color: #35bfbf !important;
}

.myaccount .nav-primary .nav-link.active {
  color: #FFFFFF !important;
}

body.dark-only .card-body p {
  /*color:#333333 !important; for league card*/
  padding: 0px;
}

body.dark-only h1,
body.dark-only h2,
body.dark-only h3,
body.dark-only h4,
body.dark-only .landing-page section .title a,
body.dark-only .singlepost p,
body.dark-only .resetTeam,
body.dark-only .progressTop h3.alert-heading,
body.dark-only .progressTop button.btn-outline-primary,
body.dark-only .gameDetails h2 a,
body.dark-only #createLeagueForm .form-text {
  color: white !important;
}

body.dark-only .landing-page section .title a {
  background-image: linear-gradient(to right, #33BFBF, #33BFBF 50%, #ffffff 50%);
}

body.dark-only .alert-light-secondary {
  background-color: #e77391;
}

body.dark-only .alert-light-primary {
  background-color: rgba(51, 191, 191, 0.8) !important;
  border-color: rgba(51, 191, 191, 0.9) !important;
  color: #fff;
}

body.dark-only .txt-primary {
  color: var(--theme-default) !important;
}

body.dark-only .alert-light-info,
body.dark-only .alert-light-success p,
body.dark-only .alert-light-success,
body.dark-only .singlepost .alert-light-info p,
body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) .card-body .alert-light-info p,
body.dark-only .alert-light-info h3 {
  color: #333333 !important;
}


body.dark-only .page-wrapper.compact-sidebar .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links li a svg {
  stroke: rgba(255, 255, 255, 0.8) !important;
}

body.dark-only .nav-tabs {
  border-bottom-color: #374558 !important;
}



.page-wrapper.compact-sidebar .page-body-wrapper .footer {
  margin-left: 0px !important;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 600px;
  margin: 0 auto;
  position: relative;
  border: 3px solid white;
  background-color: #a9dfbf;
  padding: 43px 0px 0px 0px;
  border-top: 0px;
}

.goal-line,
.half-line,
.penalty-area,
.penalty-arc,
.center-circle,
.corner-arc,
.goal-area,
.goal-area-bottom,
.penalty-area-bottom,
.penalty-spot,
.penalty-spot-bottom,
.penalty-arc-bottom {
  position: absolute;
  border: 2px solid white;
}

.goal-line {
  width: 100%;
  top: 0;
}

.half-line {
  width: 100%;
  top: 50%;
  border-top: 0px;
}

.penalty-area {
  width: 200px;
  height: 100px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.penalty-area-bottom {
  width: 200px;
  height: 100px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 0px;
}

.goal-area {
  width: 100px;
  height: 40px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.goal-area-bottom {
  width: 100px;
  height: 40px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 0px;
}

.penalty-arc {
  width: 160px;
  height: 80px;
  border-radius: 50% / 100% 100% 0 0;
  top: 52px;
  left: 51%;
  transform: translateX(-50%) rotate(173deg);
  border-color: white transparent transparent transparent;

}

.penalty-arc-bottom {
  width: 160px;
  height: 80px;
  border-radius: 50% / 100% 100% 0 0;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%) rotate(352deg);
  border-color: white transparent transparent transparent;

}

.center-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.center-spot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: white;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.penalty-spot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border: 1px;
}

.penalty-spot-bottom {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  bottom: 12%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  border: 1px;
}


.corner-arc {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border-color: white transparent transparent white;
  border-width: 2px 2px 0 0;
}

.corner-top-left {
  top: -6px;
  left: -8px;
  transform: rotate(156deg);
}

.corner-top-right {
  top: 0px;
  right: -13px;
  transform: rotate(-100deg);
}

.player {

  color: white;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  text-align: center;
}

.icon-container .fa-shirt {
  display: block;
}

.icon-container span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  /* Adjust the text size as needed */
  color: white;
  /* Text color */

}

.icon-container span.stus {

  top: -3%;
  left: 101%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  /* Adjust the text size as needed */

}

.icon-container span.stus .fa-circle-xmark {
  color: Red;
}

.icon-container span.stus .icofont-check {
  color: green;
}

/* Dark mode styles for the modal */

.footbalfield .btn-secondary {
  background-color: #6c757d;
  /* Darker button color */
  border-color: #6c757d;
  /* Darker button border color */
}

.footbalfield .btn-secondary:hover {
  background-color: #5a6268;
  /* Darker hover color */
  border-color: #545b62;
  /* Darker hover border color */
}

.footbalfield .form-control {
  /*background-color: #333; /* Dark background for input */
  /*color: #fff;  Light text color for input */
  /*border: 1px solid #444;  Border color for input */
}

.footbalfield .form-control::placeholder {
  color: #888;
  /* Placeholder text color */
}

.footbalfield .list-group-item,
.footbalfield .list-group-itemnew {

  cursor: pointer;
}

.footbalfield .list-group-item:hover {
  background-color: #35bfbf;
  /* Darker background on hover */
}

.footbalfield .list-group-itemnew:hover {
  background-color: #35bfbf;
  /* Darker background on hover */
}

.footbalfield .play-control {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.footbalfield .player-lists {
  overflow: auto;
  height: 500px;
}


.footbalfield {
  max-width: 800px;
  margin: 0 auto;
}

.footbalfield .play-ground {
  width: 100%;
  background: #026d3c;
  background-image: url('/wp-content/themes/11ada3/images/bg2.png');
  background-size: 100% 640px;
  background-repeat: no-repeat;
  /*display: flex;istockphoto-978332866-1024x1024.jpg #0b301f*/
  flex-direction: column;
  align-items: center;
  padding: 3% 0px 5px 0px;
  margin: 10px 0px 0px 0px;
  max-width: 100%;
}

.footbalfield .player-goalkeeper .plus-icon {
  position: absolute;
  width: 18px;
  height: 17px;
  top: 43px;
}

/* .play-ground {
  width: 613px;
  height: 770px;
  border: 1px solid #2af7b9;
  background-image: url(./soccer_bg.png);
  background-size: 400px auto;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
 */




.footbalfield .player-line {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 0px;
}

.footbalfield .goalkeepers {
  margin-top: 0%;
}


.footbalfield .defenders {
  margin-top: 5%;
}

.footbalfield .medfielders {
  margin-top: 0%;
}



.footbalfield .player-tshirt {
  position: relative;
  width: 105px;
  height: 110px;
  padding: 5px;
}

.footbalfield .player-goalkeeper {
  position: relative;
  width: 105px;
  height: 110px;
  padding: 5px;
}

.footbalfield .player-line>div {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 20%;
  min-width: 60px;
  margin-bottom: 0px;
}

.footbalfield .play-ground svg {
  width: 60px;
}

.footbalfield .play-ground .plus-icon svg {
  width: 20px;
}

.footbalfield .color-board {
  display: flex;
  flex-direction: column;
}

/* .color-line {
  display: flex;
  justify-content: center;
  align-items: center;
} */
.footbalfield .color-line>div {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.footbalfield .plus-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  top: 40px;
}



.footbalfield .player-number {
  position: absolute;
  top: 35px;
  color: black;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.footbalfield .display-none,
.footbalfield .termid,
.footbalfield .player-id {
  display: none;
}

.footbalfield .icofont-tick-mark {
  display: none;
}

.footbalfield .disabled .deleteplayer {
  display: inline;
}

.footbalfield .deleteplayer {
  display: none;
}

.footbalfield #resultsModal .icofont-tick-mark {
  display: inline !important;
  color: green;
}

.footbalfield .disabled .icofont-tick-mark {
  display: inline;
  color: green;
}

.footbalfield #resultsModal .icofont-close {
  display: inline;
  color: red;
}

td.resulticofont-tick-mark {
  color: green;
}

td.resulticofont-close {
  color: red;
}

.footbalfield .disabled {
  background-color: rgba(99, 213, 190, 0.8) !important;
  opacity: 1 !important;
}

.footbalfield label.formation {
  padding-top: 20px;

}

.footbalfield .player-name {

  position: absolute;
  width: auto;
  height: auto;
  bottom: 0px;
  padding: 3px 5px;
  border: 1px solid rgb(0, 247, 255);
  border-radius: 10px;
  color: white;
  text-align: center;
  background: #3e5a3e;
  font-weight: bold;
  display: none;
  font-size: 1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footbalfield .player-vote {

  position: absolute;
  width: auto;
  height: auto;
  bottom: 0px;
  padding: 3px 5px;
  border: 1px solid rgb(0, 247, 255);
  border-radius: 10px;
  color: white;
  text-align: center;
  font-weight: bold;
  display: block;
  font-size: 1em;
  bottom: 34px;
  right: 8px;
  display: block;
  background: #3e5a3e;

}

.footbalfield .player-vote .icofont {
  color: #0eec0e;
  display: none;
}

.footbalfield .player-vote .icofont-close-circled {
  color: red;
  display: block;
}


.f-w-600 a {
  font-size: 20px;
}

.footbalfield p,
.footbalfield .rating-container,
.footbalfield .table-responsive,
.footbalfield .form-group {
  padding: 10px 0px;
}

.footbalfield p.txt-secondary {
  padding: 0px;
}

.footbalfield .alert,
#topline-top-user button {
  margin: 10px;
}

.share-link button {
  margin: 0px !important;
}



.project-box .ribbon {
  top: 4px;
}

.project-box h3 {

  margin-top: 26px;
}

.badge-spacing i {
  font-size: 20px;

}


.ribbon-success {
  background: #14ac23 !important;
}

.ribbon-success.ribbon-clip:before {
  border-color: transparent;
  border-top-color: #14ac23 !important;
  border-right-color: #14ac23 !important;
}

.page-wrapper .page-body-wrapper .page-title .row h1.signleTitle {

  margin-bottom: 20px;

}

.page-wrapper .page-body-wrapper .page-title .row .play-ground h3 {
  color: white;
  font-size: 21px;
  padding: 0px 0px 0px 27px;
}

.mg-0 {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.collection-filter-block h5 {
  margin-bottom: 0;
  font-size: 14px;
  padding: 3px 0px 0px 0px;
}

ul.scrollTab {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding: 6px 10px;
}

.badge-spacing {
  justify-content: left;
}

h4.product-title {
  padding-bottom: 10px;
  padding-top: 10px;
}

.page-wrapper .page-header .header-wrapper {
  padding: 10px 40px;

}

.medfieldersforward,
.defendersmedfielders {
  min-height: 50px;
}


.page-wrapper .page-body-wrapper .page-title {
  padding: 24px 28px;
  margin: 0px 0px 0px;
}

.page-wrapper .page-body-wrapper .singlepost .page-title {
  padding: 0px 0px;
  margin: 0px 0px 0px;
}



.fullStadium {
  /*#02240a #0b301f*/
  background: #026d3c;
  padding-top: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.page-wrapper .page-body-wrapper .page-title .row .fullStadium h3 {
  color: white;
  font-size: 20px;
  padding: 0px 30px;
}

.footbalfield .goalkeepers {
  margin-top: 8%;
}

.page-wrapper .page-body-wrapper .page-title .row .fullStadium h3.formationView {
  color: #12ff92;
}

.br-theme-fontawesome-stars-o .br-widget a.br-selected:after {

  color: #ffa800;
}



.alert-dismissible p {
  overflow: visible;
  text-overflow: initial;
  white-space: normal;
  max-width: 100%;
  LINE-HEIGHT: 18px;
  PADDING: 0px 5px;
}

.alert-arrow {
  min-width: 45px;
  height: 45px;

}

#contact {
  background-color: rgba(51, 191, 191, 0.05);
  padding: 10px;
}

#contact .card {
  border: 1px solid #33BFBF;
}

#contact .col-sm-6 {
  margin: 0 AUTO;
}

#contact .form-control {
  border: 1px solid #33BFBF;
}

#contact #submit-btn {
  width: 100%;
}


.section-py-space {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background-color: rgba(51, 191, 191, 0.05);

}

.section-pt-space {
  padding-top: 34px;
}

.section-pb-space {
  padding-bottom: 70px;
}

.page-wrapper .page-body-wrapper .page-body {
  min-height: auto !important;
}

.page-wrapper .page-body-wrapper {
  margin-top: 0 !important;
}

.page-wrapper .page-body-wrapper .page-title .row {
  align-items: flex-start;
}




.ribbon-success1.activey {
  background: #14ac23 !important;
  background-color: #14ac23 !important;
  color: #ffffff !important;
}

.ribbon-success1:hover {
  background: #14ac23 !important;
  color: #ffffff;
}

.ribbon-success1:hover {
  color: #000000;
}

.ribbon-secondary1:hover {
  background: #FF6150 !important;
  color: #ffffff;
}

.ribbon-secondary1:hover {
  color: #ffffff;
}

.btn-showcase .btn {
  padding: 0.175rem 0.75rem;
}


.top-customer h5 {
  font-size: 16px;
}


.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #35bfbf;
  width: 35px;
  height: 35px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
  margin: 4px auto;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.share-container {

  padding: 5px;

}

.share-container textarea {
  min-height: 100px;
}

.share-container h3 {
  padding: 0px 0px 10px 0px !important;
}

.share-link {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.share-link input {
  width: 84%;
  padding: 10px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
}

.share-link button {
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}

.share-link button:hover {
  background-color: #0056b3;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-buttons a {
  color: white;
  font-weight: bold;
}


.btn.whatsapp {
  background-color: #25d366;
}

.btn.twitter {
  background-color: #1da1f2;
}

.btn.facebook {
  background-color: #3b5998;
}

.btn.reddit {
  background-color: #ff4500;
}

#qrModalLabel {
  padding-bottom: 5px;
}

footer {
  padding: 15px 0px 15px 0px !important;
}

.f13 {
  font-size: 13px;
}

.myaccount .nav-link {
  padding: 7px 13px;
}

/* ⏳ Premium Countdown Styles */
.countdown-card {
  background: linear-gradient(135deg, #35bfbf 0%, #2da1a1 100%) !important;
  border-radius: 20px !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(53, 191, 191, 0.2) !important;
  margin-bottom: 25px !important;
  overflow: hidden;
}

.countdown-card .card-body {
  padding: 12px 15px !important;
  text-align: center;
}

.countdown-header {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px 4px;
  min-width: 60px;
  text-align: center;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.countdown-box:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.countdown-number {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-family: 'Lexend', sans-serif;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-label {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.2px;
  opacity: 0.9;
}

.countdown-separator {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  padding-bottom: 14px;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .countdown-wrapper {
    gap: 8px;
  }

  .countdown-box {
    min-width: 55px;
    padding: 8px 3px;
  }

  .countdown-number {
    font-size: 22px;
  }

  .countdown-label {
    font-size: 9px;
  }

  .countdown-separator {
    font-size: 18px;
    padding-bottom: 14px;
  }

  .countdown-header {
    font-size: 16px;
  }
}

/* Dark Mode logic for countdown card - keep it bright or adapt? 
   Let's keep the primary brand color as it's a high-action section.
*/
body.dark-only .countdown-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4) !important;
}

.modal-header {
  padding: 6px 10px 6px 12px;
  min-height: 30px;
}

.badge {
  padding: 0.64em 0.9em;
}

.singlepost h1 {
  font-size: 33px !important;
}

.page-wrapper .page-header .header-wrapper {
  position: relative;
}

.site-primary-nav-wrap {
  display: flex;
  align-items: center;
  margin-left: 18px;
  margin-right: 14px;
  min-width: 0;
}

.site-primary-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 191, 191, 0.25);
  background: #ffffff;
  color: #12233d;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.site-primary-nav-toggle i {
  font-size: 15px;
}

.site-primary-nav {
  display: block;
}

.site-primary-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.site-primary-menu li {
  margin: 0;
}

.site-primary-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #243b53;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.site-primary-menu a:hover,
.site-primary-menu a:focus {
  color: #0b6f74;
  background: rgba(53, 191, 191, 0.1);
}

.page-wrapper .page-header .header-wrapper .site-primary-nav-wrap .site-primary-menu .current-menu-item a,
.page-wrapper .page-header .header-wrapper .site-primary-nav-wrap .site-primary-menu .current_page_item a {
  color: #0b6f74;
  background: rgba(53, 191, 191, 0.14);
}

.home-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(53, 191, 191, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(18, 35, 61, 0.08), transparent 28%),
    linear-gradient(135deg, #f8fcff 0%, #eef8fb 100%);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 10px 0;
}

.home-hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(53, 191, 191, 0.12);
  color: #0b6f74;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.2rem, 1.5rem + 2.6vw, 4.2rem) !important;
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 12ch;
}

.home-hero p {
  margin: 0;
  max-width: 58ch;
  color: #475569;
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.1rem);
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.home-hero-actions .btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.home-hero-link {
  color: #0b6f74;
  text-decoration: none;
  font-weight: 800;
}

.home-hero-panel {
  display: grid;
  gap: 14px;
}

.home-hero-panel-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg, #0f172a 0%, #132c3b 100%);
  color: #f8fafc;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.home-hero-panel-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 191, 191, 0.22), transparent 70%);
}

.home-hero-panel-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero-panel-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
}

.home-hero-panel-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-hero-panel-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.7;
}

.home-hero-panel-card li + li {
  margin-top: 10px;
}

.home-hero-panel-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35bfbf;
}

.home-hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-hero-mini-card {
  border-radius: 18px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(18, 35, 61, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.home-hero-mini-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-hero-mini-card strong {
  display: block;
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.page-wrapper .page-header .header-wrapper .nav-right .profile-dropdown {
  top: 35px;
}

.page-wrapper .page-body-wrapper .page-title .row .fullStadium h3.titleprint {
  font-size: 30px;
  position: absolute;
  bottom: 0px;
  letter-spacing: 2px;
  color: #faecec;
  line-height: 32px;
}

.page-wrapper .page-body-wrapper .page-title .row .fullStadium h3.titleprintlogo {
  font-size: 20px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  letter-spacing: 1px;
  text-transform: none;
  color: #faecec;
  line-height: 33px;
}

canvas.votesplayer {
  height: 500px;
}

.leagueborder {
  border: 1px solid #d7d7d7;
  padding: 10px !important;
  border-radius: 10px;
  width: 48%;
  margin-right: 2%;
  float: left;

}

.section-py-space {
  padding: 5px 0;
}

.light-bg {
  background-color: #f9f9f9;
}

.footer-contain h2 {
  font-size: 1.75rem;
  font-weight: bold;
}

.btn-footer {
  margin-top: 20px;
}

/* Fix z-index issue with Select2 inside Bootstrap modal */
.select2-container {
  z-index: 1055 !important;
  /* Higher than modal (1050) */
}

.form-label {
  font-weight: bold;
}




.page-wrapper.material-icon .widget-charts .card {
  border: 1px solid #c4bfbf;
}

.page-wrapper.material-icon .widget-charts .card .bg-gradient i {
  font-size: 30px;
  color: #F8AA4B;
  opacity: 0.8;

}

.widget-charts {
  margin-bottom: 20px;
}

#viewscores {
  padding: 10px;
}

.small-widget .card-body {
  padding: 12px 10px;
}


.player-lists .alert-light-secondary {
  background-color: #FFE0E8 !important;
}

.player-lists .alert-light-success {
  background-color: #D6EED4 !important;
}

.badgeblue {
  background: #5f75f6 !important;
}

.badgebluelight {
  background: #6c6d74 !important;
}

.footbalfield #playerSearch {
  /*background-color: var(--bs-body-bg) !important;
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
  color: var(--bs-body-color) !important;*/
  margin: 1% 2% 1% 2%;
  width: 95%;
}

body.chatbot-open {
  overflow: hidden !important;
}

#exampleModalsocialmedia .modal-header {
  padding: 18px 10px 18px 12px;

}

#inviteModal .modal-body {
  min-height: 200px;
}

.no-wrap-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap !important;
}

.no-wrap-tabs::-webkit-scrollbar {
  display: none;
}

/* optional: hide scrollbar */

/* Custom Segmented Control for Account Tabs */
#myTab.nav-tabs {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 14px;
  border: none !important;
  display: inline-flex;
  margin-bottom: 30px;
  gap: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

#myTab.nav-tabs .nav-item {
  margin-bottom: 0 !important;
}

#myTab.nav-tabs .nav-link {
  border: none !important;
  border-radius: 10px;
  padding: 12px 28px !important;
  color: #6c757d !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent !important;
}

#myTab.nav-tabs .nav-link:hover {
  background: rgba(51, 191, 191, 0.08) !important;
  color: var(--theme-default) !important;
}

#myTab.nav-tabs .nav-link.active {
  background: #fff !important;
  color: var(--theme-default) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* Dark mode adjustment if needed */
body.dark-only #myTab.nav-tabs {
  background: #262932 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.dark-only #myTab.nav-tabs .nav-link {
  color: #9ba1a7 !important;
}

body.dark-only #myTab.nav-tabs .nav-link.active {
  background: #1d1e26 !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* 🏆 Premium Match Tabs (Segmented Control) */
.premium-tabs.nav-tabs {
  background: rgba(34, 34, 38, 0.05) !important;
  padding: 6px !important;
  border-radius: 16px !important;
  border: none !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  gap: 4px;
  margin-bottom: 20px !important;
  scrollbar-width: none;
  /* Firefox */
}

.premium-tabs.nav-tabs::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.premium-tabs .nav-item {
  margin-bottom: 0 !important;
  flex: 0 0 auto;
}

.premium-tabs .nav-link {
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  color: #6c757d !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  background: transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap;
}

.premium-tabs .nav-link i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.premium-tabs .nav-link:hover {
  color: #35bfbf !important;
  background: rgba(53, 191, 191, 0.08) !important;
}

.premium-tabs .nav-link.active {
  background: #fff !important;
  color: #35bfbf !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(0);
}

.premium-tabs .nav-link.active i {
  transform: scale(1.1);
}

/* Dark Mode adjustment for Premium Tabs */
body.dark-only .premium-tabs.nav-tabs {
  background: rgba(255, 255, 255, 0.05) !important;
}

body.dark-only .premium-tabs .nav-link {
  color: #a0aec0 !important;
}

body.dark-only .premium-tabs .nav-link.active {
  background: #2d3748 !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

@media (max-width: 767px) {
  .premium-tabs.nav-tabs {
    padding: 6px 4px !important;
    /* Reduced container padding to let tabs breathe */
    gap: 6px;
    /* Slightly increased gap to help with peeking effect */
    margin-bottom: 15px !important;
    padding-left: 10px !important;
    /* Indent first tab slightly */
    padding-right: 20px !important;
    /* Ensure last tab doesn't hit edge and looks cut off when peeking */
  }

  .premium-tabs .nav-link {
    padding: 8px 10px !important;
    /* Slimmer padding to fit more content and allow peeking */
    font-size: 13px !important;
    gap: 4px;
    border-radius: 10px !important;
  }

  .premium-tabs .nav-link i {
    font-size: 14px;
  }
}



/* Homepage Section Layout */
.home-sections {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 12px 0 30px;
}

.home-section {
  position: relative;
}

.home-section-shell {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7edf4;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.home-section-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #35bfbf 0%, #56d5ad 100%);
  opacity: 0.9;
}

.home-section-shell-hero {
  padding: 0;
}

.home-section-hero .home-section-shell {
  padding: 0;
}

.home-section-matches .margin-bottom-10 {
  margin-bottom: 14px !important;
}

.home-section-matches .margin-bottom-10 h3 {
  margin: 0;
  font-size: clamp(1.45rem, 1.4rem + 0.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.home-section-matches .project-cards {
  margin-bottom: 0;
}

.home-section-matches .project-cards hr {
  margin: 0 0 16px;
  border: 0;
  border-top: 1px solid #e6edf5;
}

.home-section-how .landing-page {
  background: transparent;
  padding: 8px 10px;
}

.home-section-how .core-feature {
  background: linear-gradient(180deg, #f8fcff 0%, #f4fafb 100%);
  border: 0;
  border-radius: 16px;
  padding: 22px 8px;
}

.home-section-how .core-feature .container {
  max-width: 100%;
}

.home-section-how .core-feature .title {
  margin-bottom: 34px;
}

.home-section-how .core-feature .title a {
  font-size: clamp(1.55rem, 1.3rem + 1vw, 2.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.home-section-how .how-it-works-card h4 {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.38rem);
  font-weight: 750;
  line-height: 1.28;
  letter-spacing: 0.005em;
}

.home-section-how .how-it-works-card p {
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  line-height: 1.7;
  font-weight: 500;
}

.home-section-how .how-it-works-card .step-number {
  font-size: clamp(4.2rem, 3.5rem + 2vw, 5.8rem);
}

.home-section-how .feature-block {
  row-gap: 18px;
}

body.dark-only .home-section-shell {
  background: #1e2430;
  border-color: #323f53;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

body.dark-only .home-section-shell::before {
  background: linear-gradient(90deg, #6f63ff 0%, #35bfbf 100%);
}

body.dark-only .site-primary-nav-toggle {
  background: #1f2430;
  color: #eef4ff;
  border-color: rgba(111, 99, 255, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

body.dark-only .site-primary-menu a {
  color: #d9e6ff;
}

body.dark-only .site-primary-menu a:hover,
body.dark-only .site-primary-menu a:focus {
  color: #ffffff;
  background: rgba(111, 99, 255, 0.18);
}

body.dark-only .page-wrapper .page-header .header-wrapper .site-primary-nav-wrap .site-primary-menu .current-menu-item a,
body.dark-only .page-wrapper .page-header .header-wrapper .site-primary-nav-wrap .site-primary-menu .current_page_item a {
  color: #ffffff;
  background: rgba(111, 99, 255, 0.24);
}

body.dark-only .home-hero-shell {
  background:
    radial-gradient(circle at top left, rgba(111, 99, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(53, 191, 191, 0.14), transparent 30%),
    linear-gradient(135deg, #111827 0%, #172233 100%);
}

body.dark-only .home-hero-eyebrow {
  background: rgba(111, 99, 255, 0.18);
  color: #d7d4ff;
}

body.dark-only .home-hero h1 {
  color: #f8fbff;
}

body.dark-only .home-hero p {
  color: #bfd0e8;
}

body.dark-only .home-hero-link {
  color: #8ce7e0;
}

body.dark-only .home-hero-panel-card {
  background: linear-gradient(180deg, #1c2435 0%, #101927 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

body.dark-only .home-hero-mini-card {
  background: rgba(17, 24, 39, 0.7);
  border-color: rgba(148, 163, 184, 0.16);
}

body.dark-only .home-hero-mini-card span {
  color: #9fb0c8;
}

body.dark-only .home-hero-mini-card strong {
  color: #f8fbff;
}

body.dark-only .home-section-matches .margin-bottom-10 h3 {
  color: #eaf1ff;
}

body.dark-only .home-section-how .core-feature .title a {
  color: #eef4ff !important;
}

body.dark-only .home-section-how .how-it-works-card h4 {
  color: #eef4ff !important;
}

body.dark-only .home-section-how .how-it-works-card p {
  color: #bcc9dd !important;
}

body.dark-only .home-section-matches .project-cards hr {
  border-top-color: #334155;
}

body.dark-only .home-section-how .core-feature {
  background: linear-gradient(180deg, #101724 0%, #141c2b 100%);
}

@media (max-width: 991px) {
  .site-primary-nav-wrap {
    position: relative;
    margin-left: auto;
    margin-right: 8px;
  }

  .site-primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 40;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e7edf4;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  }

  .site-primary-nav.is-open {
    display: block;
  }

  .site-primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-primary-menu a {
    justify-content: flex-start;
    width: 100%;
    background: #f8fbff;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .home-hero-copy {
    gap: 14px;
    padding: 0;
  }

  .home-hero h1 {
    max-width: none;
  }

  .home-hero-panel-card {
    border-radius: 18px;
    padding: 18px;
  }

  .home-hero-panel-card strong {
    font-size: 18px;
  }

  .home-hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-mini-card {
    padding: 14px 12px;
  }

  .home-sections {
    gap: 16px;
    margin: 6px 0 20px;
  }

  .home-section-shell {
    border-radius: 14px;
    padding: 14px 10px;
  }

  .home-section-shell::before {
    height: 3px;
  }

  .home-section-matches .margin-bottom-10 h3 {
    font-size: clamp(1.2rem, 1.08rem + 0.8vw, 1.45rem);
    letter-spacing: 0.015em;
  }

  .home-section-how .landing-page {
    padding: 6px 8px;
  }

  .home-section-how .core-feature {
    border-radius: 12px;
    padding: 14px 0 12px;
  }

  .home-section-how .core-feature .title {
    margin-bottom: 20px;
  }

  .home-section-how .core-feature .title a {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.65rem);
    line-height: 1.16;
  }

  .home-section-how .how-it-works-card h4 {
    font-size: clamp(1.02rem, 0.96rem + 0.45vw, 1.15rem);
    line-height: 1.3;
  }

  .home-section-how .how-it-works-card p {
    font-size: 0.92rem;
    line-height: 1.62;
  }
}

@media (min-width: 992px) {
  .site-primary-nav-toggle {
    display: none;
  }
}

/* App Promotion Styles */
@media (max-width: 991px) {
  .smart-app-banner {
    /*display: flex !important;*/
  }


  /* Mobile Horizontal Scroll for How It Works */
  .core-feature .container {
    padding-right: 0;
    /* Allow full edge-to-edge swipe feeling on right */
  }

  .core-feature .feature-block {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 25px;
    /* Space for shadow/scrollbar */
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 0;
    /* Override Bootstrap negative margins */
    margin-right: 0;
    /* Hide scrollbar for cleaner look if desired, or keep for affordance. Keeping default is safer for affordance. */
  }

  .core-feature .feature-block::-webkit-scrollbar {
    height: 6px;
  }

  .core-feature .feature-block::-webkit-scrollbar-track {
    background: transparent;
  }

  .core-feature .feature-block::-webkit-scrollbar-thumb {
    background-color: rgba(53, 191, 191, 0.3);
    border-radius: 3px;
  }

  .core-feature .feature-block>div {
    flex: 0 0 85%;
    /* Show 85% of card to hint at more content */
    max-width: 85%;
    scroll-snap-align: center;
  }

  .how-it-works-card {
    height: 100%;
    /* Ensure equal height */
    padding: 30px 20px;
  }

  .how-it-works-card .step-number {
    font-size: 70px;
    /* Smaller number for mobile */
  }

  /* Mobile Dots - Only visible on mobile due to media query */
  .mobile-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
  }

  .mobile-dots .dot {
    width: 10px;
    height: 10px;
    background-color: #E2E8F0;
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .mobile-dots .dot.active {
    background-color: #35BFBF;
    transform: scale(1.2);
  }
}

/* ⚽ Player Rating Badge */
.player-rating {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ffc107;
  /* Gold/Yellow */
  color: #000;
  font-size: 11px;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 1.5px solid #fff;
  z-index: 10;
  transition: all 0.3s ease;
}

.player-tshirt:hover .player-rating,
.player-goalkeeper:hover .player-rating {
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.player-rating:empty {
  display: none;
}

/* Hide Smart App Banner on Desktop */
@media (min-width: 992px) {
  .smart-app-banner {
    display: none !important;
  }
}

/* 💎 Premium How It Works Section */
.core-feature .title {
  margin-bottom: 50px;
  text-align: center;
}

.core-feature .title a {
  font-size: 32px;
  font-weight: 800;
  color: #2d3748 !important;
  text-decoration: none;
  position: relative;
  background-image: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: currentcolor !important;
}

.core-feature .title a:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #35bfbf;
  /* Primary color */
  margin: 10px auto 0;
  border-radius: 2px;
}

.how-it-works-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.how-it-works-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(53, 191, 191, 0.15);
  border-color: rgba(53, 191, 191, 0.2);
}

.how-it-works-card .step-number {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(53, 191, 191, 0.05);
  line-height: 1;
  z-index: 0;
  font-family: 'Inter', sans-serif;
}

.how-it-works-card .icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(53, 191, 191, 0.1);
  color: #35bfbf;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.how-it-works-card .icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.how-it-works-card:hover .icon-wrapper {
  background: #35bfbf;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.how-it-works-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2d3748;
  position: relative;
  z-index: 1;
}

.how-it-works-card p {
  color: #718096;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Dark Mode: How It Works */
body.dark-only #core-feature {
  background-color: #131a26 !important;
}

body.dark-only .core-feature .title a {
  color: #eef4ff !important;
}

body.dark-only .how-it-works-card {
  background: #1f2430 !important;
  border: 1px solid #374558 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
}

body.dark-only .how-it-works-card:hover {
  border-color: rgba(111, 99, 255, 0.55) !important;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35) !important;
}

body.dark-only .how-it-works-card .step-number {
  color: rgba(111, 99, 255, 0.14) !important;
}

body.dark-only .how-it-works-card .icon-wrapper {
  background: rgba(111, 99, 255, 0.2) !important;
  color: #c9d8ff !important;
}

body.dark-only .how-it-works-card:hover .icon-wrapper {
  background: #6f63ff !important;
  color: #ffffff !important;
}

body.dark-only .how-it-works-card h4 {
  color: #eef4ff !important;
}

body.dark-only .how-it-works-card p {
  color: #b2c1d8 !important;
}

body.dark-only .mobile-dots .dot {
  background-color: #38465d !important;
}

body.dark-only .mobile-dots .dot.active {
  background-color: #6f63ff !important;
}


.smart-app-banner {
  display: flex;
  position: relative;
  /* Change from sticky to relative for better initial visibility */
  width: 100%;
  background: #1d1d1d;
  color: white;
  padding: 10px 15px;
  z-index: 10000;
  border-bottom: 1px solid #333;
  font-family: 'Lexend', sans-serif;
}

/* Clear fixed/absolute positioning from header */
.page-header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  z-index: 1000;
}

.banner-content {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.close-banner {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  margin-right: 15px;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.app-icon img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 12px;
}

.app-info {
  flex-grow: 1;
}

.app-name {
  font-weight: 600;
  font-size: 14px;
}

.app-tagline {
  font-size: 11px;
  color: #aaa;
}

.btn-get-app {
  background: #33BFBF;
  color: white !important;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
}

.app-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.app-badge img {
  height: 40px;
  width: auto;
}

.qr-code-container canvas,
.qr-code-container img {
  margin: 0 auto;
  border: 10px solid white;
  border-radius: 5px;
}

.app-qr-section {
  margin: 30px 0;
}


@media (min-width: 992px) {
  /* Banner remains visible for testing */
}

/* Custom Profile Dropdown Recreation */
.custom-profile-dropdown {
  position: relative !important;
}

.custom-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0 !important;
  left: auto !important;
  background-color: #fff;
  min-width: 170px;
  width: max-content;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 12px;
  list-style: none;
  white-space: nowrap;
}

/* Ensure it doesn't cut off on very small screens */
@media (max-width: 480px) {
  .custom-dropdown-content {
    right: -5px !important;
  }
}

.custom-dropdown-content.show {
  display: block !important;
  animation: fadeInDown 0.3s ease;
}

.custom-dropdown-content li {
  padding: 8px 20px;
}

.custom-dropdown-content li a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.custom-dropdown-content li a i {
  margin-right: 10px;
  width: 16px;
}

.custom-dropdown-content li:hover {
  background-color: #f1f1f1;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fix for mobile dropdown: ensure it's visible when the 'active' class is present, decoupled from hover */
.onhover-dropdown .onhover-show-div.active {
  opacity: 1 !important;
  transform: translateY(0px) !important;
  visibility: visible !important;
  display: block !important;
}

/* Share embed modal UI (used in single + manage games) */
.share-embed-modal .modal-dialog {
  max-width: 760px;
}

.share-embed-modal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.22);
}

.share-embed-modal .modal-header {
  align-items: flex-start;
  border-bottom: 1px solid #e9eef5;
  background: linear-gradient(135deg, #f8fbff 0%, #f1f6ff 100%);
  padding: 20px 22px 16px;
}

.share-embed-modal .modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.share-embed-modal .modal-subtitle {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #475467;
}

.share-embed-modal .modal-body {
  padding: 18px 22px 22px;
  background: #ffffff;
}

.share-embed-modal .share-container h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.share-embed-modal .share-link {
  display: flex;
  gap: 10px;
  align-items: center;
}

.share-embed-modal .share-link .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.share-embed-modal .share-link .form-control,
.share-embed-modal .embed-container textarea {
  border-radius: 10px;
  border-color: #d8e0ea;
  background: #fbfcfe;
}

.share-embed-modal .share-link .btn {
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
  padding-inline: 16px;
}

.share-embed-modal .embed-container textarea {
  min-height: 140px;
  font-size: 13px;
}

.share-embed-modal .alert {
  border-radius: 10px;
  margin-bottom: 10px;
}

.share-embed-modal hr {
  margin: 14px 0;
  border-top-color: #edf2f7;
}

@media (max-width: 576px) {
  .share-embed-modal .modal-header,
  .share-embed-modal .modal-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .share-embed-modal .share-link {
    flex-direction: row;
    align-items: center;
  }
}
