body {
    margin: 0; /* Ensure no default margin */
    height: 100vh; /* Ensure body takes full height */
    display: flex; /* Use flexbox for layout */
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Prevent scrolling */
    font-family: 'Georgia', sans-serif;
    text-shadow: 2px 2px 3px black; /* Text shadow */
    font-weight: bold;
}

.custom-background {
    background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/778ab17ec63fc8028845b25e6f21d8288b0c1211cb1e0b795b111bbb23144492.jpg');
    background-repeat: no-repeat;
    background-size: cover; /* Ensures the image covers the entire area */
    background-position: top center; /* Aligns the image to the top center */
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    position: fixed; /* Fixed position to prevent scrolling */
    z-index: -1; /* Sends it behind other content */
    top: 0; /* Aligns to top */
    left: 0; /* Aligns to left */
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/c257de0d2efd4cbf1dacb9de2283beae288d904edb61e57f4b68f4a9adb07bdb.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loading-circle {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

#fireworksCanvas {
    position: fixed; /* Fixed position to stay in place */
    top: 50%; /* Position from the top */
    left: 50%; /* Position from the left */
	right: 50%;
    width: 800px; /* Fixed width */
    height: 500px; /* Fixed height */
    transform: translate(-50%, -50%); /* Center the canvas */
    z-index: 9999; /* High z-index to ensure it appears on top */
    pointer-events: none; /* Prevent interaction with the canvas */
}

#coin {
    width: 60vw;
    cursor: pointer;
    transition: transform 0.1s, filter 0.5s;
    display: block;
    margin: 0 auto;
    position: relative; /* For glowing effect */
    margin-top: 16px;
	outline: none;
}
#coin:active {
    transform: scale(0.9);
}

#coin:focus {
    outline: none; /* Ensure no outline when focused */
	background-color: transparent;
}

.info {
    margin-top: 16px;
    text-align: center;
    font-size: 18px;
    color: #000;
}

.custom-alert {
    position: fixed;
    top: 20px; /* Position from the top */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, 0); /* Center horizontally by translating half of its width */
    background-color: #0c1330; /* Your desired background color */
    color: white; /* Text color */
    padding: 20px; /* Increased padding for better spacing */
    border-radius: 12px;
    border: 2px solid #FFB030; /* Add border with specified color */
    box-shadow: 0 5px 20px #424242; /* Enhanced shadow effect */
    z-index: 1000; /* Ensure it's on top of other elements */
    transition: opacity 0.5s ease; /* Transition for fade effect */
    text-align: center; /* Center text inside the alert */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally */
    
    width: 300px; /* Set a specific width for the alert box */
    max-width: 90%; /* Ensure it doesn't exceed 90% of the viewport width */

    line-height: 1.5; /* Standard line height for spacing between lines of text */
}

.alert-close-button {
    margin-top: 15px; /* Space between text and button */
    background-color: white; /* White background for the button */
    border: none; /* Borderless button */
    color: #0c1330; /* Text color for button (same as background) */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners for the button */
    cursor: pointer;
    font-size: 16px; /* Font size for better readability */
}

/* Fade out effect */
.fade-out {
    opacity: 0; /* Set opacity to zero for fading out */
}

.custom-text {
    color: #000000;
    font-size: 17px;
    position: relative;
    margin: 10px 0;
}
#game-title {
    font-size: 8.5vw;
    color: #FFB030;
    margin-bottom: 10px;
}
#levelTitle {
    font-size: 2.3vh;
    color: #FFB030;
}
#levelIcon {
    width: 10vw;
    height: auto;
    margin-top: -6px;
    margin-bottom: 0px;
    
}

#remaining-clicks-text, #energy-text {
    font-size: 4.5vw;
    color: #FFB030;
    display: inline-block; /* Align text on the same line */
    margin: 0 20px; /* Add some space between the texts */
}
.status-and-buttons {
    position: fixed; /* Fix the position */
    bottom: 19%; /* Align to the bottom of the page */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between status and buttons */
    align-items: center; /* Center items vertically */
    padding: 10px; /* Add some padding */
}
.button-container {
    display: flex;
    justify-content: space-around; /* Spread buttons evenly */
    margin-top: 0px; /* Adjust margin as needed */
    position: fixed;
    left: 5%; /* Align to the left */
    right: 5%; /* Align to the right */
    display: flex; /* Use flexbox for layout */
    bottom: 2.1%;
}
.button {
    border: none;
    cursor: pointer;
    border-radius: 20px;
    width: 100%;
    height: 100px;
    transition: transform 0.1s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.7px;
}
.button img {
    width: 100%;
    height: auto;
}
.button span {
    margin-top: 5px;
    font-size: 2.6vw;
    color: #FFFFFF;
}
.moods-button {
    width: 90vw; /* Make MOODs button larger */
    height: 100px;
}
.moods-button img {
    width: 20vh; /* Adjust size for the image */
}

/* Custom Backgrounds for Slides */
#boost-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/a80c536326befb3778a8def7a7f395a3781d44e8622dc91f7cf5e94b294f9aad.jpg'); /* Replace with your Boost background URL */
background-size: cover; /* Ensures the background covers the entire slide */
background-position:  center;
}

#earn-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/eb43edbcecd4ff045955f6634725982663ea9a7f9f47b0f9b9b641c36c6e07e9.jpg'); /* Replace with your Earn background URL */
background-size: cover;
background-position: center;
}

#wallet-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/9e85d8744411130746ede120fc4bcd115dd243e7e967275534e19f658b6b42c0.png'); /* Replace with your Wallet background URL */
background-size: cover;
}

#friends-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/2bfe4da4410bc6305da88170a33feb989b637523f13791225c04596184a8abe5.jpg'); /* Replace with your Friends background URL */
background-size: cover;
background-position:  center;
}

#moods-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/69bacf0155831715a144b13df48ddad36ae82aa76dbdf41bb6832b46c7d6926f.png'); /* Replace with your Moods background URL */
background-size: cover;
background-position:  center;
}

/* MOODs Panel Buttons */
.moods-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute; /* Allows positioning within the parent */
    bottom: 1.3vh; /* Space from the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Centering adjustment */
	margin-top: 55vh;
}

/* Mood Button Links */
.mood-button-link {
    display: block;
    margin-bottom: 15px; /* Space between buttons */
}

/* Images inside buttons */
.mood-button-link img {
    max-width: 69vw; /* Maintain width as specified */
    height: auto; /* Auto height for responsiveness */
}

.slide-panel {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0; /* Start hidden */
    transform: translateY(-20px); /* Start slightly above */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition for opacity and position */
}

.slide-panel.show {
    display: flex; /* Use flexbox layout when shown */
    opacity: 1; /* Fully visible */
    transform: translateY(0); /* Move to original position */
}
.close-slide-button {
position: absolute; /* Keep it absolute to position it in the corner */
top: 10px; /* Position from the top */
right: 10px; /* Position from the right */
background-color: transparent; /* Button color */
border: none; /* Remove default border */
border-radius: 50%; /* Make it circular */
width: 30px; /* Width of the button */
height: 30px; /* Height of the button */
color: white; /* Text color */
font-size: 24px; /* Font size */
cursor: pointer; /* Change cursor on hover */
z-index: 9998; /* Ensure it's above other elements */
}

/* Stamina Button */
.stamina-button {
    display: block; /* Block display */
    margin: 10px; /* Margin around the button */
}
.stamina-button img {
    max-width: 69vw; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
}

.energy-drink-button {
    display: block; /* Block display */
    margin: 10px; /* Margin around the button */
}

.energy-drink-button img {
    max-width: 69vw; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
}

/* Arsenal Energy Button */
.arsenal-energy-button {
    display: block; /* Block display */
    margin: 10px; /* Margin around the button */
}

.arsenal-energy-button img {
    max-width: 69vw; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
}

/* Muscle Tap Button */
.muscle-tap-button {
    display: block; /* Block display */
    margin: 10px; /* Margin around the button */
}

.muscle-tap-button img {
    max-width: 69vw; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
}

/* Earn Slide Panel Buttons */
.earn-button {
    display: block; /* Block display for earn buttons */
    margin: 10px; /* Margin around the button */
}

.earn-button img {
    max-width: 69vw; /* Maximum width for earn buttons */
    height: auto; /* Maintain aspect ratio for images */
}



/* Emoji Container */
#emoji-container {
    position: relative;
    height: 200px;
    width: 100%;
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.panel-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 1vh;
    top: 16vh;
    left: 50%;
    transform: translateX(-50%);
	}

.button-link {
    display: block;
    margin: 10px;
}

#invite-container {
    text-align: center;
    position: fixed;
    top: 60%;
    width: 75vw; /* Width of the container */
    background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/7bc4589bac381e4631752b6ae52840eb3f957bac3a55ff8cfebb45c7a01c771e.png');
    background-size: cover;
    background-position: center;
    border-radius: 0px; /* Optional: rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: shadow for depth */
}

.invite-friend-button {
    display: block;
    text-align: center;
    margin-top: 100%;
    position: fixed;
}

.invite-friend-button img {
    width: 80vw;
    height: auto;
}

#responsive-text {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    font-size: 5vw;
    color: #FFFFFF;
}
#invite-link {
    font-size: 12px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 20px 30px; /* Space around text */
    margin-top: 10px; /* Optional: space above the link */
    margin-bottom: 10px; /* Optional: space below the link */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.large-button {
    position :fixed;
	top: 60%;
	   width: 80vw;
}

.large-button img {
   width: 80vw;
   height: auto;
}

.wallet-slide a {
   position: fixed;
   bottom: 10%;
   width: 45vw;
   height:auto;
}
/* Styles for the text label above the invite link container */
.invite-link-label {
    text-align: left; /* Align text to the left */
    color: #FFFFFF; /* Text color */
    font-size: 5vw; /* Font size */
    margin-top: 40px; /* Margin from the top */
    padding-right: 30%; /* Right padding */
}

/* Styles for buttons (Roadmap and Whitepaper) */
.fixed-button {
    position: fixed; /* Fixed position */
    bottom: 10%; /* Position from the bottom */
    width: 45vw; /* Width of the button */
    height: auto; /* Height auto to maintain aspect ratio */
}

.fixed-button-right {
    right: 5%; /* Position from the right */
}
.fixed-button-left {
    left: 5%; /* Position from the right */
}
/* Styles for images inside buttons */
.fixed-button img {
    width: 100%; /* Make image take full width of button */
    height: auto; /* Maintain aspect ratio */
}


.celebration-emoji {
position: absolute;
font-size: 30px; /* Adjust size as needed */
bottom: 0; /* Start at the bottom of the container */
transition: transform 2s ease-out, opacity 2s ease-out; /* Smooth transition */
}

.dice-game-container {
position: relative; 
text-align: center;
background-color: #000054; 
border-radius: 5px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
width: 90%; 
margin: auto; 
padding: 20px; 
}

.dice-container {
display: flex; /* Use flexbox for layout */
justify-content: center; /* Center the dice horizontally */
margin-top: 20px; /* Space above the dice */
margin-bottom: 20px;
}

.dice {
width: 100px; /* Set a width for each die */
height: 100px; /* Set a height for each die */
background-color: #F0F0F0; /* Background color for visibility */
border-radius: 5px; /* Border for visibility */
display: flex; /* Allow content inside to be flexed as well */
justify-content: center; /* Center content inside the die */
align-items: center; /* Center content inside the die */
margin: 0 10px; /* Add horizontal space between dice */
margin-top: 20px; /* Space above the dice */
margin-bottom: 20px;
font-size: 5vw;
}

.dice-game-container h1 {
color: #FFB030; /* Keep your existing color */
margin-bottom: 5%; /* Space below title */
}

#dice-message {
margin-top: 6%; /* Space above message */
margin-bottom: 4%; /* Space below message */
color: #ffffff;
}

.rolling {
animation: roll 0.6s ease-in-out; /* Faster and smoother animation */
}

/* Enhanced rolling animation */
@keyframes roll {
0% { transform: rotate(0deg) scale(1); }
20% { transform: rotate(90deg) scale(1.1); }
40% { transform: rotate(180deg) scale(1); }
60% { transform: rotate(270deg) scale(1.1); }
80% { transform: rotate(360deg) scale(1); }
100% { transform: rotate(450deg) scale(1.2); } /* Extra rotation for effect */
}

.rolling {
animation: roll 0.6s ease-in-out; /* Faster and smoother animation */
}

.rectangle-button {
background-color: transparent;
color: #FFB030; /* Text color */
font-size: 24px; /* Font size */
cursor: pointer; /* Pointer cursor on hover */
border: 2px solid #FFB030; /* Add border with specified color */
padding: 10px 20px; /* Padding for the button */
border-radius: 10px; /* Slightly rounded corners for aesthetics */

/* Add a hover effect for better UX */
transition: background-color 0.3s ease;
}

.rectangle-button:hover {
background-color: #f0f0f0 ; /* Light yellow on hover */
}

@media (max-width: 600px) {
.dice {
   width: 80px;
   height: 80px;
   font-size: 9vw;
}

.rectangle-button {
   font-size: 5vw; /* Smaller font size for mobile */
}
}

.panel-buttons a img {
transition: filter 0.3s ease; /* Smooth transition */
}

@keyframes moneyDrop {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(100px); /* Adjust this value based on how far you want it to drop */
opacity: 0; /* Fade out effect */
}
}

@keyframes pulse-brightness {
0% {
filter: brightness(1); /* Normal brightness */
}
50% {
filter: brightness(1.5); /* Increased brightness */
}
100% {
filter: brightness(1); /* Back to normal */
}
}

@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px); /* Adjust height as needed */
}
}

.coin-animation {
animation: pulse-brightness 1s infinite, bounce 0.5s ease infinite; /* Combine both animations */
}