@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
body, html {
    overflow-x: hidden;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: #1a2e39!important;
}
#canvas{
  width: 100%!important;
  height: auto!important;
  aspect-ratio: 16/9!important;
  display: block;
    border-radius: 8px;
}
.gameplay iframe {
    width: 72%;
    height: auto;
    position: absolute;
    left: 0;
    z-index: 9;
    top: 0;
    margin-top: -10%;
    margin-left: -65%;
    aspect-ratio: 1 / 1;
}
.static-page {
    color: #fff;
    padding: 50px;
    min-height: 80vh;
}
.static-page h2, .static-page h3, .static-page h4 {
    margin-bottom: 15px;
    font-size: 18px;
}
.static-page ul {
    list-style: circle;
    margin-left: 40px;
    margin-bottom: 15px;
}
.static-page p {
    margin-bottom: 15px;
}
.static-page a {
    color: #fff;
    text-decoration: none;
}
.static-page a:hover {
    color: #efefef;
}
.header {
    padding: 10px 30px;
    background: #1a2c38;
    box-shadow: #0003 0 4px 6px -1px, #0000001f 0 2px 4px -1px;
    z-index: 4;
    position: relative;
}
.header-content {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.header-content img {
    display: inline-block;
    height: 40px;
}
.login {
    display: flex;
    gap: 6px;
}
.login-btn, .join-btn {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 15px;
    color: #efefef;
    cursor: pointer;
    line-height: 20px;
}
.login-btn {
    background-color: #395565;
}
.login-btn:hover {
    background-color: #2f4553;
}
.join-btn {
    background-color: #1475e1;
}
.join-btn:hover {
    background-color: #1063c0;
}
.dashboard-btn {
    color: #efefef;
    font-size: 16px;
    line-height: 16px;
    cursor: pointer;
    text-decoration: none;
}
.dashboard-btn i {
    margin-right: 7px;
}
.dashboard-btn:hover {
    opacity: 0.9;
}
.progress {
    display: flex;
    flex-direction: row;
    background-color: #121f27;
    border-radius: 8px;
    min-width: 372px;
}
a,p,h1,h2,h3,h4,h5,h6,button,input {
    font-family: "Outfit", sans-serif;
}
.bar {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #000;
    color: #efefef;
    padding: 2px 10px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-size: 12px;
    width: 69%;
    box-sizing: border-box;
}
.bar label {
    line-height: 12px;
}

.progress-bar {
	width: 100%;
	background-color: #1a2c38;
	padding: 1px;
	border-radius: 5px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
	position: relative;
}
		
.progress-bar-fill {
	display: block;
	height: 16px;
	background-color: #00ca4f;
	border-radius: 5px;
	transition: width 500ms ease-in-out;
}
.progressbarMoney {
    position: absolute;
    top: 3px;
    left: 50%;
    margin-left: -18px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 12px;
}
			
.withdraw {
    padding: 13.5px 15px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
    line-height: 28px;
    background-color: #00ca4f;
    width: 31%;
    box-sizing: border-box;
    cursor: pointer;
}
.withdraw img {
    height: 18px;
    vertical-align: middle;
}
.withdraw.active {
    opacity: 1;
    cursor: pointer;
}
.widthdrawal-notreached {
    color: #efefef;
    font-size: 15px;
}
.widthdrawal-notreached h4 {
    font-size: 14px;
    text-align: center;
    margin-top: 6px;
    font-weight: 400;
}
.shortinfo {
    text-align: center;
    margin-top: 5px;
    color: #9fbed0;
    line-height: 14px;
    font-size: 14px;
}
.widthdrawal-notreached a.withdraw {
    cursor: not-allowed;
}
.widthdrawal-reached a.withdraw {
    cursor: pointer;
}
.widthdrawal-reached a.withdraw:hover {
    background-color: #01ff64;
}
.widthdrawal-notreached h5 i {
    color: #9fbed0;
    margin-right: 6px;
}
.widthdrawal-notreached h5 {
    margin-top: 20px;
    margin-bottom: 6px;
    font-size: 15px;
}
.widthdrawal-notreached p {
    font-size: 14px;
}
.widthdrawal-reached .progress {
    border-radius: 8px;
}
.widthdrawal-reached .bar {
    width: 100%;
    border-radius: 8px;
}
.widthdrawal-reached .withdraw {
    display: none;
}
.widthdrawal-reached h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #00ca4f;
    font-size: 16px;
    text-align: center;
}
.widthdrawal-reached p {
    font-size: 14px;
    text-align: center;
}
.successfull-withdrawal {
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    font-weight: 600;
    line-height: 28px;
    background-color: #00ca4f;
    width: 100%;
    box-sizing: border-box;
    margin-top: 15px;
    border: none;
    font-size: 16px;
    line-height: 16px;
    cursor:pointer;
}
.successfull-withdrawal:hover {
    background-color: #01ff64;
}
.withdraw-user-info-box {
  margin-top: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
}

.withdraw-user-info-box h4 {
  margin: 0 0 14px;
  font-size: 18px;
}

.withdraw-user-info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.withdraw-user-info-row:last-of-type {
  border-bottom: none;
}

.withdraw-user-info-row .label {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.withdraw-user-info-row .value {
  color: #fff;
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}

.withdraw-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.withdraw-confirm-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.confirm-details-btn,
.edit-details-btn,
.successfull-withdrawal {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;    font-size: 14px;
    line-height: 14px;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.confirm-details-btn i {
    margin-left: 6px;
}
.pending-withdraw0header h3 {
    line-height: 24px;
}
.pending-withdraw-header h3 i {
    color: #00ca4f;
}

.transaction-pending {
    color: #f5c542;
}
.transaction-completed {
    color: #00ca4f;
}

.confirm-details-btn {
  background: #2ecc71;
  color: #000;
  flex: 1;
}

.edit-details-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  flex: 1;
}

.successfull-withdrawal {
  width: 100%;
  margin-top: 16px;
  background: #2ecc71;
  color: #fff;
  opacity: 0.45;
  cursor: not-allowed;
  transition: 0.2s ease;
}

.successfull-withdrawal.enabled {
  opacity: 1;
  cursor: pointer;
}
.pending-withdraw-modal-content {
  max-width: 760px;
}

.pending-withdraw-header h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.pending-withdraw-header p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.pending-user-box,
.pending-transactions-box {
  margin-top: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
}

.pending-user-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pending-user-box h4,
.pending-transactions-box h4 {
  margin: 0;
  font-size: 18px;
}

.pending-edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.pending-transactions-table-wrap {
  overflow-x: auto;
  margin-top: 14px;
}

.pending-transactions-table {
  width: 100%;
  border-collapse: collapse;
}

.pending-transactions-table th,
.pending-transactions-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

.pending-transactions-table th {
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.no-transactions {
  margin-top: 12px;
  color: rgba(255,255,255,0.72);
}

.readonly-value {
  opacity: 0.75;
}

.missing-value {
  color: #ff8a8a;
}

.pending-save-btn,
.pending-cancel-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.pending-save-btn {
  background: #f5c542;
  color: #111;
}

.pending-cancel-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.successfull-withdrawal:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.missing-value {
  color: #ff8a8a;
}
.withdraw-edit-input{
  width:100%;
  background:#1b1b1b;
  border:1px solid #333;
  border-radius:8px;
  padding:8px 10px;
  color:#fff;
}
.withdraw-missing-details {
  flex: 1;
  background: rgba(255, 107, 107, 0.12);
  color: #ff8a8a;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
}
.moneys {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 10px;
    line-height: 10px;
}
.content {
    width: 100%;
    display: flex;
    flex-direction: row;
}
.sidebar {
    background-color: #13232d;
}
.sidebar {
    padding: 15px;
}
.sidebar nav {
    border-radius: 8px;
    background: #1a2e39;
}
.sidebar nav a {
    color: #efefef;
    display: block;
    padding: 15px;
    text-decoration: none;
    font-size: 14px;
    width: auto;
    white-space: nowrap;
}
.sidebar nav a i {
    margin-right: 5px;
    font-size: 17px;
}
.sidebar nav a:hover, .sidebar nav a.active {
    background: #274555;
}
.sidebar nav ul li:first-child a {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.sidebar nav ul li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
.main {
    
}

.game-details {
    padding: 40px;
    background: #1a2e39!important;
    box-sizing: border-box;
    width: 100%;
}

#rotateWarning{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000bf;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.rotateBox{
    color:#fff;
    text-align:center;
    font-size:20px;
}

.rotateBox i{
    font-size:40px;
    margin-bottom:10px;
}

.gameplay {
    width: 100%;
    max-width: 1280px;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.gameinfo h1 {
    background: #203743;
    font-size: 23px;
    color: #f7fafc;
    padding: 20px;
    border-radius: 8px;
}
.gameinfo h1 span {
    color: #9fbed0;
    margin-left: 12px;
    font-weight: 500;
}
.gameinfo h1 span i {
    vertical-align: unset;
    margin-left: 10px;
}
.gameinfo h6 {
    margin-top: 10px;
    font-size: 16px;
    color: #f7fafc;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    margin-bottom: 10px;
}
.description p {
    color: #9fbed0;
    margin-top: 15px;
    padding: 0 20px;
    font-size: 14px;
}
.description p b {
    text-decoration: underline;
}

.description p i {
    display: inline-block;
    margin-right: 7px;
    vertical-align: baseline;
}
.description h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-left: 20px;
    color: #f7fafc;
}
.description h3 i {
    vertical-align: baseline;
    margin-right: 7px;
}
#onlineCount {
    color: #f7fafc;
}
.gameinfo h6 i {
    font-size: 6px;
    color: #03e625;
}
.gameinfo h6 span {
    color: #9fbed0;
}
.gameinfo table {
    width: 100%;
    margin-top: 20px;
}
.gameinfo thead tr th {
    background: #121f27;
    padding: 20px 10px;
    color: #9dbcce;
    font-size: 16px;
    text-align: left;
}
.gameinfo thead tr th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.gameinfo thead tr th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.gameinfo tbody tr td {
    padding: 20px 10px;
    color: #9dbcce;
    font-size: 14px;
    border-bottom: 1px solid #395565;
    margin-bottom: 10px;
    line-height: 20px;
}

.gameinfo tbody tr td:first-child {
    color: #efefef;
}
.gameinfo tbody tr td:last-child {
    color: #03e625;
}
.gameinfo tbody tr:last-child td {
    border-bottom: 0;
}

.gameinfo tbody tr td img {
    height: 20px;
    margin-right: 8px;
}

footer {
    background-color: #13222b;
    padding: 50px;
    color: #9fbed0;
}
footer p {
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}
footer p:first-child {
    padding-bottom: 30px;
    border-bottom: 1px solid #395565;
}

footer p a {
    color: #9fbed0;
    text-decoration: none;
    border-bottom: 1px solid #9fbed0;
}

.withdraw-wrap {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
    align-content: center;
    white-space: nowrap;
}

.withdraw-info-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  font-size: 13px;
  line-height: 1.5;
  z-index: 1000;
  text-wrap: auto;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

@keyframes withdrawBlink {
  0% {
    box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.9);
    transform: scale(1.03);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 215, 0, 0);
    transform: scale(1);
  }
}

#withdrawToggle.withdraw-glow {
  animation: withdrawBlink 1s infinite;
}

.withdraw-info-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.withdraw-info-box::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #111;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
}

.trust {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-weight: 600;
}
.trust img {
    height: 28px;
    margin-left: 8px;
    margin-right: 8px;
}
.trust img:nth-child(2) {
    height: 24px;
}

.goo {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    font-weight: 600;
    border-bottom: 1px solid #395565;
    padding-bottom: 50px;
}
.goo img {
    height: 24px;
    margin-left: 8px;
    margin-right: 8px;
}
.goo img:nth-child(2) {
    height: 24px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 420px;
  background: #1a2e39;
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.modal-content h2 {
    margin-bottom: 15px;
}
.modal-content label span.required {
    color: #ff8391;
    margin-left: 6px;
}
.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #9fbed0;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #395565;
  border-radius: 10px;
  background: #121f27;
  color: #fff;
  box-sizing: border-box;
}
.auth-required-modal {
  max-width: 420px;
  text-align: center;
}

.auth-required-modal h2 {
  margin: 0 0 10px;
}

.auth-required-modal p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.auth-required-actions {
  display: flex;
  gap: 10px;
}

.auth-required-actions .main-modal-btn,
.auth-required-actions .edit-details-btn {
  flex: 1;
}

#alreadyspin {
  margin-bottom: 18px;
  text-align: center;
}

#alreadyspin p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

#registerBtn, #loginBtn, .main-modal-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #1475e1;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#loginMessage {
  margin-top: 12px;
  font-size: 14px;
}

#usernameStatus,
#phoneStatus {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.dashboard-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.dashboard-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #203743;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  display: none;
  z-index: 9999;
}

.dashboard-dropdown.show {
  display: block;
}

.dashboard-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  box-sizing: border-box;
  text-align: left;
  color: #f7fafc;
}
.dashboard-dropdown-item i {
    color: #9fbed0;
}

.dashboard-dropdown-item:hover {
  background: rgba(255,255,255,0.06);
}

.form-group input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}

#profileMessage {
  margin-top: 12px;
  font-size: 14px;
}

#withdrawContent {
  min-height: 80px;
  padding-top: 10px;
}


.available {
  color: #34c759;
}

.taken {
  color: #ff453a;
}

#registerMessage {
  margin-top: 12px;
  font-size: 14px;
}

@media only screen and (max-width: 1200px) {
    .content {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .sidebar ul {
        display: flex;
        overflow-x: scroll;
    }
    .sidebar nav ul li:first-child a {
        border-top-left-radius: 8px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 0;
    }
    .sidebar nav ul li:last-child a {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 8px;
        border-top-left-radius: 0px;
        border-top-right-radius: 8px;
    }
  .main {
    width: 100%;
    padding: 0px;
  }
    .game-details {
        padding: 15px 0;
    }
    .gameinfo {
        padding: 0 15px;
    }
    #canvas, .gameplay {
        border-radius: 0!important;
    }
}

@media only screen and (max-width: 615px) {
    .header {
        padding: 10px;
    }
    .progress {
        width: 220px;
        min-width: 220px;
    }
    .bar {
        padding: 3px 5px;
    }
    .gameplay iframe {
        width: 100%;
        margin-top: -20%;
        margin-left: -93%;
    }
    .sidebar nav a {
        font-size: 13px;
        padding: 8px 15px;
    }
    .gameinfo h6 {
        font-size: 13px;
    }
    .gameinfo h1 {
        font-size: 14px;
        padding: 15px 10px;
    }
    .gameinfo h1 span {
        margin-left: 5px;
    }
    .gameinfo thead tr th, .gameinfo tbody tr td {
        padding: 5px;
        font-size: 12px;
    }
    .gameinfo thead tr th:first-child, .gameinfo tbody tr td:first-child, .gameinfo thead tr th:nth-child(5), .gameinfo tbody tr td:nth-child(5) {
        display: none;
    }
    .trust, .goo {
        flex-direction: column;
    }
    footer {
        padding: 50px 20px;
    }
    footer p {
        font-size: 13px;
    }
    .header {
        padding: 10px;
    }
    .withdraw {
        padding: 13px 5px;
        font-size: 12px;
    }
    .header-content img {
        height: 31px;
    }
    .header-content .withdraw img {
        height: 15px;
    }
    .bar label {
        line-height: 10px;
        font-size: 10px;
    }
    .progressbarMoney {
        top: 1px;
        margin-left: -23px;
        font-size: 11px;
        font-weight: 600;
    }
    .progress-bar-fill {
        height: 12px;
    }
    .login {
        flex-direction: column;
        gap: 4px;
    }
    .login-btn, .join-btn {
        padding: 2px 7px;
        border-radius: 4px;
        font-size: 11px;
        text-wrap: nowrap;
        text-align: center;
    }
    .description h3 {
        margin-left: 0;
        font-size: 14px;
    }
    .description p {
        padding: 0;
    font-size: 12px;
    }
    
}
@media only screen and (max-width: 540px) {
    .dashboard-btn {
        font-size: 0;
    }
    .dashboard-btn i {
        font-size: 22px;
        line-height: 22px;
        margin-right: 0;
    }
    .withdraw-info-box {
        font-size: 12px;
        width: 240px;
    }
}

@media screen and ( max-height: 500px ){
    .modal {
      align-items: baseline;
      overflow-y: scroll;
    }
}
@media only screen and (max-width: 376px) {
    .header-content img {
        height: 25px;
    }
    .header-content .withdraw img {
        height: 13px;
    }
}