body {
    margin: 0; 
    height: 100vh; 
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    font-family: 'Georgia', sans-serif;
    text-shadow: 2px 2px 3px black;
    font-weight: bold;
}

.custom-background {
    background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/778ab17ec63fc8028845b25e6f21d8288b0c1211cb1e0b795b111bbb23144492.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
}
#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;
    border-top: 8px solid #3498db;
    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;
    top: 50%;
    left: 50%;
	right: 50%;
    width: 800px;
    height: 500px;
    transform: translate(-50%, -50%);
    z-index: 9999;
    pointer-events: none;
}

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

#coin:focus {
    outline: none;
	background-color: transparent;
}

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

.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #0c1330;
    color: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #FFB030;
    box-shadow: 0 5px 20px #424242;
    z-index: 1000;
    transition: opacity 0.5s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    width: 300px;
    max-width: 90%;

    line-height: 1.5;
}

.alert-close-button {
    margin-top: 15px; 
    background-color: white; 
    border: none; 
    color: #0c1330;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.fade-out {
    opacity: 0;
}

.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;
    margin: 0 20px;
}
.status-and-buttons {
    position: fixed;
    bottom: 19%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.button-container {
    display: flex;
    justify-content: space-around;
    margin-top: 0px;
    position: fixed;
    left: 5%;
    right: 5%;
    display: flex;
    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;
    height: 100px;
}
.moods-button img {
    width: 20vh;
}
#boost-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/a80c536326befb3778a8def7a7f395a3781d44e8622dc91f7cf5e94b294f9aad.jpg');
background-size: cover;
background-position:  center;
}

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

#wallet-slide {
background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/9e85d8744411130746ede120fc4bcd115dd243e7e967275534e19f658b6b42c0.png');
background-size: cover;
}

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

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

/* MOODs Panel Buttons */
.moods-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 1.3vh;
    left: 50%;
    transform: translateX(-50%);
	margin-top: 55vh;
}

.mood-button-link {
    display: block;
    margin-bottom: 15px;
}

.mood-button-link img {
    max-width: 69vw; 
    height: auto;
}

.slide-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-panel.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.close-slide-button {
position: absolute;
top: 10px; 
right: 10px; 
background-color: transparent; 
border: none; 
border-radius: 50%; 
width: 30px; 
height: 30px; 
color: white; 
font-size: 24px;
cursor: pointer;
z-index: 9998;
}

.stamina-button {
    display: block; 
    margin: 10px;
}
.stamina-button img {
    max-width: 69vw; 
    height: auto;
}

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

.energy-drink-button img {
    max-width: 69vw;
    height: auto;
}

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

.arsenal-energy-button img {
    max-width: 69vw; 
    height: auto;
}

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

.muscle-tap-button img {
    max-width: 69vw;
    height: auto;
}
.earn-button {
    display: block; 
    margin: 10px;
}

.earn-button img {
    max-width: 69vw;
    height: auto;
}

#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;
    background-image: url('/8bf729ffe074caee622c02928173467e658e19e28233cff8a445819e3cae4d50/7bc4589bac381e4631752b6ae52840eb3f957bac3a55ff8cfebb45c7a01c771e.png');
    background-size: cover;
    background-position: center;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.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;
    margin-top: 10px;
    margin-bottom: 10px;
    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;
}
.invite-link-label {
    text-align: left;
    color: #FFFFFF;
    font-size: 5vw;
    margin-top: 40px;
    padding-right: 30%;
}
.fixed-button {
    position: fixed;
    bottom: 10%;
    width: 45vw;
    height: auto;
}

.fixed-button-right {
    right: 5%;
}
.fixed-button-left {
    left: 5%; 
}
.fixed-button img {
    width: 100%;
    height: auto;
}


.celebration-emoji {
position: absolute;
font-size: 30px;
bottom: 0;
transition: transform 2s ease-out, opacity 2s ease-out;
}

.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;
justify-content: center;
margin-top: 20px;
margin-bottom: 20px;
}

.dice {
width: 100px;
height: 100px;
background-color: #F0F0F0;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10px;
margin-top: 20px;
margin-bottom: 20px;
font-size: 5vw;
}

.dice-game-container h1 {
color: #FFB030;
margin-bottom: 5%;
}

#dice-message {
margin-top: 6%;
margin-bottom: 4%;
color: #ffffff;
}

.rolling {
animation: roll 0.6s ease-in-out;
}

@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); }
}

.rolling {
animation: roll 0.6s ease-in-out;
}

.rectangle-button {
background-color: transparent;
color: #FFB030;
font-size: 24px;
cursor: pointer;
border: 2px solid #FFB030; 
padding: 10px 20px;
border-radius: 10px;
transition: background-color 0.3s ease;
}

.rectangle-button:hover {
background-color: #f0f0f0 ; 
}

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

.rectangle-button {
   font-size: 5vw; 
}
}

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

@keyframes moneyDrop {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(100px);
opacity: 0;
}
}

@keyframes pulse-brightness {
0% {
filter: brightness(1);
}
50% {
filter: brightness(1.5);
}
100% {
filter: brightness(1);
}
}

@keyframes bounce {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}

.coin-animation {
animation: pulse-brightness 1s infinite, bounce 0.5s ease infinite;
}