body {
	 font-family: 'Jersey 15', sans-serif;
	 background: #000000;
	background: linear-gradient(180deg,rgba(0, 0, 0, 1) 26%, rgba(17, 1, 23, 1) 42%, rgba(46, 7, 24, 1) 63%, rgba(104, 32, 4, 1) 81%, rgba(158, 92, 42, 1) 95%);
	  background-attachment: fixed;
	 color: #fff;
	 
	 position: relative;
	 padding-bottom: 80px; 
	 margin: 0;
	 overflow-y:hidden;
}
 h1 {
	 font-family: "Jersey 15";
	 font-size: 77px;
	 white-space: nowrap;
	 text-align:center;
	
}
 a {
     text-decoration: inherit;
  	 color:#FF7836;
	
     opacity:1;
     transition : all .5s ease ;
}
a:hover {
	color:#FF7836;
	opacity: 0.7;
}
 .char {
	 color: #fff;
	 transition: color ease-out 0.3s, text-shadow ease-out 0.3s;
}
 .char.fade-in {
	 color: #fff;
	 transition: color ease-out 0.3s, text-shadow ease-out 0.3s;
}
 .fadeInUp{
	 animation:fadeInUp 1s ease backwards;
	 height:100vh;
}
 @keyframes fadeInUp{
	 0%{
		transform:translate(0px, 100px);
		 opacity: 0;
	}
	 100%{
		transform:translate(0px, 0);
		 opacity: 1;
	}
}
.win-gif, .lose-gif {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid #FF7836;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    z-index: 10;
    background-size: cover;
    background-position: center;
    opacity: 0; 
}
.win-gif {
    background-image: url("assets/win.gif");
}
.lose-gif {
    background-image: url("assets/lose.gif");
}
.hidden {
    display: none !important;
}
@keyframes showGif {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}
.show-gif {
    display: block !important;
    animation: showGif 3s forwards;
}
 .container {
	 max-width: 500px;
	 min-width:300px;
	 border-radius: 10px;
	 padding:10px;
	 text-transform:uppercase;
	 margin: 0 auto;
	 z-index: 100;
	 position: relative;
	
}
 .coin-container {
	 display: flex;
	 justify-content: center;
	 margin: 5px 0;
}
 .coin {
	 width: 250px;
	 height: 250px;
	 position: relative;
	 margin: 0 auto;
	 transform-style: preserve-3d;
	 transition: transform 0.5s ease-in-out;
}
 .coin-face {
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 border-radius: 50%;
	 border: 3px solid #FF7836;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 backface-visibility: hidden;
}
 .heads {
	 background-color: #ffd700;
	 color: #333;
	 transform: rotateY(0deg);
	 background-image: url("assets/johnn.png");
	 background-size: cover;
}
 .tails {
	 background-color: #c0c0c0;
	 color: #333;
	 transform: rotateY(180deg);
	 background-image: url("assets/pheonixn.png");
	 background-size: cover;
}
 .coin.flip {
	 animation: flip 3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
	 animation-fill-mode: forwards;
}
 @keyframes flip {
	 0% {
		 transform: rotateY(0);
	}
	 100% {
		 transform: rotateY(var(--final-rotation, 720deg));
	}
}
 .btn {
	 display: inline-block;
	 background-color: transparent;
	 font-family: "Jersey 15", sans-serif;
	 color: #fff;
	 padding: 10px 20px;
	 border: 3px solid #FF7836;
	 border-radius: 0px;
	 font-size: 38px;
	 cursor: pointer;
	 margin: 5px;
	 text-transform:uppercase;
	 transition: background-color 0.3s;
	
}
 .btn:hover {
	 box-shadow: 0 0 0 2px #fff;
}
 .btn.selected {
	 box-shadow: 0 0 0 2px #fff;
}
 .btn.disabled {
	 color:#666;
	 cursor: not-allowed;
}
 .choice-container {
	 display: flex;
	 justify-content: center;
	 margin-bottom: 0px;
}
 .bet-container {
	 display: flex;
	 justify-content: center;
	 margin-bottom: 20px;
	 flex-wrap: wrap;
}
 .result {
	 text-align: center;
	 font-size: 36px;
	 margin-top: 10px;
	 margin-bottom: 20px;
	
}
.status {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 15px 0;
  color: #FF7836;
  font-size: 24px;
 
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
 
  display: none; 
  transition: background-color 0.3s ease;
  white-space: nowrap;   
  overflow: hidden;   
  text-overflow: ellipsis; } 

@keyframes balanceUpdate {
  0% { background-color: rgba(255, 120, 54, 0.3); }
  100% { background-color: rgba(0, 0, 0, 0.8); }
}
.balance-updated {
  animation: balanceUpdate 1s ease-out;
}
 .wallet-container {
	 text-align: center;
	 margin-bottom: 20px;
	 margin-top: 50px;
	 display: flex;
	 justify-content: center;
	 align-items: center;
	 flex-wrap: wrap;
	 
}
 .wallet-info-container {
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 gap: 10px;
}
.loading {
  display: inline-block;
  width:15px;
}
.loading::after {
  content: '';
  animation: dot-cycle 1.2s infinite;
}
@keyframes dot-cycle {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
} 
  
.small {
font-size:18px;
 margin-top:-25px;
}
 .hidden {
	 display: none;
}
#gameControls {
margin-top:50px;
}
 .section-title {
	 text-align: center;
	 margin-top: 0px;
	 margin-bottom: 10px;
	 color: #FF7836;
	 font-size: 22px;
}
 .disconnect-btn {
	 background-color: transparent;
	 margin-left: 10px;
}
 .disconnect-btn:hover {
	 box-shadow: 0 0 0 2px #fff;
}
 .claim-btn {
	 background-color: #4CAF50;
	 margin-top: 20px;
	 padding: 12px 24px;
	 font-size: 38px;
	 display: block;
	 margin-left: auto;
	 margin-right: auto;
	 border:none;
}
 .claim-btn:hover {
	 background-color: #66BB6A;
}
 .win-container {
	 text-align: center;
	 margin-top: -30px;
	 margin-bottom: 20px;
}
.fade-element {
  transition: opacity 0.4s ease-in-out;
  opacity: 1;
}
.fade-out {
  opacity: 0;
  pointer-events: none;
}
.fade-in {
  opacity: 1;
}
.bet-info {
  text-align: center;
  margin: 20px 0;
  padding: 15px;
  
  
  background-color: transparent;
   max-width: 285px;
   margin:auto;
   margin-bottom:20px;
   margin-top:50px;
}
.info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.info-item {
  font-size: 38px;
  color: #fff;
}
.info-item span {
  color: #FF7836;
  font-weight: bold;
} 
.bet-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.bet-slider {
    -webkit-appearance: none;
    width: 80%;
    height: 25px;
   
	border: 3px solid #FF7836;
    background: transparent;
    outline: none;
    opacity: 1;
    transition: opacity .2s;
    margin-bottom: 10px;
}
.bet-slider:hover {
    opacity: 0.8;
}
.bet-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 45px;
    height: 45px;
   
    background: #fff;
    cursor: pointer;
	  clip-path: polygon(
    0px calc(100% - 14px),
    2px calc(100% - 14px),
    2px calc(100% - 10px),
    4px calc(100% - 10px),
    4px calc(100% - 6px),
    6px calc(100% - 6px),
    6px calc(100% - 4px),
    10px calc(100% - 4px),
    10px calc(100% - 2px),
    14px calc(100% - 2px),
    14px 100%,
    calc(100% - 14px) 100%,
    calc(100% - 14px) calc(100% - 2px),
    calc(100% - 10px) calc(100% - 2px),
    calc(100% - 10px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 10px),
    calc(100% - 2px) calc(100% - 10px),
    calc(100% - 2px) calc(100% - 14px),
    100% calc(100% - 14px),
    100% 14px,
    calc(100% - 2px) 14px,
    calc(100% - 2px) 10px,
    calc(100% - 4px) 10px,
    calc(100% - 4px) 6px,
    calc(100% - 6px) 6px,
    calc(100% - 6px) 4px,
    calc(100% - 10px) 4px,
    calc(100% - 10px) 2px,
    calc(100% - 14px) 2px,
    calc(100% - 14px) 0px,
    14px 0px,
    14px 2px,
    10px 2px,
    10px 4px,
    6px 4px,
    6px 6px,
    4px 6px,
    4px 10px,
    2px 10px,
    2px 14px,
    0px 14px
  );
}
.bet-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
	
}
.bet-slider-value {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
	margin-bottom:-20px;
}
#points {
	position: sticky;
	bottom: 12px;
	float:right;
	 font-size: 22px;
	 margin-top:5px;
	 margin-right:10px;
	 z-index: 1100;
	 
}
.menu-button {
  position: sticky;
  left: 0px;
  bottom: 12px;
  width: 35px;
  height: 30px;
  white-space: nowrap;
  background-color: transparent;
  display: none; 
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1100;
 font-size:38px;
  transition: transform 0.3s ease, background-color 0.3s ease;
 
}
.menu-button:hover {
  transform: scale(1.1);
}
/* -------------------------------------------------Popup Menu */
.popup-menu {
  position:sticky;
  bottom: 55px;
  left: 0px;
  
  background: linear-gradient(rgba(104, 32, 4, 1) 11%, rgba(158, 92, 42, 1) 95%);
  border: 2px solid #FF7836;
 
  width: 155px;
  overflow: hidden;
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space:nowrap;
}
.popup-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.popup-menu-item {
  padding: 12px 15px;
  font-family: "Jersey 15", sans-serif;
  color: #fff;
  text-align:left;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 22px;
   white-space:nowrap;
  
}
.popup-menu-item:hover {
  opacity:0.7;
  
}
.popup-menu-item:not(:last-child) {
  border-bottom: 3px solid rgba(255, 120, 54, 0.3);
}
/* -------------------------------------------------Popup Info */
.info-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  margin-right:115px;
   width: 500px;
  max-width:89%;
  font-size: 58px;
  
}
.info-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  text-transform: uppercase;
  background: linear-gradient(rgba(104, 32, 4, 1) 11%, rgba(158, 92, 42, 1) 95%);
  border: 3px solid #FF7836;
  width: 100px;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
 
}
.info-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 120, 54, 0.5);
}
.info-popup-title {
  font-family: "Jersey 15", sans-serif;
  color: #FF7836;
  font-size: 38px;
  text-transform: uppercase;
  margin: 0;
}
.info-popup-close {
  width: 30px;
  height: 30px;
  position: relative;
  cursor: pointer;
}
.info-popup-close:before,
.info-popup-close:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #FF7836;
  top: 50%;
  left: 0;
}
.info-popup-close:before {
  transform: rotate(45deg);
}
.info-popup-close:after {
  transform: rotate(-45deg);
}
.info-popup-content {
  color: #fff;
  line-height: 1.5;
  font-size: 22px;
}

.info-popup-content p {
  margin-bottom: 15px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
.leaderboard-table
{
	width:100%;
	text-align:left;
}
th {
text-align:left
}
@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-60px); opacity: 0; }
}
@keyframes pointsFlash {
    0%, 100% { color: #FF7836; }
    50% { color: white; }
}
.points-updated {
    animation: pointsFlash 1s ease-in-out 3;
}
.points-indicator {
    font-size: 18px;
    pointer-events: none;
    text-shadow: 0 0 5px black;
    white-space: nowrap;
}
#points {
    transition: color 0.3s ease;
}
.links-container {
  font-size:22px;
  word-spacing:5px;
  display: block;
  width: 100%;
  color: #FF7836;
  margin: 20px auto 10px auto;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
/* Streak message styling */
.streak-message {
  display: block;
  text-align: center;
  font-family: 'Jersey 15', sans-serif;
  font-size: 30px;
  margin: 15px auto;
  margin-top:-5px;
  animation: streakPulse 2s infinite;
  text-transform: uppercase;
	width:90%;
}
.flash {
  display: inline-block;

  font-size: 44px;
  color:#fff;
  animation: streakPulse 1s infinite;
  text-transform: uppercase;


}
.win-streak {
  color: #4CAF50;
  
}

.loss-streak {
  color: #F44336;
 
}

@keyframes streakPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@media only screen and (max-width: 800px) {
 h1 {
	 font-size: 55px;
	 margin-top:10px;
	 margin-bottom:10px;
}
#gameControls {
margin-top:25px;
}
 .btn {
	 font-size: 30px;
	}
}