/* General Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Headings */
h1, h2 {
    color: #444;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    padding-right: 300px;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

/* App Container */
#app {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
}

/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 10px; /* Reduced padding to make navbar thinner */
    background: ab9ff1;
    background-size: 800% 800%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    z-index: 1000;
    color: white;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

nav .button {
    text-decoration: none;
    color: #333333;
    background-color: transparent;
    padding: 6px 12px; /* Adjusted padding for the button */
    border-radius: 8px;
    margin: 0 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

nav .button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-logo {
    width: 30px; /* Reduced logo size */
    height: 30px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.1);
}


/* Centered Container for Copy Button */
.center-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

#text-to-copy {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding: 8px 12px;
    background-color: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#text-to-copy:hover {
    background-color: #e0e0e0;
}

#copy-button {
    background-color: #ab9ff1;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#copy-button:hover {
    background-color: #0288d1;
}

/* Wallet Button */
#wallet-container {
    margin-left: auto;
}

#connect-wallet {
    background-color: #ab9ff1;
    color: white;
    border: none;
    padding: 20px 50px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#connect-wallet:hover {
    background-color: #0089b3;
}

/* Main Content */
main {
     /* To account for the fixed nav */
    width: 100%;
}

/* Lobby Section */
#lobby {
    background-color: rgba(255, 255, 255, 0);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#lobby h1 {
    margin-bottom: 20px;
}

/* Create Lobby Button */
#create-lobby {
    background-color: #ab9ff100;
    color: white;
    border: none;
    padding: 30px 60px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 300px;
    right: 800px;
}

#create-lobby:hover {
    background-color:#bdb4ec00;
}
/* Create Lobby Button */
#join-game {
    background-color: #ab9ff1;
    color: white;
    border: none;
    padding: 30px 60px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 300px;
    right: 850px;     
}

#join-game:hover {
    background-color: #388e3c;
}

/* Lobby List */
#lobby-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#lobby-list li {
    background-color: #e0e0e0;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    text-align: center;
}

#lobby-list li:hover {
    background-color: #d0d0d0;
}

/* Leaderboard Section */
#leaderboard {
    
    text-align: center;
    color: white;
    position: relative;
    bottom: 100px;
    margin-bottom: 50px;
}

#leaderboard h2 {
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 10px;
    color: #ffffff;
}
.wallet {
    font-size: 30px;
    margin-bottom: 10px;
    color: white;
}
.wins  {
    font-size: 30px;
    margin-bottom: 10px;
    color: #ab9ff1;
}

#leaderboard-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#leaderboard-list li {
    font-size: 18px;
    margin: 5px 0;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

#leaderboard-list li span.wallet {
    font-weight: bold;
}

#leaderboard-list li span.wins {
    float: right;
}

/* Game Section */
 
#game {
    background-color: rgba(0, 0, 0, 0);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    text-align: center;
}

/* Game Choices */
.choices {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    gap: 20px;
}

.choice {
    
    color: white;
    border: none;
    padding: 0; /* Remove default padding */
    border-radius: 80%;
    width: 250px;
    height: 250px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    overflow: hidden; /* Ensure images don't overflow */
}

.choice:hover {
    animation: breathing 1.0s ease-in-out infinite;
    box-shadow: 0 0 15px 5px #8d7de6;
}
@keyframes breathing {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

/* Image Styling */
.rps-image {
    width: 10px; /* Make images fill the button */
    height: 10px; /* Make images fill the button */
    object-fit: cover; /* Ensure images maintain aspect ratio */
    border-radius: 0%; /* Match button border radius */
 transform: scale(1);
}

/* Game Status */
#game-status {
    margin-top: 30px;
}

#result {
    font-size: 20px;
    font-weight: bold;
    color: #ab9ff1;
}

/* Responsive Design */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .center-container {
        position: static;
        transform: none;
        margin: 10px 0;
    }

    #wallet-container {
        margin-left: 0;
        margin-top: 10px;
    }

    #lobby {
        padding: 20px;
        max-width: 100%;
    }
}
/* General Home Section Styles */
/* General Home Section Styles */
/* General Home Section Styles */
/* General Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Home Section */
#home {
    display: flex;
    justify-content: space-between; /* Distribute space between the text and images */
    align-items: center; /* Center content vertically */
    width: 100%; /* Full width */
    height: 100vh; /* Full height */ /* Optional: Add space from the left */
     
}

/* Text Styling (Rock, Paper, Scissors) */
#home h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    font-size: rem;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    margin-bottom: 100px;
   
 
}

#home span {
    margin: 0;
    padding-top: 0;
}

#rock {
    font-size: 6rem;

}

#paper {
    font-size: 6rem;
    color: #ab9ff1;

}

#scissors {
    font-size: 6rem;
}

#solana {
    font-size: 2.5rem;
    color: #ab9ff1;
}

/* Image Section */
.rps-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    height: 450px;
    width: 450px;       
}

/* Positioning the Images */
.rps-image {
    width: 150px;
    height: auto;
    position: absolute;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.rps-triangle {
    position: relative;
    width: 450px; /* Container size */
    height: 450px;
    bottom: 50px;
    right: 100px;
    
}

/* Position images in a triangle layout */
.paper-image {
    bottom: 42;
    left: 50%;
}

.rock-image {
    bottom: 0;
    left: 10%;
}

.scissors-image {
    bottom: 0;
    left: 90%;
}

.wins-display {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    font-size: 1.2em;
    color: #fff;
}

.hidden {
    display: none;
}
#reset-button {
    background-color: #ab9ff1;
    color: white;
    border-radius: 20%;
    padding: 20px 40px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    
    /* Center text properly */
    display: flex;
    align-items: center;
    justify-content: center;
}
#ffooter h2{
    font-size: 48px;
    font-weight: 600;
    color: #ab9ff1;
    text-align: center;
    margin-top: 20px;
}
#footer {
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #ffffff;
    text-align: center;
    margin-top: 20px;
}

 
@media (max-width: 600px) {
    body {
        padding: 10px; /* Add some padding to the body */
    }

    nav {
        position: fixed;
        flex-direction: column;  /* Stack nav items vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 0px;  
        height: 10px;            /* Set height */
    }

    #app {
        width: 100%;             /* Full width for the app container */
        margin: 0;               /* Remove margin */
    }

    .choices {
        flex-direction: column;  /* Stack choices vertically */
        align-items: center;      /* Center align choices */
        gap: 10px;               /* Add space between choices */
    }

    #create-lobby, #join-game {
        position: relative;
        right: 1px;
        bottom: 300px;
        width: 100%;
    }

    .rps-wrapper {
        display: none;
         
    }
    .rps-triangle {
        display: none;
    }

    .choices {
        
        gap: 10px;
    }

    #rock {
        font-size: 4rem;
    
    }
    
    #paper {
        font-size: 4rem;
        color: #ab9ff1;
    
    }
    
    #scissors {
        font-size: 4rem;
    }
    
    #solana {
        font-size: 1.5rem;
        color: #ab9ff1;
        
    }

    
    /* Adjust font sizes for headings */
    h1 {
        font-size: 1px;
        padding-left: 18rem;         /* Remove left padding */
        padding-top: 3rem ;  
        margin-bottom: 0;
    }

    #text-to-copy {
        font-size: 14px;         /* Adjust font size */
        padding: 5px;            /* Add padding */
    }
    #home {
        position: relative;
        top: 300px;
        flex-direction: column;
        margin-top: 100px;
        height: 10px;
        
    }

    #game {
        position: relative;
        top: 180px;/* Reduce padding */
        height: 100%;
        gap: 10px;
    }
    
    /* Game Choices */
    .choices {
        display: flex;
        justify-content: space-around;
        margin: 30px 0;
        gap: 20px;
    }
    
    .choice {
        color: white;
        border: none;
        padding: 0; /* Remove default padding */
        border-radius: 80%;
        width: 80px;
        height: 80px;
        cursor: pointer;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease, transform 0.3s ease;
        overflow: hidden; /* Ensure images don't overflow */
    }
    /* Leaderboard Section */
    #leaderboard {
        top: 600px;
        
    }
    #copy-button {
        display: none;
    }
    .choice:hover {
        animation: breathing 1.0s ease-in-out infinite;
        
    }
    #home h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    margin-top: -100px;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.2;
    }
    main {
        margin-top: -100px;
        width: 100%;
    }

    #tokenomics {
        position: relative;
        top: 1000px;
    }
    .tokenomics-container {
        flex-direction: column; /* Stack cards vertically */
        align-items: center; /* Center cards horizontally */
    }
    .popup-content {
       position: relative;
       bottom: 200px;
       right: 130px;
    }
    #ffooter {
        position: relative;
        top: 1000px;
    }
    footer {
        position: relative;
        top: 1000px;
    }

}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    color: white;
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 400px; /* Set a defined width */
    width: 100%; /* Ensure it takes full width of max-width */
    height: auto; /* Allows the height to grow with content */
}

/* Stack buttons vertically */
.popup-content button {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    padding: 10px 20px;
    margin-top: 10px; /* Space between buttons */
    font-size: 16px;
    background-color: #ab9ff1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Ensure buttons are block elements */
    width: 100%; /* Make buttons full width */
}

.popup-content h2 {
    margin-bottom: 15px;
    color: white;
}

.popup-content p {
    margin-bottom: 15px;
}
#tokenomics {
    font-family: 'Arial', sans-serif;
    text-align: center;
    padding: 20px;
    
}
#tokenomics h2{
    text-align: center;
    padding: 20px;
    color: #ab9ff1;
    font-weight: 600;
    font-size: 48px;
}

.tokenomics-container {
    display: flex;
    justify-content: center;
    gap: 200px; /* Space between cards */
    margin-top: 20px;
}

.tokenomics-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px; /* Adjust as needed */
    text-align: center;
}

.tokenomics-card img {
    height: 370px; /* Adjust as needed */
    width: 274px;
    margin-bottom: 15px;
}

.tokenomics-card p {
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    font-size: 28px;
    color: #ffffff;
    margin: 0;
}
#burnt {
    
    color: #ab9ff1;

}