/* General Body Styling */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url('../public/background.jpg'); /* Path to your background image */
    background-size: cover; /* Ensure the image covers the entire background */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent repeating the background image */
}

/* Wheel Container */
.wheel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 100px; /* Move the wheel upwards */
}

/* Canvas Styling */
canvas {
    background: transparent;
    border: none;
    display: block;
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.spin_count_span{
    position: absolute;
    top: 45%;
    cursor: pointer;
    height: auto;
    color: white;
    font-size: 26px;
    font-weight: bolder;
    z-index: 9999;
}
/* Spin Button Styling */
.spin-button {
    position: absolute;
    top: 36%; /* Adjust position of the spin button */
    cursor: pointer;
    width: 15%; /* Make the size relative for responsiveness */
    max-width: 75px; /* Maximum size */
    height: auto; /* Maintain aspect ratio */
}

/* Icons Container */
.icons-container {
    display: flex;
    justify-content: space-around;
    width: 90%;
    position: absolute;
    /* bottom: -20px;  */
    top: 0%;
}

/* Icon Styling */
.icon {
    width: 50px; /* Adjust the size of the icons as needed */
    height: auto; /* Maintain aspect ratio */
    cursor: pointer;
}

/* Spin Counter Container */
.spin-counter-container {
    position: absolute;
    bottom: 9%;
    /* right: 20px; */
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

/* Spin Counter Text */
.spin-counter-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

#coinsWonContainer {
    text-align: center;
    margin-bottom: -23px; /* Space between the total coins and the progress bar */
}

#coinsWon {
    font-size: 20px;
    font-weight: bold;
    color: #141413;/* Yellow background for contrast */
    padding: 5px; /* Padding around the text */
    border-radius: 5px; /* Rounded corners */
    /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);  */
    /* Text shadow for depth */
    animation: pulse 1.5s infinite; /* Gold color for the coins won text */
}

/* Progress Bar Container */
#progressBarContainer {
    width: 80%;
    height: 22px;
    background-color: #ddd;
    border-radius: 10px;
    position: absolute;
    top: 20%;
     /* Position it as needed */
    /* left: 22px;  */
    /* Position it as needed */
    z-index: 10;
}

#progressBar {
    height: 100%;
    background-color: gold;
    border-radius: 10px;
    width: 0; /* Start with 0 width */
    transition: width 0.3s ease;
}

.coins-needed-text {
    margin-top: 10px;
    font-size: 12px; /* Decreased size */
    color: white;
    font-style: italic; /* Italicized text */
    text-align: center; /* Centered text */
}

/* Style for yellow text */
.yellow-text {
    color: yellow;
}


/* Modal Styling */
.modal {
    display: flex;  
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999999999999999999999999999999999999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Welcome Modal Styling */
.modal-content {
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 300px;
    width: 80%;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-content button {
    padding: 10px 20px;
    background-color: #785AF5;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
}

.modal-content button:hover {
    background-color: #533483;
}

/* Invite Modal Styling */
.invite-modal-content {
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: 300px;
    width: 80%;
}

.invite-modal-content h2 {
    font-size: 22px;
    font-weight: bold;
}

.invite-modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

.invite-modal-content button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
}

#shareButton {
    background-color: #785AF5;
}

#shareButton:hover {
    background-color: #0b2443;
}

#closeInviteButton {
    background-color: #d9534f;
}

#closeInviteButton:hover {
    background-color: #c9302c;
}

#closeCashoutButton {
    background-color: #d9534f;
}

#closeCashoutButton:hover {
    background-color: #c9302c;
}
.account_info_title{
    margin-bottom: 3%;
}
.account_info_img{
    margin-bottom: -1%;
    margin-right: 2%;
}
.cashout-div-box{
    background: #785AF5;
    padding: 1px 15px;
    width: 80%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
.cashout-div-box2{
    margin-bottom: 2%;
    padding: 1px 15px;
    width: 90%;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}
.cashout-modal-text{
    font-size: 16px !important;
}
.cashout-modal-amount{
    float: inline-end;
}
.account_info_field{
    font-size: 16px;
    padding: 7px 5px 7px 10px;
    margin: 3px 0px 5px;
    color: #FFF;
    width: 94%;
    background: #785AF5;
    border-radius: 7px;
    border: none;
}
::placeholder {
    color: #FFF;
    opacity: 1; /* Firefox */
  }
  
  ::-ms-input-placeholder { /* Edge 12 -18 */
    color: #FFF;
  }
  input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    border: 3px solid #785AF5;
}
/* Prize Message Styling */
.prize-message {
    position: fixed;
    top: 27%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    border: 2px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
    color: #252424;
}

.prize-message h2 {
    margin: 0;
    font-size: 24px;
    color: #252424;
}

.prize-message p {
    margin: 10px 0 0;
    font-size: 18px;
    color: #252424;
}

/* Exciting Coin Amount Styling */
#coinCount {
    display: inline-block;
    font-size: 36px; /* Larger size for impact */
    font-weight: bold;
    background: linear-gradient(90deg, #ffcc00, #ff9900); /* Golden gradient */
    -webkit-background-clip: text; /* Chrome, Safari */
    -moz-background-clip: text;    /* Firefox */
    -ms-background-clip: text;     /* Internet Explorer */
    -o-background-clip: text;      /* Opera */
    background-clip: text; /* Standard property */
    -webkit-text-fill-color: transparent; /* For WebKit browsers */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow for glow effect */
    animation: bounce 1s infinite; /* Bounce animation */
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Coin Image */
.coin-image {
    display: block;
    margin: 20px auto;
    width: 50px; /* Adjust the size of the coin image */
    height: auto; /* Maintain aspect ratio */
}

/* Party Showers Styling */
.party-showers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.3), transparent);
    pointer-events: none;
    z-index: 999;
    animation: partyShower 5s ease-in-out forwards;
}

@keyframes partyShower {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
        background: radial-gradient(circle, rgba(255, 204, 0, 0.3), transparent);
    }
    100% {
        opacity: 0;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .wheel-container {
        padding: 10px;
        top: 12%;
        /* margin-bottom: 80px; */
         /* Adjust margin for smaller screens */
    }

    .modal-content {
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 20px;
    }

    .modal-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .modal-content button {
        padding: 8px 16px;
        font-size: 16px;
    }

    .spin-counter-text {
        font-size: 16px;
    }

    .icon {
        width: 75px;
        height: 75px;
        scale: 1.8;
    }
    .invitation-icon{
        padding-top: 8px;
    }
    .cashout-icon{
        padding-top: 5px;
    }
    .spin-button {
        width: 20%; /* Adjusted for smaller screens */
        max-width: 62px; /* Maximum size */
    }

    .icons-container {
        top: 5%;
        /* bottom: -60px;  */
        /* Further move the icons down for smaller screens */
    }

    .invite-modal-content h2 {
        font-size: 20px;
    }

    .invite-modal-content p {
        font-size: 14px;
    }

    .invite-modal-content button {
        padding: 8px 16px;
        font-size: 14px;
    }
    .twitter_icon{
        width: 28px !important;
        height: 28px !important;
    }
}
/* styles.css */

/* Container for social media icons */
#socialIcons {
    position: fixed; /* Fix the position at the top-left corner */
    bottom: 20px; /* Distance from the top */
    /* left: 15px;  */
    /* Distance from the left */
    display: flex; /* Arrange icons in a row */
    gap: 10px; /* Space between icons */
    z-index: 1000; /* Ensure it stays on top of other elements */
}

.shareto_text {
    font-size: 14px;
    color: white;
    align-content: center;
    /* font-style: italic; */
    text-align: center;
}

/* Style for each social media icon */
#socialIcons a {
    -webkit-writing-mode: vertical-rl;
    display: inline-block; /* Make each icon clickable */
}

/* Style for the icons */
#socialIcons img {
    width: 26px; /* Adjust size as needed */
    height: 26px; /* Adjust size as needed */
    border-radius: 50%; /* Optional: Make icons circular */
    transition: transform 0.3s ease; /* Smooth scale transition */
}

/* Hover effect for the icons */
#socialIcons img:hover {
    transform: scale(1.2); /* Slightly enlarge the icon on hover */
}

/* marquee Container */
.marquee_container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: absolute;
    bottom: 8%;
}
.winner_icon{
    width: 25px;
    height: 25px;
    object-fit: contain;
}
.winner_span_text{
    vertical-align: super;
    padding-left: 10px;
}
.marquee_section{
    overflow: hidden;
    width: 90%;
}
.marquee {
    --gap: 2rem;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
  }
  .marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    column-gap: 5rem;
  }
.hero_video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    /* top: 15%; */
    scale: 2.2;
    transform: rotate(90deg);
}
  
  .marquee__content li{
    color: white;
  }

  .marquee_item_li{
    background-color: black;
    border-radius: 10px;
    padding-left: 25px;
    padding-right: 25px;    
    padding-top: 8px;
    padding-bottom: 5px;
    list-style: none;
    /* width: 100%; */
  }

  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - 1rem));
    }
  }
  
  /* Pause animation when reduced-motion is set */
  @media (prefers-reduced-motion: reduce) {
    .marquee__content {
      animation-play-state: paused !important;
    }
  }
  
  /* Enable animation */
  .enable-animation .marquee__content {
    animation: scroll 15s linear infinite;
  }
  
  /* Reverse animation */
  .marquee--reverse .marquee__content {
    animation-direction: reverse;
  }
  
  /* Pause on hover */
  .marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
  }
  
  /* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
  .marquee--fit-content {
    max-width: fit-content;
  }
  
  /* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution 👏 @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
  .marquee--pos-absolute .marquee__content:last-child {
    position: absolute;
    top: 0;
    left: 0;
  }
  
  /* Enable position absolute animation on the duplicate content (last-child) */
  .enable-animation .marquee--pos-absolute .marquee__content:last-child {
    animation-name: scroll-abs;
  }
  
  @keyframes scroll-abs {
    from {
      transform: translateX(calc(100%));
    }
    to {
      transform: translateX(0);
    }
  }

  .wrapper {
    position: absolute;
    min-height: 100vh;
    width: 100%;
    z-index: 999999999999999999999999;
  }
  
  [class|="confetti"] {
    position: absolute;
  }
  
  .red {
    background-color: #d13447;
  }
  
  .yellow {
    background-color: #ffbf00;
  }
  
  .blue {
    background-color: #263672;
  }

  /* Rank Page CSSS */
  .rank_heading{
    color: white;
    margin-left: -15%;
  }

.rank_icon{
    height: 60px;
    width: 60px;
    scale: 2;
}
.rank_top_div{
    display: flex;
    justify-content: space-around;
}
.rank_tabs_container{
    top: 14%;
    justify-content: space-around;
    width: 100%;
    /* position: absolute; */
}
.tabs {
    max-width: 100%;
    text-align: left;
  }
  .tabs-nav{
    text-align: left;
  }
  .tabs-nav li {
    float: left;
    list-style: none;
    width: 50%;
  }
  .tabs-nav li a{
    color: #7569f7;
    text-decoration: none;
  }
  .tabs-nav li:first-child a {
    border-right: 0;
    border-top-left-radius: 6px;
  }
  .tabs-nav li:last-child a {
    border-top-right-radius: 6px;
  }
  .tab-active a {
    border-bottom: 1px solid #cecfd5;
    border-bottom-color: transparent;
    color: #FFF !important;
    cursor: default;
    text-decoration: underline !important;
  }

  .tab-active a::after {
    border-bottom: 1px solid #cecfd5;
    border-bottom-color: transparent;
    color: #FFF !important;
    cursor: default;
    text-decoration: underline !important;
  }

  .tabs-stage {
    clear: both;
    padding: 0px 25px;
    position: relative;
    top: 0px;
    margin: 0px 20px 15px;
    height: 450px;
    overflow: scroll;
  }
  /* a {
    background: #eaeaed;
    border: 1px solid #cecfd5;
    color: #0087cc;
    display: block;
    font-weight: 600;
    padding: 10px 0;
    text-align: center;
    text-decoration: none;
  }
  a:hover {
    color: #ff7b29;
  } */
   .rank_user_name{
    color: white;
   }
   .rank_user_number{
    color: white;
    font-weight: bold;
   }
   .rank_item{
    display: flex !important;
    justify-content: space-between;
    border-bottom: 1px solid #f7f7f7;
   }
   .closeRankButton{
    position: fixed;
    bottom: 5%;
    padding: 8px 30px 8px 30px;
    font-size: 16px;
    background: #785AF5;
    color: white;
    border: none;
   }
   .rank_user_icon{
    padding-left:8px; color:#c4c1c1;
   }
   .rank_timer{
    margin-left: 10%;
    margin-top: 15%;
    display: ruby;
   }
   .rank_time{
    color: white;
    padding-left: 5px;
    padding-bottom: 5px;
    margin-bottom: 0px !important;
    font-size: 16px !important;
   }
   .rank_medals{
    width: 14px;
    height: 14px;
    scale: 2;
    padding-right: 5px;
   }
   .rank-modal-content {
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    max-width: none;
    width: 100%;
}